activerecord-postgres_pub_sub 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +10 -0
- data/CHANGELOG.md +4 -0
- data/activerecord-postgres_pub_sub.gemspec +3 -2
- data/gemfiles/rails_7.0_pg_1.1.gemfile +8 -0
- data/gemfiles/rails_7.0_pg_1.2.gemfile +8 -0
- data/lib/activerecord/postgres_pub_sub/listener.rb +2 -2
- data/lib/activerecord/postgres_pub_sub/version.rb +1 -1
- metadata +12 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbcb38025bb4b4992bb6a8d7ed1b2c1288fcc9b3df9c3bc4459a9be8ce7e96bd
|
4
|
+
data.tar.gz: fefad9359ecce30c1198a3c34e2c64ebb9993b797e2ff7320dd47ae23e6dfa2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce692f2b1d176e51767ca21d679d8b618a84e9c029cd5f70e4430e32dec6ba6d9d9c226945c25530125d4e7f7692f7ab049673117aa0c86f3ed8bfdae08ef3d6
|
7
|
+
data.tar.gz: 7166ae680431461ea81a0e44e0d3f8b0b26607255d23869417c2c59c98a74a04ba75c783e7682c576a8c4de9b305d0d9906e36fe433e11fe6ff8c979adc57d03
|
data/Appraisals
CHANGED
@@ -29,3 +29,13 @@ appraise "rails-6.1_pg-1.2" do
|
|
29
29
|
gem "activerecord", ">= 6.1.0", "< 6.2"
|
30
30
|
gem "pg", "1.2.0"
|
31
31
|
end
|
32
|
+
|
33
|
+
appraise "rails-7.0_pg-1.1" do
|
34
|
+
gem "activerecord", ">= 7.0.0", "< 7.1"
|
35
|
+
gem "pg", "1.1.4"
|
36
|
+
end
|
37
|
+
|
38
|
+
appraise "rails-7.0_pg-1.2" do
|
39
|
+
gem "activerecord", ">= 7.0.0", "< 7.1"
|
40
|
+
gem "pg", "1.2.0"
|
41
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -39,8 +39,9 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.bindir = "bin"
|
40
40
|
spec.executables = []
|
41
41
|
spec.require_paths = ["lib"]
|
42
|
+
spec.required_ruby_version = ">= 2.7.0"
|
42
43
|
|
43
|
-
spec.add_runtime_dependency "activerecord", "> 5.1", "<
|
44
|
+
spec.add_runtime_dependency "activerecord", "> 5.1", "< 7.1"
|
44
45
|
spec.add_runtime_dependency "pg", "~> 1.1"
|
45
46
|
spec.add_runtime_dependency "private_attr"
|
46
47
|
spec.add_runtime_dependency "with_advisory_lock"
|
@@ -49,7 +50,7 @@ Gem::Specification.new do |spec|
|
|
49
50
|
spec.add_development_dependency "bundler", ">= 1.3.0"
|
50
51
|
spec.add_development_dependency "database_cleaner"
|
51
52
|
spec.add_development_dependency "ezcater_matchers"
|
52
|
-
spec.add_development_dependency "ezcater_rubocop", "
|
53
|
+
spec.add_development_dependency "ezcater_rubocop", "~> 3.0"
|
53
54
|
spec.add_development_dependency "overcommit"
|
54
55
|
spec.add_development_dependency "rake", "~> 10.0"
|
55
56
|
spec.add_development_dependency "rspec", "~> 3.4"
|
@@ -67,9 +67,9 @@ module ActiveRecord
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
def with_optional_lock
|
70
|
+
def with_optional_lock(&block)
|
71
71
|
if exclusive_lock
|
72
|
-
ActiveRecord::Base.with_advisory_lock(lock_name)
|
72
|
+
ActiveRecord::Base.with_advisory_lock(lock_name, &block)
|
73
73
|
else
|
74
74
|
yield
|
75
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-postgres_pub_sub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ezCater, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: pg
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,16 +132,16 @@ dependencies:
|
|
132
132
|
name: ezcater_rubocop
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
137
|
+
version: '3.0'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
144
|
+
version: '3.0'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: overcommit
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,6 +234,8 @@ files:
|
|
234
234
|
- gemfiles/rails_6.0_pg_1.2.gemfile
|
235
235
|
- gemfiles/rails_6.1_pg_1.1.gemfile
|
236
236
|
- gemfiles/rails_6.1_pg_1.2.gemfile
|
237
|
+
- gemfiles/rails_7.0_pg_1.1.gemfile
|
238
|
+
- gemfiles/rails_7.0_pg_1.2.gemfile
|
237
239
|
- lib/activerecord-postgres_pub_sub.rb
|
238
240
|
- lib/activerecord/postgres_pub_sub/listener.rb
|
239
241
|
- lib/activerecord/postgres_pub_sub/version.rb
|
@@ -252,14 +254,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
254
|
requirements:
|
253
255
|
- - ">="
|
254
256
|
- !ruby/object:Gem::Version
|
255
|
-
version:
|
257
|
+
version: 2.7.0
|
256
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
259
|
requirements:
|
258
260
|
- - ">="
|
259
261
|
- !ruby/object:Gem::Version
|
260
262
|
version: '0'
|
261
263
|
requirements: []
|
262
|
-
rubygems_version: 3.
|
264
|
+
rubygems_version: 3.1.6
|
263
265
|
signing_key:
|
264
266
|
specification_version: 4
|
265
267
|
summary: Support for Postgres Notify/Listen
|