my_api_client 0.17.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +32 -158
- data/.gem_comet.yml +13 -2
- data/.github/dependabot.yml +32 -0
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +22 -12
- data/CHANGELOG.md +61 -74
- data/Gemfile +0 -3
- data/Gemfile.lock +79 -61
- data/README.jp.md +71 -7
- data/gemfiles/rails_5.0.gemfile +1 -0
- data/gemfiles/rails_5.1.gemfile +1 -0
- data/gemfiles/rails_5.2.gemfile +1 -0
- data/gemfiles/rails_6.0.gemfile +1 -0
- data/gemfiles/{rails_4.2.gemfile → rails_6.1.gemfile} +1 -1
- data/lib/generators/rails/USAGE +1 -1
- data/lib/generators/rails/api_client_generator.rb +6 -0
- data/lib/generators/rails/templates/api_client.rb.erb +1 -1
- data/lib/generators/rspec/USAGE +1 -1
- data/lib/generators/rspec/api_client_generator.rb +6 -0
- data/lib/generators/rspec/templates/api_client_spec.rb.erb +1 -1
- data/lib/my_api_client/base.rb +2 -9
- data/lib/my_api_client/integrations/bugsnag.rb +1 -1
- data/lib/my_api_client/params/params.rb +1 -3
- data/lib/my_api_client/request.rb +1 -1
- data/lib/my_api_client/rspec/matchers/be_handled_as_an_error.rb +3 -3
- data/lib/my_api_client/rspec/matchers/request_to.rb +1 -1
- data/lib/my_api_client/rspec/stub.rb +40 -15
- data/lib/my_api_client/version.rb +1 -1
- data/my_api/.ruby-version +1 -1
- data/my_api/Gemfile +3 -0
- data/my_api/Gemfile.lock +112 -105
- data/my_api/app/controllers/pagination_controller.rb +2 -2
- data/my_api/public/index.html +2 -2
- data/my_api_client.gemspec +3 -3
- data/rails_app/rails_5.2/Gemfile +0 -1
- data/rails_app/rails_5.2/Gemfile.lock +73 -64
- data/rails_app/rails_5.2/config/environments/production.rb +1 -1
- data/rails_app/rails_6.0/Gemfile.lock +87 -77
- data/rails_app/rails_6.0/config/environments/production.rb +1 -1
- data/rails_app/rails_6.1/.gitattributes +8 -0
- data/rails_app/rails_6.1/.gitignore +28 -0
- data/rails_app/rails_6.1/.rspec +3 -0
- data/rails_app/rails_6.1/Gemfile +17 -0
- data/rails_app/rails_6.1/Gemfile.lock +203 -0
- data/rails_app/rails_6.1/README.md +24 -0
- data/rails_app/rails_6.1/Rakefile +6 -0
- data/rails_app/rails_6.1/app/controllers/application_controller.rb +4 -0
- data/rails_app/rails_6.1/app/controllers/concerns/.keep +0 -0
- data/rails_app/rails_6.1/app/javascript/.keep +0 -0
- data/rails_app/rails_6.1/app/models/application_record.rb +5 -0
- data/rails_app/rails_6.1/app/models/concerns/.keep +0 -0
- data/rails_app/rails_6.1/bin/bundle +114 -0
- data/rails_app/rails_6.1/bin/rails +4 -0
- data/rails_app/rails_6.1/bin/rake +4 -0
- data/rails_app/rails_6.1/bin/setup +33 -0
- data/rails_app/rails_6.1/config.ru +6 -0
- data/rails_app/rails_6.1/config/application.rb +42 -0
- data/rails_app/rails_6.1/config/boot.rb +5 -0
- data/rails_app/rails_6.1/config/credentials.yml.enc +1 -0
- data/rails_app/rails_6.1/config/database.yml +25 -0
- data/rails_app/rails_6.1/config/environment.rb +7 -0
- data/rails_app/rails_6.1/config/environments/development.rb +59 -0
- data/rails_app/rails_6.1/config/environments/production.rb +97 -0
- data/rails_app/rails_6.1/config/environments/test.rb +51 -0
- data/rails_app/rails_6.1/config/initializers/application_controller_renderer.rb +9 -0
- data/rails_app/rails_6.1/config/initializers/backtrace_silencers.rb +10 -0
- data/rails_app/rails_6.1/config/initializers/cors.rb +17 -0
- data/rails_app/rails_6.1/config/initializers/filter_parameter_logging.rb +8 -0
- data/rails_app/rails_6.1/config/initializers/inflections.rb +17 -0
- data/rails_app/rails_6.1/config/initializers/mime_types.rb +5 -0
- data/rails_app/rails_6.1/config/initializers/wrap_parameters.rb +16 -0
- data/rails_app/rails_6.1/config/locales/en.yml +33 -0
- data/rails_app/rails_6.1/config/routes.rb +5 -0
- data/rails_app/rails_6.1/db/seeds.rb +8 -0
- data/rails_app/rails_6.1/lib/tasks/.keep +0 -0
- data/rails_app/rails_6.1/public/robots.txt +1 -0
- data/rails_app/rails_6.1/spec/rails_helper.rb +14 -0
- data/rails_app/rails_6.1/spec/spec_helper.rb +13 -0
- data/rails_app/rails_6.1/tmp/.keep +0 -0
- data/rails_app/rails_6.1/tmp/pids/.keep +0 -0
- data/rails_app/rails_6.1/vendor/.keep +0 -0
- metadata +52 -11
- data/.dependabot/config.yml +0 -34
- data/.rubocop_challenge.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b75ed030236b72fee9861be661bbecd751a648f8321cc1e90031db1ed2fb2f0e
|
4
|
+
data.tar.gz: 5820b1ce0ec76df6202294f6b709f34ac318dbe3991c67215c85c6183ad75343
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2a944933d33c80b3c8541862349496f232f1e383b61341c2c7bfdb273e988aa29e03889b93ff6c60dd26227cf2f8db824ea283b6cec0dce4b41a395c049314c
|
7
|
+
data.tar.gz: f33b2f18977e899bea13eddc065f9b9adbe1de333d49813522a4c499279a574a9b658a9a8be42d6f30f6604da8e4943fc93688f42dd5e068b2c0281c62d5ebec
|
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.
|
16
|
-
default: '
|
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: ['
|
21
|
-
default: '6.
|
20
|
+
enum: &rails_version_enum ['5.2', '6.0', '6.1']
|
21
|
+
default: '6.1'
|
22
22
|
- &bundler_options
|
23
23
|
bundler_options:
|
24
24
|
type: string
|
@@ -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
|
95
|
+
coverage-file: coverage/coverage.json
|
96
96
|
output: coverage/codeclimate.$CIRCLE_BUILD_NUM.json
|
97
97
|
- persist_to_workspace:
|
98
98
|
root: coverage
|
@@ -180,7 +180,8 @@ commands:
|
|
180
180
|
command: |
|
181
181
|
bin/rails g api_client path/to/resource \
|
182
182
|
get:path/to/resource \
|
183
|
-
post:path/to/resource
|
183
|
+
post:path/to/resource \
|
184
|
+
--endpoint https://example.com/myapi
|
184
185
|
- run:
|
185
186
|
name: Check the API client files exists
|
186
187
|
command: |
|
@@ -247,7 +248,7 @@ jobs:
|
|
247
248
|
- code-climate/install
|
248
249
|
- code-climate/sum-coverage:
|
249
250
|
input: codeclimate.*.json
|
250
|
-
parts:
|
251
|
+
parts: 18
|
251
252
|
- code-climate/upload-coverage
|
252
253
|
rubocop:
|
253
254
|
executor: gem_executor
|
@@ -276,164 +277,37 @@ workflows:
|
|
276
277
|
commit:
|
277
278
|
jobs:
|
278
279
|
- build_gem:
|
279
|
-
name:
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
ruby_version: '2.4'
|
289
|
-
rails_version: '5.1'
|
290
|
-
- build_gem:
|
291
|
-
name: build_on_ruby_2.4_and_rails_5.2
|
292
|
-
ruby_version: '2.4'
|
293
|
-
rails_version: '5.2'
|
294
|
-
- build_gem:
|
295
|
-
name: build_on_ruby_2.5_and_rails_4.2
|
296
|
-
ruby_version: '2.5'
|
297
|
-
rails_version: '4.2'
|
298
|
-
- build_gem:
|
299
|
-
name: build_on_ruby_2.5_and_rails_5.0
|
300
|
-
ruby_version: '2.5'
|
301
|
-
rails_version: '5.0'
|
302
|
-
- build_gem:
|
303
|
-
name: build_on_ruby_2.5_and_rails_5.1
|
304
|
-
ruby_version: '2.5'
|
305
|
-
rails_version: '5.1'
|
306
|
-
- build_gem:
|
307
|
-
name: build_on_ruby_2.5_and_rails_5.2
|
308
|
-
ruby_version: '2.5'
|
309
|
-
rails_version: '5.2'
|
310
|
-
- build_gem:
|
311
|
-
name: build_on_ruby_2.5_and_rails_6.0
|
312
|
-
ruby_version: '2.5'
|
313
|
-
rails_version: '6.0'
|
314
|
-
- build_gem:
|
315
|
-
name: build_on_ruby_2.6_and_rails_4.2
|
316
|
-
ruby_version: '2.6'
|
317
|
-
rails_version: '4.2'
|
318
|
-
- build_gem:
|
319
|
-
name: build_on_ruby_2.6_and_rails_5.0
|
320
|
-
ruby_version: '2.6'
|
321
|
-
rails_version: '5.0'
|
322
|
-
- build_gem:
|
323
|
-
name: build_on_ruby_2.6_and_rails_5.1
|
324
|
-
ruby_version: '2.6'
|
325
|
-
rails_version: '5.1'
|
326
|
-
- build_gem:
|
327
|
-
name: build_on_ruby_2.6_and_rails_5.2
|
328
|
-
ruby_version: '2.6'
|
329
|
-
rails_version: '5.2'
|
330
|
-
- build_gem:
|
331
|
-
name: build_on_ruby_2.6_and_rails_6.0
|
332
|
-
ruby_version: '2.6'
|
333
|
-
rails_version: '6.0'
|
334
|
-
- build_gem:
|
335
|
-
name: build_on_ruby_2.7_and_rails_5.0
|
336
|
-
ruby_version: '2.7'
|
337
|
-
rails_version: '5.0'
|
338
|
-
- build_gem:
|
339
|
-
name: build_on_ruby_2.7_and_rails_5.1
|
340
|
-
ruby_version: '2.7'
|
341
|
-
rails_version: '5.1'
|
342
|
-
- build_gem:
|
343
|
-
name: build_on_ruby_2.7_and_rails_5.2
|
344
|
-
ruby_version: '2.7'
|
345
|
-
rails_version: '5.2'
|
346
|
-
- build_gem:
|
347
|
-
name: build_on_ruby_2.7_and_rails_6.0_with_integrations
|
348
|
-
ruby_version: '2.7'
|
349
|
-
rails_version: '6.0'
|
350
|
-
bundler_options: '--with integrations'
|
351
|
-
- build_gem:
|
352
|
-
name: build_on_ruby_2.7_and_rails_6.0_without_integrations
|
353
|
-
ruby_version: '2.7'
|
354
|
-
rails_version: '6.0'
|
355
|
-
bundler_options: '--without integrations'
|
356
|
-
- verify_generator:
|
357
|
-
name: verify_generator_on_ruby_2.4_and_rails_5.2
|
358
|
-
ruby_version: '2.4'
|
359
|
-
rails_version: '5.2'
|
360
|
-
- verify_generator:
|
361
|
-
name: verify_generator_on_ruby_2.5_and_rails_5.2
|
362
|
-
ruby_version: '2.5'
|
363
|
-
rails_version: '5.2'
|
364
|
-
- verify_generator:
|
365
|
-
name: verify_generator_on_ruby_2.5_and_rails_6.0
|
366
|
-
ruby_version: '2.5'
|
367
|
-
rails_version: '6.0'
|
368
|
-
- verify_generator:
|
369
|
-
name: verify_generator_on_ruby_2.6_and_rails_5.2
|
370
|
-
ruby_version: '2.6'
|
371
|
-
rails_version: '5.2'
|
372
|
-
- verify_generator:
|
373
|
-
name: verify_generator_on_ruby_2.6_and_rails_6.0
|
374
|
-
ruby_version: '2.6'
|
375
|
-
rails_version: '6.0'
|
376
|
-
- verify_generator:
|
377
|
-
name: verify_generator_on_ruby_2.7_and_rails_5.2
|
378
|
-
ruby_version: '2.7'
|
379
|
-
rails_version: '5.2'
|
280
|
+
name: build_on_ruby_<< matrix.ruby_version >>_and_rails_<< matrix.rails_version >><< matrix.bundler_options >>
|
281
|
+
matrix:
|
282
|
+
parameters:
|
283
|
+
ruby_version: *ruby_version_enum
|
284
|
+
rails_version: *rails_version_enum
|
285
|
+
bundler_options: ['--with integrations', '--without integrations']
|
286
|
+
exclude:
|
287
|
+
- ruby_version: '3.0'
|
288
|
+
rails_version: '5.2'
|
380
289
|
- verify_generator:
|
381
|
-
name:
|
382
|
-
|
383
|
-
|
384
|
-
|
290
|
+
name: verify_generator_on_ruby_<< matrix.ruby_version >>_and_rails_<< matrix.rails_version >>
|
291
|
+
matrix:
|
292
|
+
parameters:
|
293
|
+
ruby_version: *ruby_version_enum
|
294
|
+
rails_version: *rails_version_enum
|
295
|
+
exclude:
|
296
|
+
- ruby_version: '3.0'
|
297
|
+
rails_version: '5.2'
|
298
|
+
- test_api:
|
299
|
+
ruby_version: '2.7' # Jets supports only Ruby 2.x
|
385
300
|
- rubocop
|
386
301
|
- yardoc
|
387
302
|
- upload-coverage:
|
388
303
|
requires:
|
389
|
-
-
|
390
|
-
-
|
391
|
-
- build_on_ruby_2.4_and_rails_5.1
|
392
|
-
- build_on_ruby_2.4_and_rails_5.2
|
393
|
-
- build_on_ruby_2.5_and_rails_4.2
|
394
|
-
- build_on_ruby_2.5_and_rails_5.0
|
395
|
-
- build_on_ruby_2.5_and_rails_5.1
|
396
|
-
- build_on_ruby_2.5_and_rails_5.2
|
397
|
-
- build_on_ruby_2.5_and_rails_6.0
|
398
|
-
- build_on_ruby_2.6_and_rails_4.2
|
399
|
-
- build_on_ruby_2.6_and_rails_5.0
|
400
|
-
- build_on_ruby_2.6_and_rails_5.1
|
401
|
-
- build_on_ruby_2.6_and_rails_5.2
|
402
|
-
- build_on_ruby_2.6_and_rails_6.0
|
403
|
-
- build_on_ruby_2.7_and_rails_5.0
|
404
|
-
- build_on_ruby_2.7_and_rails_5.1
|
405
|
-
- build_on_ruby_2.7_and_rails_5.2
|
406
|
-
- build_on_ruby_2.7_and_rails_6.0_with_integrations
|
407
|
-
- build_on_ruby_2.7_and_rails_6.0_without_integrations
|
304
|
+
- build_gem
|
305
|
+
- verify_generator # for GitHub requirements
|
408
306
|
- release:
|
409
307
|
context: RubyGems API Key
|
410
308
|
requires:
|
411
|
-
-
|
412
|
-
-
|
413
|
-
- build_on_ruby_2.4_and_rails_5.1
|
414
|
-
- build_on_ruby_2.4_and_rails_5.2
|
415
|
-
- build_on_ruby_2.5_and_rails_4.2
|
416
|
-
- build_on_ruby_2.5_and_rails_5.0
|
417
|
-
- build_on_ruby_2.5_and_rails_5.1
|
418
|
-
- build_on_ruby_2.5_and_rails_5.2
|
419
|
-
- build_on_ruby_2.5_and_rails_6.0
|
420
|
-
- build_on_ruby_2.6_and_rails_4.2
|
421
|
-
- build_on_ruby_2.6_and_rails_5.0
|
422
|
-
- build_on_ruby_2.6_and_rails_5.1
|
423
|
-
- build_on_ruby_2.6_and_rails_5.2
|
424
|
-
- build_on_ruby_2.6_and_rails_6.0
|
425
|
-
- build_on_ruby_2.7_and_rails_5.0
|
426
|
-
- build_on_ruby_2.7_and_rails_5.1
|
427
|
-
- build_on_ruby_2.7_and_rails_5.2
|
428
|
-
- build_on_ruby_2.7_and_rails_6.0_with_integrations
|
429
|
-
- build_on_ruby_2.7_and_rails_6.0_without_integrations
|
430
|
-
- verify_generator_on_ruby_2.4_and_rails_5.2
|
431
|
-
- verify_generator_on_ruby_2.5_and_rails_5.2
|
432
|
-
- verify_generator_on_ruby_2.5_and_rails_6.0
|
433
|
-
- verify_generator_on_ruby_2.6_and_rails_5.2
|
434
|
-
- verify_generator_on_ruby_2.6_and_rails_6.0
|
435
|
-
- verify_generator_on_ruby_2.7_and_rails_5.2
|
436
|
-
- verify_generator_on_ruby_2.7_and_rails_6.0
|
309
|
+
- build_gem
|
310
|
+
- verify_generator
|
437
311
|
- rubocop
|
438
312
|
filters:
|
439
313
|
branches:
|
@@ -459,7 +333,7 @@ workflows:
|
|
459
333
|
# only: [master]
|
460
334
|
# jobs:
|
461
335
|
# - deploy_api:
|
462
|
-
# ruby_version: '
|
336
|
+
# ruby_version: '3.0'
|
463
337
|
# - build_gem:
|
464
338
|
# requires: [deploy_api]
|
465
339
|
|
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.
|
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
data/.rubocop_todo.yml
CHANGED
@@ -1,11 +1,19 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2021-07-23 23:31:16 UTC using RuboCop version 1.18.4.
|
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
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
+
# Offense count: 5
|
10
|
+
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
11
|
+
Lint/EmptyBlock:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/my_api_client/rspec/matchers/be_handled_as_an_error.rb'
|
14
|
+
- 'spec/support/complete_about.rb'
|
15
|
+
- 'spec/support/complete_within.rb'
|
16
|
+
|
9
17
|
# Offense count: 5
|
10
18
|
Lint/MissingSuper:
|
11
19
|
Exclude:
|
@@ -15,21 +23,23 @@ Lint/MissingSuper:
|
|
15
23
|
- 'lib/my_api_client/request/executor.rb'
|
16
24
|
- 'lib/my_api_client/sleeper.rb'
|
17
25
|
|
26
|
+
# Offense count: 6
|
27
|
+
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
|
28
|
+
# SupportedStyles: snake_case, normalcase, non_integer
|
29
|
+
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
|
30
|
+
Naming/VariableNumber:
|
31
|
+
Exclude:
|
32
|
+
- 'spec/lib/my_api_client/error_handling_spec.rb'
|
33
|
+
- 'spec/lib/my_api_client/request/executor_spec.rb'
|
34
|
+
|
18
35
|
# Offense count: 60
|
19
36
|
# Configuration parameters: AllowSubject.
|
20
37
|
RSpec/MultipleMemoizedHelpers:
|
21
38
|
Max: 15
|
22
39
|
|
23
|
-
# Offense count: 1
|
24
|
-
# Cop supports --auto-correct.
|
25
|
-
Style/HashTransformValues:
|
26
|
-
Exclude:
|
27
|
-
- 'lib/my_api_client/integrations/bugsnag.rb'
|
28
|
-
|
29
40
|
# Offense count: 3
|
30
|
-
|
31
|
-
Style/StringConcatenation:
|
41
|
+
Style/DocumentDynamicEvalDefinition:
|
32
42
|
Exclude:
|
33
|
-
- 'lib/my_api_client/
|
34
|
-
- 'lib/my_api_client/
|
35
|
-
- '
|
43
|
+
- 'lib/my_api_client/config.rb'
|
44
|
+
- 'lib/my_api_client/request/basic.rb'
|
45
|
+
- 'lib/my_api_client/request/logger.rb'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,66 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## v0.21.0 (Aug 07, 2021)
|
4
|
+
|
5
|
+
### Feature
|
6
|
+
|
7
|
+
* [#570](https://github.com/ryz310/my_api_client/pull/570) Stubbing status code on testing ([@ryz310](https://github.com/ryz310))
|
8
|
+
|
9
|
+
### Breaking Change
|
10
|
+
|
11
|
+
* [#561](https://github.com/ryz310/my_api_client/pull/561) Goodbye Ruby 2.5.x! ([@ryz310](https://github.com/ryz310))
|
12
|
+
|
13
|
+
### Rubocop Challenge
|
14
|
+
|
15
|
+
* [#523](https://github.com/ryz310/my_api_client/pull/523) Layout/LineEndStringConcatenationIndentation-20210629233103 ([@ryz310](https://github.com/ryz310))
|
16
|
+
* [#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))
|
17
|
+
|
18
|
+
### Misc
|
19
|
+
|
20
|
+
* [#509](https://github.com/ryz310/my_api_client/pull/509) Fix the problem of mimemagic gem dependency ([@ryz310](https://github.com/ryz310))
|
21
|
+
* [#559](https://github.com/ryz310/my_api_client/pull/559) Fix gemfiles compatibility ([@ryz310](https://github.com/ryz310))
|
22
|
+
|
23
|
+
## v0.20.0 (Mar 07, 2021)
|
24
|
+
|
25
|
+
### Feature
|
26
|
+
|
27
|
+
* [#456](https://github.com/ryz310/my_api_client/pull/456) Stubbed pagination ([@ryz310](https://github.com/ryz310))
|
28
|
+
|
29
|
+
### Rubocop Challenge
|
30
|
+
|
31
|
+
* [#414](https://github.com/ryz310/my_api_client/pull/414) Style/StringConcatenation-20210106033935 ([@ryz310](https://github.com/ryz310))
|
32
|
+
* [#416](https://github.com/ryz310/my_api_client/pull/416) Style/HashTransformValues-20210106233116 ([@ryz310](https://github.com/ryz310))
|
33
|
+
* [#433](https://github.com/ryz310/my_api_client/pull/433) Lint/SymbolConversion-20210128233108 ([@ryz310](https://github.com/ryz310))
|
34
|
+
* [#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))
|
35
|
+
|
36
|
+
### Misc
|
37
|
+
|
38
|
+
* [#436](https://github.com/ryz310/my_api_client/pull/436) Use Circle CI matrix ([@ryz310](https://github.com/ryz310))
|
39
|
+
|
40
|
+
## v0.19.0 (Jan 04, 2021)
|
41
|
+
|
42
|
+
### Feature
|
43
|
+
|
44
|
+
* [#402](https://github.com/ryz310/my_api_client/pull/402) Support ruby 3.0 and rails 6.1 ([@ryz310](https://github.com/ryz310))
|
45
|
+
|
46
|
+
### Rubocop Challenge
|
47
|
+
|
48
|
+
* [#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))
|
49
|
+
|
50
|
+
## v0.18.0 (Dec 04, 2020)
|
51
|
+
|
52
|
+
### Feature
|
53
|
+
|
54
|
+
* [#381](https://github.com/ryz310/my_api_client/pull/381) Add endpoint option to the generator ([@ryz310](https://github.com/ryz310))
|
55
|
+
|
56
|
+
### Breaking Change
|
57
|
+
|
58
|
+
* [#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))
|
59
|
+
|
60
|
+
### Rubocop Challenge
|
61
|
+
|
62
|
+
* [#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))
|
63
|
+
|
3
64
|
## v0.17.0 (Sep 20, 2020)
|
4
65
|
|
5
66
|
### Feature
|
@@ -15,16 +76,6 @@
|
|
15
76
|
* [#316](https://github.com/ryz310/my_api_client/pull/316) Layout/EmptyLinesAroundAttributeAccessor-20200909233021 ([@ryz310](https://github.com/ryz310))
|
16
77
|
* [#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))
|
17
78
|
|
18
|
-
### Dependabot
|
19
|
-
|
20
|
-
* [#299](https://github.com/ryz310/my_api_client/pull/299) ryz310/dependabot/bundler/bugsnag-6.17.0 ([@ryz310](https://github.com/ryz310))
|
21
|
-
* [#310](https://github.com/ryz310/my_api_client/pull/310) ryz310/dependabot/bundler/rubocop-performance-1.8.0 ([@ryz310](https://github.com/ryz310))
|
22
|
-
* [#314](https://github.com/ryz310/my_api_client/pull/314) ryz310/dependabot/bundler/activesupport-5.2.4.4 ([@ryz310](https://github.com/ryz310))
|
23
|
-
* [#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))
|
24
|
-
* [#318](https://github.com/ryz310/my_api_client/pull/318) ryz310/dependabot/bundler/webmock-3.9.1 ([@ryz310](https://github.com/ryz310))
|
25
|
-
* [#319](https://github.com/ryz310/my_api_client/pull/319) ryz310/dependabot/bundler/rubocop-0.91.0 ([@ryz310](https://github.com/ryz310))
|
26
|
-
* [#321](https://github.com/ryz310/my_api_client/pull/321) ryz310/dependabot/bundler/my_api/puma-5.0.0 ([@ryz310](https://github.com/ryz310))
|
27
|
-
|
28
79
|
## v0.16.1 (Aug 27, 2020)
|
29
80
|
|
30
81
|
### Feature
|
@@ -38,23 +89,6 @@
|
|
38
89
|
* [#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))
|
39
90
|
* [#293](https://github.com/ryz310/my_api_client/pull/293) RSpec/LeadingSubject-20200817233022 ([@ryz310](https://github.com/ryz310))
|
40
91
|
|
41
|
-
### Dependabot
|
42
|
-
|
43
|
-
* [#232](https://github.com/ryz310/my_api_client/pull/232) ryz310/dependabot/bundler/faraday-1.0.1 ([@ryz310](https://github.com/ryz310))
|
44
|
-
* [#241](https://github.com/ryz310/my_api_client/pull/241) ryz310/dependabot/bundler/my_api/byebug-11.1.3 ([@ryz310](https://github.com/ryz310))
|
45
|
-
* [#243](https://github.com/ryz310/my_api_client/pull/243) ryz310/dependabot/bundler/yard-0.9.25 ([@ryz310](https://github.com/ryz310))
|
46
|
-
* [#248](https://github.com/ryz310/my_api_client/pull/248) ryz310/dependabot/bundler/activesupport-5.2.4.3 ([@ryz310](https://github.com/ryz310))
|
47
|
-
* [#251](https://github.com/ryz310/my_api_client/pull/251) ryz310/dependabot/bundler/my_api/puma-4.3.5 ([@ryz310](https://github.com/ryz310))
|
48
|
-
* [#257](https://github.com/ryz310/my_api_client/pull/257) ryz310/dependabot/bundler/my_api/dynomite-1.2.6 ([@ryz310](https://github.com/ryz310))
|
49
|
-
* [#264](https://github.com/ryz310/my_api_client/pull/264) ryz310/dependabot/bundler/my_api/rack-2.2.3 ([@ryz310](https://github.com/ryz310))
|
50
|
-
* [#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))
|
51
|
-
* [#266](https://github.com/ryz310/my_api_client/pull/266) ryz310/dependabot/bundler/my_api/capybara-3.33.0 ([@ryz310](https://github.com/ryz310))
|
52
|
-
* [#281](https://github.com/ryz310/my_api_client/pull/281) ryz310/dependabot/bundler/rubocop-performance-1.7.1 ([@ryz310](https://github.com/ryz310))
|
53
|
-
* [#287](https://github.com/ryz310/my_api_client/pull/287) ryz310/dependabot/bundler/my_api/kramdown-2.3.0 ([@ryz310](https://github.com/ryz310))
|
54
|
-
* [#290](https://github.com/ryz310/my_api_client/pull/290) ryz310/dependabot/bundler/bugsnag-6.16.0 ([@ryz310](https://github.com/ryz310))
|
55
|
-
* [#294](https://github.com/ryz310/my_api_client/pull/294) ryz310/dependabot/bundler/my_api/jets-2.3.17 ([@ryz310](https://github.com/ryz310))
|
56
|
-
* [#295](https://github.com/ryz310/my_api_client/pull/295) ryz310/dependabot/bundler/rubocop-rspec-1.43.2 ([@ryz310](https://github.com/ryz310))
|
57
|
-
|
58
92
|
### Misc
|
59
93
|
|
60
94
|
* [#271](https://github.com/ryz310/my_api_client/pull/271) Minor fixes ([@ryz310](https://github.com/ryz310))
|
@@ -110,11 +144,6 @@ You can check default `error_handling` or `retry_on` here.
|
|
110
144
|
|
111
145
|
See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/default_error_handlers.rb
|
112
146
|
|
113
|
-
### Dependabot
|
114
|
-
|
115
|
-
* [#227](https://github.com/ryz310/my_api_client/pull/227) ryz310/dependabot/bundler/pry-byebug-3.9.0 ([@ryz310](https://github.com/ryz310))
|
116
|
-
* [#228](https://github.com/ryz310/my_api_client/pull/228) ryz310/dependabot/bundler/my_api/jets-2.3.15 ([@ryz310](https://github.com/ryz310))
|
117
|
-
|
118
147
|
### Misc
|
119
148
|
|
120
149
|
* [#229](https://github.com/ryz310/my_api_client/pull/229) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
|
@@ -236,24 +265,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
|
|
236
265
|
* [#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))
|
237
266
|
* [#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))
|
238
267
|
|
239
|
-
### Dependabot
|
240
|
-
|
241
|
-
* [#190](https://github.com/ryz310/my_api_client/pull/190) Add a config file of the dependabot ([@ryz310](https://github.com/ryz310))
|
242
|
-
* [#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))
|
243
|
-
* [#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))
|
244
|
-
* [#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))
|
245
|
-
* [#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))
|
246
|
-
* [#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))
|
247
|
-
|
248
|
-
### Renovate
|
249
|
-
|
250
|
-
* [#193](https://github.com/ryz310/my_api_client/pull/193) Change renovate automerge setting ([@ryz310](https://github.com/ryz310))
|
251
|
-
* [#189](https://github.com/ryz310/my_api_client/pull/189) Update the renovate settings ([@ryz310](https://github.com/ryz310))
|
252
|
-
* [#184](https://github.com/ryz310/my_api_client/pull/184) Update ruby-orbs orb to v1.5.1 ([@ryz310](https://github.com/ryz310))
|
253
|
-
* [#185](https://github.com/ryz310/my_api_client/pull/185) Update ruby-orbs orb to v1.5.4 ([@ryz310](https://github.com/ryz310))
|
254
|
-
* [#187](https://github.com/ryz310/my_api_client/pull/187) Update ruby-orbs orb to v1.5.6 ([@ryz310](https://github.com/ryz310))
|
255
|
-
* [#192](https://github.com/ryz310/my_api_client/pull/192) Update ruby-orbs orb to v1.6.0 ([@ryz310](https://github.com/ryz310))
|
256
|
-
|
257
268
|
## v0.13.0 (Jan 21, 2020)
|
258
269
|
|
259
270
|
### Feature
|
@@ -283,11 +294,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
|
|
283
294
|
* [#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))
|
284
295
|
* [#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))
|
285
296
|
|
286
|
-
### Dependabot
|
287
|
-
|
288
|
-
* [#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))
|
289
|
-
* [#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))
|
290
|
-
|
291
297
|
## v0.10.3 (Dec 05, 2019)
|
292
298
|
|
293
299
|
### Bugfix
|
@@ -299,18 +305,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
|
|
299
305
|
* [#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))
|
300
306
|
* [#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))
|
301
307
|
|
302
|
-
### Dependabot
|
303
|
-
|
304
|
-
* [#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))
|
305
|
-
* [#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))
|
306
|
-
* [#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))
|
307
|
-
|
308
|
-
### Renovate
|
309
|
-
|
310
|
-
* [#137](https://github.com/ryz310/my_api_client/pull/137) Configure Renovate ([@ryz310](https://github.com/ryz310))
|
311
|
-
* [#138](https://github.com/ryz310/my_api_client/pull/138) Update ruby-orbs orb to v1.4.4 ([@ryz310](https://github.com/ryz310))
|
312
|
-
* [#141](https://github.com/ryz310/my_api_client/pull/141) Update ruby-orbs orb to v1.4.5 ([@ryz310](https://github.com/ryz310))
|
313
|
-
|
314
308
|
## 0.10.2 (Oct 23, 2019)
|
315
309
|
|
316
310
|
### Bugfix
|
@@ -334,7 +328,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
|
|
334
328
|
|
335
329
|
* Modify request specifications ([#120](https://github.com/ryz310/my_api_client/pull/120))
|
336
330
|
* Re-generate .rubocop_todo.yml with RuboCop v0.75.1 ([#121](https://github.com/ryz310/my_api_client/pull/121))
|
337
|
-
* ryz310/dependabot/bundler/jsonpath-1.0.5 ([#123](https://github.com/ryz310/my_api_client/pull/123))
|
338
331
|
|
339
332
|
## 0.9.2 (Oct 8, 2019)
|
340
333
|
|
@@ -350,12 +343,6 @@ See: https://github.com/ryz310/my_api_client/blob/master/lib/my_api_client/defau
|
|
350
343
|
* Support Rails 6.0 ([#101](https://github.com/ryz310/my_api_client/pull/101))
|
351
344
|
|
352
345
|
* deprecated/my_api_client_stub ([#102](https://github.com/ryz310/my_api_client/pull/102))
|
353
|
-
* dependabot/bundler/rake-tw-13.0 ([#105](https://github.com/ryz310/my_api_client/pull/105))
|
354
|
-
* dependabot/bundler/webmock-3.7.5 ([#108](https://github.com/ryz310/my_api_client/pull/108))
|
355
|
-
* dependabot/bundler/bugsnag-6.12.1 ([#109](https://github.com/ryz310/my_api_client/pull/109))
|
356
|
-
* dependabot/bundler/simplecov-0.17.1 ([#110](https://github.com/ryz310/my_api_client/pull/110))
|
357
|
-
* dependabot/bundler/rubocop-rspec-1.36.0 ([#111](https://github.com/ryz310/my_api_client/pull/111))
|
358
|
-
* dependabot/bundler/rubocop-performance-1.5.0 ([#115](https://github.com/ryz310/my_api_client/pull/115))
|
359
346
|
|
360
347
|
## 0.9.1 (July 25, 2019)
|
361
348
|
|