• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stitchfix / merch_calendar / 91
100%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2017 12:40PM UTC
Jobs 4
Files 5
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
91

push

travis-ci

web-flow
Jmw/fy offset (#13)

* Ignores a few dev env files

* Bumps gem version

* Changes contributors

* Fixes quarter calculation

* Renames DateCalculator to RetailCalendar.  Makes interface more consistent.

Methods on DateCalculator were treating months differently, giving inconsistent
results.  Renamed this class to RetailCalendar to show that it really represents
the NRF 4-5-4 retail calendar.

* Moves month conversion methods

* Makes week methods consistent with month methods

* Adds pry byebug for debugging

* Creates a class for the fiscal year calendar

It's offset the traditional retail calendar by 6 months.  FY
starts in the prior August, as opposed to February.

* Bumps to rc version

* Bumps version in gemfile

* Fixes, tests for backwards compatibility

I confirmed the old behavior through tests, adjusted where necessary, and
deprecated date methods on MerchCalendar singleton.

* Removes configuration that doesn't work

This doesn't work, and modifying a singleton object just
isn't really a good idea.

* Version bump

* Hints at future support of flexible fiscal calendar offsets

* Updates readme with new interfaces.  Removes deprecated things.

* Cleanup: less magic numbers, more documentation!

* Version bump for rc3

* Removes pry dependencies.  They break 1.9.3 support

* Replaces pry, removes pry-byebug

* Tries again to replace pry

* Corrects typo in "offset"

* Misc formatting fixes

* Adds a require that was missing somehow

* Improves grammar about "offset"

105 of 105 new or added lines in 5 files covered. (100.0%)

236 of 242 relevant lines covered (97.52%)

247.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/merch_calendar/util.rb
2
100.0
lib/merch_calendar/retail_calendar.rb
3
100.0
lib/merch_calendar/fiscal_year_calendar.rb
Jobs
ID Job ID Ran Files Coverage
1 91.1 (2.1.0) 05 Jul 2017 12:41PM UTC 0
97.5
Travis Job 91.1
2 91.2 (2.0.0) 05 Jul 2017 12:40PM UTC 0
97.5
Travis Job 91.2
3 91.3 (2.2.0) 05 Jul 2017 12:41PM UTC 0
97.5
Travis Job 91.3
4 91.4 (1.9.3) 05 Jul 2017 12:41PM UTC 0
97.5
Travis Job 91.4
Source Files on build 91
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #91
  • c100d3da on github
  • Prev Build on master (#58)
  • Next Build on master (#92)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc