my_api_client 0.18.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +50 -120
  3. data/.gem_comet.yml +13 -2
  4. data/.github/dependabot.yml +32 -0
  5. data/.rubocop.yml +1 -1
  6. data/.rubocop_todo.yml +1 -15
  7. data/CHANGELOG.md +73 -86
  8. data/Gemfile +2 -0
  9. data/Gemfile.lock +75 -57
  10. data/README.jp.md +79 -15
  11. data/README.md +392 -8
  12. data/gemfiles/rails_5.0.gemfile +1 -0
  13. data/gemfiles/rails_5.1.gemfile +1 -0
  14. data/gemfiles/rails_5.2.gemfile +1 -0
  15. data/gemfiles/rails_6.0.gemfile +1 -0
  16. data/gemfiles/rails_6.1.gemfile +15 -0
  17. data/gemfiles/rails_7.0.gemfile +15 -0
  18. data/lib/generators/rails/templates/api_client.rb.erb +3 -5
  19. data/lib/generators/rspec/templates/api_client_spec.rb.erb +0 -8
  20. data/lib/my_api_client/base.rb +2 -9
  21. data/lib/my_api_client/integrations/bugsnag.rb +1 -1
  22. data/lib/my_api_client/request.rb +1 -1
  23. data/lib/my_api_client/rspec/matchers/be_handled_as_an_error.rb +3 -3
  24. data/lib/my_api_client/rspec/matchers/request_to.rb +1 -1
  25. data/lib/my_api_client/rspec/stub.rb +40 -15
  26. data/lib/my_api_client/version.rb +1 -1
  27. data/my_api/.ruby-version +1 -1
  28. data/my_api/Gemfile +3 -0
  29. data/my_api/Gemfile.lock +108 -99
  30. data/my_api/app/controllers/pagination_controller.rb +2 -2
  31. data/my_api/public/index.html +2 -2
  32. data/my_api/spec/spec_helper.rb +1 -1
  33. data/my_api_client.gemspec +6 -3
  34. data/rails_app/rails_5.2/Gemfile.lock +73 -64
  35. data/rails_app/rails_5.2/config/environments/production.rb +1 -1
  36. data/rails_app/rails_6.0/Gemfile.lock +95 -79
  37. data/rails_app/rails_6.0/config/environments/production.rb +1 -1
  38. data/rails_app/rails_6.1/.gitattributes +8 -0
  39. data/rails_app/rails_6.1/.gitignore +28 -0
  40. data/rails_app/rails_6.1/.rspec +3 -0
  41. data/rails_app/rails_6.1/Gemfile +17 -0
  42. data/rails_app/rails_6.1/Gemfile.lock +203 -0
  43. data/rails_app/rails_6.1/README.md +24 -0
  44. data/rails_app/rails_6.1/Rakefile +8 -0
  45. data/rails_app/rails_6.1/app/controllers/application_controller.rb +4 -0
  46. data/rails_app/rails_6.1/app/controllers/concerns/.keep +0 -0
  47. data/rails_app/rails_6.1/app/javascript/.keep +0 -0
  48. data/rails_app/rails_6.1/app/models/application_record.rb +5 -0
  49. data/rails_app/rails_6.1/app/models/concerns/.keep +0 -0
  50. data/rails_app/rails_6.1/bin/bundle +122 -0
  51. data/rails_app/rails_6.1/bin/rails +6 -0
  52. data/rails_app/rails_6.1/bin/rake +6 -0
  53. data/rails_app/rails_6.1/bin/setup +35 -0
  54. data/rails_app/rails_6.1/config/application.rb +42 -0
  55. data/rails_app/rails_6.1/config/boot.rb +5 -0
  56. data/rails_app/rails_6.1/config/credentials.yml.enc +1 -0
  57. data/rails_app/rails_6.1/config/database.yml +25 -0
  58. data/rails_app/rails_6.1/config/environment.rb +7 -0
  59. data/rails_app/rails_6.1/config/environments/development.rb +59 -0
  60. data/rails_app/rails_6.1/config/environments/production.rb +97 -0
  61. data/rails_app/rails_6.1/config/environments/test.rb +51 -0
  62. data/rails_app/rails_6.1/config/initializers/application_controller_renderer.rb +9 -0
  63. data/rails_app/rails_6.1/config/initializers/backtrace_silencers.rb +10 -0
  64. data/rails_app/rails_6.1/config/initializers/cors.rb +17 -0
  65. data/rails_app/rails_6.1/config/initializers/filter_parameter_logging.rb +8 -0
  66. data/rails_app/rails_6.1/config/initializers/inflections.rb +17 -0
  67. data/rails_app/rails_6.1/config/initializers/mime_types.rb +5 -0
  68. data/rails_app/rails_6.1/config/initializers/wrap_parameters.rb +16 -0
  69. data/rails_app/rails_6.1/config/locales/en.yml +33 -0
  70. data/rails_app/rails_6.1/config/routes.rb +5 -0
  71. data/rails_app/rails_6.1/config.ru +8 -0
  72. data/rails_app/rails_6.1/db/seeds.rb +8 -0
  73. data/rails_app/rails_6.1/lib/tasks/.keep +0 -0
  74. data/rails_app/rails_6.1/public/robots.txt +1 -0
  75. data/rails_app/rails_6.1/spec/rails_helper.rb +14 -0
  76. data/rails_app/rails_6.1/spec/spec_helper.rb +13 -0
  77. data/rails_app/rails_6.1/tmp/.keep +0 -0
  78. data/rails_app/rails_6.1/tmp/pids/.keep +0 -0
  79. data/rails_app/rails_6.1/vendor/.keep +0 -0
  80. data/rails_app/rails_7.0/Gemfile +13 -0
  81. data/rails_app/rails_7.0/Gemfile.lock +147 -0
  82. data/rails_app/rails_7.0/README.md +24 -0
  83. data/rails_app/rails_7.0/Rakefile +8 -0
  84. data/rails_app/rails_7.0/app/controllers/application_controller.rb +4 -0
  85. data/rails_app/rails_7.0/app/models/application_record.rb +5 -0
  86. data/rails_app/rails_7.0/bin/bundle +122 -0
  87. data/rails_app/rails_7.0/bin/rails +6 -0
  88. data/rails_app/rails_7.0/bin/rake +6 -0
  89. data/rails_app/rails_7.0/bin/setup +35 -0
  90. data/rails_app/rails_7.0/config/application.rb +41 -0
  91. data/rails_app/rails_7.0/config/boot.rb +5 -0
  92. data/rails_app/rails_7.0/config/credentials.yml.enc +1 -0
  93. data/rails_app/rails_7.0/config/database.yml +25 -0
  94. data/rails_app/rails_7.0/config/environment.rb +7 -0
  95. data/rails_app/rails_7.0/config/environments/development.rb +58 -0
  96. data/rails_app/rails_7.0/config/environments/production.rb +70 -0
  97. data/rails_app/rails_7.0/config/environments/test.rb +52 -0
  98. data/rails_app/rails_7.0/config/initializers/cors.rb +17 -0
  99. data/rails_app/rails_7.0/config/initializers/filter_parameter_logging.rb +8 -0
  100. data/rails_app/rails_7.0/config/initializers/inflections.rb +17 -0
  101. data/rails_app/rails_7.0/config/locales/en.yml +33 -0
  102. data/rails_app/rails_7.0/config/routes.rb +8 -0
  103. data/rails_app/rails_7.0/config.ru +8 -0
  104. data/rails_app/rails_7.0/db/seeds.rb +8 -0
  105. data/rails_app/rails_7.0/public/robots.txt +1 -0
  106. data/rails_app/rails_7.0/spec/rails_helper.rb +14 -0
  107. data/rails_app/rails_7.0/spec/spec_helper.rb +13 -0
  108. metadata +83 -11
  109. data/.dependabot/config.yml +0 -34
  110. data/.rubocop_challenge.yml +0 -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: 0a47b1e4f16c3a2490bed2bc2280aefd6f147241980e37816a34733c6b301242
