Commit 3731e8122123a1aafb384d435364757c7d62752b

Authored by Andrew Kane
1 parent 9a74e2a2

Version bump to 2.5.0

CHANGELOG.md
1   -## 2.5.0 [unreleased]
  1 +## 2.5.0
2 2  
3 3 - Added `group_by_period` method
4 4 - Added `current` option
... ...
README.md
... ... @@ -115,7 +115,7 @@ To get the most recent time periods, use:
115 115 User.group_by_week(:created_at, last: 8).count # last 8 weeks
116 116 ```
117 117  
118   -To exclude the current period, use: [master]
  118 +To exclude the current period, use:
119 119  
120 120 ```ruby
121 121 User.group_by_week(:created_at, last: 8, current: false).count
... ... @@ -160,7 +160,7 @@ User.group_by_hour_of_day(:created_at, format: "%-l %P").count
160 160  
161 161 Takes a `String`, which is passed to [strftime](http://strfti.me/), or a `Proc`. You can pass a locale with the `locale` option.
162 162  
163   -### Dynamic Grouping [master, may change]
  163 +### Dynamic Grouping
164 164  
165 165 ```ruby
166 166 User.group_by_period(:day, :created_at).count
... ...
lib/groupdate/version.rb
1 1 module Groupdate
2   - VERSION = "2.4.0"
  2 + VERSION = "2.5.0"
3 3 end
... ...