From dc4f68d0e786d726ee926e9f16318ac335d70498 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 5 Apr 2022 16:44:46 -0700 Subject: [PATCH] Version bump to 0.2.0 [skip ci] --- CHANGELOG.md | 2 +- README.md | 2 +- lib/rollup/version.rb | 2 +- rollups.gemspec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b58722..73f06e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.2.0 (unreleased) +## 0.2.0 (2022-04-05) - Added `range` option - Dropped support for Active Record < 5.2 diff --git a/README.md b/README.md index 2418096..83b1980 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ To recalculate the last few intervals, use: User.rollup("New users", last: 3) ``` -To recalculate a time range, use: [unreleased] +To recalculate a time range, use: ```ruby User.rollup("New users", range: 1.week.ago.all_week) diff --git a/lib/rollup/version.rb b/lib/rollup/version.rb index ad714c1..5cb53b8 100644 --- a/lib/rollup/version.rb +++ b/lib/rollup/version.rb @@ -1,5 +1,5 @@ class Rollup # not used in gemspec to avoid superclass mismatch # be sure to update there as well - VERSION = "0.1.4" + VERSION = "0.2.0" end diff --git a/rollups.gemspec b/rollups.gemspec index 40db264..15f13a8 100644 --- a/rollups.gemspec +++ b/rollups.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "rollups" - spec.version = "0.1.4" + spec.version = "0.2.0" spec.summary = "Rollup time-series data in Rails" spec.homepage = "https://github.com/ankane/rollup" spec.license = "MIT"