All Versions
10
Latest Version
Avg Release Cycle
337 days
Latest Release
3088 days ago
Changelog History
Changelog History
-
v3.0.0 Changes
February 01, 2018- ⬆️ Upgrade Travis for broader coverage of Ruby, ActiveRecord, and Mongoid versions - @johnnyshields
- ✂ Removed support for Ruby < 2.0 and Rails < 4.0. They are over 5 years old, and so it's time to upgrade. - @radar
- ✂ Removed references to deprecated Fixnum constant - @rgioia - #78
- 0️⃣ Mongoid
newest,oldest,previous, andnextnow usereorderto ignore any default scope, consistent with ActiveRecord - @johnnyshields - 👍 Mongoid 3.x: Add support for
Criteria#reordermethod from version 4+ - @johnnyshields - ⬆️ Upgrade Rspec tests to version 3.1 - @nhocki
-
v2.2.1 Changes
April 21, 2014v2.2.1 - 2014-04-21
- 👍 Allow
previousandnextto take the current record in their scope - @pnomolos / @johnnyshields - Alias
Date#in_time_zoneto#to_time_in_current_zoneif not already defined (e.g. for Rails <= 3) - @jcypret / @johnnyshields - ➕ Add
oldestandnewestmethods
- 👍 Allow
-
v2.2.0 Changes
April 01, 2014- ➕ Add
:scopeparameter support on all finders - @pnomolos / @johnnyshields - Feature: Add
past_*andnext_*finders - @davegudge - Bug Fix:
:field,:start_field, and:end_fieldoptions were being ignored on finder - @johnnyshields / @gamov - Bug Fix:
by_star_fieldshould accept options without start/end_time args - @johnnyshields - 👌 Improve readme documentation - @johnnyshields
- ➕ Add
-
v2.2.0.rc1 Changes
January 14, 2014- Begin tracking CHANGELOG
- ⬇️ Drop official support for Ruby <= 1.9.2
- ➕ Add Ruby 2.1.0, Rubinius, and JRuby to Travis
- Decouple gem from ActiveRecord, and put ActiveRecord and Mongoid specific methods in ORM modules.
- 📜 Consolidate all normalization/parsing functions into new Normalization module
- Remove meta-programming methods, e.g.
send("by_week_#{time_klass}") - 👌 Support matching timespan-type objects with distinct start and end times (previously only point-in-time matching was supported)
- 👉 Make Chronic gem optional; use it only if user has included it externally
- 🚅
by_weekalways returns a calendar week (i.e. beginning Monday or as specified by Rails setting), regardless of whether Date or Fixnum is given as a parameter. by_weekandby_calendar_monthnow supports optional:start_dayoption (:monday, :tuesday, etc)- Separate
by_calendar_monthinto it's own class - 📇 Rename
betweenmethod tobetween_timesinternally, as Mongoid already definesbetween. ActiveRecord has an alias ofbetweenso interface stays consistent. - ➕ Add
:offsetoption to all query methods, in order to offset the time the day begins/ends (for example supposing business cycle begins at 8:00 each day until 7:59:59 the next day) - 📜
by_weekendcan now take a fixnum (parsing logic is same as by_week) - Two-digit year now considers 70 to be 1970, and 69 to be 2069 (was previously 40 -> 1940)
- ➕ Add Time kernel extensions for fortnight and calendar_month
- ➕ Add Johnny Shields as a gem co-author
-
v2.1.0.beta2
April 22, 2013 -
v2.0.0.beta1
February 20, 2012 -
v1.0.1
August 29, 2011 -
v1.0.0
October 02, 2010 -
v0.3.0
October 17, 2009 -
v0.2.5
October 15, 2009