cloudenvoy 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/CHANGELOG.md +7 -0
- data/README.md +4 -4
- data/app/controllers/cloudenvoy/subscriber_controller.rb +5 -2
- data/examples/rails/Gemfile.lock +125 -106
- data/examples/sinatra/Gemfile +15 -0
- data/examples/sinatra/Gemfile.lock +127 -0
- data/examples/sinatra/Procfile +1 -0
- data/examples/sinatra/README.md +41 -0
- data/examples/sinatra/app/publishers/hello_publisher.rb +34 -0
- data/examples/sinatra/app/subscribers/hello_subscriber.rb +16 -0
- data/examples/sinatra/app.rb +40 -0
- data/examples/sinatra/bin/console +8 -0
- data/examples/sinatra/config/initializers/cloudenvoy.rb +30 -0
- data/gemfiles/rails_5.2.gemfile.lock +86 -73
- data/gemfiles/rails_6.0.gemfile.lock +87 -74
- data/gemfiles/semantic_logger_3.4.gemfile.lock +144 -130
- data/gemfiles/semantic_logger_4.6.gemfile.lock +144 -130
- data/gemfiles/semantic_logger_4.7.0.gemfile.lock +144 -130
- data/gemfiles/semantic_logger_4.7.2.gemfile.lock +144 -130
- data/lib/cloudenvoy/message.rb +2 -2
- data/lib/cloudenvoy/subscriber.rb +1 -1
- data/lib/cloudenvoy/version.rb +1 -1
- data/lib/generators/cloudenvoy/publisher_generator.rb +46 -0
- data/lib/generators/cloudenvoy/subscriber_generator.rb +46 -0
- data/lib/generators/cloudenvoy/templates/publisher.rb.erb +11 -0
- data/lib/generators/cloudenvoy/templates/publisher_spec.rb.erb +6 -0
- data/lib/generators/cloudenvoy/templates/subscriber.rb.erb +11 -0
- data/lib/generators/cloudenvoy/templates/subscriber_spec.rb.erb +6 -0
- metadata +20 -7
- data/Gemfile.lock +0 -267
- data/app/controllers/cloudenvoy/application_controller.rb +0 -8
@@ -10,200 +10,214 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (6.
|
14
|
-
actionpack (= 6.
|
13
|
+
actioncable (6.1.3.1)
|
14
|
+
actionpack (= 6.1.3.1)
|
15
|
+
activesupport (= 6.1.3.1)
|
15
16
|
nio4r (~> 2.0)
|
16
17
|
websocket-driver (>= 0.6.1)
|
17
|
-
actionmailbox (6.
|
18
|
-
actionpack (= 6.
|
19
|
-
activejob (= 6.
|
20
|
-
activerecord (= 6.
|
21
|
-
activestorage (= 6.
|
22
|
-
activesupport (= 6.
|
18
|
+
actionmailbox (6.1.3.1)
|
19
|
+
actionpack (= 6.1.3.1)
|
20
|
+
activejob (= 6.1.3.1)
|
21
|
+
activerecord (= 6.1.3.1)
|
22
|
+
activestorage (= 6.1.3.1)
|
23
|
+
activesupport (= 6.1.3.1)
|
23
24
|
mail (>= 2.7.1)
|
24
|
-
actionmailer (6.
|
25
|
-
actionpack (= 6.
|
26
|
-
actionview (= 6.
|
27
|
-
activejob (= 6.
|
25
|
+
actionmailer (6.1.3.1)
|
26
|
+
actionpack (= 6.1.3.1)
|
27
|
+
actionview (= 6.1.3.1)
|
28
|
+
activejob (= 6.1.3.1)
|
29
|
+
activesupport (= 6.1.3.1)
|
28
30
|
mail (~> 2.5, >= 2.5.4)
|
29
31
|
rails-dom-testing (~> 2.0)
|
30
|
-
actionpack (6.
|
31
|
-
actionview (= 6.
|
32
|
-
activesupport (= 6.
|
33
|
-
rack (~> 2.0, >= 2.0.
|
32
|
+
actionpack (6.1.3.1)
|
33
|
+
actionview (= 6.1.3.1)
|
34
|
+
activesupport (= 6.1.3.1)
|
35
|
+
rack (~> 2.0, >= 2.0.9)
|
34
36
|
rack-test (>= 0.6.3)
|
35
37
|
rails-dom-testing (~> 2.0)
|
36
38
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
37
|
-
actiontext (6.
|
38
|
-
actionpack (= 6.
|
39
|
-
activerecord (= 6.
|
40
|
-
activestorage (= 6.
|
41
|
-
activesupport (= 6.
|
39
|
+
actiontext (6.1.3.1)
|
40
|
+
actionpack (= 6.1.3.1)
|
41
|
+
activerecord (= 6.1.3.1)
|
42
|
+
activestorage (= 6.1.3.1)
|
43
|
+
activesupport (= 6.1.3.1)
|
42
44
|
nokogiri (>= 1.8.5)
|
43
|
-
actionview (6.
|
44
|
-
activesupport (= 6.
|
45
|
+
actionview (6.1.3.1)
|
46
|
+
activesupport (= 6.1.3.1)
|
45
47
|
builder (~> 3.1)
|
46
48
|
erubi (~> 1.4)
|
47
49
|
rails-dom-testing (~> 2.0)
|
48
50
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
49
|
-
activejob (6.
|
50
|
-
activesupport (= 6.
|
51
|
+
activejob (6.1.3.1)
|
52
|
+
activesupport (= 6.1.3.1)
|
51
53
|
globalid (>= 0.3.6)
|
52
|
-
activemodel (6.
|
53
|
-
activesupport (= 6.
|
54
|
-
activerecord (6.
|
55
|
-
activemodel (= 6.
|
56
|
-
activesupport (= 6.
|
57
|
-
activestorage (6.
|
58
|
-
actionpack (= 6.
|
59
|
-
activejob (= 6.
|
60
|
-
activerecord (= 6.
|
61
|
-
|
62
|
-
|
54
|
+
activemodel (6.1.3.1)
|
55
|
+
activesupport (= 6.1.3.1)
|
56
|
+
activerecord (6.1.3.1)
|
57
|
+
activemodel (= 6.1.3.1)
|
58
|
+
activesupport (= 6.1.3.1)
|
59
|
+
activestorage (6.1.3.1)
|
60
|
+
actionpack (= 6.1.3.1)
|
61
|
+
activejob (= 6.1.3.1)
|
62
|
+
activerecord (= 6.1.3.1)
|
63
|
+
activesupport (= 6.1.3.1)
|
64
|
+
marcel (~> 1.0.0)
|
65
|
+
mini_mime (~> 1.0.2)
|
66
|
+
activesupport (6.1.3.1)
|
63
67
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
64
|
-
i18n (>=
|
65
|
-
minitest (
|
66
|
-
tzinfo (~>
|
67
|
-
zeitwerk (~> 2.
|
68
|
+
i18n (>= 1.6, < 2)
|
69
|
+
minitest (>= 5.1)
|
70
|
+
tzinfo (~> 2.0)
|
71
|
+
zeitwerk (~> 2.3)
|
68
72
|
addressable (2.7.0)
|
69
73
|
public_suffix (>= 2.0.2, < 5.0)
|
70
|
-
appraisal (2.
|
74
|
+
appraisal (2.4.0)
|
71
75
|
bundler
|
72
76
|
rake
|
73
77
|
thor (>= 0.14.0)
|
74
|
-
ast (2.4.
|
78
|
+
ast (2.4.2)
|
75
79
|
builder (3.2.4)
|
76
|
-
concurrent-ruby (1.1.
|
77
|
-
crack (0.4.
|
80
|
+
concurrent-ruby (1.1.8)
|
81
|
+
crack (0.4.5)
|
82
|
+
rexml
|
78
83
|
crass (1.0.6)
|
79
84
|
diff-lcs (1.4.4)
|
80
|
-
erubi (1.
|
81
|
-
faraday (1.
|
85
|
+
erubi (1.10.0)
|
86
|
+
faraday (1.4.1)
|
87
|
+
faraday-excon (~> 1.1)
|
88
|
+
faraday-net_http (~> 1.0)
|
89
|
+
faraday-net_http_persistent (~> 1.1)
|
82
90
|
multipart-post (>= 1.2, < 3)
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
91
|
+
ruby2_keywords (>= 0.0.4)
|
92
|
+
faraday-excon (1.1.0)
|
93
|
+
faraday-net_http (1.0.1)
|
94
|
+
faraday-net_http_persistent (1.1.0)
|
95
|
+
gapic-common (0.4.1)
|
96
|
+
faraday (~> 1.3)
|
97
|
+
google-protobuf (~> 3.15, >= 3.15.2)
|
98
|
+
googleapis-common-protos (>= 1.3.11, < 2.0)
|
99
|
+
googleapis-common-protos-types (>= 1.0.6, < 2.0)
|
100
|
+
googleauth (~> 0.15, >= 0.15.1)
|
101
|
+
grpc (~> 1.36)
|
89
102
|
globalid (0.4.2)
|
90
103
|
activesupport (>= 4.2.0)
|
91
|
-
google-cloud-core (1.
|
104
|
+
google-cloud-core (1.6.0)
|
92
105
|
google-cloud-env (~> 1.0)
|
93
106
|
google-cloud-errors (~> 1.0)
|
94
|
-
google-cloud-env (1.
|
107
|
+
google-cloud-env (1.5.0)
|
95
108
|
faraday (>= 0.17.3, < 2.0)
|
96
|
-
google-cloud-errors (1.0
|
97
|
-
google-cloud-pubsub (2.
|
109
|
+
google-cloud-errors (1.1.0)
|
110
|
+
google-cloud-pubsub (2.5.0)
|
98
111
|
concurrent-ruby (~> 1.1)
|
99
112
|
google-cloud-core (~> 1.5)
|
100
113
|
google-cloud-pubsub-v1 (~> 0.0)
|
101
|
-
google-cloud-pubsub-v1 (0.
|
114
|
+
google-cloud-pubsub-v1 (0.4.0)
|
102
115
|
gapic-common (~> 0.3)
|
103
116
|
google-cloud-errors (~> 1.0)
|
104
117
|
grpc-google-iam-v1 (>= 0.6.10, < 2.0)
|
105
|
-
google-protobuf (3.
|
106
|
-
googleapis-common-protos (1.3.
|
107
|
-
google-protobuf (~> 3.
|
108
|
-
googleapis-common-protos-types (>= 1.0.
|
118
|
+
google-protobuf (3.15.8)
|
119
|
+
googleapis-common-protos (1.3.11)
|
120
|
+
google-protobuf (~> 3.14)
|
121
|
+
googleapis-common-protos-types (>= 1.0.6, < 2.0)
|
109
122
|
grpc (~> 1.27)
|
110
|
-
googleapis-common-protos-types (1.0.
|
111
|
-
google-protobuf (~> 3.
|
112
|
-
googleauth (0.
|
123
|
+
googleapis-common-protos-types (1.0.6)
|
124
|
+
google-protobuf (~> 3.14)
|
125
|
+
googleauth (0.16.1)
|
113
126
|
faraday (>= 0.17.3, < 2.0)
|
114
127
|
jwt (>= 1.4, < 3.0)
|
115
128
|
memoist (~> 0.16)
|
116
129
|
multi_json (~> 1.11)
|
117
130
|
os (>= 0.9, < 2.0)
|
118
131
|
signet (~> 0.14)
|
119
|
-
grpc (1.
|
120
|
-
google-protobuf (~> 3.
|
132
|
+
grpc (1.37.0)
|
133
|
+
google-protobuf (~> 3.15)
|
121
134
|
googleapis-common-protos-types (~> 1.0)
|
122
|
-
grpc-google-iam-v1 (0.6.
|
123
|
-
google-protobuf (~> 3.
|
124
|
-
googleapis-common-protos (>= 1.3.
|
135
|
+
grpc-google-iam-v1 (0.6.11)
|
136
|
+
google-protobuf (~> 3.14)
|
137
|
+
googleapis-common-protos (>= 1.3.11, < 2.0)
|
125
138
|
grpc (~> 1.27)
|
126
139
|
hashdiff (1.0.1)
|
127
|
-
i18n (1.8.
|
140
|
+
i18n (1.8.10)
|
128
141
|
concurrent-ruby (~> 1.0)
|
129
142
|
jaro_winkler (1.5.4)
|
130
143
|
jwt (2.2.2)
|
131
|
-
loofah (2.
|
144
|
+
loofah (2.9.1)
|
132
145
|
crass (~> 1.0.2)
|
133
146
|
nokogiri (>= 1.5.9)
|
134
147
|
mail (2.7.1)
|
135
148
|
mini_mime (>= 0.1.1)
|
136
|
-
marcel (0.
|
137
|
-
mimemagic (~> 0.3.2)
|
149
|
+
marcel (1.0.1)
|
138
150
|
memoist (0.16.2)
|
139
151
|
method_source (1.0.0)
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
minitest (5.14.2)
|
152
|
+
mini_mime (1.0.3)
|
153
|
+
mini_portile2 (2.5.0)
|
154
|
+
minitest (5.14.4)
|
144
155
|
multi_json (1.15.0)
|
145
156
|
multipart-post (2.1.1)
|
146
|
-
nio4r (2.5.
|
147
|
-
nokogiri (1.
|
148
|
-
mini_portile2 (~> 2.
|
157
|
+
nio4r (2.5.7)
|
158
|
+
nokogiri (1.11.3)
|
159
|
+
mini_portile2 (~> 2.5.0)
|
160
|
+
racc (~> 1.4)
|
149
161
|
os (1.1.1)
|
150
|
-
parallel (1.
|
151
|
-
parser (
|
162
|
+
parallel (1.20.1)
|
163
|
+
parser (3.0.1.0)
|
152
164
|
ast (~> 2.4.1)
|
153
165
|
public_suffix (4.0.6)
|
166
|
+
racc (1.5.2)
|
154
167
|
rack (2.2.3)
|
155
168
|
rack-test (1.1.0)
|
156
169
|
rack (>= 1.0, < 3)
|
157
|
-
rails (6.
|
158
|
-
actioncable (= 6.
|
159
|
-
actionmailbox (= 6.
|
160
|
-
actionmailer (= 6.
|
161
|
-
actionpack (= 6.
|
162
|
-
actiontext (= 6.
|
163
|
-
actionview (= 6.
|
164
|
-
activejob (= 6.
|
165
|
-
activemodel (= 6.
|
166
|
-
activerecord (= 6.
|
167
|
-
activestorage (= 6.
|
168
|
-
activesupport (= 6.
|
169
|
-
bundler (>= 1.
|
170
|
-
railties (= 6.
|
170
|
+
rails (6.1.3.1)
|
171
|
+
actioncable (= 6.1.3.1)
|
172
|
+
actionmailbox (= 6.1.3.1)
|
173
|
+
actionmailer (= 6.1.3.1)
|
174
|
+
actionpack (= 6.1.3.1)
|
175
|
+
actiontext (= 6.1.3.1)
|
176
|
+
actionview (= 6.1.3.1)
|
177
|
+
activejob (= 6.1.3.1)
|
178
|
+
activemodel (= 6.1.3.1)
|
179
|
+
activerecord (= 6.1.3.1)
|
180
|
+
activestorage (= 6.1.3.1)
|
181
|
+
activesupport (= 6.1.3.1)
|
182
|
+
bundler (>= 1.15.0)
|
183
|
+
railties (= 6.1.3.1)
|
171
184
|
sprockets-rails (>= 2.0.0)
|
172
185
|
rails-dom-testing (2.0.3)
|
173
186
|
activesupport (>= 4.2.0)
|
174
187
|
nokogiri (>= 1.6)
|
175
188
|
rails-html-sanitizer (1.3.0)
|
176
189
|
loofah (~> 2.3)
|
177
|
-
railties (6.
|
178
|
-
actionpack (= 6.
|
179
|
-
activesupport (= 6.
|
190
|
+
railties (6.1.3.1)
|
191
|
+
actionpack (= 6.1.3.1)
|
192
|
+
activesupport (= 6.1.3.1)
|
180
193
|
method_source
|
181
194
|
rake (>= 0.8.7)
|
182
|
-
thor (
|
195
|
+
thor (~> 1.0)
|
183
196
|
rainbow (3.0.0)
|
184
|
-
rake (13.0.
|
197
|
+
rake (13.0.3)
|
185
198
|
retriable (3.1.2)
|
186
|
-
|
187
|
-
|
188
|
-
rspec-
|
189
|
-
rspec-
|
190
|
-
|
191
|
-
|
192
|
-
|
199
|
+
rexml (3.2.5)
|
200
|
+
rspec (3.10.0)
|
201
|
+
rspec-core (~> 3.10.0)
|
202
|
+
rspec-expectations (~> 3.10.0)
|
203
|
+
rspec-mocks (~> 3.10.0)
|
204
|
+
rspec-core (3.10.1)
|
205
|
+
rspec-support (~> 3.10.0)
|
206
|
+
rspec-expectations (3.10.1)
|
193
207
|
diff-lcs (>= 1.2.0, < 2.0)
|
194
|
-
rspec-support (~> 3.
|
195
|
-
rspec-mocks (3.
|
208
|
+
rspec-support (~> 3.10.0)
|
209
|
+
rspec-mocks (3.10.2)
|
196
210
|
diff-lcs (>= 1.2.0, < 2.0)
|
197
|
-
rspec-support (~> 3.
|
198
|
-
rspec-rails (
|
199
|
-
actionpack (>=
|
200
|
-
activesupport (>=
|
201
|
-
railties (>=
|
202
|
-
rspec-core (~> 3.
|
203
|
-
rspec-expectations (~> 3.
|
204
|
-
rspec-mocks (~> 3.
|
205
|
-
rspec-support (~> 3.
|
206
|
-
rspec-support (3.
|
211
|
+
rspec-support (~> 3.10.0)
|
212
|
+
rspec-rails (5.0.1)
|
213
|
+
actionpack (>= 5.2)
|
214
|
+
activesupport (>= 5.2)
|
215
|
+
railties (>= 5.2)
|
216
|
+
rspec-core (~> 3.10)
|
217
|
+
rspec-expectations (~> 3.10)
|
218
|
+
rspec-mocks (~> 3.10)
|
219
|
+
rspec-support (~> 3.10)
|
220
|
+
rspec-support (3.10.2)
|
207
221
|
rubocop (0.76.0)
|
208
222
|
jaro_winkler (~> 1.5.1)
|
209
223
|
parallel (~> 1.10)
|
@@ -213,10 +227,11 @@ GEM
|
|
213
227
|
unicode-display_width (>= 1.4.0, < 1.7)
|
214
228
|
rubocop-rspec (1.37.0)
|
215
229
|
rubocop (>= 0.68.1)
|
216
|
-
ruby-progressbar (1.
|
230
|
+
ruby-progressbar (1.11.0)
|
231
|
+
ruby2_keywords (0.0.4)
|
217
232
|
semantic_logger (4.7.0)
|
218
233
|
concurrent-ruby (~> 1.0)
|
219
|
-
signet (0.
|
234
|
+
signet (0.15.0)
|
220
235
|
addressable (~> 2.3)
|
221
236
|
faraday (>= 0.17.3, < 2.0)
|
222
237
|
jwt (>= 1.5, < 3.0)
|
@@ -229,20 +244,19 @@ GEM
|
|
229
244
|
activesupport (>= 4.0)
|
230
245
|
sprockets (>= 3.0.0)
|
231
246
|
sqlite3 (1.4.2)
|
232
|
-
thor (1.0
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
thread_safe (~> 0.1)
|
247
|
+
thor (1.1.0)
|
248
|
+
timecop (0.9.4)
|
249
|
+
tzinfo (2.0.4)
|
250
|
+
concurrent-ruby (~> 1.0)
|
237
251
|
unicode-display_width (1.6.1)
|
238
|
-
webmock (3.
|
252
|
+
webmock (3.12.2)
|
239
253
|
addressable (>= 2.3.6)
|
240
254
|
crack (>= 0.3.2)
|
241
255
|
hashdiff (>= 0.4.0, < 2.0.0)
|
242
256
|
websocket-driver (0.7.3)
|
243
257
|
websocket-extensions (>= 0.1.0)
|
244
258
|
websocket-extensions (0.1.5)
|
245
|
-
zeitwerk (2.4.
|
259
|
+
zeitwerk (2.4.2)
|
246
260
|
|
247
261
|
PLATFORMS
|
248
262
|
ruby
|
@@ -262,4 +276,4 @@ DEPENDENCIES
|
|
262
276
|
webmock
|
263
277
|
|
264
278
|
BUNDLED WITH
|
265
|
-
2.
|
279
|
+
2.2.9
|