my_api_client 0.15.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +169 -95
- data/.dependabot/config.yml +2 -5
- data/.rubocop.yml +5 -1
- data/.rubocop_challenge.yml +1 -0
- data/.rubocop_todo.yml +53 -1
- data/CHANGELOG.md +171 -0
- data/Gemfile +0 -3
- data/Gemfile.lock +70 -64
- data/README.jp.md +97 -24
- data/bin/console +4 -0
- data/example/api_clients/application_api_client.rb +2 -10
- data/example/api_clients/my_rest_api_client.rb +9 -3
- data/gemfiles/{rails_4.2.gemfile → rails_6.1.gemfile} +1 -1
- data/lib/generators/rails/USAGE +1 -1
- data/lib/generators/rails/api_client_generator.rb +6 -0
- data/lib/generators/rails/templates/api_client.rb.erb +1 -1
- data/lib/generators/rails/templates/application_api_client.rb.erb +0 -11
- data/lib/generators/rspec/USAGE +1 -1
- data/lib/generators/rspec/api_client_generator.rb +6 -0
- data/lib/generators/rspec/templates/api_client_spec.rb.erb +23 -16
- data/lib/my_api_client.rb +5 -0
- data/lib/my_api_client/base.rb +4 -9
- data/lib/my_api_client/default_error_handlers.rb +64 -0
- data/lib/my_api_client/error_handling.rb +3 -4
- data/lib/my_api_client/error_handling/generator.rb +23 -7
- data/lib/my_api_client/errors.rb +1 -53
- data/lib/my_api_client/errors/api_limit_error.rb +6 -0
- data/lib/my_api_client/errors/client_error.rb +93 -0
- data/lib/my_api_client/errors/network_error.rb +43 -0
- data/lib/my_api_client/errors/server_error.rb +42 -0
- data/lib/my_api_client/params/params.rb +1 -3
- data/lib/my_api_client/request.rb +2 -2
- data/lib/my_api_client/request/basic.rb +1 -3
- data/lib/my_api_client/request/executor.rb +1 -1
- data/lib/my_api_client/version.rb +1 -1
- data/my_api/Gemfile.lock +89 -87
- data/my_api/app/controllers/pagination_controller.rb +1 -1
- data/my_api/spec/controllers/rest_controller_spec.rb +23 -5
- data/my_api_client.gemspec +2 -2
- data/rails_app/rails_5.2/.rspec +3 -0
- data/rails_app/rails_5.2/Gemfile +17 -0
- data/rails_app/rails_5.2/Gemfile.lock +174 -0
- data/rails_app/rails_5.2/README.md +24 -0
- data/rails_app/rails_5.2/Rakefile +8 -0
- data/rails_app/rails_5.2/app/controllers/application_controller.rb +4 -0
- data/rails_app/rails_5.2/app/jobs/application_job.rb +4 -0
- data/rails_app/rails_5.2/bin/bundle +5 -0
- data/rails_app/rails_5.2/bin/rails +6 -0
- data/rails_app/rails_5.2/bin/rake +6 -0
- data/rails_app/rails_5.2/bin/setup +27 -0
- data/rails_app/rails_5.2/bin/update +27 -0
- data/rails_app/rails_5.2/config.ru +7 -0
- data/rails_app/rails_5.2/config/application.rb +37 -0
- data/rails_app/rails_5.2/config/boot.rb +6 -0
- data/rails_app/rails_5.2/config/credentials.yml.enc +1 -0
- data/rails_app/rails_5.2/config/environment.rb +7 -0
- data/rails_app/rails_5.2/config/environments/development.rb +41 -0
- data/rails_app/rails_5.2/config/environments/production.rb +70 -0
- data/rails_app/rails_5.2/config/environments/test.rb +38 -0
- data/rails_app/rails_5.2/config/initializers/application_controller_renderer.rb +9 -0
- data/rails_app/rails_5.2/config/initializers/backtrace_silencers.rb +8 -0
- data/rails_app/rails_5.2/config/initializers/cors.rb +17 -0
- data/rails_app/rails_5.2/config/initializers/filter_parameter_logging.rb +6 -0
- data/rails_app/rails_5.2/config/initializers/inflections.rb +17 -0
- data/rails_app/rails_5.2/config/initializers/mime_types.rb +5 -0
- data/rails_app/rails_5.2/config/initializers/wrap_parameters.rb +11 -0
- data/rails_app/rails_5.2/config/locales/en.yml +33 -0
- data/rails_app/rails_5.2/config/routes.rb +5 -0
- data/rails_app/rails_5.2/config/spring.rb +8 -0
- data/rails_app/rails_5.2/public/robots.txt +1 -0
- data/rails_app/rails_5.2/spec/rails_helper.rb +14 -0
- data/rails_app/rails_5.2/spec/spec_helper.rb +13 -0
- data/rails_app/rails_6.0/.rspec +3 -0
- data/rails_app/rails_6.0/Gemfile +17 -0
- data/rails_app/rails_6.0/Gemfile.lock +190 -0
- data/rails_app/rails_6.0/README.md +24 -0
- data/rails_app/rails_6.0/Rakefile +8 -0
- data/rails_app/rails_6.0/app/controllers/application_controller.rb +4 -0
- data/rails_app/rails_6.0/app/jobs/application_job.rb +9 -0
- data/rails_app/rails_6.0/bin/rails +6 -0
- data/rails_app/rails_6.0/bin/rake +6 -0
- data/rails_app/rails_6.0/bin/setup +27 -0
- data/rails_app/rails_6.0/config.ru +7 -0
- data/rails_app/rails_6.0/config/application.rb +39 -0
- data/rails_app/rails_6.0/config/boot.rb +6 -0
- data/rails_app/rails_6.0/config/credentials.yml.enc +1 -0
- data/rails_app/rails_6.0/config/environment.rb +7 -0
- data/rails_app/rails_6.0/config/environments/development.rb +39 -0
- data/rails_app/rails_6.0/config/environments/production.rb +90 -0
- data/rails_app/rails_6.0/config/environments/test.rb +41 -0
- data/rails_app/rails_6.0/config/initializers/application_controller_renderer.rb +9 -0
- data/rails_app/rails_6.0/config/initializers/backtrace_silencers.rb +8 -0
- data/rails_app/rails_6.0/config/initializers/cors.rb +17 -0
- data/rails_app/rails_6.0/config/initializers/filter_parameter_logging.rb +6 -0
- data/rails_app/rails_6.0/config/initializers/inflections.rb +17 -0
- data/rails_app/rails_6.0/config/initializers/mime_types.rb +5 -0
- data/rails_app/rails_6.0/config/initializers/wrap_parameters.rb +11 -0
- data/rails_app/rails_6.0/config/locales/en.yml +33 -0
- data/rails_app/rails_6.0/config/routes.rb +5 -0
- data/rails_app/rails_6.0/config/spring.rb +8 -0
- data/rails_app/rails_6.0/public/robots.txt +1 -0
- data/rails_app/rails_6.0/spec/rails_helper.rb +14 -0
- data/rails_app/rails_6.0/spec/spec_helper.rb +13 -0
- data/rails_app/rails_6.1/.gitattributes +8 -0
- data/rails_app/rails_6.1/.gitignore +28 -0
- data/rails_app/rails_6.1/.rspec +3 -0
- data/rails_app/rails_6.1/Gemfile +17 -0
- data/rails_app/rails_6.1/Gemfile.lock +197 -0
- data/rails_app/rails_6.1/README.md +24 -0
- data/rails_app/rails_6.1/Rakefile +6 -0
- data/rails_app/rails_6.1/app/controllers/application_controller.rb +4 -0
- data/rails_app/rails_6.1/app/controllers/concerns/.keep +0 -0
- data/rails_app/rails_6.1/app/javascript/.keep +0 -0
- data/rails_app/rails_6.1/app/models/application_record.rb +5 -0
- data/rails_app/rails_6.1/app/models/concerns/.keep +0 -0
- data/rails_app/rails_6.1/bin/bundle +114 -0
- data/rails_app/rails_6.1/bin/rails +4 -0
- data/rails_app/rails_6.1/bin/rake +4 -0
- data/rails_app/rails_6.1/bin/setup +33 -0
- data/rails_app/rails_6.1/config.ru +6 -0
- data/rails_app/rails_6.1/config/application.rb +42 -0
- data/rails_app/rails_6.1/config/boot.rb +5 -0
- data/rails_app/rails_6.1/config/credentials.yml.enc +1 -0
- data/rails_app/rails_6.1/config/database.yml +25 -0
- data/rails_app/rails_6.1/config/environment.rb +7 -0
- data/rails_app/rails_6.1/config/environments/development.rb +59 -0
- data/rails_app/rails_6.1/config/environments/production.rb +97 -0
- data/rails_app/rails_6.1/config/environments/test.rb +51 -0
- data/rails_app/rails_6.1/config/initializers/application_controller_renderer.rb +9 -0
- data/rails_app/rails_6.1/config/initializers/backtrace_silencers.rb +10 -0
- data/rails_app/rails_6.1/config/initializers/cors.rb +17 -0
- data/rails_app/rails_6.1/config/initializers/filter_parameter_logging.rb +8 -0
- data/rails_app/rails_6.1/config/initializers/inflections.rb +17 -0
- data/rails_app/rails_6.1/config/initializers/mime_types.rb +5 -0
- data/rails_app/rails_6.1/config/initializers/wrap_parameters.rb +16 -0
- data/rails_app/rails_6.1/config/locales/en.yml +33 -0
- data/rails_app/rails_6.1/config/routes.rb +5 -0
- data/rails_app/rails_6.1/db/seeds.rb +8 -0
- data/rails_app/rails_6.1/lib/tasks/.keep +0 -0
- data/rails_app/rails_6.1/public/robots.txt +1 -0
- data/rails_app/rails_6.1/spec/rails_helper.rb +14 -0
- data/rails_app/rails_6.1/spec/spec_helper.rb +13 -0
- data/rails_app/rails_6.1/tmp/.keep +0 -0
- data/rails_app/rails_6.1/tmp/pids/.keep +0 -0
- data/rails_app/rails_6.1/vendor/.keep +0 -0
- metadata +119 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5609ea96b6fa8a515176a95b02ffedf732d4d1fe79a0885ed5a893c804000df7
|
4
|
+
data.tar.gz: ae8465d2dedbd0f1c3f06d2c00ede391959ed710c2c60cc00830bee2ba88975f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57d9a99fcba5b23a291817626d2d1813d3867335ce9129f74b2208cbed97c1b0ab9e63ee6ca3174f64bfacd43d3c6ff1d27e3c635e467d155c07772205816bb4
|
7
|
+
data.tar.gz: 63eb822667774d43a146407d413a873ddca0361f9aac1c1afad687a65626cc8fb5f5f162ba150cf08622a0f0ad8b0aec47daa32c4331c21f6dc3cf8dc60356bb
|
data/.circleci/config.yml
CHANGED
@@ -12,31 +12,38 @@ references:
|
|
12
12
|
- &ruby_version
|
13
13
|
ruby_version:
|
14
14
|
type: enum
|
15
|
-
enum: ['2.
|
16
|
-
default: '
|
15
|
+
enum: ['2.5', '2.6', '2.7', '3.0']
|
16
|
+
default: '3.0'
|
17
17
|
- &rails_version
|
18
18
|
rails_version:
|
19
19
|
type: enum
|
20
|
-
enum: ['
|
21
|
-
default: '6.
|
20
|
+
enum: ['5.2', '6.0', '6.1']
|
21
|
+
default: '6.1'
|
22
22
|
- &bundler_options
|
23
23
|
bundler_options:
|
24
24
|
type: string
|
25
25
|
default: ''
|
26
26
|
|
27
27
|
executors:
|
28
|
-
|
28
|
+
api_executor:
|
29
29
|
parameters:
|
30
30
|
<<: *ruby_version
|
31
31
|
docker:
|
32
|
-
- image: circleci/ruby:<< parameters.ruby_version
|
32
|
+
- image: circleci/ruby:<< parameters.ruby_version >>
|
33
33
|
working_directory: ~/repo/my_api
|
34
|
-
|
34
|
+
gem_executor:
|
35
35
|
parameters:
|
36
36
|
<<: *ruby_version
|
37
37
|
docker:
|
38
|
-
- image: circleci/ruby:<< parameters.ruby_version
|
38
|
+
- image: circleci/ruby:<< parameters.ruby_version >>
|
39
39
|
working_directory: ~/repo
|
40
|
+
rails_executor:
|
41
|
+
parameters:
|
42
|
+
<<: *ruby_version
|
43
|
+
<<: *rails_version
|
44
|
+
docker:
|
45
|
+
- image: circleci/ruby:<< parameters.ruby_version >>
|
46
|
+
working_directory: ~/repo/rails_app/rails_<< parameters.rails_version >>
|
40
47
|
|
41
48
|
commands:
|
42
49
|
modify_active_support_version:
|
@@ -144,18 +151,18 @@ commands:
|
|
144
151
|
path: ~/repo
|
145
152
|
- run:
|
146
153
|
name: Install Bundler 2.x
|
147
|
-
command: gem install bundler
|
154
|
+
command: gem install bundler -v '~> 2.0'
|
148
155
|
- ruby-orbs/bundle-install:
|
149
156
|
cache_key_prefix: v1-dependencies-<< parameters.ruby_version >>
|
150
157
|
bundle_extra_args: << parameters.bundler_options >>
|
151
158
|
restore_bundled_with: false
|
152
159
|
test_and_deploy_for_api:
|
153
|
-
description:
|
160
|
+
description: Test and build the API
|
154
161
|
steps:
|
155
162
|
- run_rspec_for_api
|
156
163
|
- deploy_api_server
|
157
164
|
test_and_build_for_gem:
|
158
|
-
description:
|
165
|
+
description: Test and build the RubyGem
|
159
166
|
parameters:
|
160
167
|
<<: *rails_version
|
161
168
|
steps:
|
@@ -163,13 +170,44 @@ commands:
|
|
163
170
|
rails_version: << parameters.rails_version >>
|
164
171
|
- run_rspec_for_gem
|
165
172
|
- rake_build
|
173
|
+
verify_api_client_generator:
|
174
|
+
description: Verify the API client generator
|
175
|
+
parameters:
|
176
|
+
<<: *rails_version
|
177
|
+
steps:
|
178
|
+
- run:
|
179
|
+
name: Generate new API client files
|
180
|
+
command: |
|
181
|
+
bin/rails g api_client path/to/resource \
|
182
|
+
get:path/to/resource \
|
183
|
+
post:path/to/resource \
|
184
|
+
--endpoint https://example.com/myapi
|
185
|
+
- run:
|
186
|
+
name: Check the API client files exists
|
187
|
+
command: |
|
188
|
+
test -e "app/api_clients/application_api_client.rb" & \
|
189
|
+
test -e "app/api_clients/path/to/resource_api_client.rb" & \
|
190
|
+
test -e "spec/api_clients/path/to/resource_api_client_spec.rb"
|
191
|
+
- run:
|
192
|
+
name: Run rspec with the generated spec file
|
193
|
+
command: bundle exec rspec -f d spec/api_clients/path/to
|
166
194
|
|
167
195
|
jobs:
|
196
|
+
test_api:
|
197
|
+
parameters:
|
198
|
+
<<: *ruby_version
|
199
|
+
executor:
|
200
|
+
name: api_executor
|
201
|
+
ruby_version: << parameters.ruby_version >>
|
202
|
+
steps:
|
203
|
+
- setup:
|
204
|
+
ruby_version: << parameters.ruby_version >>
|
205
|
+
- run_rspec_for_api
|
168
206
|
deploy_api:
|
169
207
|
parameters:
|
170
208
|
<<: *ruby_version
|
171
209
|
executor:
|
172
|
-
name:
|
210
|
+
name: api_executor
|
173
211
|
ruby_version: << parameters.ruby_version >>
|
174
212
|
steps:
|
175
213
|
- setup:
|
@@ -181,7 +219,7 @@ jobs:
|
|
181
219
|
<<: *rails_version
|
182
220
|
<<: *bundler_options
|
183
221
|
executor:
|
184
|
-
name:
|
222
|
+
name: gem_executor
|
185
223
|
ruby_version: << parameters.ruby_version >>
|
186
224
|
steps:
|
187
225
|
- setup:
|
@@ -189,33 +227,46 @@ jobs:
|
|
189
227
|
bundler_options: << parameters.bundler_options >>
|
190
228
|
- test_and_build_for_gem:
|
191
229
|
rails_version: << parameters.rails_version >>
|
230
|
+
verify_generator:
|
231
|
+
parameters:
|
232
|
+
<<: *ruby_version
|
233
|
+
<<: *rails_version
|
234
|
+
executor:
|
235
|
+
name: rails_executor
|
236
|
+
ruby_version: << parameters.ruby_version >>
|
237
|
+
rails_version: << parameters.rails_version >>
|
238
|
+
steps:
|
239
|
+
- setup:
|
240
|
+
ruby_version: << parameters.ruby_version >>
|
241
|
+
- verify_api_client_generator:
|
242
|
+
rails_version: << parameters.rails_version >>
|
192
243
|
upload-coverage:
|
193
|
-
executor:
|
244
|
+
executor: gem_executor
|
194
245
|
steps:
|
195
246
|
- attach_workspace:
|
196
247
|
at: ~/repo
|
197
248
|
- code-climate/install
|
198
249
|
- code-climate/sum-coverage:
|
199
250
|
input: codeclimate.*.json
|
200
|
-
parts:
|
251
|
+
parts: 13
|
201
252
|
- code-climate/upload-coverage
|
202
253
|
rubocop:
|
203
|
-
executor:
|
254
|
+
executor: gem_executor
|
204
255
|
steps:
|
205
256
|
- setup
|
206
257
|
- rubocop
|
207
258
|
yardoc:
|
208
|
-
executor:
|
259
|
+
executor: gem_executor
|
209
260
|
steps:
|
210
261
|
- setup
|
211
262
|
- yardoc
|
212
263
|
rubocop_challenge:
|
213
|
-
executor:
|
264
|
+
executor: gem_executor
|
214
265
|
steps:
|
215
266
|
- checkout
|
216
267
|
- rubocop_challenge
|
217
268
|
release:
|
218
|
-
executor:
|
269
|
+
executor: gem_executor
|
219
270
|
steps:
|
220
271
|
- setup
|
221
272
|
- release
|
@@ -225,34 +276,6 @@ workflows:
|
|
225
276
|
|
226
277
|
commit:
|
227
278
|
jobs:
|
228
|
-
- build_gem:
|
229
|
-
name: build_on_ruby_2.4_and_rails_4.2
|
230
|
-
ruby_version: '2.4'
|
231
|
-
rails_version: '4.2'
|
232
|
-
- build_gem:
|
233
|
-
name: build_on_ruby_2.4_and_rails_5.0
|
234
|
-
ruby_version: '2.4'
|
235
|
-
rails_version: '5.0'
|
236
|
-
- build_gem:
|
237
|
-
name: build_on_ruby_2.4_and_rails_5.1
|
238
|
-
ruby_version: '2.4'
|
239
|
-
rails_version: '5.1'
|
240
|
-
- build_gem:
|
241
|
-
name: build_on_ruby_2.4_and_rails_5.2
|
242
|
-
ruby_version: '2.4'
|
243
|
-
rails_version: '5.2'
|
244
|
-
- build_gem:
|
245
|
-
name: build_on_ruby_2.5_and_rails_4.2
|
246
|
-
ruby_version: '2.5'
|
247
|
-
rails_version: '4.2'
|
248
|
-
- build_gem:
|
249
|
-
name: build_on_ruby_2.5_and_rails_5.0
|
250
|
-
ruby_version: '2.5'
|
251
|
-
rails_version: '5.0'
|
252
|
-
- build_gem:
|
253
|
-
name: build_on_ruby_2.5_and_rails_5.1
|
254
|
-
ruby_version: '2.5'
|
255
|
-
rails_version: '5.1'
|
256
279
|
- build_gem:
|
257
280
|
name: build_on_ruby_2.5_and_rails_5.2
|
258
281
|
ruby_version: '2.5'
|
@@ -262,17 +285,9 @@ workflows:
|
|
262
285
|
ruby_version: '2.5'
|
263
286
|
rails_version: '6.0'
|
264
287
|
- build_gem:
|
265
|
-
name: build_on_ruby_2.
|
266
|
-
ruby_version: '2.
|
267
|
-
rails_version: '
|
268
|
-
- build_gem:
|
269
|
-
name: build_on_ruby_2.6_and_rails_5.0
|
270
|
-
ruby_version: '2.6'
|
271
|
-
rails_version: '5.0'
|
272
|
-
- build_gem:
|
273
|
-
name: build_on_ruby_2.6_and_rails_5.1
|
274
|
-
ruby_version: '2.6'
|
275
|
-
rails_version: '5.1'
|
288
|
+
name: build_on_ruby_2.5_and_rails_6.1
|
289
|
+
ruby_version: '2.5'
|
290
|
+
rails_version: '6.1'
|
276
291
|
- build_gem:
|
277
292
|
name: build_on_ruby_2.6_and_rails_5.2
|
278
293
|
ruby_version: '2.6'
|
@@ -282,72 +297,131 @@ workflows:
|
|
282
297
|
ruby_version: '2.6'
|
283
298
|
rails_version: '6.0'
|
284
299
|
- build_gem:
|
285
|
-
name: build_on_ruby_2.
|
286
|
-
ruby_version: '2.
|
287
|
-
rails_version: '
|
288
|
-
- build_gem:
|
289
|
-
name: build_on_ruby_2.7_and_rails_5.1
|
290
|
-
ruby_version: '2.7'
|
291
|
-
rails_version: '5.1'
|
300
|
+
name: build_on_ruby_2.6_and_rails_6.1
|
301
|
+
ruby_version: '2.6'
|
302
|
+
rails_version: '6.1'
|
292
303
|
- build_gem:
|
293
304
|
name: build_on_ruby_2.7_and_rails_5.2
|
294
305
|
ruby_version: '2.7'
|
295
306
|
rails_version: '5.2'
|
296
307
|
- build_gem:
|
297
|
-
name: build_on_ruby_2.7_and_rails_6.
|
308
|
+
name: build_on_ruby_2.7_and_rails_6.0
|
298
309
|
ruby_version: '2.7'
|
299
310
|
rails_version: '6.0'
|
311
|
+
- build_gem:
|
312
|
+
name: build_on_ruby_2.7_and_rails_6.1_with_integrations
|
313
|
+
ruby_version: '2.7'
|
314
|
+
rails_version: '6.1'
|
300
315
|
bundler_options: '--with integrations'
|
301
316
|
- build_gem:
|
302
|
-
name: build_on_ruby_2.7_and_rails_6.
|
317
|
+
name: build_on_ruby_2.7_and_rails_6.1_without_integrations
|
303
318
|
ruby_version: '2.7'
|
319
|
+
rails_version: '6.1'
|
320
|
+
bundler_options: '--without integrations'
|
321
|
+
- build_gem:
|
322
|
+
name: build_on_ruby_3.0_and_rails_6.0
|
323
|
+
ruby_version: '3.0'
|
304
324
|
rails_version: '6.0'
|
325
|
+
- build_gem:
|
326
|
+
name: build_on_ruby_3.0_and_rails_6.1_with_integrations
|
327
|
+
ruby_version: '3.0'
|
328
|
+
rails_version: '6.1'
|
329
|
+
bundler_options: '--with integrations'
|
330
|
+
- build_gem:
|
331
|
+
name: build_on_ruby_3.0_and_rails_6.1_without_integrations
|
332
|
+
ruby_version: '3.0'
|
333
|
+
rails_version: '6.1'
|
305
334
|
bundler_options: '--without integrations'
|
335
|
+
- verify_generator:
|
336
|
+
name: verify_generator_on_ruby_2.5_and_rails_5.2
|
337
|
+
ruby_version: '2.5'
|
338
|
+
rails_version: '5.2'
|
339
|
+
- verify_generator:
|
340
|
+
name: verify_generator_on_ruby_2.5_and_rails_6.0
|
341
|
+
ruby_version: '2.5'
|
342
|
+
rails_version: '6.0'
|
343
|
+
- verify_generator:
|
344
|
+
name: verify_generator_on_ruby_2.5_and_rails_6.1
|
345
|
+
ruby_version: '2.5'
|
346
|
+
rails_version: '6.1'
|
347
|
+
- verify_generator:
|
348
|
+
name: verify_generator_on_ruby_2.6_and_rails_5.2
|
349
|
+
ruby_version: '2.6'
|
350
|
+
rails_version: '5.2'
|
351
|
+
- verify_generator:
|
352
|
+
name: verify_generator_on_ruby_2.6_and_rails_6.0
|
353
|
+
ruby_version: '2.6'
|
354
|
+
rails_version: '6.0'
|
355
|
+
- verify_generator:
|
356
|
+
name: verify_generator_on_ruby_2.6_and_rails_6.1
|
357
|
+
ruby_version: '2.6'
|
358
|
+
rails_version: '6.1'
|
359
|
+
- verify_generator:
|
360
|
+
name: verify_generator_on_ruby_2.7_and_rails_5.2
|
361
|
+
ruby_version: '2.7'
|
362
|
+
rails_version: '5.2'
|
363
|
+
- verify_generator:
|
364
|
+
name: verify_generator_on_ruby_2.7_and_rails_6.0
|
365
|
+
ruby_version: '2.7'
|
366
|
+
rails_version: '6.0'
|
367
|
+
- verify_generator:
|
368
|
+
name: verify_generator_on_ruby_2.7_and_rails_6.1
|
369
|
+
ruby_version: '2.7'
|
370
|
+
rails_version: '6.1'
|
371
|
+
- verify_generator:
|
372
|
+
name: verify_generator_on_ruby_3.0_and_rails_6.0
|
373
|
+
ruby_version: '3.0'
|
374
|
+
rails_version: '6.0'
|
375
|
+
- verify_generator:
|
376
|
+
name: verify_generator_on_ruby_3.0_and_rails_6.1
|
377
|
+
ruby_version: '3.0'
|
378
|
+
rails_version: '6.1'
|
379
|
+
- test_api:
|
380
|
+
ruby_version: '2.7' # Jets supports only Ruby 2.x
|
306
381
|
- rubocop
|
307
382
|
- yardoc
|
308
383
|
- upload-coverage:
|
309
384
|
requires:
|
310
|
-
- build_on_ruby_2.4_and_rails_4.2
|
311
|
-
- build_on_ruby_2.4_and_rails_5.0
|
312
|
-
- build_on_ruby_2.4_and_rails_5.1
|
313
|
-
- build_on_ruby_2.4_and_rails_5.2
|
314
|
-
- build_on_ruby_2.5_and_rails_4.2
|
315
|
-
- build_on_ruby_2.5_and_rails_5.0
|
316
|
-
- build_on_ruby_2.5_and_rails_5.1
|
317
385
|
- build_on_ruby_2.5_and_rails_5.2
|
318
386
|
- build_on_ruby_2.5_and_rails_6.0
|
319
|
-
- build_on_ruby_2.
|
320
|
-
- build_on_ruby_2.6_and_rails_5.0
|
321
|
-
- build_on_ruby_2.6_and_rails_5.1
|
387
|
+
- build_on_ruby_2.5_and_rails_6.1
|
322
388
|
- build_on_ruby_2.6_and_rails_5.2
|
323
389
|
- build_on_ruby_2.6_and_rails_6.0
|
324
|
-
- build_on_ruby_2.
|
325
|
-
- build_on_ruby_2.7_and_rails_5.1
|
390
|
+
- build_on_ruby_2.6_and_rails_6.1
|
326
391
|
- build_on_ruby_2.7_and_rails_5.2
|
327
|
-
- build_on_ruby_2.7_and_rails_6.
|
328
|
-
- build_on_ruby_2.7_and_rails_6.
|
392
|
+
- build_on_ruby_2.7_and_rails_6.0
|
393
|
+
- build_on_ruby_2.7_and_rails_6.1_with_integrations
|
394
|
+
- build_on_ruby_2.7_and_rails_6.1_without_integrations
|
395
|
+
- build_on_ruby_3.0_and_rails_6.0
|
396
|
+
- build_on_ruby_3.0_and_rails_6.1_with_integrations
|
397
|
+
- build_on_ruby_3.0_and_rails_6.1_without_integrations
|
329
398
|
- release:
|
330
399
|
context: RubyGems API Key
|
331
400
|
requires:
|
332
|
-
- build_on_ruby_2.4_and_rails_4.2
|
333
|
-
- build_on_ruby_2.4_and_rails_5.0
|
334
|
-
- build_on_ruby_2.4_and_rails_5.1
|
335
|
-
- build_on_ruby_2.4_and_rails_5.2
|
336
|
-
- build_on_ruby_2.5_and_rails_4.2
|
337
|
-
- build_on_ruby_2.5_and_rails_5.0
|
338
|
-
- build_on_ruby_2.5_and_rails_5.1
|
339
401
|
- build_on_ruby_2.5_and_rails_5.2
|
340
402
|
- build_on_ruby_2.5_and_rails_6.0
|
341
|
-
- build_on_ruby_2.
|
342
|
-
- build_on_ruby_2.6_and_rails_5.0
|
343
|
-
- build_on_ruby_2.6_and_rails_5.1
|
403
|
+
- build_on_ruby_2.5_and_rails_6.1
|
344
404
|
- build_on_ruby_2.6_and_rails_5.2
|
345
405
|
- build_on_ruby_2.6_and_rails_6.0
|
346
|
-
- build_on_ruby_2.
|
347
|
-
- build_on_ruby_2.7_and_rails_5.1
|
406
|
+
- build_on_ruby_2.6_and_rails_6.1
|
348
407
|
- build_on_ruby_2.7_and_rails_5.2
|
349
|
-
- build_on_ruby_2.7_and_rails_6.
|
350
|
-
- build_on_ruby_2.7_and_rails_6.
|
408
|
+
- build_on_ruby_2.7_and_rails_6.0
|
409
|
+
- build_on_ruby_2.7_and_rails_6.1_with_integrations
|
410
|
+
- build_on_ruby_2.7_and_rails_6.1_without_integrations
|
411
|
+
- build_on_ruby_3.0_and_rails_6.0
|
412
|
+
- build_on_ruby_3.0_and_rails_6.1_with_integrations
|
413
|
+
- build_on_ruby_3.0_and_rails_6.1_without_integrations
|
414
|
+
- verify_generator_on_ruby_2.5_and_rails_5.2
|
415
|
+
- verify_generator_on_ruby_2.5_and_rails_6.0
|
416
|
+
- verify_generator_on_ruby_2.5_and_rails_6.1
|
417
|
+
- verify_generator_on_ruby_2.6_and_rails_5.2
|
418
|
+
- verify_generator_on_ruby_2.6_and_rails_6.0
|
419
|
+
- verify_generator_on_ruby_2.6_and_rails_6.1
|
420
|
+
- verify_generator_on_ruby_2.7_and_rails_5.2
|
421
|
+
- verify_generator_on_ruby_2.7_and_rails_6.0
|
422
|
+
- verify_generator_on_ruby_2.7_and_rails_6.1
|
423
|
+
- verify_generator_on_ruby_3.0_and_rails_6.0
|
424
|
+
- verify_generator_on_ruby_3.0_and_rails_6.1
|
351
425
|
- rubocop
|
352
426
|
filters:
|
353
427
|
branches:
|
data/.dependabot/config.yml
CHANGED
@@ -2,16 +2,13 @@ version: 1
|
|
2
2
|
update_configs:
|
3
3
|
- package_manager: "ruby:bundler"
|
4
4
|
directory: "/"
|
5
|
-
update_schedule: "
|
5
|
+
update_schedule: "live"
|
6
6
|
default_reviewers:
|
7
7
|
- "ryz310"
|
8
8
|
default_assignees:
|
9
9
|
- "ryz310"
|
10
10
|
default_labels:
|
11
11
|
- "dependabot"
|
12
|
-
ignored_updates:
|
13
|
-
- match:
|
14
|
-
dependency_name: "rubocop*"
|
15
12
|
automerged_updates:
|
16
13
|
- match:
|
17
14
|
dependency_type: "development"
|
@@ -21,7 +18,7 @@ update_configs:
|
|
21
18
|
update_type: "semver:patch"
|
22
19
|
- package_manager: "ruby:bundler"
|
23
20
|
directory: "/my_api"
|
24
|
-
update_schedule: "
|
21
|
+
update_schedule: "live"
|
25
22
|
default_reviewers:
|
26
23
|
- "ryz310"
|
27
24
|
default_assignees:
|