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
data/Gemfile.lock DELETED
@@ -1,267 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cloudenvoy (0.4.1)
5
- activesupport
6
- google-cloud-pubsub (~> 2.0)
7
- jwt
8
- retriable
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actioncable (6.0.3.2)
14
- actionpack (= 6.0.3.2)
15
- nio4r (~> 2.0)
16
- websocket-driver (>= 0.6.1)
17
- actionmailbox (6.0.3.2)
18
- actionpack (= 6.0.3.2)
19
- activejob (= 6.0.3.2)
20
- activerecord (= 6.0.3.2)
21
- activestorage (= 6.0.3.2)
22
- activesupport (= 6.0.3.2)
23
- mail (>= 2.7.1)
24
- actionmailer (6.0.3.2)
25
- actionpack (= 6.0.3.2)
26
- actionview (= 6.0.3.2)
27
- activejob (= 6.0.3.2)
28
- mail (~> 2.5, >= 2.5.4)
29
- rails-dom-testing (~> 2.0)
30
- actionpack (6.0.3.2)
31
- actionview (= 6.0.3.2)
32
- activesupport (= 6.0.3.2)
33
- rack (~> 2.0, >= 2.0.8)
34
- rack-test (>= 0.6.3)
35
- rails-dom-testing (~> 2.0)
36
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.0.3.2)
38
- actionpack (= 6.0.3.2)
39
- activerecord (= 6.0.3.2)
40
- activestorage (= 6.0.3.2)
41
- activesupport (= 6.0.3.2)
42
- nokogiri (>= 1.8.5)
43
- actionview (6.0.3.2)
44
- activesupport (= 6.0.3.2)
45
- builder (~> 3.1)
46
- erubi (~> 1.4)
47
- rails-dom-testing (~> 2.0)
48
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.0.3.2)
50
- activesupport (= 6.0.3.2)
51
- globalid (>= 0.3.6)
52
- activemodel (6.0.3.2)
53
- activesupport (= 6.0.3.2)
54
- activerecord (6.0.3.2)
55
- activemodel (= 6.0.3.2)
56
- activesupport (= 6.0.3.2)
57
- activestorage (6.0.3.2)
58
- actionpack (= 6.0.3.2)
59
- activejob (= 6.0.3.2)
60
- activerecord (= 6.0.3.2)
61
- marcel (~> 0.3.1)
62
- activesupport (6.0.3.2)
63
- 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
- addressable (2.7.0)
69
- public_suffix (>= 2.0.2, < 5.0)
70
- appraisal (2.3.0)
71
- bundler
72
- rake
73
- thor (>= 0.14.0)
74
- ast (2.4.1)
75
- builder (3.2.4)
76
- concurrent-ruby (1.1.6)
77
- crack (0.4.3)
78
- safe_yaml (~> 1.0.0)
79
- crass (1.0.6)
80
- diff-lcs (1.4.2)
81
- erubi (1.9.0)
82
- faraday (1.0.1)
83
- multipart-post (>= 1.2, < 3)
84
- gapic-common (0.3.4)
85
- google-protobuf (~> 3.12, >= 3.12.2)
86
- googleapis-common-protos (>= 1.3.9, < 2.0)
87
- googleapis-common-protos-types (>= 1.0.4, < 2.0)
88
- googleauth (~> 0.9)
89
- grpc (~> 1.25)
90
- globalid (0.4.2)
91
- activesupport (>= 4.2.0)
92
- google-cloud-core (1.5.0)
93
- google-cloud-env (~> 1.0)
94
- google-cloud-errors (~> 1.0)
95
- google-cloud-env (1.3.3)
96
- faraday (>= 0.17.3, < 2.0)
97
- google-cloud-errors (1.0.1)
98
- google-cloud-pubsub (2.1.0)
99
- concurrent-ruby (~> 1.1)
100
- google-cloud-core (~> 1.5)
101
- google-cloud-pubsub-v1 (~> 0.0)
102
- google-cloud-pubsub-v1 (0.1.2)
103
- gapic-common (~> 0.3)
104
- google-cloud-errors (~> 1.0)
105
- grpc-google-iam-v1 (>= 0.6.10, < 2.0)
106
- google-protobuf (3.13.0-universal-darwin)
107
- googleapis-common-protos (1.3.10)
108
- google-protobuf (~> 3.11)
109
- googleapis-common-protos-types (>= 1.0.5, < 2.0)
110
- grpc (~> 1.27)
111
- googleapis-common-protos-types (1.0.5)
112
- google-protobuf (~> 3.11)
113
- googleauth (0.13.1)
114
- faraday (>= 0.17.3, < 2.0)
115
- jwt (>= 1.4, < 3.0)
116
- memoist (~> 0.16)
117
- multi_json (~> 1.11)
118
- os (>= 0.9, < 2.0)
119
- signet (~> 0.14)
120
- grpc (1.32.0-universal-darwin)
121
- google-protobuf (~> 3.13)
122
- googleapis-common-protos-types (~> 1.0)
123
- grpc-google-iam-v1 (0.6.10)
124
- google-protobuf (~> 3.11)
125
- googleapis-common-protos (>= 1.3.10, < 2.0)
126
- grpc (~> 1.27)
127
- hashdiff (1.0.1)
128
- i18n (1.8.5)
129
- concurrent-ruby (~> 1.0)
130
- jaro_winkler (1.5.4)
131
- jwt (2.2.2)
132
- loofah (2.6.0)
133
- crass (~> 1.0.2)
134
- nokogiri (>= 1.5.9)
135
- mail (2.7.1)
136
- mini_mime (>= 0.1.1)
137
- marcel (0.3.3)
138
- mimemagic (~> 0.3.2)
139
- memoist (0.16.2)
140
- method_source (1.0.0)
141
- mimemagic (0.3.5)
142
- mini_mime (1.0.2)
143
- mini_portile2 (2.4.0)
144
- minitest (5.14.1)
145
- multi_json (1.15.0)
146
- multipart-post (2.1.1)
147
- nio4r (2.5.2)
148
- nokogiri (1.10.10)
149
- mini_portile2 (~> 2.4.0)
150
- os (1.1.1)
151
- parallel (1.19.2)
152
- parser (2.7.1.4)
153
- ast (~> 2.4.1)
154
- public_suffix (4.0.5)
155
- rack (2.2.3)
156
- rack-test (1.1.0)
157
- rack (>= 1.0, < 3)
158
- rails (6.0.3.2)
159
- actioncable (= 6.0.3.2)
160
- actionmailbox (= 6.0.3.2)
161
- actionmailer (= 6.0.3.2)
162
- actionpack (= 6.0.3.2)
163
- actiontext (= 6.0.3.2)
164
- actionview (= 6.0.3.2)
165
- activejob (= 6.0.3.2)
166
- activemodel (= 6.0.3.2)
167
- activerecord (= 6.0.3.2)
168
- activestorage (= 6.0.3.2)
169
- activesupport (= 6.0.3.2)
170
- bundler (>= 1.3.0)
171
- railties (= 6.0.3.2)
172
- sprockets-rails (>= 2.0.0)
173
- rails-dom-testing (2.0.3)
174
- activesupport (>= 4.2.0)
175
- nokogiri (>= 1.6)
176
- rails-html-sanitizer (1.3.0)
177
- loofah (~> 2.3)
178
- railties (6.0.3.2)
179
- actionpack (= 6.0.3.2)
180
- activesupport (= 6.0.3.2)
181
- method_source
182
- rake (>= 0.8.7)
183
- thor (>= 0.20.3, < 2.0)
184
- rainbow (3.0.0)
185
- rake (13.0.1)
186
- retriable (3.1.2)
187
- rspec (3.9.0)
188
- rspec-core (~> 3.9.0)
189
- rspec-expectations (~> 3.9.0)
190
- rspec-mocks (~> 3.9.0)
191
- rspec-core (3.9.2)
192
- rspec-support (~> 3.9.3)
193
- rspec-expectations (3.9.2)
194
- diff-lcs (>= 1.2.0, < 2.0)
195
- rspec-support (~> 3.9.0)
196
- rspec-mocks (3.9.1)
197
- diff-lcs (>= 1.2.0, < 2.0)
198
- rspec-support (~> 3.9.0)
199
- rspec-rails (4.0.1)
200
- actionpack (>= 4.2)
201
- activesupport (>= 4.2)
202
- railties (>= 4.2)
203
- rspec-core (~> 3.9)
204
- rspec-expectations (~> 3.9)
205
- rspec-mocks (~> 3.9)
206
- rspec-support (~> 3.9)
207
- rspec-support (3.9.3)
208
- rubocop (0.76.0)
209
- jaro_winkler (~> 1.5.1)
210
- parallel (~> 1.10)
211
- parser (>= 2.6)
212
- rainbow (>= 2.2.2, < 4.0)
213
- ruby-progressbar (~> 1.7)
214
- unicode-display_width (>= 1.4.0, < 1.7)
215
- rubocop-rspec (1.37.0)
216
- rubocop (>= 0.68.1)
217
- ruby-progressbar (1.10.1)
218
- safe_yaml (1.0.5)
219
- semantic_logger (4.7.2)
220
- concurrent-ruby (~> 1.0)
221
- signet (0.14.0)
222
- addressable (~> 2.3)
223
- faraday (>= 0.17.3, < 2.0)
224
- jwt (>= 1.5, < 3.0)
225
- multi_json (~> 1.10)
226
- sprockets (4.0.2)
227
- concurrent-ruby (~> 1.0)
228
- rack (> 1, < 3)
229
- sprockets-rails (3.2.1)
230
- actionpack (>= 4.0)
231
- activesupport (>= 4.0)
232
- sprockets (>= 3.0.0)
233
- sqlite3 (1.4.2)
234
- thor (1.0.1)
235
- thread_safe (0.3.6)
236
- timecop (0.9.1)
237
- tzinfo (1.2.7)
238
- thread_safe (~> 0.1)
239
- unicode-display_width (1.6.1)
240
- webmock (3.8.3)
241
- addressable (>= 2.3.6)
242
- crack (>= 0.3.2)
243
- hashdiff (>= 0.4.0, < 2.0.0)
244
- websocket-driver (0.7.3)
245
- websocket-extensions (>= 0.1.0)
246
- websocket-extensions (0.1.5)
247
- zeitwerk (2.4.0)
248
-
249
- PLATFORMS
250
- ruby
251
-
252
- DEPENDENCIES
253
- appraisal
254
- cloudenvoy!
255
- rails
256
- rake (>= 12.3.3)
257
- rspec (~> 3.0)
258
- rspec-rails
259
- rubocop (= 0.76.0)
260
- rubocop-rspec (= 1.37.0)
261
- semantic_logger
262
- sqlite3
263
- timecop
264
- webmock
265
-
266
- BUNDLED WITH
267
- 2.1.4
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Cloudenvoy
4
- # Base Cloudenvoy controller
5
- class ApplicationController < ActionController::Base
6
- skip_before_action :verify_authenticity_token
7
- end
8
- end