my_api_client 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +73 -45
  3. data/.rubocop_challenge.yml +0 -4
  4. data/.rubocop_todo.yml +1 -1
  5. data/CHANGELOG.md +27 -0
  6. data/Gemfile.lock +35 -33
  7. data/README.jp.md +2 -2
  8. data/gemfiles/rails_6.1.gemfile +15 -0
  9. data/lib/my_api_client/base.rb +2 -9
  10. data/lib/my_api_client/version.rb +1 -1
  11. data/my_api/Gemfile.lock +36 -34
  12. data/my_api/app/controllers/pagination_controller.rb +1 -1
  13. data/my_api_client.gemspec +1 -1
  14. data/rails_app/rails_5.2/Gemfile.lock +12 -9
  15. data/rails_app/rails_5.2/config/environments/production.rb +1 -1
  16. data/rails_app/rails_6.0/Gemfile.lock +12 -8
  17. data/rails_app/rails_6.0/config/environments/production.rb +1 -1
  18. data/rails_app/rails_6.1/.gitattributes +8 -0
  19. data/rails_app/rails_6.1/.gitignore +28 -0
  20. data/rails_app/rails_6.1/.rspec +3 -0
  21. data/rails_app/rails_6.1/Gemfile +17 -0
  22. data/rails_app/rails_6.1/Gemfile.lock +197 -0
  23. data/rails_app/rails_6.1/README.md +24 -0
  24. data/rails_app/rails_6.1/Rakefile +6 -0
  25. data/rails_app/rails_6.1/app/controllers/application_controller.rb +4 -0
  26. data/rails_app/rails_6.1/app/controllers/concerns/.keep +0 -0
  27. data/rails_app/rails_6.1/app/javascript/.keep +0 -0
  28. data/rails_app/rails_6.1/app/models/application_record.rb +5 -0
  29. data/rails_app/rails_6.1/app/models/concerns/.keep +0 -0
  30. data/rails_app/rails_6.1/bin/bundle +114 -0
  31. data/rails_app/rails_6.1/bin/rails +4 -0
  32. data/rails_app/rails_6.1/bin/rake +4 -0
  33. data/rails_app/rails_6.1/bin/setup +33 -0
  34. data/rails_app/rails_6.1/config.ru +6 -0
  35. data/rails_app/rails_6.1/config/application.rb +42 -0
  36. data/rails_app/rails_6.1/config/boot.rb +5 -0
  37. data/rails_app/rails_6.1/config/credentials.yml.enc +1 -0
  38. data/rails_app/rails_6.1/config/database.yml +25 -0
  39. data/rails_app/rails_6.1/config/environment.rb +7 -0
  40. data/rails_app/rails_6.1/config/environments/development.rb +59 -0
  41. data/rails_app/rails_6.1/config/environments/production.rb +97 -0
  42. data/rails_app/rails_6.1/config/environments/test.rb +51 -0
  43. data/rails_app/rails_6.1/config/initializers/application_controller_renderer.rb +9 -0
  44. data/rails_app/rails_6.1/config/initializers/backtrace_silencers.rb +10 -0
  45. data/rails_app/rails_6.1/config/initializers/cors.rb +17 -0
  46. data/rails_app/rails_6.1/config/initializers/filter_parameter_logging.rb +8 -0
  47. data/rails_app/rails_6.1/config/initializers/inflections.rb +17 -0
  48. data/rails_app/rails_6.1/config/initializers/mime_types.rb +5 -0
  49. data/rails_app/rails_6.1/config/initializers/wrap_parameters.rb +16 -0
  50. data/rails_app/rails_6.1/config/locales/en.yml +33 -0
  51. data/rails_app/rails_6.1/config/routes.rb +5 -0
  52. data/rails_app/rails_6.1/db/seeds.rb +8 -0
  53. data/rails_app/rails_6.1/lib/tasks/.keep +0 -0
  54. data/rails_app/rails_6.1/public/robots.txt +1 -0
  55. data/rails_app/rails_6.1/spec/rails_helper.rb +14 -0
  56. data/rails_app/rails_6.1/spec/spec_helper.rb +13 -0
  57. data/rails_app/rails_6.1/tmp/.keep +0 -0
  58. data/rails_app/rails_6.1/tmp/pids/.keep +0 -0
  59. data/rails_app/rails_6.1/vendor/.keep +0 -0
  60. metadata +48 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a08284da4d04e40f4e93ae233cb942100a239fafb71c52d733dd443603d7acb
