hanami-events-cloud_pubsub 2.4.0 → 2.5.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfcce621cb98a7e232daeabb6b1902cb8da257f33c0805ce83ebf603dd7bd531
|
|
4
|
+
data.tar.gz: 3c4d2f130b12e5d87672e6b4b1b05e1cf15dd32e44bc17174cc3241991894307
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bc2cd2209d732529b76bced5956436eb25813d10176416552647bef27ddb673b453319fadae3171ec725adbfd530f848bfad2dfd359da3bf4f3bef306a389fa
|
|
7
|
+
data.tar.gz: a9d143d5adb54c6d70d4062e1fbf3dd820ad3ca13c1c33979cce6473b3b2136ec2878c4a666c022f45af532ff46c864446c7c107ceccb3aa195db3721346d169
|
data/Gemfile.lock
CHANGED
|
@@ -8,8 +8,8 @@ GIT
|
|
|
8
8
|
PATH
|
|
9
9
|
remote: .
|
|
10
10
|
specs:
|
|
11
|
-
hanami-events-cloud_pubsub (2.
|
|
12
|
-
dry-configurable (>= 0.8
|
|
11
|
+
hanami-events-cloud_pubsub (2.5.0)
|
|
12
|
+
dry-configurable (>= 0.8)
|
|
13
13
|
google-cloud-pubsub (>= 0.38.1, < 1.3)
|
|
14
14
|
hanami-cli (~> 0.2)
|
|
15
15
|
hanami-events (~> 0.2.0)
|
|
@@ -21,17 +21,19 @@ GEM
|
|
|
21
21
|
public_suffix (>= 2.0.2, < 5.0)
|
|
22
22
|
ast (2.4.0)
|
|
23
23
|
coderay (1.1.2)
|
|
24
|
-
concurrent-ruby (1.1.
|
|
24
|
+
concurrent-ruby (1.1.6)
|
|
25
25
|
diff-lcs (1.3)
|
|
26
26
|
docile (1.3.2)
|
|
27
|
-
dry-configurable (0.
|
|
27
|
+
dry-configurable (0.11.1)
|
|
28
28
|
concurrent-ruby (~> 1.0)
|
|
29
29
|
dry-core (~> 0.4, >= 0.4.7)
|
|
30
|
+
dry-equalizer (~> 0.2)
|
|
30
31
|
dry-container (0.7.1)
|
|
31
32
|
concurrent-ruby (~> 1.0)
|
|
32
33
|
dry-configurable (~> 0.1, >= 0.1.3)
|
|
33
34
|
dry-core (0.4.9)
|
|
34
35
|
concurrent-ruby (~> 1.0)
|
|
36
|
+
dry-equalizer (0.3.0)
|
|
35
37
|
faraday (0.17.3)
|
|
36
38
|
multipart-post (>= 1.2, < 3)
|
|
37
39
|
google-cloud-core (1.5.0)
|
|
@@ -40,7 +42,7 @@ GEM
|
|
|
40
42
|
google-cloud-env (1.3.0)
|
|
41
43
|
faraday (~> 0.11)
|
|
42
44
|
google-cloud-errors (1.0.0)
|
|
43
|
-
google-cloud-pubsub (1.2.
|
|
45
|
+
google-cloud-pubsub (1.2.2)
|
|
44
46
|
concurrent-ruby (~> 1.1)
|
|
45
47
|
google-cloud-core (~> 1.2)
|
|
46
48
|
google-gax (~> 1.8)
|
|
@@ -53,7 +55,7 @@ GEM
|
|
|
53
55
|
googleauth (~> 0.9)
|
|
54
56
|
grpc (~> 1.24)
|
|
55
57
|
rly (~> 0.2.3)
|
|
56
|
-
google-protobuf (3.11.
|
|
58
|
+
google-protobuf (3.11.4)
|
|
57
59
|
googleapis-common-protos (1.3.9)
|
|
58
60
|
google-protobuf (~> 3.0)
|
|
59
61
|
googleapis-common-protos-types (~> 1.0)
|
|
@@ -67,8 +69,8 @@ GEM
|
|
|
67
69
|
multi_json (~> 1.11)
|
|
68
70
|
os (>= 0.9, < 2.0)
|
|
69
71
|
signet (~> 0.12)
|
|
70
|
-
grpc (1.
|
|
71
|
-
google-protobuf (~> 3.
|
|
72
|
+
grpc (1.27.0)
|
|
73
|
+
google-protobuf (~> 3.11)
|
|
72
74
|
googleapis-common-protos-types (~> 1.0)
|
|
73
75
|
grpc-google-iam-v1 (0.6.9)
|
|
74
76
|
googleapis-common-protos (>= 1.3.1, < 2.0)
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
23
|
spec.require_paths = ['lib']
|
|
24
24
|
|
|
25
|
-
spec.add_dependency 'dry-configurable', '>= 0.8'
|
|
25
|
+
spec.add_dependency 'dry-configurable', '>= 0.8'
|
|
26
26
|
spec.add_dependency 'google-cloud-pubsub', '>= 0.38.1', '< 1.3'
|
|
27
27
|
spec.add_dependency 'hanami-cli', '~> 0.2'
|
|
28
28
|
spec.add_dependency 'hanami-events', '~> 0.2.0'
|
|
@@ -27,9 +27,7 @@ module Hanami
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
setting :pubsub
|
|
31
|
-
conf_hash.each { |key, val| Google::Cloud::Pubsub.configure[key] = val }
|
|
32
|
-
end
|
|
30
|
+
setting :pubsub, {}, reader: true
|
|
33
31
|
|
|
34
32
|
setting :project_id, reader: true
|
|
35
33
|
setting :auto_create_subscriptions, false, reader: true
|
|
@@ -65,6 +63,11 @@ module Hanami
|
|
|
65
63
|
)
|
|
66
64
|
|
|
67
65
|
setting :on_shutdown_handlers, [], reader: true
|
|
66
|
+
|
|
67
|
+
def self.finalize_settings!
|
|
68
|
+
conf_hash = config.pubsub
|
|
69
|
+
conf_hash.each { |key, val| Google::Cloud::Pubsub.configure[key] = val }
|
|
70
|
+
end
|
|
68
71
|
end
|
|
69
72
|
end
|
|
70
73
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hanami-events-cloud_pubsub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ian Ker-Seymer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-configurable
|
|
@@ -17,9 +17,6 @@ dependencies:
|
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0.8'
|
|
20
|
-
- - "<"
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '0.10'
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -27,9 +24,6 @@ dependencies:
|
|
|
27
24
|
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '0.8'
|
|
30
|
-
- - "<"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0.10'
|
|
33
27
|
- !ruby/object:Gem::Dependency
|
|
34
28
|
name: google-cloud-pubsub
|
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|