4
+ data.tar.gz: ccc14a82d0268ec3db86150fab5e1a3e45c12a807be3cb3c58230e7e7f2aa56d
5
5
  SHA512:
6
- metadata.gz: 63799656ee7019c7ff4034c458ef8a8734db81771c514e4d922b4e159b97c30cd51a5833c2378a9ac95a4d2dfb2e516630724a7456f2f72e9935dedd24a8b44c
7
- data.tar.gz: a1159d6f2233f1675573235caabe07c5571059092770573e662569e96fd2d0e60221f43f0af7e15151f8f130aade132e1567948b14680cee947df8cc7f3758a2
6
+ metadata.gz: 655a1d0fc68e43b7d33b4c97107e7641923c9a05d666ba8ec620ba6400984ff672df6d549f2e02ffad77fc720238da9f6b28e0b7201c069ff9271b769f54f710
7
+ data.tar.gz: 47a6c61e6e30e1bbffc3fcdfa6f011e8e1dc3cc625f4f0cfad35ca1f28b7be5957779db4474741f2daea0d11807d8b2965b192e36e2a1d87443530e3a80bf88a
data/.circleci/config.yml CHANGED
@@ -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: &ruby_version_enum ['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: &rails_version_enum ['5.2', '6.0', '6.1', '7.0']
21
+ default: '7.0'
22
22
  - &bundler_options
23
23
  bundler_options:
24
24
  type: string
@@ -29,20 +29,20 @@ executors:
29
29
  parameters:
30
30
  <<: *ruby_version
31
31
  docker:
32
- - image: circleci/ruby:<< parameters.ruby_version >>
32
+ - image: cimg/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: cimg/ruby:<< parameters.ruby_version >>
39
39
  working_directory: ~/repo
40
40
  rails_executor:
41
41
  parameters:
42
42
  <<: *ruby_version
43
43
  <<: *rails_version
44
44
  docker:
45
- - image: circleci/ruby:<< parameters.ruby_version >>
45
+ - image: cimg/ruby:<< parameters.ruby_version >>
46
46
  working_directory: ~/repo/rails_app/rails_<< parameters.rails_version >>
47
47
 
48
48
  commands:
@@ -92,7 +92,7 @@ commands:
92
92
  - code-climate/format-coverage:
93
93
  input-type: simplecov
94
94
  prefix: $(readlink -f .)
95
- coverage-file: coverage/.resultset.json
95
+ coverage-file: coverage/coverage.json
96
96
  output: coverage/codeclimate.$CIRCLE_BUILD_NUM.json
97
97
  - persist_to_workspace:
98
98
  root: coverage
@@ -125,7 +125,7 @@ commands:
125
125
  - run:
126
126
  name: Rubocop Challenge
127
127
  command: |
128
- gem install rubocop_challenger --pre
128
+ gem install rubocop_challenger
129
129
  rubocop_challenger go --email=ryz310@gmail.com --name=ryz310
130
130
  release:
131
131
  description: Release to RubyGems.org
@@ -175,6 +175,10 @@ commands:
175
175
  parameters:
176
176
  <<: *rails_version
177
177
  steps:
178
+ - run:
179
+ name: "[Workaround] See: https://obel.hatenablog.jp/entry/20210831/1630350000"
180
+ command: |
181
+ sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0 /usr/lib/x86_64-linux-gnu/libffi.so.6
178
182
  - run:
179
183
  name: Generate new API client files
180
184
  command: |
@@ -248,7 +252,7 @@ jobs:
248
252
  - code-climate/install
249
253
  - code-climate/sum-coverage:
250
254
  input: codeclimate.*.json
251
- parts: 13
255
+ parts: 20
252
256
  - code-climate/upload-coverage
253
257
  rubocop:
254
258
  executor: gem_executor
@@ -277,123 +281,49 @@ workflows:
277
281
  commit:
278
282
  jobs:
279
283
  - 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
- - build_gem:
288
- name: build_on_ruby_2.5_and_rails_5.2
289
- ruby_version: '2.5'
290
- rails_version: '5.2'
291
- - build_gem:
292
- name: build_on_ruby_2.5_and_rails_6.0
293
- ruby_version: '2.5'
294
- rails_version: '6.0'
295
- - 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'
303
- - build_gem:
304
- name: build_on_ruby_2.6_and_rails_5.2
305
- ruby_version: '2.6'
306
- rails_version: '5.2'
307
- - build_gem:
308
- name: build_on_ruby_2.6_and_rails_6.0
309
- ruby_version: '2.6'
310
- rails_version: '6.0'
311
- - 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'
319
- - build_gem:
320
- name: build_on_ruby_2.7_and_rails_5.2
321
- ruby_version: '2.7'
322
- rails_version: '5.2'
323
- - build_gem:
324
- name: build_on_ruby_2.7_and_rails_6.0_with_integrations
325
- ruby_version: '2.7'
326
- rails_version: '6.0'
327
- bundler_options: '--with integrations'
328
- - build_gem:
329
- name: build_on_ruby_2.7_and_rails_6.0_without_integrations
330
- ruby_version: '2.7'
331
- rails_version: '6.0'
332
- bundler_options: '--without integrations'
333
- - verify_generator:
334
- name: verify_generator_on_ruby_2.5_and_rails_5.2
335
- ruby_version: '2.5'
336
- rails_version: '5.2'
337
- - verify_generator:
338
- name: verify_generator_on_ruby_2.5_and_rails_6.0
339
- ruby_version: '2.5'
340
- rails_version: '6.0'
341
- - verify_generator:
342
- name: verify_generator_on_ruby_2.6_and_rails_5.2
343
- ruby_version: '2.6'
344
- rails_version: '5.2'
345
- - verify_generator:
346
- name: verify_generator_on_ruby_2.6_and_rails_6.0
347
- ruby_version: '2.6'
348
- rails_version: '6.0'
349
- - verify_generator:
350
- name: verify_generator_on_ruby_2.7_and_rails_5.2
351
- ruby_version: '2.7'
352
- rails_version: '5.2'
284
+ name: build_on_ruby_<< matrix.ruby_version >>_and_rails_<< matrix.rails_version >><< matrix.bundler_options >>
285
+ matrix:
286
+ parameters:
287
+ ruby_version: *ruby_version_enum
288
+ rails_version: *rails_version_enum
289
+ bundler_options: ['--with integrations', '--without integrations']
290
+ exclude:
291
+ - ruby_version: '3.0'
292
+ rails_version: '5.2'
293
+ bundler_options: '--with integrations'
294
+ - ruby_version: '3.0'
295
+ rails_version: '5.2'
296
+ bundler_options: '--without integrations'
297
+ - ruby_version: '2.6'
298
+ rails_version: '7.0'
299
+ bundler_options: '--with integrations'
300
+ - ruby_version: '2.6'
301
+ rails_version: '7.0'
302
+ bundler_options: '--without integrations'
353
303
  - verify_generator:
354
- name: verify_generator_on_ruby_2.7_and_rails_6.0
355
- ruby_version: '2.7'
356
- rails_version: '6.0'
357
- - test_api
304
+ name: verify_generator_on_ruby_<< matrix.ruby_version >>_and_rails_<< matrix.rails_version >>
305
+ matrix:
306
+ parameters:
307
+ ruby_version: *ruby_version_enum
308
+ rails_version: *rails_version_enum
309
+ exclude:
310
+ - ruby_version: '3.0'
311
+ rails_version: '5.2'
312
+ - ruby_version: '2.6'
313
+ rails_version: '7.0'
314
+ - test_api:
315
+ ruby_version: '2.7' # Jets supports only Ruby 2.x
358
316
  - rubocop
359
317
  - yardoc
360
318
  - upload-coverage:
361
319
  requires:
362
- - build_on_ruby_2.5_and_rails_5.0
363
- - build_on_ruby_2.5_and_rails_5.1
364
- - build_on_ruby_2.5_and_rails_5.2
365
- - 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
368
- - build_on_ruby_2.6_and_rails_5.2
369
- - 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
372
- - 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
320
+ - build_gem
321
+ - verify_generator # for GitHub requirements
375
322
  - release:
376
323
  context: RubyGems API Key
377
324
  requires:
378
- - build_on_ruby_2.5_and_rails_5.0
379
- - build_on_ruby_2.5_and_rails_5.1
380
- - build_on_ruby_2.5_and_rails_5.2
381
- - 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
384
- - build_on_ruby_2.6_and_rails_5.2
385
- - 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
388
- - 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
391
- - verify_generator_on_ruby_2.5_and_rails_5.2
392
- - verify_generator_on_ruby_2.5_and_rails_6.0
393
- - verify_generator_on_ruby_2.6_and_rails_5.2
394
- - verify_generator_on_ruby_2.6_and_rails_6.0
395
- - verify_generator_on_ruby_2.7_and_rails_5.2
396
- - verify_generator_on_ruby_2.7_and_rails_6.0
325
+ - build_gem
326
+ - verify_generator
397
327
  - rubocop
398
328
  filters:
399
329
  branches:
@@ -419,7 +349,7 @@ workflows:
419
349
  # only: [master]
420
350
  # jobs:
421
351
  # - deploy_api:
422
- # ruby_version: '2.5'
352
+ # ruby_version: '3.0'
423
353
  # - build_gem:
424
354
  # requires: [deploy_api]
425
355
 
data/.gem_comet.yml CHANGED
@@ -1,12 +1,23 @@
1
1
  # [Usage]
2
2
  #
3
3
  # $ gem install gem_comet
4
+ # $ gem_comet init
4
5
  # $ gem_comet release {version number, like as "1.2.3"}
6
+ # $ gem_comet changelog
7
+ # $ gem_comet versions
5
8
 
6
- version: 1.1
7
-
9
+ version: 1.2
8
10
  release:
9
11
  base_branch: master
10
12
  release_branch: release
11
13
  version_file_path: lib/my_api_client/version.rb
12
14
  changelog_file_path: CHANGELOG.md # optional
15
+ changelog:
16
+ categories:
17
+ - Feature
18
+ - Bugfix
19
+ - Security
20
+ - Breaking Change
21
+ - Rubocop Challenge
22
+ - Dependabot
23
+ - Misc
@@ -0,0 +1,32 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "08:00"
8
+ timezone: Japan
9
+ open-pull-requests-limit: 10
10
+ reviewers:
11
+ - ryz310
12
+ assignees:
13
+ - ryz310
14
+ labels:
15
+ - dependabot
16
+ ignore:
17
+ - dependency-name: rubocop
18
+ versions:
19
+ - 1.9.0
20
+ - package-ecosystem: bundler
21
+ directory: "/my_api"
22
+ schedule:
23
+ interval: daily
24
+ time: "08:00"
25
+ timezone: Japan
26
+ open-pull-requests-limit: 10
27
+ reviewers:
28
+ - ryz310
29
+ assignees:
30
+ - ryz310
31
+ labels:
32
+ - dependabot
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ require:
5
5
  inherit_from: .rubocop_todo.yml
6
6
 
7
7
  AllCops:
8
- TargetRubyVersion: 2.5
8
+ TargetRubyVersion: 2.6
9
9
  NewCops: enable
10
10
  Exclude:
11
11
  - rails_app/**/*
data/.rubocop_todo.yml CHANGED
@@ -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 2021-11-15 23:31:28 UTC using RuboCop version 1.23.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
@@ -43,17 +43,3 @@ Style/DocumentDynamicEvalDefinition:
43
43
  - 'lib/my_api_client/config.rb'
44
44
  - 'lib/my_api_client/request/basic.rb'
45
45
  - 'lib/my_api_client/request/logger.rb'
46
-
47
- # Offense count: 1
48
- # Cop supports --auto-correct.
49
- Style/HashTransformValues:
50
- Exclude:
51
- - 'lib/my_api_client/integrations/bugsnag.rb'
52
-
53
- # Offense count: 3
54
- # Cop supports --auto-correct.
55
- Style/StringConcatenation:
56
- Exclude:
57
- - 'lib/my_api_client/request.rb'
58
- - 'lib/my_api_client/rspec/matchers/request_to.rb'
59
- - 'my_api/app/controllers/pagination_controller.rb'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # Change log
2
2
 
3
+ ## v0.22.0 (Dec 26, 2021)
4
+
5
+ ### Feature
6
+
7
+ * [#648](https://github.com/ryz310/my_api_client/pull/648) Support Rails 7.0 ([@ryz310](https://github.com/ryz310))
8
+
9
+ ### Rubocop Challenge
10
+
11
+ * [#617](https://github.com/ryz310/my_api_client/pull/617) RSpec/ExcessiveDocstringSpacing-20210922233114 ([@ryz310](https://github.com/ryz310))
12
+ * [#623](https://github.com/ryz310/my_api_client/pull/623) Security/IoMethods-20210930233112 ([@ryz310](https://github.com/ryz310))
13
+ * [#624](https://github.com/ryz310/my_api_client/pull/624) ryz310/rubocop-challenge/20211004233152 ([@ryz310](https://github.com/ryz310))
14
+ * [#638](https://github.com/ryz310/my_api_client/pull/638) Gemspec/RequireMFA-20211115233105 ([@ryz310](https://github.com/ryz310))
15
+
16
+ ### Dependabot
17
+
18
+ * [#576](https://github.com/ryz310/my_api_client/pull/576) Bump bugsnag from 6.21.0 to 6.22.1 ([@ryz310](https://github.com/ryz310))
19
+ * [#612](https://github.com/ryz310/my_api_client/pull/612) ryz310/dependabot/bundler/faraday-1.8.0 ([@ryz310](https://github.com/ryz310))
20
+ * [#625](https://github.com/ryz310/my_api_client/pull/625) ryz310/dependabot/bundler/bugsnag-6.24.0 ([@ryz310](https://github.com/ryz310))
21
+ * [#635](https://github.com/ryz310/my_api_client/pull/635) Bump rubocop-performance from 1.11.5 to 1.12.0 ([@ryz310](https://github.com/ryz310))
22
+ * [#636](https://github.com/ryz310/my_api_client/pull/636) ryz310/dependabot/bundler/rubocop-rspec-2.6.0 ([@ryz310](https://github.com/ryz310))
23
+ * [#639](https://github.com/ryz310/my_api_client/pull/639) Bump yard from 0.9.26 to 0.9.27 ([@ryz310](https://github.com/ryz310))
24
+ * [#640](https://github.com/ryz310/my_api_client/pull/640) Bump bugsnag from 6.24.0 to 6.24.1 ([@ryz310](https://github.com/ryz310))
25
+ * [#641](https://github.com/ryz310/my_api_client/pull/641) Bump activesupport from 6.1.4.1 to 6.1.4.2 ([@ryz310](https://github.com/ryz310))
26
+ * [#644](https://github.com/ryz310/my_api_client/pull/644) ryz310/dependabot/bundler/activesupport-6.1.4.4 ([@ryz310](https://github.com/ryz310))
27
+
28
+ ## v0.21.0 (Aug 07, 2021)
29
+
30
+ ### Feature
31
+
32
+ * [#570](https://github.com/ryz310/my_api_client/pull/570) Stubbing status code on testing ([@ryz310](https://github.com/ryz310))
33
+
34
+ ### Breaking Change
35
+
36
+ * [#561](https://github.com/ryz310/my_api_client/pull/561) Goodbye Ruby 2.5.x! ([@ryz310](https://github.com/ryz310))
37
+
38
+ ### Rubocop Challenge
39
+
40
+ * [#523](https://github.com/ryz310/my_api_client/pull/523) Layout/LineEndStringConcatenationIndentation-20210629233103 ([@ryz310](https://github.com/ryz310))
41
+ * [#562](https://github.com/ryz310/my_api_client/pull/562) Re-generate .rubocop_todo.yml with RuboCop v1.18.4 ([@ryz310](https://github.com/ryz310))
42
+
43
+ ### Misc
44
+
45
+ * [#509](https://github.com/ryz310/my_api_client/pull/509) Fix the problem of mimemagic gem dependency ([@ryz310](https://github.com/ryz310))
46
+ * [#559](https://github.com/ryz310/my_api_client/pull/559) Fix gemfiles compatibility ([@ryz310](https://github.com/ryz310))
47
+
48
+ ## v0.20.0 (Mar 07, 2021)
49
+
50
+ ### Feature
51
+
52
+ * [#456](https://github.com/ryz310/my_api_client/pull/456) Stubbed pagination ([@ryz310](https://github.com/ryz310))
53
+
54
+ ### Rubocop Challenge
55
+
56
+ * [#414](https://github.com/ryz310/my_api_client/pull/414) Style/StringConcatenation-20210106033935 ([@ryz310](https://github.com/ryz310))
57
+ * [#416](https://github.com/ryz310/my_api_client/pull/416) Style/HashTransformValues-20210106233116 ([@ryz310](https://github.com/ryz310))
58
+ * [#433](https://github.com/ryz310/my_api_client/pull/433) Lint/SymbolConversion-20210128233108 ([@ryz310](https://github.com/ryz310))
59
+ * [#452](https://github.com/ryz310/my_api_client/pull/452) Re-generate .rubocop_todo.yml with RuboCop v1.11.0 ([@ryz310](https://github.com/ryz310))
60
+
61
+ ### Misc
62
+
63
+ * [#436](https://github.com/ryz310/my_api_client/pull/436) Use Circle CI matrix ([@ryz310](https://github.com/ryz310))
64
+
65
+ ## v0.19.0 (Jan 04, 2021)
66
+
67
+ ### Feature
68
+
69
+ * [#402](https://github.com/ryz310/my_api_client/pull/402) Support Ruby 3.0 and Rails 6.1 ([@ryz310](https://github.com/ryz310))
70
+
71
+ ### Rubocop Challenge
72
+
73
+ * [#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))
74
+
3
75
  ## v0.18.0 (Dec 04, 2020)
4
76
 
5
77
  ### Feature
@@ -8,23 +80,12 @@
8
80
 
9
81
  ### Breaking Change
10
82
 
11
- * [#365](https://github.com/ryz310/my_api_client/pull/365) End of support for ruby 2.4 and rails 4.2 ([@ryz310](https://github.com/ryz310))
83
+ * [#365](https://github.com/ryz310/my_api_client/pull/365) End of support for Ruby 2.4 and Rails 4.2 ([@ryz310](https://github.com/ryz310))
12
84
 
13
85
  ### Rubocop Challenge
14
86
 
15
87
  * [#383](https://github.com/ryz310/my_api_client/pull/383) Re-generate .rubocop_todo.yml with RuboCop v1.5.1 ([@ryz310](https://github.com/ryz310))
16
88
 
17
- ### Dependabot
18
-
19
- * [#338](https://github.com/ryz310/my_api_client/pull/338) ryz310/dependabot/bundler/faraday-1.1.0 ([@ryz310](https://github.com/ryz310))
20
- * [#344](https://github.com/ryz310/my_api_client/pull/344) ryz310/dependabot/bundler/bugsnag-6.18.0 ([@ryz310](https://github.com/ryz310))
21
- * [#345](https://github.com/ryz310/my_api_client/pull/345) ryz310/dependabot/bundler/rspec-3.10.0 ([@ryz310](https://github.com/ryz310))
22
- * [#356](https://github.com/ryz310/my_api_client/pull/356) ryz310/dependabot/bundler/webmock-3.10.0 ([@ryz310](https://github.com/ryz310))
23
- * [#369](https://github.com/ryz310/my_api_client/pull/369) ryz310/dependabot/bundler/jsonpath-1.0.6 ([@ryz310](https://github.com/ryz310))
24
- * [#376](https://github.com/ryz310/my_api_client/pull/376) ryz310/dependabot/bundler/rubocop-performance-1.9.1 ([@ryz310](https://github.com/ryz310))
25
- * [#380](https://github.com/ryz310/my_api_client/pull/380) ryz310/dependabot/bundler/rubocop-rspec-2.0.1 ([@ryz310](https://github.com/ryz310))
26
- * [#382](https://github.com/ryz310/my_api_client/pull/382) ryz310/dependabot/bundler/rubocop-1.5.1 ([@ryz310](https://github.com/ryz310))
27
-
28
89
  ## v0.17.0 (Sep 20, 2020)
29
90
 
30
91
  ### Feature
@@ -40,16 +101,6 @@
40
101
  * [#316](https://github.com/ryz310/my_api_client/pull/316) Layout/EmptyLinesAroundAttributeAccessor-20200909233021 ([@ryz310](https://github.com/ryz310))
41
102
  * [#320](https://github.com/ryz310/my_api_client/pull/320) Re-generate .rubocop_todo.yml with RuboCop v0.91.0 ([@ryz310](https://github.com/ryz310))
42
103
 
43
- ### Dependabot
44
-
45
- * [#299](https://github.com/ryz310/my_api_client/pull/299) ryz310/dependabot/bundler/bugsnag-6.17.0 ([@ryz310](https://github.com/ryz310))
46
- * [#310](https://github.com/ryz310/my_api_client/pull/310) ryz310/dependabot/bundler/rubocop-performance-1.8.0 ([@ryz310](https://github.com/ryz310))
47
- * [#314](https://github.com/ryz310/my_api_client/pull/314) ryz310/dependabot/bundler/activesupport-5.2.4.4 ([@ryz310](https://github.com/ryz310))
48
- * [#315](https://github.com/ryz310/my_api_client/pull/315) ryz310/dependabot/bundler/my_api/actionview-6.0.3.3 ([@ryz310](https://github.com/ryz310))
49
- * [#318](https://github.com/ryz310/my_api_client/pull/318) ryz310/dependabot/bundler/webmock-3.9.1 ([@ryz310](https://github.com/ryz310))
50
- * [#319](https://github.com/ryz310/my_api_client/pull/319) ryz310/dependabot/bundler/rubocop-0.91.0 ([@ryz310](https://github.com/ryz310))
51
- * [#321](https://github.com/ryz310/my_api_client/pull/321) ryz310/dependabot/bundler/my_api/puma-5.0.0 ([@ryz310](https://github.com/ryz310))
52
-
53
104
  ## v0.16.1 (Aug 27, 2020)
54
105
 
55
106
  ### Feature
@@ -63,23 +114,6 @@
63
114
  * [#289](https://github.com/ryz310/my_api_client/pull/289) Re-generate .rubocop_todo.yml with RuboCop v0.89.1 ([@ryz310](https://github.com/ryz310))
64
115
  * [#293](https://github.com/ryz310/my_api_client/pull/293) RSpec/LeadingSubject-20200817233022 ([@ryz310](https://github.com/ryz310))
65
116
 
66
- ### Dependabot
67
-
68
- * [#232](https://github.com/ryz310/my_api_client/pull/232) ryz310/dependabot/bundler/faraday-1.0.1 ([@ryz310](https://github.com/ryz310))
69
- * [#241](https://github.com/ryz310/my_api_client/pull/241) ryz310/dependabot/bundler/my_api/byebug-11.1.3 ([@ryz310](https://github.com/ryz310))
70
- * [#243](https://github.com/ryz310/my_api_client/pull/243) ryz310/dependabot/bundler/yard-0.9.25 ([@ryz310](https://github.com/ryz310))
71
- * [#248](https://github.com/ryz310/my_api_client/pull/248) ryz310/dependabot/bundler/activesupport-5.2.4.3 ([@ryz310](https://github.com/ryz310))
72
- * [#251](https://github.com/ryz310/my_api_client/pull/251) ryz310/dependabot/bundler/my_api/puma-4.3.5 ([@ryz310](https://github.com/ryz310))
73
- * [#257](https://github.com/ryz310/my_api_client/pull/257) ryz310/dependabot/bundler/my_api/dynomite-1.2.6 ([@ryz310](https://github.com/ryz310))
74
- * [#264](https://github.com/ryz310/my_api_client/pull/264) ryz310/dependabot/bundler/my_api/rack-2.2.3 ([@ryz310](https://github.com/ryz310))
75
- * [#265](https://github.com/ryz310/my_api_client/pull/265) ryz310/dependabot/bundler/my_api/actionpack-6.0.3.2 ([@ryz310](https://github.com/ryz310))
76
- * [#266](https://github.com/ryz310/my_api_client/pull/266) ryz310/dependabot/bundler/my_api/capybara-3.33.0 ([@ryz310](https://github.com/ryz310))
77
- * [#281](https://github.com/ryz310/my_api_client/pull/281) ryz310/dependabot/bundler/rubocop-performance-1.7.1 ([@ryz310](https://github.com/ryz310))
78
- * [#287](https://github.com/ryz310/my_api_client/pull/287) ryz310/dependabot/bundler/my_api/kramdown-2.3.0 ([@ryz310](https://github.com/ryz310))
79
- * [#290](https://github.com/ryz310/my_api_client/pull/290) ryz310/dependabot/bundler/bugsnag-6.16.0 ([@ryz310](https://github.com/ryz310))
80
- * [#294](https://github.com/ryz310/my_api_client/pull/294) ryz310/dependabot/bundler/my_api/jets-2.3.17 ([@ryz310](https://github.com/ryz310))
81
- * [#295](https://github.com/ryz310/my_api_client/pull/295) ryz310/dependabot/bundler/rubocop-rspec-1.43.2 ([@ryz310](https://github.com/ryz310))
82
-
83
117
  ### Misc
84
118
 
85
119
  * [#271](https://github.com/ryz310/my_api_client/pull/271) Minor fixes ([@ryz310](https://github.com/ryz310))
@@ -135,11 +169,6 @@ You can check default `error_handling` or `retry_on` here.
135
169
 
136
170
  See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/default_error_handlers.rb
137
171
 
138
- ### Dependabot
139
-
140
- * [#227](https://github.com/ryz310/my_api_client/pull/227) ryz310/dependabot/bundler/pry-byebug-3.9.0 ([@ryz310](https://github.com/ryz310))
141
- * [#228](https://github.com/ryz310/my_api_client/pull/228) ryz310/dependabot/bundler/my_api/jets-2.3.15 ([@ryz310](https://github.com/ryz310))
142
-
143
172
  ### Misc
144
173
 
145
174
  * [#229](https://github.com/ryz310/my_api_client/pull/229) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
@@ -261,24 +290,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
261
290
  * [#205](https://github.com/ryz310/my_api_client/pull/205) Re-generate .rubocop_todo.yml with RuboCop v0.80.0 ([@ryz310](https://github.com/ryz310))
262
291
  * [#210](https://github.com/ryz310/my_api_client/pull/210) Re-generate .rubocop_todo.yml with RuboCop v0.80.1 ([@ryz310](https://github.com/ryz310))
263
292
 
264
- ### Dependabot
265
-
266
- * [#190](https://github.com/ryz310/my_api_client/pull/190) Add a config file of the dependabot ([@ryz310](https://github.com/ryz310))
267
- * [#183](https://github.com/ryz310/my_api_client/pull/183) Bump pry-byebug from 3.7.0 to 3.8.0 ([@ryz310](https://github.com/ryz310))
268
- * [#194](https://github.com/ryz310/my_api_client/pull/194) Bump bugsnag from 6.12.2 to 6.13.0 ([@ryz310](https://github.com/ryz310))
269
- * [#197](https://github.com/ryz310/my_api_client/pull/197) Bump webmock from 3.8.0 to 3.8.1 ([@ryz310](https://github.com/ryz310))
270
- * [#199](https://github.com/ryz310/my_api_client/pull/199) Bump webmock from 3.8.1 to 3.8.2 ([@ryz310](https://github.com/ryz310))
271
- * [#216](https://github.com/ryz310/my_api_client/pull/216) Bump webmock from 3.8.2 to 3.8.3 ([@ryz310](https://github.com/ryz310))
272
-
273
- ### Renovate
274
-
275
- * [#193](https://github.com/ryz310/my_api_client/pull/193) Change renovate automerge setting ([@ryz310](https://github.com/ryz310))
276
- * [#189](https://github.com/ryz310/my_api_client/pull/189) Update the renovate settings ([@ryz310](https://github.com/ryz310))
277
- * [#184](https://github.com/ryz310/my_api_client/pull/184) Update ruby-orbs orb to v1.5.1 ([@ryz310](https://github.com/ryz310))
278
- * [#185](https://github.com/ryz310/my_api_client/pull/185) Update ruby-orbs orb to v1.5.4 ([@ryz310](https://github.com/ryz310))
279
- * [#187](https://github.com/ryz310/my_api_client/pull/187) Update ruby-orbs orb to v1.5.6 ([@ryz310](https://github.com/ryz310))
280
- * [#192](https://github.com/ryz310/my_api_client/pull/192) Update ruby-orbs orb to v1.6.0 ([@ryz310](https://github.com/ryz310))
281
-
282
293
  ## v0.13.0 (Jan 21, 2020)
283
294
 
284
295
  ### Feature
@@ -308,11 +319,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
308
319
  * [#158](https://github.com/ryz310/my_api_client/pull/158) Re-generate .rubocop_todo.yml with RuboCop v0.78.0 ([@ryz310](https://github.com/ryz310))
309
320
  * [#168](https://github.com/ryz310/my_api_client/pull/168) Re-generate .rubocop_todo.yml with RuboCop v0.79.0 ([@ryz310](https://github.com/ryz310))
310
321
 
311
- ### Dependabot
312
-
313
- * [#156](https://github.com/ryz310/my_api_client/pull/156) Bump rubocop-rspec from 1.37.0 to 1.37.1 ([@ryz310](https://github.com/ryz310))
314
- * [#159](https://github.com/ryz310/my_api_client/pull/159) Bump rubocop-performance from 1.5.1 to 1.5.2 ([@ryz310](https://github.com/ryz310))
315
-
316
322
  ## v0.10.3 (Dec 05, 2019)
317
323
 
318
324
  ### Bugfix
@@ -324,18 +330,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
324
330
  * [#136](https://github.com/ryz310/my_api_client/pull/136) Re-generate .rubocop_todo.yml with RuboCop v0.76.0 ([@ryz310](https://github.com/ryz310))
325
331
  * [#148](https://github.com/ryz310/my_api_client/pull/148) Re-generate .rubocop_todo.yml with RuboCop v0.77.0 ([@ryz310](https://github.com/ryz310))
326
332
 
327
- ### Dependabot
328
-
329
- * [#139](https://github.com/ryz310/my_api_client/pull/139) Bump rake from 13.0.0 to 13.0.1 ([@ryz310](https://github.com/ryz310))
330
- * [#140](https://github.com/ryz310/my_api_client/pull/140) Bump rubocop-performance from 1.5.0 to 1.5.1 ([@ryz310](https://github.com/ryz310))
331
- * [#146](https://github.com/ryz310/my_api_client/pull/146) Bump rubocop-rspec from 1.36.0 to 1.37.0 ([@ryz310](https://github.com/ryz310))
332
-
333
- ### Renovate
334
-
335
- * [#137](https://github.com/ryz310/my_api_client/pull/137) Configure Renovate ([@ryz310](https://github.com/ryz310))
336
- * [#138](https://github.com/ryz310/my_api_client/pull/138) Update ruby-orbs orb to v1.4.4 ([@ryz310](https://github.com/ryz310))
337
- * [#141](https://github.com/ryz310/my_api_client/pull/141) Update ruby-orbs orb to v1.4.5 ([@ryz310](https://github.com/ryz310))
338
-
339
333
  ## 0.10.2 (Oct 23, 2019)
340
334
 
341
335
  ### Bugfix
@@ -359,7 +353,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
359
353
 
360
354
  * Modify request specifications ([#120](https://github.com/ryz310/my_api_client/pull/120))
361
355
  * Re-generate .rubocop_todo.yml with RuboCop v0.75.1 ([#121](https://github.com/ryz310/my_api_client/pull/121))
362
- * ryz310/dependabot/bundler/jsonpath-1.0.5 ([#123](https://github.com/ryz310/my_api_client/pull/123))
363
356
 
364
357
  ## 0.9.2 (Oct 8, 2019)
365
358
 
@@ -375,12 +368,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
375
368
  * Support Rails 6.0 ([#101](https://github.com/ryz310/my_api_client/pull/101))
376
369
 
377
370
  * deprecated/my_api_client_stub ([#102](https://github.com/ryz310/my_api_client/pull/102))
378
- * dependabot/bundler/rake-tw-13.0 ([#105](https://github.com/ryz310/my_api_client/pull/105))
379
- * dependabot/bundler/webmock-3.7.5 ([#108](https://github.com/ryz310/my_api_client/pull/108))
380
- * dependabot/bundler/bugsnag-6.12.1 ([#109](https://github.com/ryz310/my_api_client/pull/109))
381
- * dependabot/bundler/simplecov-0.17.1 ([#110](https://github.com/ryz310/my_api_client/pull/110))
382
- * dependabot/bundler/rubocop-rspec-1.36.0 ([#111](https://github.com/ryz310/my_api_client/pull/111))
383
- * dependabot/bundler/rubocop-performance-1.5.0 ([#115](https://github.com/ryz310/my_api_client/pull/115))
384
371
 
385
372
  ## 0.9.1 (July 25, 2019)
386
373
 
data/Gemfile CHANGED
@@ -4,6 +4,8 @@ source 'https://rubygems.org'
4
4
 
5
5
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
 
7
+ gem 'activesupport', '~> 6.1' # TODO: Remove this line at the end of Ruby 2.6 support
8
+
7
9
  group :integrations, optional: true do
8
10
  gem 'bugsnag', '>= 6.11.0'
9
11
  end