4
- data.tar.gz: c33b08cf18b3e3105f57ca01961e421b8f17776dbfa8117f29d4f2a91e26d65f
3
+ metadata.gz: 5609ea96b6fa8a515176a95b02ffedf732d4d1fe79a0885ed5a893c804000df7
4
+ data.tar.gz: ae8465d2dedbd0f1c3f06d2c00ede391959ed710c2c60cc00830bee2ba88975f
5
5
  SHA512:
6
- metadata.gz: 63799656ee7019c7ff4034c458ef8a8734db81771c514e4d922b4e159b97c30cd51a5833c2378a9ac95a4d2dfb2e516630724a7456f2f72e9935dedd24a8b44c
7
- data.tar.gz: a1159d6f2233f1675573235caabe07c5571059092770573e662569e96fd2d0e60221f43f0af7e15151f8f130aade132e1567948b14680cee947df8cc7f3758a2
6
+ metadata.gz: 57d9a99fcba5b23a291817626d2d1813d3867335ce9129f74b2208cbed97c1b0ab9e63ee6ca3174f64bfacd43d3c6ff1d27e3c635e467d155c07772205816bb4
7
+ data.tar.gz: 63eb822667774d43a146407d413a873ddca0361f9aac1c1afad687a65626cc8fb5f5f162ba150cf08622a0f0ad8b0aec47daa32c4331c21f6dc3cf8dc60356bb
@@ -12,13 +12,13 @@ references:
12
12
  - &ruby_version
13
13
  ruby_version:
14
14
  type: enum
15
- enum: ['2.5', '2.6', '2.7']
16
- default: '2.7'
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: ['5.0', '5.1', '5.2', '6.0']
21
- default: '6.0'
20
+ enum: ['5.2', '6.0', '6.1']
21
+ default: '6.1'
22
22
  - &bundler_options
23
23
  bundler_options:
24
24
  type: string
@@ -276,14 +276,6 @@ workflows:
276
276
 
277
277
  commit:
278
278
  jobs:
279
- - build_gem:
280
- name: build_on_ruby_2.5_and_rails_5.0
281
- ruby_version: '2.5'
282
- rails_version: '5.0'
283
- - build_gem:
284
- name: build_on_ruby_2.5_and_rails_5.1
285
- ruby_version: '2.5'
286
- rails_version: '5.1'
287
279
  - build_gem:
288
280
  name: build_on_ruby_2.5_and_rails_5.2
289
281
  ruby_version: '2.5'
@@ -293,13 +285,9 @@ workflows:
293
285
  ruby_version: '2.5'
294
286
  rails_version: '6.0'
295
287
  - build_gem:
296
- name: build_on_ruby_2.6_and_rails_5.0
297
- ruby_version: '2.6'
298
- rails_version: '5.0'
299
- - build_gem:
300
- name: build_on_ruby_2.6_and_rails_5.1
301
- ruby_version: '2.6'
302
- 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'
303
291
  - build_gem:
304
292
  name: build_on_ruby_2.6_and_rails_5.2
305
293
  ruby_version: '2.6'
@@ -309,26 +297,40 @@ workflows:
309
297
  ruby_version: '2.6'
310
298
  rails_version: '6.0'
311
299
  - build_gem:
312
- name: build_on_ruby_2.7_and_rails_5.0
313
- ruby_version: '2.7'
314
- rails_version: '5.0'
315
- - build_gem:
316
- name: build_on_ruby_2.7_and_rails_5.1
317
- ruby_version: '2.7'
318
- 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'
319
303
  - build_gem:
