running_count 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f1292bc16988f41c092e0651b7f4989bd795290fc5e552dbfb0fe21a50a7e18
4
- data.tar.gz: 84fbe0b6037c0cd84b08c24038ba6488aaaaf8502a9e6514f219d557f7814c3e
3
+ metadata.gz: 684ff3a14ccbcf899546e7874a272e3d16c6fb7532e17d270b46a1e075c377e4
4
+ data.tar.gz: 5beeb50224f89fb5627f16765f7677e8c3cfa78f8545191b4779c7b0c3ce675c
5
5
  SHA512:
6
- metadata.gz: f1e0beccc844e5c190b403bceb34a4272261ee122333da98fa9fdc03627a9340e6875a645e623d8744a2d46d304fee9b436680710fef3a61c7481010ee2f22d3
7
- data.tar.gz: 89fdcf0e1833ecf186f5021b92a0bcc74ddcd37841ea91c99230b17b0e8c95452b536cee3cb9435e798bcdacfd58de62a0e585b18518e118f3f572b17fd3c412
6
+ metadata.gz: 01e3cbdda676a68333581289e877e6b371b332b85cc66df49132cf54655ff6021b2a0fad650238e853cc5437a1ffa2457b81781072831d2e5c2ade3098f0a760
7
+ data.tar.gz: 21fa6c1a65ec416bd2e10f5f833781b9b4459da100fd335463a4e6a5da7b2e78a2bc236bc502d91eee09b5603f3d6fd7285546fb0d5546a0120124be73bb7f62
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- running_count (0.2.5)
4
+ running_count (0.2.6)
5
5
  activesupport
6
6
  pg (= 0.20.0)
7
7
  redis-rails (>= 5.0)
@@ -87,9 +87,12 @@ module RunningCount
87
87
  #
88
88
  %(
89
89
  PREPARE #{statement} (int) AS
90
- UPDATE "#{destination_table_name}" SET "#{set_name}" = (
90
+ UPDATE "#{destination_table_name}"
91
+ SET "#{set_name}" = (
91
92
  #{inner_sql}
92
- ) WHERE "#{destination_table_name}"."id" = $1
93
+ ),
94
+ "updated_at" = now()
95
+ WHERE "#{destination_table_name}"."id" = $1
93
96
  )
94
97
  end
95
98
 
@@ -1,3 +1,3 @@
1
1
  module RunningCount
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: running_count
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Priestley
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-29 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport