my_api_client 0.20.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +34 -18
  3. data/.github/dependabot.yml +32 -0
  4. data/.rubocop.yml +10 -10
  5. data/.rubocop_todo.yml +2 -2
  6. data/CHANGELOG.md +215 -249
  7. data/Gemfile.lock +54 -57
  8. data/README.jp.md +36 -34
  9. data/README.md +391 -8
  10. data/example/api_clients/application_api_client.rb +1 -1
  11. data/gemfiles/rails_5.0.gemfile +1 -0
  12. data/gemfiles/rails_5.1.gemfile +1 -0
  13. data/gemfiles/rails_5.2.gemfile +1 -0
  14. data/gemfiles/rails_6.0.gemfile +1 -0
  15. data/gemfiles/rails_7.0.gemfile +15 -0
  16. data/lib/generators/rails/templates/api_client.rb.erb +3 -5
  17. data/lib/generators/rspec/templates/api_client_spec.rb.erb +0 -8
  18. data/lib/my_api_client/errors/network_error.rb +3 -3
  19. data/lib/my_api_client/errors.rb +2 -2
  20. data/lib/my_api_client/integrations/bugsnag.rb +2 -2
  21. data/lib/my_api_client/rspec/matchers/be_handled_as_an_error.rb +3 -3
  22. data/lib/my_api_client/rspec/stub.rb +11 -7
  23. data/lib/my_api_client/version.rb +1 -1
  24. data/my_api/Gemfile +1 -1
  25. data/my_api/Gemfile.lock +100 -99
  26. data/my_api/app/controllers/pagination_controller.rb +1 -1
  27. data/my_api/public/index.html +2 -2
  28. data/my_api/spec/spec_helper.rb +1 -1
  29. data/my_api_client.gemspec +4 -1
  30. data/rails_app/rails_5.2/Gemfile.lock +70 -64
  31. data/rails_app/rails_6.0/Gemfile +1 -0
  32. data/rails_app/rails_6.0/Gemfile.lock +92 -94
  33. data/rails_app/rails_6.1/Gemfile +2 -2
  34. data/rails_app/rails_6.1/Gemfile.lock +91 -95
  35. data/rails_app/rails_6.1/Rakefile +3 -1
  36. data/rails_app/rails_6.1/bin/bundle +28 -20
  37. data/rails_app/rails_6.1/bin/rails +4 -2
  38. data/rails_app/rails_6.1/bin/rake +4 -2
  39. data/rails_app/rails_6.1/bin/setup +3 -1
  40. data/rails_app/rails_6.1/config.ru +3 -1
  41. data/rails_app/rails_7.0/Gemfile +13 -0
  42. data/rails_app/rails_7.0/Gemfile.lock +210 -0
  43. data/rails_app/rails_7.0/README.md +24 -0
  44. data/rails_app/rails_7.0/Rakefile +8 -0
  45. data/rails_app/rails_7.0/app/controllers/application_controller.rb +4 -0
  46. data/rails_app/rails_7.0/app/models/application_record.rb +5 -0
  47. data/rails_app/rails_7.0/bin/bundle +122 -0
  48. data/rails_app/rails_7.0/bin/rails +6 -0
  49. data/rails_app/rails_7.0/bin/rake +6 -0
  50. data/rails_app/rails_7.0/bin/setup +35 -0
  51. data/rails_app/rails_7.0/config/application.rb +41 -0
  52. data/rails_app/rails_7.0/config/boot.rb +5 -0
  53. data/rails_app/rails_7.0/config/credentials.yml.enc +1 -0
  54. data/rails_app/rails_7.0/config/database.yml +25 -0
  55. data/rails_app/rails_7.0/config/environment.rb +7 -0
  56. data/rails_app/rails_7.0/config/environments/development.rb +58 -0
  57. data/rails_app/rails_7.0/config/environments/production.rb +70 -0
  58. data/rails_app/rails_7.0/config/environments/test.rb +52 -0
  59. data/rails_app/rails_7.0/config/initializers/cors.rb +17 -0
  60. data/rails_app/rails_7.0/config/initializers/filter_parameter_logging.rb +8 -0
  61. data/rails_app/rails_7.0/config/initializers/inflections.rb +17 -0
  62. data/rails_app/rails_7.0/config/locales/en.yml +33 -0
  63. data/rails_app/rails_7.0/config/routes.rb +8 -0
  64. data/rails_app/rails_7.0/config.ru +8 -0
  65. data/rails_app/rails_7.0/db/seeds.rb +8 -0
  66. data/rails_app/rails_7.0/public/robots.txt +1 -0
  67. data/rails_app/rails_7.0/spec/rails_helper.rb +14 -0
  68. data/rails_app/rails_7.0/spec/spec_helper.rb +13 -0
  69. metadata +36 -6
  70. data/.dependabot/config.yml +0 -34
data/CHANGELOG.md CHANGED
@@ -1,146 +1,151 @@
1
1
  # Change log
2
2
 
3
- ## v0.20.0 (Mar 07, 2021)
3
+ ## v0.23.0 (Jun 08, 2022)
4
4
 
5
5
  ### Feature
6
6
 