320
304
  name: build_on_ruby_2.7_and_rails_5.2
321
305
  ruby_version: '2.7'
322
306
  rails_version: '5.2'
323
307
  - build_gem:
324
- name: build_on_ruby_2.7_and_rails_6.0_with_integrations
308
+ name: build_on_ruby_2.7_and_rails_6.0
325
309
  ruby_version: '2.7'
326
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'
327
315
  bundler_options: '--with integrations'
328
316
  - build_gem:
329
- name: build_on_ruby_2.7_and_rails_6.0_without_integrations
317
+ name: build_on_ruby_2.7_and_rails_6.1_without_integrations
330
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'
331
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'
332
334
  bundler_options: '--without integrations'
333
335
  - verify_generator:
334
336
  name: verify_generator_on_ruby_2.5_and_rails_5.2
@@ -338,6 +340,10 @@ workflows:
338
340
  name: verify_generator_on_ruby_2.5_and_rails_6.0
339
341
  ruby_version: '2.5'
340
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'
341
347
  - verify_generator:
342
348
  name: verify_generator_on_ruby_2.6_and_rails_5.2
343
349
  ruby_version: '2.6'
@@ -346,6 +352,10 @@ workflows:
346
352
  name: verify_generator_on_ruby_2.6_and_rails_6.0
347
353
  ruby_version: '2.6'
348
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'
349
359
  - verify_generator:
350
360
  name: verify_generator_on_ruby_2.7_and_rails_5.2
351
361
  ruby_version: '2.7'
@@ -354,46 +364,64 @@ workflows:
354
364
  name: verify_generator_on_ruby_2.7_and_rails_6.0
355
365
  ruby_version: '2.7'
356
366
  rails_version: '6.0'
357
- - test_api
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
358
381
  - rubocop
359
382
  - yardoc
360
383
  - upload-coverage:
361
384
  requires:
362
- - build_on_ruby_2.5_and_rails_5.0
363
- - build_on_ruby_2.5_and_rails_5.1
364
385
  - build_on_ruby_2.5_and_rails_5.2
365
386
  - build_on_ruby_2.5_and_rails_6.0
366
- - build_on_ruby_2.6_and_rails_5.0
367
- - build_on_ruby_2.6_and_rails_5.1
387
+ - build_on_ruby_2.5_and_rails_6.1
368
388
  - build_on_ruby_2.6_and_rails_5.2
369
389
  - build_on_ruby_2.6_and_rails_6.0
370
- - build_on_ruby_2.7_and_rails_5.0
371
- - build_on_ruby_2.7_and_rails_5.1
390
+ - build_on_ruby_2.6_and_rails_6.1
372
391
  - build_on_ruby_2.7_and_rails_5.2
373
- - build_on_ruby_2.7_and_rails_6.0_with_integrations
374
- - build_on_ruby_2.7_and_rails_6.0_without_integrations
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
375
398
  - release:
376
399
  context: RubyGems API Key
377
400
  requires:
378
- - build_on_ruby_2.5_and_rails_5.0
379
- - build_on_ruby_2.5_and_rails_5.1
380
401
  - build_on_ruby_2.5_and_rails_5.2
381
402
  - build_on_ruby_2.5_and_rails_6.0
382
- - build_on_ruby_2.6_and_rails_5.0
383
- - build_on_ruby_2.6_and_rails_5.1
403
+ - build_on_ruby_2.5_and_rails_6.1
384
404
  - build_on_ruby_2.6_and_rails_5.2
385
405
  - build_on_ruby_2.6_and_rails_6.0
386
- - build_on_ruby_2.7_and_rails_5.0
387
- - build_on_ruby_2.7_and_rails_5.1
406
+ - build_on_ruby_2.6_and_rails_6.1
388
407
  - build_on_ruby_2.7_and_rails_5.2
389
- - build_on_ruby_2.7_and_rails_6.0_with_integrations
390
- - build_on_ruby_2.7_and_rails_6.0_without_integrations
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
391
414
  - verify_generator_on_ruby_2.5_and_rails_5.2
