cloudenvoy 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/CHANGELOG.md +7 -0
  4. data/README.md +4 -4
  5. data/app/controllers/cloudenvoy/subscriber_controller.rb +5 -2
  6. data/examples/rails/Gemfile.lock +125 -106
  7. data/examples/sinatra/Gemfile +15 -0
  8. data/examples/sinatra/Gemfile.lock +127 -0
  9. data/examples/sinatra/Procfile +1 -0
  10. data/examples/sinatra/README.md +41 -0
  11. data/examples/sinatra/app/publishers/hello_publisher.rb +34 -0
  12. data/examples/sinatra/app/subscribers/hello_subscriber.rb +16 -0
  13. data/examples/sinatra/app.rb +40 -0
  14. data/examples/sinatra/bin/console +8 -0
  15. data/examples/sinatra/config/initializers/cloudenvoy.rb +30 -0
  16. data/gemfiles/rails_5.2.gemfile.lock +86 -73
  17. data/gemfiles/rails_6.0.gemfile.lock +87 -74
  18. data/gemfiles/semantic_logger_3.4.gemfile.lock +144 -130
  19. data/gemfiles/semantic_logger_4.6.gemfile.lock +144 -130
  20. data/gemfiles/semantic_logger_4.7.0.gemfile.lock +144 -130
  21. data/gemfiles/semantic_logger_4.7.2.gemfile.lock +144 -130
  22. data/lib/cloudenvoy/message.rb +2 -2
  23. data/lib/cloudenvoy/subscriber.rb +1 -1
  24. data/lib/cloudenvoy/version.rb +1 -1
  25. data/lib/generators/cloudenvoy/publisher_generator.rb +46 -0
  26. data/lib/generators/cloudenvoy/subscriber_generator.rb +46 -0
  27. data/lib/generators/cloudenvoy/templates/publisher.rb.erb +11 -0
  28. data/lib/generators/cloudenvoy/templates/publisher_spec.rb.erb +6 -0
  29. data/lib/generators/cloudenvoy/templates/subscriber.rb.erb +11 -0
  30. data/lib/generators/cloudenvoy/templates/subscriber_spec.rb.erb +6 -0
  31. metadata +20 -7
  32. data/Gemfile.lock +0 -267
  33. 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.0.3.3)
14
- actionpack (= 6.0.3.3)
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.0.3.3)
18
- actionpack (= 6.0.3.3)
19
- activejob (= 6.0.3.3)
20
- activerecord (= 6.0.3.3)
21
- activestorage (= 6.0.3.3)
22
- activesupport (= 6.0.3.3)
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.0.3.3)
25
- actionpack (= 6.0.3.3)
26
- actionview (= 6.0.3.3)
27
- activejob (= 6.0.3.3)
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.0.3.3)
31
- actionview (= 6.0.3.3)
32
- activesupport (= 6.0.3.3)
33
- rack (~> 2.0, >= 2.0.8)
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.0.3.3)
38
- actionpack (= 6.0.3.3)
39
- activerecord (= 6.0.3.3)
40
- activestorage (= 6.0.3.3)
41
- activesupport (= 6.0.3.3)
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.0.3.3)
44
- activesupport (= 6.0.3.3)
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.0.3.3)
50
- activesupport (= 6.0.3.3)
51
+ activejob (6.1.3.1)
52
+ activesupport (= 6.1.3.1)
51
53
  globalid (>= 0.3.6)
52
- activemodel (6.0.3.3)
53
- activesupport (= 6.0.3.3)
54
- activerecord (6.0.3.3)
55
- activemodel (= 6.0.3.3)
56
- activesupport (= 6.0.3.3)
57
- activestorage (6.0.3.3)
58
- actionpack (= 6.0.3.3)
59
- activejob (= 6.0.3.3)
60
- activerecord (= 6.0.3.3)
61
- marcel (~> 0.3.1)
62
- activesupport (6.0.3.3)
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 (>= 0.7, < 2)
65
- minitest (~> 5.1)
66
- tzinfo (~> 1.1)
67
- zeitwerk (~> 2.2, >= 2.2.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.3.0)
74
+ appraisal (2.4.0)
71
75
  bundler
