my_api_client 1.0.0 → 1.2.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 +6 -6
- data/.rubocop.yml +4 -3
- data/.ruby-version +1 -0
- data/CHANGELOG.md +58 -0
- data/Gemfile.lock +66 -65
- data/README.jp.md +2 -2
- data/README.md +2 -2
- data/example/api_clients/my_error_api_client.rb +1 -1
- data/example/api_clients/my_header_api_client.rb +1 -1
- data/example/api_clients/my_pagination_api_client.rb +2 -2
- data/example/api_clients/my_rest_api_client.rb +10 -10
- data/example/api_clients/my_status_api_client.rb +1 -1
- data/gemfiles/rails_7.1.gemfile +15 -0
- data/gemfiles/rails_7.2.gemfile +15 -0
- data/lib/my_api_client/error_handling/generator.rb +1 -1
- data/lib/my_api_client/error_handling.rb +1 -1
- data/lib/my_api_client/errors/network_error.rb +1 -1
- data/lib/my_api_client/errors.rb +1 -1
- data/lib/my_api_client/exceptions.rb +12 -1
- data/lib/my_api_client/params/params.rb +1 -1
- data/lib/my_api_client/params/request.rb +8 -8
- data/lib/my_api_client/request/basic.rb +2 -2
- data/lib/my_api_client/request/executor.rb +1 -1
- data/lib/my_api_client/request/pagination.rb +1 -3
- data/lib/my_api_client/request.rb +5 -5
- data/lib/my_api_client/rspec/matcher_helper.rb +3 -3
- data/lib/my_api_client/rspec/matchers/request_to.rb +1 -1
- data/lib/my_api_client/version.rb +1 -1
- data/my_api/Gemfile +1 -1
- data/my_api/Gemfile.lock +55 -51
- data/my_api/app/controllers/error_controller.rb +1 -1
- data/my_api/app/controllers/pagination_controller.rb +1 -1
- data/my_api/app/controllers/rest_controller.rb +4 -4
- data/my_api/app/controllers/status_controller.rb +1 -1
- data/my_api/spec/controllers/error_controller_spec.rb +4 -4
- data/my_api/spec/controllers/status_controller_spec.rb +3 -3
- data/my_api_client.gemspec +2 -1
- data/rails_app/rails_6.1/Gemfile.lock +73 -71
- data/rails_app/rails_7.0/Gemfile.lock +78 -76
- data/rails_app/rails_7.1/.dockerignore +31 -0
- data/rails_app/rails_7.1/.rspec +1 -0
- data/rails_app/rails_7.1/Dockerfile +55 -0
- data/rails_app/rails_7.1/Gemfile +16 -0
- data/rails_app/rails_7.1/Gemfile.lock +241 -0
- data/rails_app/rails_7.1/README.md +24 -0
- data/rails_app/rails_7.1/Rakefile +8 -0
- data/rails_app/rails_7.1/app/controllers/application_controller.rb +4 -0
- data/rails_app/rails_7.1/app/controllers/concerns/.keep +0 -0
- data/rails_app/rails_7.1/app/models/application_record.rb +5 -0
- data/rails_app/rails_7.1/app/models/concerns/.keep +0 -0
- data/rails_app/rails_7.1/bin/bundle +122 -0
- data/rails_app/rails_7.1/bin/docker-entrypoint +8 -0
- data/rails_app/rails_7.1/bin/rails +6 -0
- data/rails_app/rails_7.1/bin/rake +6 -0
- data/rails_app/rails_7.1/bin/setup +35 -0
- data/rails_app/rails_7.1/config/application.rb +46 -0
- data/rails_app/rails_7.1/config/boot.rb +5 -0
- data/rails_app/rails_7.1/config/credentials.yml.enc +1 -0
- data/rails_app/rails_7.1/config/database.yml +25 -0
- data/rails_app/rails_7.1/config/environment.rb +7 -0
- data/rails_app/rails_7.1/config/environments/development.rb +58 -0
- data/rails_app/rails_7.1/config/environments/production.rb +74 -0
- data/rails_app/rails_7.1/config/environments/test.rb +56 -0
- data/rails_app/rails_7.1/config/initializers/cors.rb +17 -0
- data/rails_app/rails_7.1/config/initializers/filter_parameter_logging.rb +10 -0
- data/rails_app/rails_7.1/config/initializers/inflections.rb +17 -0
- data/rails_app/rails_7.1/config/locales/en.yml +31 -0
- data/rails_app/rails_7.1/config/puma.rb +46 -0
- data/rails_app/rails_7.1/config/routes.rb +12 -0
- data/rails_app/rails_7.1/config.ru +8 -0
- data/rails_app/rails_7.1/db/seeds.rb +10 -0
- data/rails_app/rails_7.1/lib/tasks/.keep +0 -0
- data/rails_app/rails_7.1/public/robots.txt +2 -0
- data/rails_app/rails_7.1/spec/rails_helper.rb +13 -0
- data/rails_app/rails_7.1/spec/spec_helper.rb +13 -0
- data/rails_app/rails_7.1/storage/.keep +0 -0
- data/rails_app/rails_7.1/tmp/.keep +0 -0
- data/rails_app/rails_7.1/tmp/pids/.keep +0 -0
- data/rails_app/rails_7.1/tmp/storage/.keep +0 -0
- data/rails_app/rails_7.1/vendor/.keep +0 -0
- data/rails_app/rails_7.2/.dockerignore +42 -0
- data/rails_app/rails_7.2/.github/dependabot.yml +12 -0
- data/rails_app/rails_7.2/.github/workflows/ci.yml +55 -0
- data/rails_app/rails_7.2/.rspec +1 -0
- data/rails_app/rails_7.2/Dockerfile +62 -0
- data/rails_app/rails_7.2/Gemfile +15 -0
- data/rails_app/rails_7.2/Gemfile.lock +240 -0
- data/rails_app/rails_7.2/README.md +24 -0
- data/rails_app/rails_7.2/Rakefile +8 -0
- data/rails_app/rails_7.2/app/controllers/application_controller.rb +4 -0
- data/rails_app/rails_7.2/app/controllers/concerns/.keep +0 -0
- data/rails_app/rails_7.2/app/models/application_record.rb +5 -0
- data/rails_app/rails_7.2/app/models/concerns/.keep +0 -0
- data/rails_app/rails_7.2/bin/brakeman +9 -0
- data/rails_app/rails_7.2/bin/bundle +122 -0
- data/rails_app/rails_7.2/bin/docker-entrypoint +13 -0
- data/rails_app/rails_7.2/bin/rails +6 -0
- data/rails_app/rails_7.2/bin/rake +6 -0
- data/rails_app/rails_7.2/bin/rubocop +10 -0
- data/rails_app/rails_7.2/bin/setup +39 -0
- data/rails_app/rails_7.2/config/application.rb +46 -0
- data/rails_app/rails_7.2/config/boot.rb +5 -0
- data/rails_app/rails_7.2/config/credentials.yml.enc +1 -0
- data/rails_app/rails_7.2/config/database.yml +32 -0
- data/rails_app/rails_7.2/config/environment.rb +7 -0
- data/rails_app/rails_7.2/config/environments/development.rb +59 -0
- data/rails_app/rails_7.2/config/environments/production.rb +77 -0
- data/rails_app/rails_7.2/config/environments/test.rb +53 -0
- data/rails_app/rails_7.2/config/initializers/cors.rb +18 -0
- data/rails_app/rails_7.2/config/initializers/filter_parameter_logging.rb +10 -0
- data/rails_app/rails_7.2/config/initializers/inflections.rb +18 -0
- data/rails_app/rails_7.2/config/locales/en.yml +31 -0
- data/rails_app/rails_7.2/config/puma.rb +36 -0
- data/rails_app/rails_7.2/config/routes.rb +12 -0
- data/rails_app/rails_7.2/config.ru +8 -0
- data/rails_app/rails_7.2/db/seeds.rb +11 -0
- data/rails_app/rails_7.2/lib/tasks/.keep +0 -0
- data/rails_app/rails_7.2/public/robots.txt +3 -0
- data/rails_app/rails_7.2/spec/rails_helper.rb +13 -0
- data/rails_app/rails_7.2/spec/spec_helper.rb +13 -0
- data/rails_app/rails_7.2/storage/.keep +0 -0
- data/rails_app/rails_7.2/tmp/.keep +0 -0
- data/rails_app/rails_7.2/tmp/pids/.keep +0 -0
- data/rails_app/rails_7.2/tmp/storage/.keep +0 -0
- data/rails_app/rails_7.2/vendor/.keep +0 -0
- metadata +107 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryz310
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop-rspec_rails
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: simplecov
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,6 +263,7 @@ files:
|
|
249
263
|
- ".rspec"
|
250
264
|
- ".rubocop.yml"
|
251
265
|
- ".rubocop_todo.yml"
|
266
|
+
- ".ruby-version"
|
252
267
|
- CHANGELOG.md
|
253
268
|
- CODE_OF_CONDUCT.md
|
254
269
|
- Gemfile
|
@@ -268,6 +283,8 @@ files:
|
|
268
283
|
- example/api_clients/my_status_api_client.rb
|
269
284
|
- gemfiles/rails_6.1.gemfile
|
270
285
|
- gemfiles/rails_7.0.gemfile
|
286
|
+
- gemfiles/rails_7.1.gemfile
|
287
|
+
- gemfiles/rails_7.2.gemfile
|
271
288
|
- lib/generators/generator_helper.rb
|
272
289
|
- lib/generators/rails/USAGE
|
273
290
|
- lib/generators/rails/api_client_generator.rb
|
@@ -416,6 +433,92 @@ files:
|
|
416
433
|
- rails_app/rails_7.0/public/robots.txt
|
417
434
|
- rails_app/rails_7.0/spec/rails_helper.rb
|
418
435
|
- rails_app/rails_7.0/spec/spec_helper.rb
|
436
|
+
- rails_app/rails_7.1/.dockerignore
|
437
|
+
- rails_app/rails_7.1/.rspec
|
438
|
+
- rails_app/rails_7.1/Dockerfile
|
439
|
+
- rails_app/rails_7.1/Gemfile
|
440
|
+
- rails_app/rails_7.1/Gemfile.lock
|
441
|
+
- rails_app/rails_7.1/README.md
|
442
|
+
- rails_app/rails_7.1/Rakefile
|
443
|
+
- rails_app/rails_7.1/app/controllers/application_controller.rb
|
444
|
+
- rails_app/rails_7.1/app/controllers/concerns/.keep
|
445
|
+
- rails_app/rails_7.1/app/models/application_record.rb
|
446
|
+
- rails_app/rails_7.1/app/models/concerns/.keep
|
447
|
+
- rails_app/rails_7.1/bin/bundle
|
448
|
+
- rails_app/rails_7.1/bin/docker-entrypoint
|
449
|
+
- rails_app/rails_7.1/bin/rails
|
450
|
+
- rails_app/rails_7.1/bin/rake
|
451
|
+
- rails_app/rails_7.1/bin/setup
|
452
|
+
- rails_app/rails_7.1/config.ru
|
453
|
+
- rails_app/rails_7.1/config/application.rb
|
454
|
+
- rails_app/rails_7.1/config/boot.rb
|
455
|
+
- rails_app/rails_7.1/config/credentials.yml.enc
|
456
|
+
- rails_app/rails_7.1/config/database.yml
|
457
|
+
- rails_app/rails_7.1/config/environment.rb
|
458
|
+
- rails_app/rails_7.1/config/environments/development.rb
|
459
|
+
- rails_app/rails_7.1/config/environments/production.rb
|
460
|
+
- rails_app/rails_7.1/config/environments/test.rb
|
461
|
+
- rails_app/rails_7.1/config/initializers/cors.rb
|
462
|
+
- rails_app/rails_7.1/config/initializers/filter_parameter_logging.rb
|
463
|
+
- rails_app/rails_7.1/config/initializers/inflections.rb
|
464
|
+
- rails_app/rails_7.1/config/locales/en.yml
|
465
|
+
- rails_app/rails_7.1/config/puma.rb
|
466
|
+
- rails_app/rails_7.1/config/routes.rb
|
467
|
+
- rails_app/rails_7.1/db/seeds.rb
|
468
|
+
- rails_app/rails_7.1/lib/tasks/.keep
|
469
|
+
- rails_app/rails_7.1/public/robots.txt
|
470
|
+
- rails_app/rails_7.1/spec/rails_helper.rb
|
471
|
+
- rails_app/rails_7.1/spec/spec_helper.rb
|
472
|
+
- rails_app/rails_7.1/storage/.keep
|
473
|
+
- rails_app/rails_7.1/tmp/.keep
|
474
|
+
- rails_app/rails_7.1/tmp/pids/.keep
|
475
|
+
- rails_app/rails_7.1/tmp/storage/.keep
|
476
|
+
- rails_app/rails_7.1/vendor/.keep
|
477
|
+
- rails_app/rails_7.2/.dockerignore
|
478
|
+
- rails_app/rails_7.2/.github/dependabot.yml
|
479
|
+
- rails_app/rails_7.2/.github/workflows/ci.yml
|
480
|
+
- rails_app/rails_7.2/.rspec
|
481
|
+
- rails_app/rails_7.2/Dockerfile
|
482
|
+
- rails_app/rails_7.2/Gemfile
|
483
|
+
- rails_app/rails_7.2/Gemfile.lock
|
484
|
+
- rails_app/rails_7.2/README.md
|
485
|
+
- rails_app/rails_7.2/Rakefile
|
486
|
+
- rails_app/rails_7.2/app/controllers/application_controller.rb
|
487
|
+
- rails_app/rails_7.2/app/controllers/concerns/.keep
|
488
|
+
- rails_app/rails_7.2/app/models/application_record.rb
|
489
|
+
- rails_app/rails_7.2/app/models/concerns/.keep
|
490
|
+
- rails_app/rails_7.2/bin/brakeman
|
491
|
+
- rails_app/rails_7.2/bin/bundle
|
492
|
+
- rails_app/rails_7.2/bin/docker-entrypoint
|
493
|
+
- rails_app/rails_7.2/bin/rails
|
494
|
+
- rails_app/rails_7.2/bin/rake
|
495
|
+
- rails_app/rails_7.2/bin/rubocop
|
496
|
+
- rails_app/rails_7.2/bin/setup
|
497
|
+
- rails_app/rails_7.2/config.ru
|
498
|
+
- rails_app/rails_7.2/config/application.rb
|
499
|
+
- rails_app/rails_7.2/config/boot.rb
|
500
|
+
- rails_app/rails_7.2/config/credentials.yml.enc
|
501
|
+
- rails_app/rails_7.2/config/database.yml
|
502
|
+
- rails_app/rails_7.2/config/environment.rb
|
503
|
+
- rails_app/rails_7.2/config/environments/development.rb
|
504
|
+
- rails_app/rails_7.2/config/environments/production.rb
|
505
|
+
- rails_app/rails_7.2/config/environments/test.rb
|
506
|
+
- rails_app/rails_7.2/config/initializers/cors.rb
|
507
|
+
- rails_app/rails_7.2/config/initializers/filter_parameter_logging.rb
|
508
|
+
- rails_app/rails_7.2/config/initializers/inflections.rb
|
509
|
+
- rails_app/rails_7.2/config/locales/en.yml
|
510
|
+
- rails_app/rails_7.2/config/puma.rb
|
511
|
+
- rails_app/rails_7.2/config/routes.rb
|
512
|
+
- rails_app/rails_7.2/db/seeds.rb
|
513
|
+
- rails_app/rails_7.2/lib/tasks/.keep
|
514
|
+
- rails_app/rails_7.2/public/robots.txt
|
515
|
+
- rails_app/rails_7.2/spec/rails_helper.rb
|
516
|
+
- rails_app/rails_7.2/spec/spec_helper.rb
|
517
|
+
- rails_app/rails_7.2/storage/.keep
|
518
|
+
- rails_app/rails_7.2/tmp/.keep
|
519
|
+
- rails_app/rails_7.2/tmp/pids/.keep
|
520
|
+
- rails_app/rails_7.2/tmp/storage/.keep
|
521
|
+
- rails_app/rails_7.2/vendor/.keep
|
419
522
|
homepage: https://github.com/ryz310/my_api_client
|
420
523
|
licenses:
|
421
524
|
- MIT
|
@@ -429,14 +532,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
429
532
|
requirements:
|
430
533
|
- - ">="
|
431
534
|
- !ruby/object:Gem::Version
|
432
|
-
version: 3.
|
535
|
+
version: 3.1.0
|
433
536
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
434
537
|
requirements:
|
435
538
|
- - ">="
|
436
539
|
- !ruby/object:Gem::Version
|
437
540
|
version: '0'
|
438
541
|
requirements: []
|
439
|
-
rubygems_version: 3.
|
542
|
+
rubygems_version: 3.5.14
|
440
543
|
signing_key:
|
441
544
|
specification_version: 4
|
442
545
|
summary: The framework of Web API Client
|