392
415
  - verify_generator_on_ruby_2.5_and_rails_6.0
416
+ - verify_generator_on_ruby_2.5_and_rails_6.1
393
417
  - verify_generator_on_ruby_2.6_and_rails_5.2
394
418
  - verify_generator_on_ruby_2.6_and_rails_6.0
419
+ - verify_generator_on_ruby_2.6_and_rails_6.1
395
420
  - verify_generator_on_ruby_2.7_and_rails_5.2
396
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
397
425
  - rubocop
398
426
  filters:
399
427
  branches:
@@ -1,5 +1 @@
1
1
  ---
2
- Ignore:
3
- - Performance/StartWith
4
- - Style/HashTransformValues
5
- - Style/StringConcatenation
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2020-12-02 23:30:30 UTC using RuboCop version 1.5.1.
3
+ # on 2020-12-25 23:31:13 UTC using RuboCop version 1.7.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -1,5 +1,32 @@
1
1
  # Change log
2
2
 
3
+ ## v0.19.0 (Jan 04, 2021)
4
+
5
+ ### Feature
6
+
7
+ * [#402](https://github.com/ryz310/my_api_client/pull/402) Support ruby 3.0 and rails 6.1 ([@ryz310](https://github.com/ryz310))
8
+
9
+ ### Rubocop Challenge
10
+
11
+ * [#400](https://github.com/ryz310/my_api_client/pull/400) Re-generate .rubocop_todo.yml with RuboCop v1.7.0 ([@ryz310](https://github.com/ryz310))
12
+
13
+ ### Dependabot
14
+
15
+ * [#352](https://github.com/ryz310/my_api_client/pull/352) Bump jets from 2.3.17 to 2.3.18 in /my_api ([@ryz310](https://github.com/ryz310))
16
+ * [#391](https://github.com/ryz310/my_api_client/pull/391) ryz310/dependabot/bundler/rubocop-1.6.1 ([@ryz310](https://github.com/ryz310))
17
+ * [#392](https://github.com/ryz310/my_api_client/pull/392) ryz310/dependabot/bundler/my_api/puma-5.1.1 ([@ryz310](https://github.com/ryz310))
18
+ * [#395](https://github.com/ryz310/my_api_client/pull/395) ryz310/dependabot/bundler/rubocop-rspec-2.1.0 ([@ryz310](https://github.com/ryz310))
19
+ * [#396](https://github.com/ryz310/my_api_client/pull/396) ryz310/dependabot/bundler/webmock-3.11.0 ([@ryz310](https://github.com/ryz310))
20
+ * [#398](https://github.com/ryz310/my_api_client/pull/398) ryz310/dependabot/bundler/rake-13.0.3 ([@ryz310](https://github.com/ryz310))
21
+ * [#401](https://github.com/ryz310/my_api_client/pull/401) ryz310/dependabot/bundler/yard-0.9.26 ([@ryz310](https://github.com/ryz310))
22
+ * [#403](https://github.com/ryz310/my_api_client/pull/403) ryz310/dependabot/bundler/jsonpath-1.1.0 ([@ryz310](https://github.com/ryz310))
23
+ * [#404](https://github.com/ryz310/my_api_client/pull/404) Bump faraday from 1.2.0 to 1.3.0 ([@ryz310](https://github.com/ryz310))
24
+ * [#406](https://github.com/ryz310/my_api_client/pull/406) ryz310/dependabot/bundler/rubocop-performance-1.9.2 ([@ryz310](https://github.com/ryz310))
25
+ * [#407](https://github.com/ryz310/my_api_client/pull/407) Bump nokogiri from 1.10.10 to 1.11.0 in /my_api ([@ryz310](https://github.com/ryz310))
26
+ * [#408](https://github.com/ryz310/my_api_client/pull/408) Bump nokogiri from 1.10.10 to 1.11.0 in /rails_app/rails_5.2 ([@ryz310](https://github.com/ryz310))
27
+ * [#409](https://github.com/ryz310/my_api_client/pull/409) Bump nokogiri from 1.10.10 to 1.11.0 in /rails_app/rails_6.1 ([@ryz310](https://github.com/ryz310))
28
+ * [#410](https://github.com/ryz310/my_api_client/pull/410) Bump nokogiri from 1.10.10 to 1.11.0 in /rails_app/rails_6.0 ([@ryz310](https://github.com/ryz310))
29
+
3
30
  ## v0.18.0 (Dec 04, 2020)
4
31
 
5
32
  ### Feature
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_api_client (0.18.0)
5
- activesupport (>= 5.0.0)
4
+ my_api_client (0.19.0)
5
+ activesupport (>= 5.2.0)
6
6
  faraday (>= 0.17.1)
7
7
  jsonpath
8
8
  sawyer (>= 0.8.2)
@@ -10,12 +10,12 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (6.0.3.4)
13
+ activesupport (6.1.0)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 0.7, < 2)
16
- minitest (~> 5.1)
17
- tzinfo (~> 1.1)
18
- zeitwerk (~> 2.2, >= 2.2.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ zeitwerk (~> 2.3)
19
19
  addressable (2.7.0)
20
20
  public_suffix (>= 2.0.2, < 5.0)
21
21
  ast (2.4.1)
@@ -24,24 +24,27 @@ GEM
24
24
  byebug (11.1.3)
25
25
  coderay (1.1.3)
26
26
  concurrent-ruby (1.1.7)
27
- crack (0.4.4)
27
+ crack (0.4.5)
28
+ rexml
28
29
  diff-lcs (1.4.4)
29
- docile (1.3.2)
30
- faraday (1.1.0)
30
+ docile (1.3.4)
31
+ faraday (1.3.0)
32
+ faraday-net_http (~> 1.0)
31
33
  multipart-post (>= 1.2, < 3)
32
34
  ruby2_keywords
35
+ faraday-net_http (1.0.0)
33
36
  hashdiff (1.0.1)
34
- i18n (1.8.5)
37
+ i18n (1.8.7)
35
38
  concurrent-ruby (~> 1.0)
36
- json (2.3.1)
37
- jsonpath (1.0.6)
39
+ json (2.5.1)
40
+ jsonpath (1.1.0)
38
41
  multi_json
39
42
  method_source (1.0.0)
40
43
  minitest (5.14.2)
41
44
  multi_json (1.15.0)
42
45
  multipart-post (2.1.1)
43
46
  parallel (1.20.1)
44
- parser (2.7.2.0)
47
+ parser (3.0.0.0)
45
48
  ast (~> 2.4.1)
46
49
  pry (0.13.1)
47
50
  coderay (~> 1.1)
@@ -51,42 +54,42 @@ GEM
51
54
  pry (~> 0.13.0)
52
55
  public_suffix (4.0.6)
53
56
  rainbow (3.0.0)
54
- rake (13.0.1)
55
- regexp_parser (2.0.0)
57
+ rake (13.0.3)
58
+ regexp_parser (2.0.3)
56
59
  rexml (3.2.4)
57
60
  rspec (3.10.0)
58
61
  rspec-core (~> 3.10.0)
59
62
  rspec-expectations (~> 3.10.0)
60
63
  rspec-mocks (~> 3.10.0)
61
- rspec-core (3.10.0)
64
+ rspec-core (3.10.1)
62
65
  rspec-support (~> 3.10.0)
63
- rspec-expectations (3.10.0)
66
+ rspec-expectations (3.10.1)
64
67
  diff-lcs (>= 1.2.0, < 2.0)
65
68
  rspec-support (~> 3.10.0)
66
- rspec-mocks (3.10.0)
69
+ rspec-mocks (3.10.1)
67
70
  diff-lcs (>= 1.2.0, < 2.0)
68
71
  rspec-support (~> 3.10.0)
69
- rspec-support (3.10.0)
72
+ rspec-support (3.10.1)
70
73
  rspec_junit_formatter (0.4.1)
71
74
  rspec-core (>= 2, < 4, != 2.12.0)
72
- rubocop (1.5.1)
75
+ rubocop (1.7.0)
73
76
  parallel (~> 1.10)
74
77
  parser (>= 2.7.1.5)
75
78
  rainbow (>= 2.2.2, < 4.0)
76
- regexp_parser (>= 2.0)
79
+ regexp_parser (>= 1.8, < 3.0)
77
80
  rexml
78
- rubocop-ast (>= 1.2.0)
81
+ rubocop-ast (>= 1.2.0, < 2.0)
79
82
  ruby-progressbar (~> 1.7)
80
83
  unicode-display_width (>= 1.4.0, < 2.0)
81
- rubocop-ast (1.3.0)
84
+ rubocop-ast (1.4.0)
82
85
  parser (>= 2.7.1.5)
83
- rubocop-performance (1.9.1)
86
+ rubocop-performance (1.9.2)
84
87
  rubocop (>= 0.90.0, < 2.0)
85
88
  rubocop-ast (>= 0.4.0)
86
- rubocop-rspec (2.0.1)
89
+ rubocop-rspec (2.1.0)
87
90
  rubocop (~> 1.0)
88
91
  rubocop-ast (>= 1.1.0)
89
- ruby-progressbar (1.10.1)
92
+ ruby-progressbar (1.11.0)
90
93
  ruby2_keywords (0.0.2)
91
94
  sawyer (0.8.2)
92
95
  addressable (>= 2.3.5)
@@ -96,15 +99,14 @@ GEM
96
99
  json (>= 1.8, < 3)
97
100
  simplecov-html (~> 0.10.0)
98
101
  simplecov-html (0.10.2)
99
- thread_safe (0.3.6)
100
- tzinfo (1.2.8)
101
- thread_safe (~> 0.1)
102
+ tzinfo (2.0.4)
103
+ concurrent-ruby (~> 1.0)
102
104
  unicode-display_width (1.7.0)
103
- webmock (3.10.0)
105
+ webmock (3.11.0)
104
106
  addressable (>= 2.3.6)
105
107
  crack (>= 0.3.2)
106
108
  hashdiff (>= 0.4.0, < 2.0.0)
107
- yard (0.9.25)
109
+ yard (0.9.26)
108
110
  zeitwerk (2.4.2)
109
111
 
110
112
  PLATFORMS
@@ -126,4 +128,4 @@ DEPENDENCIES
126
128
  yard
127
129
 
128
130
  BUNDLED WITH
129
- 2.1.4
131
+ 2.2.3
@@ -12,8 +12,8 @@ MyApiClient は API リクエストクラスを作成するための汎用的な
12
12
 
13
13
  ## Supported Versions
14
14
 
15
- * Ruby 2.5, 2.6, 2.7
16
- * Rails 5.0, 5.1, 5.2, 6.0
15
+ * Ruby 2.5, 2.6, 2.7, 3.0
16
+ * Rails 5.2, 6.0, 6.1
17
17
 
18
18
  ## Installation
19
19
 
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source 'https://rubygems.org'
6
+
7
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
8
+
9
+ gem 'activesupport', '~> 6.1.0'
10
+
11
+ group :integrations, optional: true do
12
+ gem 'bugsnag', '>= 6.11.0'
13
+ end
14
+
15
+ gemspec
@@ -8,15 +8,8 @@ module MyApiClient
8
8
  include MyApiClient::Exceptions
9
9
  include MyApiClient::Request
10
10
 
11
- if ActiveSupport::VERSION::STRING >= '5.2.0'
12
- class_attribute :logger, instance_writer: false, default: ::Logger.new($stdout)
13
- class_attribute :error_handlers, instance_writer: false, default: []
14
- else
15
- class_attribute :logger
16
- class_attribute :error_handlers
17
- self.logger = ::Logger.new($stdout)
18
- self.error_handlers = []
19
- end
11
+ class_attribute :logger, instance_writer: false, default: ::Logger.new($stdout)
12
+ class_attribute :error_handlers, instance_writer: false, default: []
20
13
 
21
14
  include MyApiClient::DefaultErrorHandlers
22
15