Permalink
Commits on Mar 21, 2017
Commits on May 29, 2016
Commits on May 28, 2016
  1. between_times one-sided and Array args (#63)

    johnnyshields committed May 28, 2016
    * - Support Array argument to between_times
    - Cleanup specs
    
    * `#between_times` now accepts one-sided arguments, e.g. `Time, nil` or `nil, Time`.
Commits on May 27, 2016
  1. Merge pull request #62 from johnnyshields/hash-rocket-2

    johnnyshields committed May 27, 2016
    Remove hash rocket syntax
  2. 3.0.0rc1 initial commit: (#61)

    johnnyshields committed May 27, 2016
    * 3.0.0rc1 initial commit:
    * BREAKING CHANGE - `#between` method has been removed for ActiveRecord (was deprecated in 2.2.0)
    * BREAKING CHANGE - Mongoid `:order` option now requires a Hash arguments in the form { field: direction }, i.e. the same as `Mongoid::Document#order_by`.
    * BREAKING CHANGE - Drop support for option `:year` used as a standalone. Use `by_year` instead.
    * `#between_times now accepts a `Range` as an argument, while continuing to support existing `Time, Time` interface.
    * Timespan "strict" query now sets double-sided constraints on both fields to ensure database indexes are used properly.
    
    * Improve README
Commits on May 8, 2016
  1. Fixes #58. Adds support for by_cweek. (#59)

    johnnyshields committed May 8, 2016
    Various fixes and improvements
Commits on Jan 3, 2016
  1. Allow week 53

    johnnyshields committed Jan 3, 2016
Commits on Jun 22, 2015
  1. Fix README

    Gaurav Mahajan committed Jun 22, 2015
Commits on May 5, 2015
  1. Merge pull request #52 from lxneng/issue-50

    johnnyshields committed May 5, 2015
    let `object.next` and `object.previous` support specify a field
Commits on May 4, 2015
  1. added tests for #previous and #next, #50

    lxneng committed May 4, 2015
    - update seeds, fill posts updated_at
    - test specify a field on object.previous and object.next
Commits on May 3, 2015
Commits on Dec 29, 2014
  1. Merge pull request #45 from johnnyshields/mongoid-reorder

    johnnyshields committed Dec 29, 2014
    Fix newest, oldest, previous, and next methods on Mongoid
  2. - Mongoid `newest`, `oldest`, `previous`, and `next` now use `reorder…

    johnnyshields committed Dec 29, 2014
    …` to ignore any default scope, consistent with ActiveRecord
    
    - Mongoid 3.x: Add support for `Criteria#reorder` method from version 4+
  3. Fix typo in Readme

    johnnyshields committed Dec 29, 2014
  4. Merge pull request #44 from johnnyshields/travis

    johnnyshields committed Dec 29, 2014
    Update Travis coverage to latest Ruby, Rails, and Mongoid
Commits on Dec 2, 2014
  1. Merge pull request #43 from nhocki/rspec_syntax

    johnnyshields committed Dec 2, 2014
    Update to Rspec 3.1
Commits on Nov 28, 2014
  1. Update to Rspec 3.1

    nhocki committed Nov 28, 2014
    This updates all the specs to the new RSpec syntax and removes all deprecations
    from RSpec.
Commits on Aug 26, 2014
  1. Merge pull request #42 from lengarvey/patch-1

    johnnyshields committed Aug 26, 2014
    Fix code braces for by_month in README
Commits on Apr 21, 2014
  1. Bump version

    johnnyshields committed Apr 21, 2014
Commits on Apr 18, 2014
Commits on Apr 12, 2014
Commits on Apr 6, 2014
  1. Update CHANGELOG.md

    johnnyshields committed Apr 6, 2014
  2. - Add shim to alias Rails 3 `Date#to_time_in_current_zone` to the Rai…

    johnnyshields committed Apr 6, 2014
    …ls 4 syntax `#in_time_zone`, if it has not already been defined.
    
    - Create kernel directory, as there are now two kernel extension classes
Commits on Apr 5, 2014
  1. Merge pull request #40 from jcypret/master

    johnnyshields committed Apr 5, 2014
    Change deprecated Date#to_time_in_current_zone to use Date#in_time_zone instead
  2. Change deprecated Date#to_time_in_current_zone in Normalization modul…

    jcypret committed Apr 5, 2014
    …e to use Date#in_time_zone instead
Commits on Apr 1, 2014
  1. Fix upgrading message

    johnnyshields committed Apr 1, 2014
  2. More README cleanup

    johnnyshields committed Apr 1, 2014