7
- * [#456](https://github.com/ryz310/my_api_client/pull/456) Stubbed pagination ([@ryz310](https://github.com/ryz310))
7
+ - [#731](https://github.com/ryz310/my_api_client/pull/731) Allow the error class to be initialized with no arguments ([@ryz310](https://github.com/ryz310))
8
8
 
9
- ### Rubocop Challenge
9
+ ### Breaking Change
10
10
 
11
- * [#414](https://github.com/ryz310/my_api_client/pull/414) Style/StringConcatenation-20210106033935 ([@ryz310](https://github.com/ryz310))
12
- * [#416](https://github.com/ryz310/my_api_client/pull/416) Style/HashTransformValues-20210106233116 ([@ryz310](https://github.com/ryz310))
13
- * [#433](https://github.com/ryz310/my_api_client/pull/433) Lint/SymbolConversion-20210128233108 ([@ryz310](https://github.com/ryz310))
14
- * [#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))
11
+ - [#711](https://github.com/ryz310/my_api_client/pull/711) Bump up ruby version ([@ryz310](https://github.com/ryz310))
15
12
 
16
- ### Dependabot
13
+ ### Rubocop Challenge
17
14
 
18
- * [#415](https://github.com/ryz310/my_api_client/pull/415) ryz310/dependabot/bundler/bugsnag-6.19.0 ([@ryz310](https://github.com/ryz310))
19
- * [#421](https://github.com/ryz310/my_api_client/pull/421) Update simplecov requirement from = 0.17.1 to = 0.21.2 ([@ryz310](https://github.com/ryz310))
20
- * [#427](https://github.com/ryz310/my_api_client/pull/427) ryz310/dependabot/bundler/my_api/jets-3.0.2 ([@ryz310](https://github.com/ryz310))
21
- * [#426](https://github.com/ryz310/my_api_client/pull/426) ryz310/dependabot/bundler/my_api/nokogiri-1.11.0 ([@ryz310](https://github.com/ryz310))
22
- * [#435](https://github.com/ryz310/my_api_client/pull/435) ryz310/dependabot/bundler/my_api/capybara-3.35.3 ([@ryz310](https://github.com/ryz310))
23
- * [#440](https://github.com/ryz310/my_api_client/pull/440) ryz310/dependabot/bundler/rubocop-rspec-2.2.0 ([@ryz310](https://github.com/ryz310))
24
- * [#444](https://github.com/ryz310/my_api_client/pull/444) ryz310/dependabot/bundler/my_api/actionpack-6.1.2.1 ([@ryz310](https://github.com/ryz310))
25
- * [#447](https://github.com/ryz310/my_api_client/pull/447) ryz310/dependabot/bundler/activesupport-6.1.3 ([@ryz310](https://github.com/ryz310))
26
- * [#453](https://github.com/ryz310/my_api_client/pull/453) ryz310/dependabot/bundler/rubocop-performance-1.10.1 ([@ryz310](https://github.com/ryz310))
27
- * [#454](https://github.com/ryz310/my_api_client/pull/454) ryz310/dependabot/bundler/my_api/puma-5.2.2 ([@ryz310](https://github.com/ryz310))
28
- * [#455](https://github.com/ryz310/my_api_client/pull/455) ryz310/dependabot/bundler/webmock-3.12.1 ([@ryz310](https://github.com/ryz310))
15
+ - [#698](https://github.com/ryz310/my_api_client/pull/698) RSpec/VerifiedDoubleReference-20220419233100 ([@ryz310](https://github.com/ryz310))
16
+ - [#700](https://github.com/ryz310/my_api_client/pull/700) Style/FetchEnvVar-20220421233101 ([@ryz310](https://github.com/ryz310))
17
+ - [#728](https://github.com/ryz310/my_api_client/pull/728) Re-generate .rubocop_todo.yml with RuboCop v1.30.1 ([@ryz310](https://github.com/ryz310))
29
18
 
30
- ### Misc
19
+ ### Dependabot
31
20
 
32
- * [#436](https://github.com/ryz310/my_api_client/pull/436) Use Circle CI matrix ([@ryz310](https://github.com/ryz310))
21
+ - [#658](https://github.com/ryz310/my_api_client/pull/658) ryz310/dependabot/bundler/rspec_junit_formatter-0.5.1 ([@ryz310](https://github.com/ryz310))
22
+ - [#666](https://github.com/ryz310/my_api_client/pull/666) Bump bugsnag from 6.24.1 to 6.24.2 ([@ryz310](https://github.com/ryz310))
23
+ - [#667](https://github.com/ryz310/my_api_client/pull/667) Bump rubocop-rspec from 2.7.0 to 2.8.0 ([@ryz310](https://github.com/ryz310))
24
+ - [#671](https://github.com/ryz310/my_api_client/pull/671) Bump rspec from 3.10.0 to 3.11.0 ([@ryz310](https://github.com/ryz310))
25
+ - [#678](https://github.com/ryz310/my_api_client/pull/678) Bump faraday from 1.10.0 to 2.2.0 ([@ryz310](https://github.com/ryz310))
26
+ - [#702](https://github.com/ryz310/my_api_client/pull/702) Bump jsonpath from 1.1.0 to 1.1.2 ([@ryz310](https://github.com/ryz310))
27
+ - [#715](https://github.com/ryz310/my_api_client/pull/715) Bump activesupport from 7.0.2.4 to 7.0.3 ([@ryz310](https://github.com/ryz310))
28
+ - [#726](https://github.com/ryz310/my_api_client/pull/726) Bump yard from 0.9.27 to 0.9.28 ([@ryz310](https://github.com/ryz310))
29
+ - [#729](https://github.com/ryz310/my_api_client/pull/729) Bump rubocop-performance from 1.14.1 to 1.14.2 ([@ryz310](https://github.com/ryz310))
30
+ - [#730](https://github.com/ryz310/my_api_client/pull/730) Bump sawyer from 0.9.1 to 0.9.2 ([@ryz310](https://github.com/ryz310))
33
31
 
34
- ## v0.19.0 (Jan 04, 2021)
32
+ ## v0.22.0 (Dec 26, 2021)
35
33
 
36
34
  ### Feature
37
35
 
38
- * [#402](https://github.com/ryz310/my_api_client/pull/402) Support ruby 3.0 and rails 6.1 ([@ryz310](https://github.com/ryz310))
36
+ - [#648](https://github.com/ryz310/my_api_client/pull/648) Support Rails 7.0 ([@ryz310](https://github.com/ryz310))
39
37
 
40
38
  ### Rubocop Challenge
41
39
 
42
- * [#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))
40
+ - [#617](https://github.com/ryz310/my_api_client/pull/617) RSpec/ExcessiveDocstringSpacing-20210922233114 ([@ryz310](https://github.com/ryz310))
41
+ - [#623](https://github.com/ryz310/my_api_client/pull/623) Security/IoMethods-20210930233112 ([@ryz310](https://github.com/ryz310))
42
+ - [#624](https://github.com/ryz310/my_api_client/pull/624) Re-generate .rubocop_todo.yml with RuboCop v1.22.1 ([@ryz310](https://github.com/ryz310))
43
+ - [#638](https://github.com/ryz310/my_api_client/pull/638) Gemspec/RequireMFA-20211115233105 ([@ryz310](https://github.com/ryz310))
43
44
 
44
45
  ### Dependabot
45
46
 
46
- * [#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))
47
- * [#391](https://github.com/ryz310/my_api_client/pull/391) ryz310/dependabot/bundler/rubocop-1.6.1 ([@ryz310](https://github.com/ryz310))
48
- * [#392](https://github.com/ryz310/my_api_client/pull/392) ryz310/dependabot/bundler/my_api/puma-5.1.1 ([@ryz310](https://github.com/ryz310))
49
- * [#395](https://github.com/ryz310/my_api_client/pull/395) ryz310/dependabot/bundler/rubocop-rspec-2.1.0 ([@ryz310](https://github.com/ryz310))
50
- * [#396](https://github.com/ryz310/my_api_client/pull/396) ryz310/dependabot/bundler/webmock-3.11.0 ([@ryz310](https://github.com/ryz310))
51
- * [#398](https://github.com/ryz310/my_api_client/pull/398) ryz310/dependabot/bundler/rake-13.0.3 ([@ryz310](https://github.com/ryz310))
52
- * [#401](https://github.com/ryz310/my_api_client/pull/401) ryz310/dependabot/bundler/yard-0.9.26 ([@ryz310](https://github.com/ryz310))
53
- * [#403](https://github.com/ryz310/my_api_client/pull/403) ryz310/dependabot/bundler/jsonpath-1.1.0 ([@ryz310](https://github.com/ryz310))
54
- * [#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))
55
- * [#406](https://github.com/ryz310/my_api_client/pull/406) ryz310/dependabot/bundler/rubocop-performance-1.9.2 ([@ryz310](https://github.com/ryz310))
56
- * [#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))
57
- * [#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))
58
- * [#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))
59
- * [#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))
47
+ - [#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))
48
+ - [#612](https://github.com/ryz310/my_api_client/pull/612) ryz310/dependabot/bundler/faraday-1.8.0 ([@ryz310](https://github.com/ryz310))
49
+ - [#625](https://github.com/ryz310/my_api_client/pull/625) ryz310/dependabot/bundler/bugsnag-6.24.0 ([@ryz310](https://github.com/ryz310))
50
+ - [#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))
51
+ - [#636](https://github.com/ryz310/my_api_client/pull/636) ryz310/dependabot/bundler/rubocop-rspec-2.6.0 ([@ryz310](https://github.com/ryz310))
52
+ - [#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))
53
+ - [#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))
54
+ - [#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))
55
+ - [#644](https://github.com/ryz310/my_api_client/pull/644) ryz310/dependabot/bundler/activesupport-6.1.4.4 ([@ryz310](https://github.com/ryz310))
60
56
 
61
- ## v0.18.0 (Dec 04, 2020)
57
+ ## v0.21.0 (Aug 07, 2021)
62
58
 
63
59
  ### Feature
64
60
 
65
- * [#381](https://github.com/ryz310/my_api_client/pull/381) Add endpoint option to the generator ([@ryz310](https://github.com/ryz310))
61
+ - [#570](https://github.com/ryz310/my_api_client/pull/570) Stubbing status code on testing ([@ryz310](https://github.com/ryz310))
66
62
 
67
63
  ### Breaking Change
68
64
 
69
- * [#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))
65
+ - [#561](https://github.com/ryz310/my_api_client/pull/561) Goodbye Ruby 2.5.x! ([@ryz310](https://github.com/ryz310))
70
66
 
71
67
  ### Rubocop Challenge
72
68
 
73
- * [#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))
69
+ - [#523](https://github.com/ryz310/my_api_client/pull/523) Layout/LineEndStringConcatenationIndentation-20210629233103 ([@ryz310](https://github.com/ryz310))
70
+ - [#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))
74
71
 
75
- ### Dependabot
72
+ ### Misc
76
73
 
77
- * [#338](https://github.com/ryz310/my_api_client/pull/338) ryz310/dependabot/bundler/faraday-1.1.0 ([@ryz310](https://github.com/ryz310))
78
- * [#344](https://github.com/ryz310/my_api_client/pull/344) ryz310/dependabot/bundler/bugsnag-6.18.0 ([@ryz310](https://github.com/ryz310))
79
- * [#345](https://github.com/ryz310/my_api_client/pull/345) ryz310/dependabot/bundler/rspec-3.10.0 ([@ryz310](https://github.com/ryz310))
80
- * [#356](https://github.com/ryz310/my_api_client/pull/356) ryz310/dependabot/bundler/webmock-3.10.0 ([@ryz310](https://github.com/ryz310))
81
- * [#369](https://github.com/ryz310/my_api_client/pull/369) ryz310/dependabot/bundler/jsonpath-1.0.6 ([@ryz310](https://github.com/ryz310))
82
- * [#376](https://github.com/ryz310/my_api_client/pull/376) ryz310/dependabot/bundler/rubocop-performance-1.9.1 ([@ryz310](https://github.com/ryz310))
83
- * [#380](https://github.com/ryz310/my_api_client/pull/380) ryz310/dependabot/bundler/rubocop-rspec-2.0.1 ([@ryz310](https://github.com/ryz310))
84
- * [#382](https://github.com/ryz310/my_api_client/pull/382) ryz310/dependabot/bundler/rubocop-1.5.1 ([@ryz310](https://github.com/ryz310))
74
+ - [#509](https://github.com/ryz310/my_api_client/pull/509) Fix the problem of mimemagic gem dependency ([@ryz310](https://github.com/ryz310))
75
+ - [#559](https://github.com/ryz310/my_api_client/pull/559) Fix gemfiles compatibility ([@ryz310](https://github.com/ryz310))
85
76
 
86
- ## v0.17.0 (Sep 20, 2020)
77
+ ## v0.20.0 (Mar 07, 2021)
87
78
 
88
79
  ### Feature
89
80
 
90
- * [#303](https://github.com/ryz310/my_api_client/pull/303) Change the duration format to milliseconds ([@ryz310](https://github.com/ryz310))
91
- * [#308](https://github.com/ryz310/my_api_client/pull/308) Add testing for api client generators ([@ryz310](https://github.com/ryz310))
81
+ - [#456](https://github.com/ryz310/my_api_client/pull/456) Stubbed pagination ([@ryz310](https://github.com/ryz310))
92
82
 
93
83
  ### Rubocop Challenge
94
84
 
95
- * [#311](https://github.com/ryz310/my_api_client/pull/311) Style/GlobalStdStream-20200906233350 ([@ryz310](https://github.com/ryz310))
96
- * [#312](https://github.com/ryz310/my_api_client/pull/312) Style/StringConcatenation-20200907233020 ([@ryz310](https://github.com/ryz310))
97
- * [#313](https://github.com/ryz310/my_api_client/pull/313) Style/HashTransformValues-20200908233016 ([@ryz310](https://github.com/ryz310))
98
- * [#316](https://github.com/ryz310/my_api_client/pull/316) Layout/EmptyLinesAroundAttributeAccessor-20200909233021 ([@ryz310](https://github.com/ryz310))
99
- * [#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))
85
+ - [#414](https://github.com/ryz310/my_api_client/pull/414) Style/StringConcatenation-20210106033935 ([@ryz310](https://github.com/ryz310))
86
+ - [#416](https://github.com/ryz310/my_api_client/pull/416) Style/HashTransformValues-20210106233116 ([@ryz310](https://github.com/ryz310))
87
+ - [#433](https://github.com/ryz310/my_api_client/pull/433) Lint/SymbolConversion-20210128233108 ([@ryz310](https://github.com/ryz310))
88
+ - [#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))
100
89
 
101
- ### Dependabot
90
+ ### Misc
102
91
 
103
- * [#299](https://github.com/ryz310/my_api_client/pull/299) ryz310/dependabot/bundler/bugsnag-6.17.0 ([@ryz310](https://github.com/ryz310))
104
- * [#310](https://github.com/ryz310/my_api_client/pull/310) ryz310/dependabot/bundler/rubocop-performance-1.8.0 ([@ryz310](https://github.com/ryz310))
105
- * [#314](https://github.com/ryz310/my_api_client/pull/314) ryz310/dependabot/bundler/activesupport-5.2.4.4 ([@ryz310](https://github.com/ryz310))
106
- * [#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))
107
- * [#318](https://github.com/ryz310/my_api_client/pull/318) ryz310/dependabot/bundler/webmock-3.9.1 ([@ryz310](https://github.com/ryz310))
108
- * [#319](https://github.com/ryz310/my_api_client/pull/319) ryz310/dependabot/bundler/rubocop-0.91.0 ([@ryz310](https://github.com/ryz310))
109
- * [#321](https://github.com/ryz310/my_api_client/pull/321) ryz310/dependabot/bundler/my_api/puma-5.0.0 ([@ryz310](https://github.com/ryz310))
92
+ - [#436](https://github.com/ryz310/my_api_client/pull/436) Use Circle CI matrix ([@ryz310](https://github.com/ryz310))
110
93
 
111
- ## v0.16.1 (Aug 27, 2020)
94
+ ## v0.19.0 (Jan 04, 2021)
112
95
 
113
96
  ### Feature
114
97
 
115
- * [#296](https://github.com/ryz310/my_api_client/pull/296) Support HTTP PUT method ([@ryz310](https://github.com/ryz310))
98
+ - [#402](https://github.com/ryz310/my_api_client/pull/402) Support Ruby 3.0 and Rails 6.1 ([@ryz310](https://github.com/ryz310))
116
99
 
117
100
  ### Rubocop Challenge
118
101
 
119
- * [#256](https://github.com/ryz310/my_api_client/pull/256) Performance/StartWith-20200523233027 ([@ryz310](https://github.com/ryz310))
120
- * [#268](https://github.com/ryz310/my_api_client/pull/268) Lint/RedundantCopDisableDirective-20200622233019 ([@ryz310](https://github.com/ryz310))
121
- * [#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))
122
- * [#293](https://github.com/ryz310/my_api_client/pull/293) RSpec/LeadingSubject-20200817233022 ([@ryz310](https://github.com/ryz310))
102
+ - [#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))
123
103
 
124
- ### Dependabot
104
+ ## v0.18.0 (Dec 04, 2020)
105
+
106
+ ### Feature
107
+
108
+ - [#381](https://github.com/ryz310/my_api_client/pull/381) Add endpoint option to the generator ([@ryz310](https://github.com/ryz310))
109
+
110
+ ### Breaking Change
111
+
112
+ - [#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))
113
+
114
+ ### Rubocop Challenge
125
115
 
126
- * [#232](https://github.com/ryz310/my_api_client/pull/232) ryz310/dependabot/bundler/faraday-1.0.1 ([@ryz310](https://github.com/ryz310))
127
- * [#241](https://github.com/ryz310/my_api_client/pull/241) ryz310/dependabot/bundler/my_api/byebug-11.1.3 ([@ryz310](https://github.com/ryz310))
128
- * [#243](https://github.com/ryz310/my_api_client/pull/243) ryz310/dependabot/bundler/yard-0.9.25 ([@ryz310](https://github.com/ryz310))
129
- * [#248](https://github.com/ryz310/my_api_client/pull/248) ryz310/dependabot/bundler/activesupport-5.2.4.3 ([@ryz310](https://github.com/ryz310))
130
- * [#251](https://github.com/ryz310/my_api_client/pull/251) ryz310/dependabot/bundler/my_api/puma-4.3.5 ([@ryz310](https://github.com/ryz310))
131
- * [#257](https://github.com/ryz310/my_api_client/pull/257) ryz310/dependabot/bundler/my_api/dynomite-1.2.6 ([@ryz310](https://github.com/ryz310))
132
- * [#264](https://github.com/ryz310/my_api_client/pull/264) ryz310/dependabot/bundler/my_api/rack-2.2.3 ([@ryz310](https://github.com/ryz310))
133
- * [#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))
134
- * [#266](https://github.com/ryz310/my_api_client/pull/266) ryz310/dependabot/bundler/my_api/capybara-3.33.0 ([@ryz310](https://github.com/ryz310))
135
- * [#281](https://github.com/ryz310/my_api_client/pull/281) ryz310/dependabot/bundler/rubocop-performance-1.7.1 ([@ryz310](https://github.com/ryz310))
136
- * [#287](https://github.com/ryz310/my_api_client/pull/287) ryz310/dependabot/bundler/my_api/kramdown-2.3.0 ([@ryz310](https://github.com/ryz310))
137
- * [#290](https://github.com/ryz310/my_api_client/pull/290) ryz310/dependabot/bundler/bugsnag-6.16.0 ([@ryz310](https://github.com/ryz310))
138
- * [#294](https://github.com/ryz310/my_api_client/pull/294) ryz310/dependabot/bundler/my_api/jets-2.3.17 ([@ryz310](https://github.com/ryz310))
139
- * [#295](https://github.com/ryz310/my_api_client/pull/295) ryz310/dependabot/bundler/rubocop-rspec-1.43.2 ([@ryz310](https://github.com/ryz310))
116
+ - [#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))
117
+
118
+ ## v0.17.0 (Sep 20, 2020)
119
+
120
+ ### Feature
121
+
122
+ - [#303](https://github.com/ryz310/my_api_client/pull/303) Change the duration format to milliseconds ([@ryz310](https://github.com/ryz310))
123
+ - [#308](https://github.com/ryz310/my_api_client/pull/308) Add testing for api client generators ([@ryz310](https://github.com/ryz310))
124
+
125
+ ### Rubocop Challenge
126
+
127
+ - [#311](https://github.com/ryz310/my_api_client/pull/311) Style/GlobalStdStream-20200906233350 ([@ryz310](https://github.com/ryz310))
128
+ - [#312](https://github.com/ryz310/my_api_client/pull/312) Style/StringConcatenation-20200907233020 ([@ryz310](https://github.com/ryz310))
129
+ - [#313](https://github.com/ryz310/my_api_client/pull/313) Style/HashTransformValues-20200908233016 ([@ryz310](https://github.com/ryz310))
130
+ - [#316](https://github.com/ryz310/my_api_client/pull/316) Layout/EmptyLinesAroundAttributeAccessor-20200909233021 ([@ryz310](https://github.com/ryz310))
131
+ - [#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))
132
+
133
+ ## v0.16.1 (Aug 27, 2020)
134
+
135
+ ### Feature
136
+
137
+ - [#296](https://github.com/ryz310/my_api_client/pull/296) Support HTTP PUT method ([@ryz310](https://github.com/ryz310))
138
+
139
+ ### Rubocop Challenge
140
+
141
+ - [#256](https://github.com/ryz310/my_api_client/pull/256) Performance/StartWith-20200523233027 ([@ryz310](https://github.com/ryz310))
142
+ - [#268](https://github.com/ryz310/my_api_client/pull/268) Lint/RedundantCopDisableDirective-20200622233019 ([@ryz310](https://github.com/ryz310))
143
+ - [#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))
144
+ - [#293](https://github.com/ryz310/my_api_client/pull/293) RSpec/LeadingSubject-20200817233022 ([@ryz310](https://github.com/ryz310))
140
145
 
141
146
  ### Misc
142
147
 
143
- * [#271](https://github.com/ryz310/my_api_client/pull/271) Minor fixes ([@ryz310](https://github.com/ryz310))
148
+ - [#271](https://github.com/ryz310/my_api_client/pull/271) Minor fixes ([@ryz310](https://github.com/ryz310))
144
149
 
145
150
  ## v0.16.0 (Mar 29, 2020)
146
151
 
@@ -161,6 +166,7 @@ def my_error_handling
161
166
  # No exception is raised. You can raise an error if necessary.
162
167
  end
163
168
  ```
169
+
164
170
  ```rb
165
171
  error_handling status_code: 500..599 do |_params, logger|
166
172
  # Executes this block when an error is detected.
@@ -178,6 +184,7 @@ def my_error_handling
178
184
  # And then raise `MyApiClient::Error`.
179
185
  end
180
186
  ```
187
+
181
188
  ```rb
182
189
  error_handling status_code: 500..599 do |params, logger|
183
190
  # Executes this block when an error is detected.
@@ -193,81 +200,82 @@ You can check default `error_handling` or `retry_on` here.
193
200
 
194
201
  See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/default_error_handlers.rb
195
202
 
196
- ### Dependabot
197
-
198
- * [#227](https://github.com/ryz310/my_api_client/pull/227) ryz310/dependabot/bundler/pry-byebug-3.9.0 ([@ryz310](https://github.com/ryz310))
199
- * [#228](https://github.com/ryz310/my_api_client/pull/228) ryz310/dependabot/bundler/my_api/jets-2.3.15 ([@ryz310](https://github.com/ryz310))
200
-
201
203
  ### Misc
202
204
 
203
- * [#229](https://github.com/ryz310/my_api_client/pull/229) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
205
+ - [#229](https://github.com/ryz310/my_api_client/pull/229) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
204
206
 
205
207
  ## v0.15.0 (Mar 21, 2020)
206
208
 
207
209
  ### Feature
208
210
 
209
- * [#220](https://github.com/ryz310/my_api_client/pull/220) Pageable HTTP request ([@ryz310](https://github.com/ryz310))
210
- * Add `#pageable_get` method (alias: `#pget`)
211
- * For example:
212
- * API client definition
213
- ```ruby
214
- class MyPaginationApiClient < ApplicationApiClient
215
- endpoint 'https://example.com/v1'
216
-
217
- # GET pagination?page=1
218
- def pagination
219
- pageable_get 'pagination', paging: '$.links.next', headers: headers, query: { page: 1 }
220
- end
221
-
222
- private
223
-
224
- def headers
225
- { 'Content-Type': 'application/json;charset=UTF-8' }
226
- end
227
- end
228
- ```
229
- * The pagination API response
230
- ```json
231
- {
232
- "links": {
233
- "next": "https://example.com/pagination?page=3",
234
- "previous": "https://example.com/pagination?page=1",
235
- },
236
- "page": 2
237
- }
238
- ```
239
- * Usage
240
- ```ruby
241
- api_clinet = MyPaginationApiClient.new
242
- api_clinet.pagination.each do |response|
243
- # Do something.
244
- end
245
-
246
- p = api_clinet.pagination
247
- p.next # => 1st page result
248
- p.next # => 2nd page result
249
- p.next # => 3rd page result
250
- ```
251
- * [#223](https://github.com/ryz310/my_api_client/pull/223) Use Enumerator::Lazy instead of Enumerator ([@ryz310](https://github.com/ryz310))
211
+ - [#220](https://github.com/ryz310/my_api_client/pull/220) Pageable HTTP request ([@ryz310](https://github.com/ryz310))
212
+
213
+ - Add `#pageable_get` method (alias: `#pget`)
214
+ - For example:
215
+
216
+ - API client definition
217
+
218
+ ```ruby
219
+ class MyPaginationApiClient < ApplicationApiClient
220
+ endpoint 'https://example.com/v1'
221
+
222
+ # GET pagination?page=1
223
+ def pagination
224
+ pageable_get 'pagination', paging: '$.links.next', headers: headers, query: { page: 1 }
225
+ end
226
+
227
+ private
228
+
229
+ def headers
230
+ { 'Content-Type': 'application/json;charset=UTF-8' }
231
+ end
232
+ end
233
+ ```
234
+
235
+ - The pagination API response
236
+ ```json
237
+ {
238
+ "links": {
239
+ "next": "https://example.com/pagination?page=3",
240
+ "previous": "https://example.com/pagination?page=1"
241
+ },
242
+ "page": 2
243
+ }
244
+ ```
245
+ - Usage
246
+
247
+ ```ruby
248
+ api_clinet = MyPaginationApiClient.new
249
+ api_clinet.pagination.each do |response|
250
+ # Do something.
251
+ end
252
+
253
+ p = api_clinet.pagination
254
+ p.next # => 1st page result
255
+ p.next # => 2nd page result
256
+ p.next # => 3rd page result
257
+ ```
258
+
259
+ - [#223](https://github.com/ryz310/my_api_client/pull/223) Use Enumerator::Lazy instead of Enumerator ([@ryz310](https://github.com/ryz310))
252
260
 
253
261
  ## v0.14.0 (Mar 14, 2020)
254
262
 
255
263
  ### Feature
256
264
 
257
- * [#211](https://github.com/ryz310/my_api_client/pull/211) Integration testing using the jets framework ([@ryz310](https://github.com/ryz310))
258
- * [#213](https://github.com/ryz310/my_api_client/pull/213) Add status API to integration testing ([@ryz310](https://github.com/ryz310))
259
- * [#214](https://github.com/ryz310/my_api_client/pull/214) Add error API to integration testing ([@ryz310](https://github.com/ryz310))
260
- * [#215](https://github.com/ryz310/my_api_client/pull/215) Update the REST API to enhance integration testing ([@ryz310](https://github.com/ryz310))
265
+ - [#211](https://github.com/ryz310/my_api_client/pull/211) Integration testing using the jets framework ([@ryz310](https://github.com/ryz310))
266
+ - [#213](https://github.com/ryz310/my_api_client/pull/213) Add status API to integration testing ([@ryz310](https://github.com/ryz310))
267
+ - [#214](https://github.com/ryz310/my_api_client/pull/214) Add error API to integration testing ([@ryz310](https://github.com/ryz310))
268
+ - [#215](https://github.com/ryz310/my_api_client/pull/215) Update the REST API to enhance integration testing ([@ryz310](https://github.com/ryz310))
261
269
 
262
270
  ### Refactoring
263
271
 
264
- * [#179](https://github.com/ryz310/my_api_client/pull/179) Change the "with" option structure ([@ryz310](https://github.com/ryz310))
265
- * [#206](https://github.com/ryz310/my_api_client/pull/206) Rebuild api request processing ([@ryz310](https://github.com/ryz310))
266
- * [#207](https://github.com/ryz310/my_api_client/pull/207) Fix offending codes ([@ryz310](https://github.com/ryz310))
272
+ - [#179](https://github.com/ryz310/my_api_client/pull/179) Change the "with" option structure ([@ryz310](https://github.com/ryz310))
273
+ - [#206](https://github.com/ryz310/my_api_client/pull/206) Rebuild api request processing ([@ryz310](https://github.com/ryz310))
274
+ - [#207](https://github.com/ryz310/my_api_client/pull/207) Fix offending codes ([@ryz310](https://github.com/ryz310))
267
275
 
268
276
  ### Breaking Change
269
277
 
270
- * [#196](https://github.com/ryz310/my_api_client/pull/196) Change the request structure ([@ryz310](https://github.com/ryz310))
278
+ - [#196](https://github.com/ryz310/my_api_client/pull/196) Change the request structure ([@ryz310](https://github.com/ryz310))
271
279
 
272
280
  > ### logging
273
281
  >
@@ -316,191 +324,149 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
316
324
 
317
325
  ### Rubocop Challenge
318
326
 
319
- * [#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))
320
- * [#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))
321
-
322
- ### Dependabot
323
-
324
- * [#190](https://github.com/ryz310/my_api_client/pull/190) Add a config file of the dependabot ([@ryz310](https://github.com/ryz310))
325
- * [#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))
326
- * [#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))
327
- * [#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))
328
- * [#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))
329
- * [#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))
330
-
331
- ### Renovate
332
-
333
- * [#193](https://github.com/ryz310/my_api_client/pull/193) Change renovate automerge setting ([@ryz310](https://github.com/ryz310))
334
- * [#189](https://github.com/ryz310/my_api_client/pull/189) Update the renovate settings ([@ryz310](https://github.com/ryz310))
335
- * [#184](https://github.com/ryz310/my_api_client/pull/184) Update ruby-orbs orb to v1.5.1 ([@ryz310](https://github.com/ryz310))
336
- * [#185](https://github.com/ryz310/my_api_client/pull/185) Update ruby-orbs orb to v1.5.4 ([@ryz310](https://github.com/ryz310))
337
- * [#187](https://github.com/ryz310/my_api_client/pull/187) Update ruby-orbs orb to v1.5.6 ([@ryz310](https://github.com/ryz310))
338
- * [#192](https://github.com/ryz310/my_api_client/pull/192) Update ruby-orbs orb to v1.6.0 ([@ryz310](https://github.com/ryz310))
327
+ - [#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))
328
+ - [#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))
339
329
 
340
330
  ## v0.13.0 (Jan 21, 2020)
341
331
 
342
332
  ### Feature
343
333
 
344
- * [#180](https://github.com/ryz310/my_api_client/pull/180) Stub response on raising error ([@ryz310](https://github.com/ryz310))
334
+ - [#180](https://github.com/ryz310/my_api_client/pull/180) Stub response on raising error ([@ryz310](https://github.com/ryz310))
345
335
 
346
336
  ## v0.12.0 (Jan 19, 2020)
347
337
 
348
338
  ### Feature
349
339
 
350
- * [#173](https://github.com/ryz310/my_api_client/pull/173) Avoid sleep on testing ([@ryz310](https://github.com/ryz310))
351
- * [#175](https://github.com/ryz310/my_api_client/pull/175) Verify arguments on error handling definition ([@ryz310](https://github.com/ryz310))
352
- * [#176](https://github.com/ryz310/my_api_client/pull/176) Provides a syntax sugar of `retry_on` on `error_handling` ([@ryz310](https://github.com/ryz310))
340
+ - [#173](https://github.com/ryz310/my_api_client/pull/173) Avoid sleep on testing ([@ryz310](https://github.com/ryz310))
341
+ - [#175](https://github.com/ryz310/my_api_client/pull/175) Verify arguments on error handling definition ([@ryz310](https://github.com/ryz310))
342
+ - [#176](https://github.com/ryz310/my_api_client/pull/176) Provides a syntax sugar of `retry_on` on `error_handling` ([@ryz310](https://github.com/ryz310))
353
343
 
354
344
  ### Bugfix
355
345
 
356
- * [#174](https://github.com/ryz310/my_api_client/pull/174) Fix warning on ruby 2.7 ([@ryz310](https://github.com/ryz310))
346
+ - [#174](https://github.com/ryz310/my_api_client/pull/174) Fix warning on ruby 2.7 ([@ryz310](https://github.com/ryz310))
357
347
 
358
348
  ## v0.11.0 (Jan 16, 2020)
359
349
 
360
350
  ### Feature
361
351
 
362
- * [#170](https://github.com/ryz310/my_api_client/pull/170) Support ruby 2.7 ([@ryz310](https://github.com/ryz310))
352
+ - [#170](https://github.com/ryz310/my_api_client/pull/170) Support ruby 2.7 ([@ryz310](https://github.com/ryz310))
363
353
 
364
354
  ### Rubocop Challenge
365
355
 
366
- * [#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))
367
- * [#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))
368
-
369
- ### Dependabot
370
-
371
- * [#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))
372
- * [#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))
356
+ - [#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))
357
+ - [#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))
373
358
 
374
359
  ## v0.10.3 (Dec 05, 2019)
375
360
 
376
361
  ### Bugfix
377
362
 
378
- * [#150](https://github.com/ryz310/my_api_client/pull/150) Redefine network error class ([@ryz310](https://github.com/ryz310))
363
+ - [#150](https://github.com/ryz310/my_api_client/pull/150) Redefine network error class ([@ryz310](https://github.com/ryz310))
379
364
 
380
365
  ### Rubocop Challenge
381
366
 
382
- * [#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))
383
- * [#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))
384
-
385
- ### Dependabot
386
-
387
- * [#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))
388
- * [#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))
389
- * [#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))
390
-
391
- ### Renovate
392
-
393
- * [#137](https://github.com/ryz310/my_api_client/pull/137) Configure Renovate ([@ryz310](https://github.com/ryz310))
394
- * [#138](https://github.com/ryz310/my_api_client/pull/138) Update ruby-orbs orb to v1.4.4 ([@ryz310](https://github.com/ryz310))
395
- * [#141](https://github.com/ryz310/my_api_client/pull/141) Update ruby-orbs orb to v1.4.5 ([@ryz310](https://github.com/ryz310))
367
+ - [#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))
368
+ - [#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))
396
369
 
397
370
  ## 0.10.2 (Oct 23, 2019)
398
371
 
399
372
  ### Bugfix
400
373
 
401
- * Ignore error handling when using request to matcher ([#130](https://github.com/ryz310/my_api_client/pull/130))
402
- * Fix `be_handled_as_an_error` description ([#131](https://github.com/ryz310/my_api_client/pull/131))
374
+ - Ignore error handling when using request to matcher ([#130](https://github.com/ryz310/my_api_client/pull/130))
375
+ - Fix `be_handled_as_an_error` description ([#131](https://github.com/ryz310/my_api_client/pull/131))
403
376
 
404
377
  ## 0.10.1 (Oct 23, 2019)
405
378
 
406
379
  ### Feature
407
380
 
408
- * Support `retry_on` testing at shoulda matcher ([#127](https://github.com/ryz310/my_api_client/pull/127))
381
+ - Support `retry_on` testing at shoulda matcher ([#127](https://github.com/ryz310/my_api_client/pull/127))
409
382
 
410
383
  ## 0.10.0 (Oct 23, 2019)
411
384
 
412
385
  ### Feature
413
386
 
414
- * Shoulda-matchers for my_api_client ([#124](https://github.com/ryz310/my_api_client/pull/124))
387
+ - Shoulda-matchers for my_api_client ([#124](https://github.com/ryz310/my_api_client/pull/124))
415
388
 
416
389
  ### Misc
417
390
 
418
- * Modify request specifications ([#120](https://github.com/ryz310/my_api_client/pull/120))
419
- * Re-generate .rubocop_todo.yml with RuboCop v0.75.1 ([#121](https://github.com/ryz310/my_api_client/pull/121))
420
- * ryz310/dependabot/bundler/jsonpath-1.0.5 ([#123](https://github.com/ryz310/my_api_client/pull/123))
391
+ - Modify request specifications ([#120](https://github.com/ryz310/my_api_client/pull/120))
392
+ - Re-generate .rubocop_todo.yml with RuboCop v0.75.1 ([#121](https://github.com/ryz310/my_api_client/pull/121))
421
393
 
422
394
  ## 0.9.2 (Oct 8, 2019)
423
395
 
424
396
  ### Bugfix
425
397
 
426
- * Fix endpoint parsing when including port number ([#117](https://github.com/ryz310/my_api_client/pull/117))
427
- * Fixes: Can't request to URL which includes port numbert ([#116](https://github.com/ryz310/my_api_client/pull/116))
398
+ - Fix endpoint parsing when including port number ([#117](https://github.com/ryz310/my_api_client/pull/117))
399
+ - Fixes: Can't request to URL which includes port numbert ([#116](https://github.com/ryz310/my_api_client/pull/116))
428
400
 
429
401
  ### Misc
430
402
 
431
- * Re-generate .rubocop_todo.yml with RuboCop v0.74.0 ([#100](https://github.com/ryz310/my_api_client/pull/100))
432
- * Re-generate .rubocop_todo.yml with RuboCop v0.75.0 ([#112](https://github.com/ryz310/my_api_client/pull/112))
433
- * Support Rails 6.0 ([#101](https://github.com/ryz310/my_api_client/pull/101))
403
+ - Re-generate .rubocop_todo.yml with RuboCop v0.74.0 ([#100](https://github.com/ryz310/my_api_client/pull/100))
404
+ - Re-generate .rubocop_todo.yml with RuboCop v0.75.0 ([#112](https://github.com/ryz310/my_api_client/pull/112))
405
+ - Support Rails 6.0 ([#101](https://github.com/ryz310/my_api_client/pull/101))
434
406
 
435
- * deprecated/my_api_client_stub ([#102](https://github.com/ryz310/my_api_client/pull/102))
436
- * dependabot/bundler/rake-tw-13.0 ([#105](https://github.com/ryz310/my_api_client/pull/105))
437
- * dependabot/bundler/webmock-3.7.5 ([#108](https://github.com/ryz310/my_api_client/pull/108))
438
- * dependabot/bundler/bugsnag-6.12.1 ([#109](https://github.com/ryz310/my_api_client/pull/109))
439
- * dependabot/bundler/simplecov-0.17.1 ([#110](https://github.com/ryz310/my_api_client/pull/110))
440
- * dependabot/bundler/rubocop-rspec-1.36.0 ([#111](https://github.com/ryz310/my_api_client/pull/111))
441
- * dependabot/bundler/rubocop-performance-1.5.0 ([#115](https://github.com/ryz310/my_api_client/pull/115))
407
+ - deprecated/my_api_client_stub ([#102](https://github.com/ryz310/my_api_client/pull/102))
442
408
 
443
409
  ## 0.9.1 (July 25, 2019)
444
410
 
445
411
  ### Bugfix
446
412
 
447
- * Fix forbid nil option ([#97](https://github.com/ryz310/my_api_client/pull/97)) **Breaking Changes**
413
+ - Fix forbid nil option ([#97](https://github.com/ryz310/my_api_client/pull/97)) **Breaking Changes**
448
414
 
449
415
  ## 0.9.0 (July 25, 2019)
450
416
 
451
417
  ### New Features
452
418
 
453
- * Forbid nil response ([#93](https://github.com/ryz310/my_api_client/pull/93))
419
+ - Forbid nil response ([#93](https://github.com/ryz310/my_api_client/pull/93))
454
420
 
455
421
  ### Misc
456
422
 
457
- * RSpec/DescribedClass-20190723233015 ([#92](https://github.com/ryz310/my_api_client/pull/92))
423
+ - RSpec/DescribedClass-20190723233015 ([#92](https://github.com/ryz310/my_api_client/pull/92))
458
424
 
459
425
  ## 0.8.0 (July 23, 2019)
460
426
 
461
427
  ### New Features
462
428
 
463
- * Allow method calling on error handling ([#89](https://github.com/ryz310/my_api_client/pull/89))
429
+ - Allow method calling on error handling ([#89](https://github.com/ryz310/my_api_client/pull/89))
464
430
 
465
431
  ### Breaking Changes
466
432
 
467
- * Require sawyer gem v0.8.2 over ([#88](https://github.com/ryz310/my_api_client/pull/88))
433
+ - Require sawyer gem v0.8.2 over ([#88](https://github.com/ryz310/my_api_client/pull/88))
468
434
 
469
435
  ## 0.7.0 (July 17, 2019)
470
436
 
471
437
  ### Features
472
438
 
473
- * Add request duration to metadata ([#80](https://github.com/ryz310/my_api_client/pull/80))
474
- * Support boolean on error handling ([#81](https://github.com/ryz310/my_api_client/pull/81))
439
+ - Add request duration to metadata ([#80](https://github.com/ryz310/my_api_client/pull/80))
440
+ - Support boolean on error handling ([#81](https://github.com/ryz310/my_api_client/pull/81))
475
441
 
476
442
  ### Breaking Changes
477
443
 
478
- * Modify the generator to be simple ([#82](https://github.com/ryz310/my_api_client/pull/82))
444
+ - Modify the generator to be simple ([#82](https://github.com/ryz310/my_api_client/pull/82))
479
445
 
480
446
  ### Misc
481
447
 
482
- * Re-generate .rubocop_todo.yml with RuboCop v0.73.0 ([#79](https://github.com/ryz310/my_api_client/pull/79))
483
- * Introduce gem comet ([#85](https://github.com/ryz310/my_api_client/pull/85))
448
+ - Re-generate .rubocop_todo.yml with RuboCop v0.73.0 ([#79](https://github.com/ryz310/my_api_client/pull/79))
449
+ - Introduce gem comet ([#85](https://github.com/ryz310/my_api_client/pull/85))
484
450
 
485
451
  ## 0.6.2 (July 03, 2019)
486
452
 
487
453
  ### Bug fixes
488
454
 
489
- * Fix logger setter on the template ([#76](https://github.com/ryz310/my_api_client/pull/76))
490
- * Fixes: The logger does not work... ([#54](https://github.com/ryz310/my_api_client/pull/54))
455
+ - Fix logger setter on the template ([#76](https://github.com/ryz310/my_api_client/pull/76))
456
+ - Fixes: The logger does not work... ([#54](https://github.com/ryz310/my_api_client/pull/54))
491
457
 
492
458
  ## 0.6.1 (July 03, 2019)
493
459
 
494
460
  ### Misc
495
461
 
496
- * Bump yard from `0.9.19` to `0.9.20` ([#72](https://github.com/ryz310/my_api_client/pull/72))
497
- * Fix a security risk
462
+ - Bump yard from `0.9.19` to `0.9.20` ([#72](https://github.com/ryz310/my_api_client/pull/72))
463
+ - Fix a security risk
498
464
 
499
465
  ## 0.6.0 (June 25, 2019)
500
466
 
501
467
  ### New Features
502
468
 
503
- * New stubbing helper ([#65](https://github.com/ryz310/my_api_client/pull/65))
469
+ - New stubbing helper ([#65](https://github.com/ryz310/my_api_client/pull/65))
504
470
 
505
471
  ```rb
506
472
  stub_api_client_all(
@@ -530,86 +496,86 @@ response.id # => 1
530
496
 
531
497
  ### Bug Fixes
532
498
 
533
- * Initialize sawyer agent before logger initialization ([#60](https://github.com/ryz310/my_api_client/pull/60))
534
- * Fixes: The URL included in the logger is incomplete ([#53](https://github.com/ryz310/my_api_client/pull/53))
535
- * Fix parsing error if given text/html response ([#61](https://github.com/ryz310/my_api_client/pull/61))
499
+ - Initialize sawyer agent before logger initialization ([#60](https://github.com/ryz310/my_api_client/pull/60))
500
+ - Fixes: The URL included in the logger is incomplete ([#53](https://github.com/ryz310/my_api_client/pull/53))
501
+ - Fix parsing error if given text/html response ([#61](https://github.com/ryz310/my_api_client/pull/61))
536
502
 
537
503
  ## 0.5.2 (June 23, 2019)
538
504
 
539
505
  ### Bug Fixes
540
506
 
541
- * Fix the result of the retry ([#57](https://github.com/ryz310/my_api_client/pull/57))
542
- * Issue: Return values are nil after retrying ([#56](https://github.com/ryz310/my_api_client/pull/56))
507
+ - Fix the result of the retry ([#57](https://github.com/ryz310/my_api_client/pull/57))
508
+ - Issue: Return values are nil after retrying ([#56](https://github.com/ryz310/my_api_client/pull/56))
543
509
 
544
510
  ### Misc
545
511
 
546
- * Improvement test coverage ([#55](https://github.com/ryz310/my_api_client/pull/55))
512
+ - Improvement test coverage ([#55](https://github.com/ryz310/my_api_client/pull/55))
547
513
 
548
514
  ## 0.5.1 (June 19, 2019)
549
515
 
550
516
  ### Bug Fixes
551
517
 
552
- * Fix unsupported data for the Bugsnag breadcrumbs ([#50](https://github.com/ryz310/my_api_client/pull/50))
518
+ - Fix unsupported data for the Bugsnag breadcrumbs ([#50](https://github.com/ryz310/my_api_client/pull/50))
553
519
 
554
520
  ## 0.5.0 (June 16, 2019)
555
521
 
556
522
  ### New Features
557
523
 
558
- * Support bugsnag breadcrumb ([#41](https://github.com/ryz310/my_api_client/pull/41))
524
+ - Support bugsnag breadcrumb ([#41](https://github.com/ryz310/my_api_client/pull/41))
559
525
 
560
526
  ### Misc
561
527
 
562
- * Use CircleCI Orbs ([#43](https://github.com/ryz310/my_api_client/pull/43))
528
+ - Use CircleCI Orbs ([#43](https://github.com/ryz310/my_api_client/pull/43))
563
529
 
564
530
  ## 0.4.0 (June 03, 2019)
565
531
 
566
532
  ### Feature
567
533
 
568
- * Improvement for endpoint ([#35](https://github.com/ryz310/my_api_client/pull/35))
534
+ - Improvement for endpoint ([#35](https://github.com/ryz310/my_api_client/pull/35))
569
535
 
570
536
  ### Bug Fix
571
537
 
572
- * Add requirements for `$ bin/console` ([#31](https://github.com/ryz310/my_api_client/pull/31))
538
+ - Add requirements for `$ bin/console` ([#31](https://github.com/ryz310/my_api_client/pull/31))
573
539
 
574
540
  ### Misc
575
541
 
576
- * Update RuboCop v0.70.0 -> v0.71.0 ([#34](https://github.com/ryz310/my_api_client/pull/34))
542
+ - Update RuboCop v0.70.0 -> v0.71.0 ([#34](https://github.com/ryz310/my_api_client/pull/34))
577
543
 
578
544
  ## 0.3.0 (May 29, 2019)
579
545
 
580
546
  ### New Features
581
547
 
582
- * Provide test helper for RSpec ([#28](https://github.com/ryz310/my_api_client/pull/28))
548
+ - Provide test helper for RSpec ([#28](https://github.com/ryz310/my_api_client/pull/28))
583
549
 
584
550
  ## 0.2.0 (May 29, 2019)
585
551
 
586
552
  ### New Features
587
553
 
588
- * Support Bugsnag metadata ([#22](https://github.com/ryz310/my_api_client/pull/22))
554
+ - Support Bugsnag metadata ([#22](https://github.com/ryz310/my_api_client/pull/22))
589
555
 
590
556
  ### Misc
591
557
 
592
- * Improve test coverage ([#24](https://github.com/ryz310/my_api_client/pull/24))
593
- * Fix problem on the release job ([#25](https://github.com/ryz310/my_api_client/pull/25))
558
+ - Improve test coverage ([#24](https://github.com/ryz310/my_api_client/pull/24))
559
+ - Fix problem on the release job ([#25](https://github.com/ryz310/my_api_client/pull/25))
594
560
 
595
561
  ## 0.1.4 (May 28, 2019)
596
562
 
597
563
  ### Bugfix
598
564
 
599
- * Support activesupport before v5.2.0 ([#17](https://github.com/ryz310/my_api_client/pull/17))
565
+ - Support activesupport before v5.2.0 ([#17](https://github.com/ryz310/my_api_client/pull/17))
600
566
 
601
567
  ## 0.1.3 (May 27, 2019)
602
568
 
603
- * Fix wrong variable name ([#13](https://github.com/ryz310/my_api_client/pull/13))
569
+ - Fix wrong variable name ([#13](https://github.com/ryz310/my_api_client/pull/13))
604
570
 
605
571
  ## 0.1.2 (May 27, 2019)
606
572
 
607
- * Fix wrong method name ([#10](https://github.com/ryz310/my_api_client/pull/10))
573
+ - Fix wrong method name ([#10](https://github.com/ryz310/my_api_client/pull/10))
608
574
 
609
575
  ## 0.1.1 (May 27, 2019)
610
576
 
611
- * Fix typo ([#6](https://github.com/ryz310/my_api_client/pull/6))
577
+ - Fix typo ([#6](https://github.com/ryz310/my_api_client/pull/6))
612
578
 
613
579
  ## 0.1.0 (May 27, 2019)
614
580
 
615
- * The first release :tada:
581
+ - The first release :tada: