cloudtasker 0.10.rc1 → 0.10.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.10.rc1)
4
+ cloudtasker (0.10.rc2)
5
5
  activesupport
6
6
  fugit
7
7
  google-cloud-tasks
@@ -67,16 +67,16 @@ GEM
67
67
  crass (1.0.6)
68
68
  diff-lcs (1.3)
69
69
  erubi (1.9.0)
70
- et-orbi (1.2.3)
70
+ et-orbi (1.2.4)
71
71
  tzinfo
72
- faraday (0.17.3)
72
+ faraday (1.0.1)
73
73
  multipart-post (>= 1.2, < 3)
74
- faraday-http-cache (2.0.0)
75
- faraday (~> 0.8)
76
- fugit (1.3.3)
74
+ faraday-http-cache (2.2.0)
75
+ faraday (>= 0.8)
76
+ fugit (1.3.4)
77
77
  et-orbi (~> 1.1, >= 1.1.8)
78
78
  raabro (~> 1.1)
79
- github_changelog_generator (1.15.0)
79
+ github_changelog_generator (1.15.2)
80
80
  activesupport
81
81
  faraday-http-cache
82
82
  multi_json
@@ -86,7 +86,7 @@ GEM
86
86
  retriable (~> 3.0)
87
87
  globalid (0.4.2)
88
88
  activesupport (>= 4.2.0)
89
- google-cloud-tasks (1.4.0)
89
+ google-cloud-tasks (1.5.1)
90
90
  google-gax (~> 1.8)
91
91
  googleapis-common-protos (>= 1.3.9, < 2.0)
92
92
  googleapis-common-protos-types (>= 1.0.4, < 2.0)
@@ -97,32 +97,33 @@ GEM
97
97
  googleauth (~> 0.9)
98
98
  grpc (~> 1.24)
99
99
  rly (~> 0.2.3)
100
- google-protobuf (3.11.4)
101
- googleapis-common-protos (1.3.9)
102
- google-protobuf (~> 3.0)
103
- googleapis-common-protos-types (~> 1.0)
104
- grpc (~> 1.0)
105
- googleapis-common-protos-types (1.0.4)
106
- google-protobuf (~> 3.0)
107
- googleauth (0.11.0)
100
+ google-protobuf (3.11.4-universal-darwin)
101
+ googleapis-common-protos (1.3.10)
102
+ google-protobuf (~> 3.11)
103
+ googleapis-common-protos-types (>= 1.0.5, < 2.0)
104
+ grpc (~> 1.27)
105
+ googleapis-common-protos-types (1.0.5)
106
+ google-protobuf (~> 3.11)
107
+ googleauth (0.12.0)
108
108
  faraday (>= 0.17.3, < 2.0)
109
109
  jwt (>= 1.4, < 3.0)
110
110
  memoist (~> 0.16)
111
111
  multi_json (~> 1.11)
112
112
  os (>= 0.9, < 2.0)
113
- signet (~> 0.12)
114
- grpc (1.27.0)
113
+ signet (~> 0.14)
114
+ grpc (1.28.0-universal-darwin)
115
115
  google-protobuf (~> 3.11)
116
116
  googleapis-common-protos-types (~> 1.0)
117
- grpc-google-iam-v1 (0.6.9)
118
- googleapis-common-protos (>= 1.3.1, < 2.0)
119
- grpc (~> 1.0)
117
+ grpc-google-iam-v1 (0.6.10)
118
+ google-protobuf (~> 3.11)
119
+ googleapis-common-protos (>= 1.3.10, < 2.0)
120
+ grpc (~> 1.27)
120
121
  hashdiff (1.0.1)
121
122
  i18n (1.8.2)
122
123
  concurrent-ruby (~> 1.0)
123
124
  jaro_winkler (1.5.4)
124
125
  jwt (2.2.1)
125
- loofah (2.4.0)
126
+ loofah (2.5.0)
126
127
  crass (~> 1.0.2)
127
128
  nokogiri (>= 1.5.9)
128
129
  mail (2.7.1)
@@ -130,7 +131,7 @@ GEM
130
131
  marcel (0.3.3)
131
132
  mimemagic (~> 0.3.2)
132
133
  memoist (0.16.2)
133
- method_source (0.9.2)
134
+ method_source (1.0.0)
134
135
  mimemagic (0.3.4)
135
136
  mini_mime (1.0.2)
136
137
  mini_portile2 (2.4.0)
@@ -140,14 +141,14 @@ GEM
140
141
  nio4r (2.5.2)
141
142
  nokogiri (1.10.9)
142
143
  mini_portile2 (~> 2.4.0)
143
- octokit (4.16.0)
144
+ octokit (4.18.0)
144
145
  faraday (>= 0.9)
145
146
  sawyer (~> 0.8.0, >= 0.5.3)
146
- os (1.0.1)
147
+ os (1.1.0)
147
148
  parallel (1.19.1)
148
- parser (2.7.0.4)
149
+ parser (2.7.1.1)
149
150
  ast (~> 2.4.0)
150
- public_suffix (4.0.3)
151
+ public_suffix (4.0.4)
151
152
  raabro (1.1.6)
152
153
  rack (2.2.2)
153
154
  rack-test (1.1.0)
@@ -187,20 +188,20 @@ GEM
187
188
  rspec-mocks (~> 3.9.0)
188
189
  rspec-core (3.9.1)
189
190
  rspec-support (~> 3.9.1)
190
- rspec-expectations (3.9.0)
191
+ rspec-expectations (3.9.1)
191
192
  diff-lcs (>= 1.2.0, < 2.0)
192
193
  rspec-support (~> 3.9.0)
193
194
  rspec-mocks (3.9.1)
194
195
  diff-lcs (>= 1.2.0, < 2.0)
195
196
  rspec-support (~> 3.9.0)
196
- rspec-rails (3.9.0)
197
- actionpack (>= 3.0)
198
- activesupport (>= 3.0)
199
- railties (>= 3.0)
200
- rspec-core (~> 3.9.0)
201
- rspec-expectations (~> 3.9.0)
202
- rspec-mocks (~> 3.9.0)
203
- rspec-support (~> 3.9.0)
197
+ rspec-rails (4.0.0)
198
+ actionpack (>= 4.2)
199
+ activesupport (>= 4.2)
200
+ railties (>= 4.2)
201
+ rspec-core (~> 3.9)
202
+ rspec-expectations (~> 3.9)
203
+ rspec-mocks (~> 3.9)
204
+ rspec-support (~> 3.9)
204
205
  rspec-support (3.9.2)
205
206
  rubocop (0.76.0)
206
207
  jaro_winkler (~> 1.5.1)
@@ -216,7 +217,7 @@ GEM
216
217
  sawyer (0.8.2)
217
218
  addressable (>= 2.3.5)
218
219
  faraday (> 0.8, < 2.0)
219
- signet (0.13.0)
220
+ signet (0.14.0)
220
221
  addressable (~> 2.3)
221
222
  faraday (>= 0.17.3, < 2.0)
222
223
  jwt (>= 1.5, < 3.0)
@@ -232,10 +233,10 @@ GEM
232
233
  thor (1.0.1)
233
234
  thread_safe (0.3.6)
234
235
  timecop (0.9.1)
235
- tzinfo (1.2.6)
236
+ tzinfo (1.2.7)
236
237
  thread_safe (~> 0.1)
237
238
  unicode-display_width (1.6.1)
238
- webmock (3.8.2)
239
+ webmock (3.8.3)
239
240
  addressable (>= 2.3.6)
240
241
  crack (>= 0.3.2)
241
242
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- cloudtasker (0.10.rc1)
4
+ cloudtasker (0.10.rc2)
5
5
  activesupport
6
6
  fugit
7
7
  google-cloud-tasks
@@ -80,16 +80,16 @@ GEM
80
80
  crass (1.0.6)
81
81
  diff-lcs (1.3)
82
82
  erubi (1.9.0)
83
- et-orbi (1.2.3)
83
+ et-orbi (1.2.4)
84
84
  tzinfo
85
- faraday (0.17.3)
85
+ faraday (1.0.1)
86
86
  multipart-post (>= 1.2, < 3)
87
- faraday-http-cache (2.0.0)
88
- faraday (~> 0.8)
89
- fugit (1.3.3)
87
+ faraday-http-cache (2.2.0)
88
+ faraday (>= 0.8)
89
+ fugit (1.3.4)
90
90
  et-orbi (~> 1.1, >= 1.1.8)
91
91
  raabro (~> 1.1)
92
- github_changelog_generator (1.15.0)
92
+ github_changelog_generator (1.15.2)
93
93
  activesupport
94
94
  faraday-http-cache
95
95
  multi_json
@@ -99,7 +99,7 @@ GEM
99
99
  retriable (~> 3.0)
100
100
  globalid (0.4.2)
101
101
  activesupport (>= 4.2.0)
102
- google-cloud-tasks (1.4.0)
102
+ google-cloud-tasks (1.5.1)
103
103
  google-gax (~> 1.8)
104
104
  googleapis-common-protos (>= 1.3.9, < 2.0)
105
105
  googleapis-common-protos-types (>= 1.0.4, < 2.0)
@@ -110,32 +110,33 @@ GEM
110
110
  googleauth (~> 0.9)
111
111
  grpc (~> 1.24)
112
112
  rly (~> 0.2.3)
113
- google-protobuf (3.11.4)
114
- googleapis-common-protos (1.3.9)
115
- google-protobuf (~> 3.0)
116
- googleapis-common-protos-types (~> 1.0)
117
- grpc (~> 1.0)
118
- googleapis-common-protos-types (1.0.4)
119
- google-protobuf (~> 3.0)
120
- googleauth (0.11.0)
113
+ google-protobuf (3.11.4-universal-darwin)
114
+ googleapis-common-protos (1.3.10)
115
+ google-protobuf (~> 3.11)
116
+ googleapis-common-protos-types (>= 1.0.5, < 2.0)
117
+ grpc (~> 1.27)
118
+ googleapis-common-protos-types (1.0.5)
119
+ google-protobuf (~> 3.11)
120
+ googleauth (0.12.0)
121
121
  faraday (>= 0.17.3, < 2.0)
122
122
  jwt (>= 1.4, < 3.0)
123
123
  memoist (~> 0.16)
124
124
  multi_json (~> 1.11)
125
125
  os (>= 0.9, < 2.0)
126
- signet (~> 0.12)
127
- grpc (1.27.0)
126
+ signet (~> 0.14)
127
+ grpc (1.28.0-universal-darwin)
128
128
  google-protobuf (~> 3.11)
129
129
  googleapis-common-protos-types (~> 1.0)
130
- grpc-google-iam-v1 (0.6.9)
131
- googleapis-common-protos (>= 1.3.1, < 2.0)
132
- grpc (~> 1.0)
130
+ grpc-google-iam-v1 (0.6.10)
131
+ google-protobuf (~> 3.11)
132
+ googleapis-common-protos (>= 1.3.10, < 2.0)
133
+ grpc (~> 1.27)
133
134
  hashdiff (1.0.1)
134
135
  i18n (1.8.2)
135
136
  concurrent-ruby (~> 1.0)
136
137
  jaro_winkler (1.5.4)
137
138
  jwt (2.2.1)
138
- loofah (2.4.0)
139
+ loofah (2.5.0)
139
140
  crass (~> 1.0.2)
140
141
  nokogiri (>= 1.5.9)
141
142
  mail (2.7.1)
@@ -143,7 +144,7 @@ GEM
143
144
  marcel (0.3.3)
144
145
  mimemagic (~> 0.3.2)
145
146
  memoist (0.16.2)
146
- method_source (0.9.2)
147
+ method_source (1.0.0)
147
148
  mimemagic (0.3.4)
148
149
  mini_mime (1.0.2)
149
150
  mini_portile2 (2.4.0)
@@ -153,14 +154,14 @@ GEM
153
154
  nio4r (2.5.2)
154
155
  nokogiri (1.10.9)
155
156
  mini_portile2 (~> 2.4.0)
156
- octokit (4.16.0)
157
+ octokit (4.18.0)
157
158
  faraday (>= 0.9)
158
159
  sawyer (~> 0.8.0, >= 0.5.3)
159
- os (1.0.1)
160
+ os (1.1.0)
160
161
  parallel (1.19.1)
161
- parser (2.7.0.4)
162
+ parser (2.7.1.1)
162
163
  ast (~> 2.4.0)
163
- public_suffix (4.0.3)
164
+ public_suffix (4.0.4)
164
165
  raabro (1.1.6)
165
166
  rack (2.2.2)
166
167
  rack-test (1.1.0)
@@ -202,20 +203,20 @@ GEM
202
203
  rspec-mocks (~> 3.9.0)
203
204
  rspec-core (3.9.1)
204
205
  rspec-support (~> 3.9.1)
205
- rspec-expectations (3.9.0)
206
+ rspec-expectations (3.9.1)
206
207
  diff-lcs (>= 1.2.0, < 2.0)
207
208
  rspec-support (~> 3.9.0)
208
209
  rspec-mocks (3.9.1)
209
210
  diff-lcs (>= 1.2.0, < 2.0)
210
211
  rspec-support (~> 3.9.0)
211
- rspec-rails (3.9.0)
212
- actionpack (>= 3.0)
213
- activesupport (>= 3.0)
214
- railties (>= 3.0)
215
- rspec-core (~> 3.9.0)
216
- rspec-expectations (~> 3.9.0)
217
- rspec-mocks (~> 3.9.0)
218
- rspec-support (~> 3.9.0)
212
+ rspec-rails (4.0.0)
213
+ actionpack (>= 4.2)
214
+ activesupport (>= 4.2)
215
+ railties (>= 4.2)
216
+ rspec-core (~> 3.9)
217
+ rspec-expectations (~> 3.9)
218
+ rspec-mocks (~> 3.9)
219
+ rspec-support (~> 3.9)
219
220
  rspec-support (3.9.2)
220
221
  rubocop (0.76.0)
221
222
  jaro_winkler (~> 1.5.1)
@@ -231,7 +232,7 @@ GEM
231
232
  sawyer (0.8.2)
232
233
  addressable (>= 2.3.5)
233
234
  faraday (> 0.8, < 2.0)
234
- signet (0.13.0)
235
+ signet (0.14.0)
235
236
  addressable (~> 2.3)
236
237
  faraday (>= 0.17.3, < 2.0)
237
238
  jwt (>= 1.5, < 3.0)
@@ -247,10 +248,10 @@ GEM
247
248
  thor (1.0.1)
248
249
  thread_safe (0.3.6)
249
250
  timecop (0.9.1)
250
- tzinfo (1.2.6)
251
+ tzinfo (1.2.7)
251
252
  thread_safe (~> 0.1)
252
253
  unicode-display_width (1.6.1)
253
- webmock (3.8.2)
254
+ webmock (3.8.3)
254
255
  addressable (>= 2.3.6)
255
256
  crack (>= 0.3.2)
256
257
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -146,7 +146,7 @@ module Cloudtasker
146
146
  #
147
147
  def self.delete(id)
148
148
  client.delete_task(id)
149
- rescue Google::Gax::RetryError, GRPC::NotFound, Google::Gax::PermissionDeniedError
149
+ rescue Google::Gax::NotFoundError, Google::Gax::RetryError, GRPC::NotFound, Google::Gax::PermissionDeniedError
150
150
  nil
151
151
  end
152
152
 
@@ -82,7 +82,7 @@ module Cloudtasker
82
82
  # Deliver task
83
83
  begin
84
84
  Thread.current['task'].deliver
85
- rescue Errno::ECONNREFUSED => e
85
+ rescue Errno::EBADF, Errno::ECONNREFUSED => e
86
86
  raise(e) unless Thread.current['attempts'] < 3
87
87
 
88
88
  # Retry on connection error, in case the web server is not
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cloudtasker
4
- VERSION = '0.10.rc1'
4
+ VERSION = '0.10.rc2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudtasker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.rc1
4
+ version: 0.10.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -256,10 +256,10 @@ executables:
256
256
  extensions: []
257
257
  extra_rdoc_files: []
258
258
  files:
259
+ - ".github/workflows/test.yml"
259
260
  - ".gitignore"
260
261
  - ".rspec"
261
262
  - ".rubocop.yml"
262
- - ".travis.yml"
263
263
  - Appraisals
264
264
  - CHANGELOG.md
265
265
  - CODE_OF_CONDUCT.md
@@ -368,8 +368,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
368
368
  - !ruby/object:Gem::Version
369
369
  version: 1.3.1
370
370
  requirements: []
371
- rubyforge_project:
372
- rubygems_version: 2.7.6.2
371
+ rubygems_version: 3.0.0
373
372
  signing_key:
374
373
  specification_version: 4
375
374
  summary: Background jobs for Ruby using Google Cloud Tasks (beta)
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.5.5
6
- services:
7
- - redis-server
8
- before_install: gem install bundler -v 2.0.2
9
- before_script: bundle exec rubocop
10
- gemfile:
11
- - gemfiles/google_cloud_tasks_1.0.gemfile
12
- - gemfiles/google_cloud_tasks_1.1.gemfile
13
- - gemfiles/google_cloud_tasks_1.2.gemfile
14
- - gemfiles/google_cloud_tasks_1.3.gemfile
15
- - gemfiles/rails_5.2.gemfile
16
- - gemfiles/rails_6.0.gemfile