rollups 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 436de838dcb69b97a2e4be818c0b512b6e59b843da66f74d3d58f78b1930d487
4
- data.tar.gz: a3b91b96b19d804fce867f6faa1f72e031840bd4c5b3f3689342af9a17a6a1ec
3
+ metadata.gz: eb7a00e9ed34a6924e0d6ea7c27fbe96275817274abcc5e0aed4c03edf38f9b2
4
+ data.tar.gz: cb52591ce2a2f40c173bb925659a7b31812522dd2c81c0906ad2aff80b03f000
5
5
  SHA512:
6
- metadata.gz: ff9d17de99816333b6ce804aba196ab0a494bbe4c9549f6a3449aa158673f58322dc313ab9e984453ab6a7367d85bd89afc60440f1b2ed89bc82a0e5dd6754ff
7
- data.tar.gz: 7af20ea69dbd59dbbca0a6aaebd91fc546d627f0cf4a4d58abbfec045a1b0d9d2bb3cc69f48b4d1c0cae8f270246ede2aee69e9c4c9bba76a12fd1e30fdf9178
6
+ metadata.gz: a7a044a8e1b85c51de0043e48381037adb080bded3dbd620fc1dec3715c8cf735a94778470672b269a66e31c764889dbc2d58f02dee7cb542eb739496d36d4c2
7
+ data.tar.gz: b66ea1e6f81de6bce70d947c816aee005363cdea4e61a1a98cdf4b83714f8b8c814bcba29806436589d6e5ee820f8704267944359341aa20afd84ceda215fb65
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.4 (2021-12-15)
2
+
3
+ - Fixed warning with Active Record 7
4
+
1
5
  ## 0.1.3 (2021-10-20)
2
6
 
3
7
  - Fixed issue rolling up rollups
@@ -1,5 +1,5 @@
1
1
  class Rollup
2
2
  # not used in gemspec to avoid superclass mismatch
3
3
  # be sure to update there as well
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
data/lib/rollup.rb CHANGED
@@ -75,7 +75,7 @@ class Rollup < ActiveRecord::Base
75
75
  # feels cleaner than overriding _read_attribute
76
76
  def inspect
77
77
  if Utils.date_interval?(interval)
78
- super.sub(/time: "[^"]+"/, "time: \"#{time.to_s(:db)}\"")
78
+ super.sub(/time: "[^"]+"/, "time: \"#{time.to_formatted_s(:db)}\"")
79
79
  else
80
80
  super
81
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollups
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2021-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.22
78
+ rubygems_version: 3.2.32
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Rollup time-series data in Rails