72
76
  rake
73
77
  thor (>= 0.14.0)
74
- ast (2.4.1)
78
+ ast (2.4.2)
75
79
  builder (3.2.4)
76
- concurrent-ruby (1.1.7)
77
- crack (0.4.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.9.0)
81
- faraday (1.0.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
- gapic-common (0.3.4)
84
- google-protobuf (~> 3.12, >= 3.12.2)
85
- googleapis-common-protos (>= 1.3.9, < 2.0)
86
- googleapis-common-protos-types (>= 1.0.4, < 2.0)
87
- googleauth (~> 0.9)
88
- grpc (~> 1.25)
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.5.0)
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.3.3)
107
+ google-cloud-env (1.5.0)
95
108
  faraday (>= 0.17.3, < 2.0)
96
- google-cloud-errors (1.0.1)
97
- google-cloud-pubsub (2.1.0)
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.1.2)
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.13.0-universal-darwin)
106
- googleapis-common-protos (1.3.10)
107
- google-protobuf (~> 3.11)
108
- googleapis-common-protos-types (>= 1.0.5, < 2.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.5)
111
- google-protobuf (~> 3.11)
112
- googleauth (0.13.1)
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.32.0-universal-darwin)
120
- google-protobuf (~> 3.13)
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.10)
123
- google-protobuf (~> 3.11)
124
- googleapis-common-protos (>= 1.3.10, < 2.0)
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.5)
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.7.0)
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.3.3)
137
- mimemagic (~> 0.3.2)
149
+ marcel (1.0.1)
138
150
  memoist (0.16.2)
139
151
  method_source (1.0.0)
140
- mimemagic (0.3.5)
141
- mini_mime (1.0.2)
142
- mini_portile2 (2.4.0)
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.4)
147
- nokogiri (1.10.10)
148
- mini_portile2 (~> 2.4.0)
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.19.2)
151
- parser (2.7.1.5)
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.0.3.3)
158
- actioncable (= 6.0.3.3)
159
- actionmailbox (= 6.0.3.3)
160
- actionmailer (= 6.0.3.3)
161
- actionpack (= 6.0.3.3)
162
- actiontext (= 6.0.3.3)
163
- actionview (= 6.0.3.3)
164
- activejob (= 6.0.3.3)
165
- activemodel (= 6.0.3.3)
166
- activerecord (= 6.0.3.3)
167
- activestorage (= 6.0.3.3)
168
- activesupport (= 6.0.3.3)
169
- bundler (>= 1.3.0)
170
- railties (= 6.0.3.3)
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.0.3.3)
178
- actionpack (= 6.0.3.3)
179
- activesupport (= 6.0.3.3)
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 (>= 0.20.3, < 2.0)
195
+ thor (~> 1.0)
183
196
  rainbow (3.0.0)
184
- rake (13.0.1)
197
+ rake (13.0.3)
185
198
  retriable (3.1.2)
186
- rspec (3.9.0)
187
- rspec-core (~> 3.9.0)
188
- rspec-expectations (~> 3.9.0)
189
- rspec-mocks (~> 3.9.0)
190
- rspec-core (3.9.3)
191
- rspec-support (~> 3.9.3)
192
- rspec-expectations (3.9.2)
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.9.0)
195
- rspec-mocks (3.9.1)
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.9.0)
198
- rspec-rails (4.0.1)
199
- actionpack (>= 4.2)
200
- activesupport (>= 4.2)
201
- railties (>= 4.2)
202
- rspec-core (~> 3.9)
203
- rspec-expectations (~> 3.9)
204
- rspec-mocks (~> 3.9)
205
- rspec-support (~> 3.9)
206
- rspec-support (3.9.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.10.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.14.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.1)
233
- thread_safe (0.3.6)
234
- timecop (0.9.1)
235
- tzinfo (1.2.7)
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.9.1)
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.0)
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.1.4
279
+ 2.2.9