my_api_client 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +8 -7
- data/.rubocop.yml +7 -4
- data/.ruby-version +1 -0
- data/CHANGELOG.md +71 -0
- data/Gemfile.lock +95 -81
- 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/base.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 +1 -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 +83 -71
- 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 -7
@@ -0,0 +1,77 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'active_support/core_ext/integer/time'
|
4
|
+
|
5
|
+
Rails.application.configure do
|
6
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
7
|
+
|
8
|
+
# Code is not reloaded between requests.
|
9
|
+
config.enable_reloading = false
|
10
|
+
|
11
|
+
# Eager load code on boot. This eager loads most of Rails and
|
12
|
+
# your application in memory, allowing both threaded web servers
|
13
|
+
# and those relying on copy on write to perform better.
|
14
|
+
# Rake tasks automatically ignore this option for performance.
|
15
|
+
config.eager_load = true
|
16
|
+
|
17
|
+
# Full error reports are disabled and caching is turned on.
|
18
|
+
config.consider_all_requests_local = false
|
19
|
+
|
20
|
+
# Ensures that a master key has been made available in ENV["RAILS_MASTER_KEY"], config/master.key, or an environment
|
21
|
+
# key such as config/credentials/production.key. This key is used to decrypt credentials (and other encrypted files).
|
22
|
+
# config.require_master_key = true
|
23
|
+
|
24
|
+
# Disable serving static files from `public/`, relying on NGINX/Apache to do so instead.
|
25
|
+
# config.public_file_server.enabled = false
|
26
|
+
|
27
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
28
|
+
# config.asset_host = "http://assets.example.com"
|
29
|
+
|
30
|
+
# Specifies the header that your server uses for sending files.
|
31
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
|
32
|
+
# config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
|
33
|
+
|
34
|
+
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
35
|
+
# Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
|
36
|
+
# config.assume_ssl = true
|
37
|
+
|
38
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
39
|
+
config.force_ssl = true
|
40
|
+
|
41
|
+
# Skip http-to-https redirect for the default health check endpoint.
|
42
|
+
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
|
43
|
+
|
44
|
+
# Log to STDOUT by default
|
45
|
+
config.logger = ActiveSupport::Logger.new($stdout)
|
46
|
+
.tap { |logger| logger.formatter = Logger::Formatter.new }
|
47
|
+
.then { |logger| ActiveSupport::TaggedLogging.new(logger) }
|
48
|
+
|
49
|
+
# Prepend all log lines with the following tags.
|
50
|
+
config.log_tags = [:request_id]
|
51
|
+
|
52
|
+
# "info" includes generic and useful information about system operation, but avoids logging too much
|
53
|
+
# information to avoid inadvertent exposure of personally identifiable information (PII). If you
|
54
|
+
# want to log everything, set the level to "debug".
|
55
|
+
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info')
|
56
|
+
|
57
|
+
# Use a different cache store in production.
|
58
|
+
# config.cache_store = :mem_cache_store
|
59
|
+
|
60
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
61
|
+
# the I18n.default_locale when a translation cannot be found).
|
62
|
+
config.i18n.fallbacks = true
|
63
|
+
|
64
|
+
# Don't log any deprecations.
|
65
|
+
config.active_support.report_deprecations = false
|
66
|
+
|
67
|
+
# Do not dump schema after migrations.
|
68
|
+
config.active_record.dump_schema_after_migration = false
|
69
|
+
|
70
|
+
# Enable DNS rebinding protection and other `Host` header attacks.
|
71
|
+
# config.hosts = [
|
72
|
+
# "example.com", # Allow requests from example.com
|
73
|
+
# /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
|
74
|
+
# ]
|
75
|
+
# Skip DNS rebinding protection for the default health check endpoint.
|
76
|
+
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
|
77
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'active_support/core_ext/integer/time'
|
4
|
+
|
5
|
+
# The test environment is used exclusively to run your application's
|
6
|
+
# test suite. You never need to work with it otherwise. Remember that
|
7
|
+
# your test database is "scratch space" for the test suite and is wiped
|
8
|
+
# and recreated between test runs. Don't rely on the data there!
|
9
|
+
|
10
|
+
Rails.application.configure do
|
11
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
12
|
+
|
13
|
+
# While tests run files are not watched, reloading is not necessary.
|
14
|
+
config.enable_reloading = false
|
15
|
+
|
16
|
+
# Eager loading loads your entire application. When running a single test locally,
|
17
|
+
# this is usually not necessary, and can slow down your test suite. However, it's
|
18
|
+
# recommended that you enable it in continuous integration systems to ensure eager
|
19
|
+
# loading is working properly before deploying your code.
|
20
|
+
config.eager_load = ENV['CI'].present?
|
21
|
+
|
22
|
+
# Configure public file server for tests with Cache-Control for performance.
|
23
|
+
config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{1.hour.to_i}" }
|
24
|
+
|
25
|
+
# Show full error reports and disable caching.
|
26
|
+
config.consider_all_requests_local = true
|
27
|
+
config.action_controller.perform_caching = false
|
28
|
+
config.cache_store = :null_store
|
29
|
+
|
30
|
+
# Render exception templates for rescuable exceptions and raise for other exceptions.
|
31
|
+
config.action_dispatch.show_exceptions = :rescuable
|
32
|
+
|
33
|
+
# Disable request forgery protection in test environment.
|
34
|
+
config.action_controller.allow_forgery_protection = false
|
35
|
+
|
36
|
+
# Print deprecation notices to the stderr.
|
37
|
+
config.active_support.deprecation = :stderr
|
38
|
+
|
39
|
+
# Raise exceptions for disallowed deprecations.
|
40
|
+
config.active_support.disallowed_deprecation = :raise
|
41
|
+
|
42
|
+
# Tell Active Support which deprecation messages to disallow.
|
43
|
+
config.active_support.disallowed_deprecation_warnings = []
|
44
|
+
|
45
|
+
# Raises error for missing translations.
|
46
|
+
# config.i18n.raise_on_missing_translations = true
|
47
|
+
|
48
|
+
# Annotate rendered view with file names.
|
49
|
+
# config.action_view.annotate_rendered_view_with_filenames = true
|
50
|
+
|
51
|
+
# Raise error when a before_action's only/except options reference missing actions.
|
52
|
+
config.action_controller.raise_on_missing_callback_actions = true
|
53
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Avoid CORS issues when API is called from the frontend app.
|
6
|
+
# Handle Cross-Origin Resource Sharing (CORS) in order to accept cross-origin Ajax requests.
|
7
|
+
|
8
|
+
# Read more: https://github.com/cyu/rack-cors
|
9
|
+
|
10
|
+
# Rails.application.config.middleware.insert_before 0, Rack::Cors do
|
11
|
+
# allow do
|
12
|
+
# origins "example.com"
|
13
|
+
#
|
14
|
+
# resource "*",
|
15
|
+
# headers: :any,
|
16
|
+
# methods: [:get, :post, :put, :patch, :delete, :options, :head]
|
17
|
+
# end
|
18
|
+
# end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
|
6
|
+
# Use this to limit dissemination of sensitive information.
|
7
|
+
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
|
8
|
+
Rails.application.config.filter_parameters += %i[
|
9
|
+
passw email secret token _key crypt salt certificate otp ssn
|
10
|
+
]
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Be sure to restart your server when you modify this file.
|
4
|
+
|
5
|
+
# Add new inflection rules using the following format. Inflections
|
6
|
+
# are locale specific, and you may define rules for as many different
|
7
|
+
# locales as you wish. All of these examples are active by default:
|
8
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
9
|
+
# inflect.plural /^(ox)$/i, "\\1en"
|
10
|
+
# inflect.singular /^(ox)en/i, "\\1"
|
11
|
+
# inflect.irregular "person", "people"
|
12
|
+
# inflect.uncountable %w( fish sheep )
|
13
|
+
# end
|
14
|
+
|
15
|
+
# These inflection rules are supported but not enabled by default:
|
16
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
17
|
+
# inflect.acronym "RESTful"
|
18
|
+
# end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization and
|
2
|
+
# are automatically loaded by Rails. If you want to use locales other than
|
3
|
+
# English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t "hello"
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t("hello") %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more about the API, please read the Rails Internationalization guide
|
20
|
+
# at https://guides.rubyonrails.org/i18n.html.
|
21
|
+
#
|
22
|
+
# Be aware that YAML interprets the following case-insensitive strings as
|
23
|
+
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
|
24
|
+
# must be quoted to be interpreted as strings. For example:
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# "yes": yup
|
28
|
+
# enabled: "ON"
|
29
|
+
|
30
|
+
en:
|
31
|
+
hello: "Hello world"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# This configuration file will be evaluated by Puma. The top-level methods that
|
4
|
+
# are invoked here are part of Puma's configuration DSL. For more information
|
5
|
+
# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
|
6
|
+
|
7
|
+
# Puma starts a configurable number of processes (workers) and each process
|
8
|
+
# serves each request in a thread from an internal thread pool.
|
9
|
+
#
|
10
|
+
# The ideal number of threads per worker depends both on how much time the
|
11
|
+
# application spends waiting for IO operations and on how much you wish to
|
12
|
+
# to prioritize throughput over latency.
|
13
|
+
#
|
14
|
+
# As a rule of thumb, increasing the number of threads will increase how much
|
15
|
+
# traffic a given process can handle (throughput), but due to CRuby's
|
16
|
+
# Global VM Lock (GVL) it has diminishing returns and will degrade the
|
17
|
+
# response time (latency) of the application.
|
18
|
+
#
|
19
|
+
# The default is set to 3 threads as it's deemed a decent compromise between
|
20
|
+
# throughput and latency for the average Rails application.
|
21
|
+
#
|
22
|
+
# Any libraries that use a connection pool or another resource pool should
|
23
|
+
# be configured to provide at least as many connections as the number of
|
24
|
+
# threads. This includes Active Record's `pool` parameter in `database.yml`.
|
25
|
+
threads_count = ENV.fetch('RAILS_MAX_THREADS', 3)
|
26
|
+
threads threads_count, threads_count
|
27
|
+
|
28
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
29
|
+
port ENV.fetch('PORT', 3000)
|
30
|
+
|
31
|
+
# Allow puma to be restarted by `bin/rails restart` command.
|
32
|
+
plugin :tmp_restart
|
33
|
+
|
34
|
+
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
35
|
+
# In other environments, only set the PID file if requested.
|
36
|
+
pidfile ENV['PIDFILE'] if ENV['PIDFILE']
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
Rails.application.routes.draw do
|
4
|
+
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
5
|
+
|
6
|
+
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
|
7
|
+
# Can be used by load balancers and uptime monitors to verify that the app is live.
|
8
|
+
get 'up' => 'rails/health#show', as: :rails_health_check
|
9
|
+
|
10
|
+
# Defines the root path route ("/")
|
11
|
+
# root "posts#index"
|
12
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# This file should ensure the existence of records required to run the application in every environment (production,
|
4
|
+
# development, test). The code here should be idempotent so that it can be executed at any point in every environment.
|
5
|
+
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
|
6
|
+
#
|
7
|
+
# Example:
|
8
|
+
#
|
9
|
+
# ["Action", "Comedy", "Drama", "Horror"].each do |genre_name|
|
10
|
+
# MovieGenre.find_or_create_by!(name: genre_name)
|
11
|
+
# end
|
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
ENV['RAILS_ENV'] ||= 'test'
|
5
|
+
require_relative '../config/environment'
|
6
|
+
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
7
|
+
require 'rspec/rails'
|
8
|
+
require 'my_api_client/rspec'
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
config.infer_spec_type_from_file_location!
|
12
|
+
config.filter_rails_from_backtrace!
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.expect_with :rspec do |expectations|
|
5
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
6
|
+
end
|
7
|
+
|
8
|
+
config.mock_with :rspec do |mocks|
|
9
|
+
mocks.verify_partial_doubles = true
|
10
|
+
end
|
11
|
+
|
12
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
13
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryz310
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activesupport
|
@@ -192,6 +191,20 @@ dependencies:
|
|
192
191
|
- - ">="
|
193
192
|
- !ruby/object:Gem::Version
|
194
193
|
version: '0'
|
194
|
+
- !ruby/object:Gem::Dependency
|
195
|
+
name: rubocop-rspec_rails
|
196
|
+
requirement: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
type: :development
|
202
|
+
prerelease: false
|
203
|
+
version_requirements: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
195
208
|
- !ruby/object:Gem::Dependency
|
196
209
|
name: simplecov
|
197
210
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,6 +262,7 @@ files:
|
|
249
262
|
- ".rspec"
|
250
263
|
- ".rubocop.yml"
|
251
264
|
- ".rubocop_todo.yml"
|
265
|
+
- ".ruby-version"
|
252
266
|
- CHANGELOG.md
|
253
267
|
- CODE_OF_CONDUCT.md
|
254
268
|
- Gemfile
|
@@ -268,6 +282,8 @@ files:
|
|
268
282
|
- example/api_clients/my_status_api_client.rb
|
269
283
|
- gemfiles/rails_6.1.gemfile
|
270
284
|
- gemfiles/rails_7.0.gemfile
|
285
|
+
- gemfiles/rails_7.1.gemfile
|
286
|
+
- gemfiles/rails_7.2.gemfile
|
271
287
|
- lib/generators/generator_helper.rb
|
272
288
|
- lib/generators/rails/USAGE
|
273
289
|
- lib/generators/rails/api_client_generator.rb
|
@@ -416,12 +432,97 @@ files:
|
|
416
432
|
- rails_app/rails_7.0/public/robots.txt
|
417
433
|
- rails_app/rails_7.0/spec/rails_helper.rb
|
418
434
|
- rails_app/rails_7.0/spec/spec_helper.rb
|
435
|
+
- rails_app/rails_7.1/.dockerignore
|
436
|
+
- rails_app/rails_7.1/.rspec
|
437
|
+
- rails_app/rails_7.1/Dockerfile
|
438
|
+
- rails_app/rails_7.1/Gemfile
|
439
|
+
- rails_app/rails_7.1/Gemfile.lock
|
440
|
+
- rails_app/rails_7.1/README.md
|
441
|
+
- rails_app/rails_7.1/Rakefile
|
442
|
+
- rails_app/rails_7.1/app/controllers/application_controller.rb
|
443
|
+
- rails_app/rails_7.1/app/controllers/concerns/.keep
|
444
|
+
- rails_app/rails_7.1/app/models/application_record.rb
|
445
|
+
- rails_app/rails_7.1/app/models/concerns/.keep
|
446
|
+
- rails_app/rails_7.1/bin/bundle
|
447
|
+
- rails_app/rails_7.1/bin/docker-entrypoint
|
448
|
+
- rails_app/rails_7.1/bin/rails
|
449
|
+
- rails_app/rails_7.1/bin/rake
|
450
|
+
- rails_app/rails_7.1/bin/setup
|
451
|
+
- rails_app/rails_7.1/config.ru
|
452
|
+
- rails_app/rails_7.1/config/application.rb
|
453
|
+
- rails_app/rails_7.1/config/boot.rb
|
454
|
+
- rails_app/rails_7.1/config/credentials.yml.enc
|
455
|
+
- rails_app/rails_7.1/config/database.yml
|
456
|
+
- rails_app/rails_7.1/config/environment.rb
|
457
|
+
- rails_app/rails_7.1/config/environments/development.rb
|
458
|
+
- rails_app/rails_7.1/config/environments/production.rb
|
459
|
+
- rails_app/rails_7.1/config/environments/test.rb
|
460
|
+
- rails_app/rails_7.1/config/initializers/cors.rb
|
461
|
+
- rails_app/rails_7.1/config/initializers/filter_parameter_logging.rb
|
462
|
+
- rails_app/rails_7.1/config/initializers/inflections.rb
|
463
|
+
- rails_app/rails_7.1/config/locales/en.yml
|
464
|
+
- rails_app/rails_7.1/config/puma.rb
|
465
|
+
- rails_app/rails_7.1/config/routes.rb
|
466
|
+
- rails_app/rails_7.1/db/seeds.rb
|
467
|
+
- rails_app/rails_7.1/lib/tasks/.keep
|
468
|
+
- rails_app/rails_7.1/public/robots.txt
|
469
|
+
- rails_app/rails_7.1/spec/rails_helper.rb
|
470
|
+
- rails_app/rails_7.1/spec/spec_helper.rb
|
471
|
+
- rails_app/rails_7.1/storage/.keep
|
472
|
+
- rails_app/rails_7.1/tmp/.keep
|
473
|
+
- rails_app/rails_7.1/tmp/pids/.keep
|
474
|
+
- rails_app/rails_7.1/tmp/storage/.keep
|
475
|
+
- rails_app/rails_7.1/vendor/.keep
|
476
|
+
- rails_app/rails_7.2/.dockerignore
|
477
|
+
- rails_app/rails_7.2/.github/dependabot.yml
|
478
|
+
- rails_app/rails_7.2/.github/workflows/ci.yml
|
479
|
+
- rails_app/rails_7.2/.rspec
|
480
|
+
- rails_app/rails_7.2/Dockerfile
|
481
|
+
- rails_app/rails_7.2/Gemfile
|
482
|
+
- rails_app/rails_7.2/Gemfile.lock
|
483
|
+
- rails_app/rails_7.2/README.md
|
484
|
+
- rails_app/rails_7.2/Rakefile
|
485
|
+
- rails_app/rails_7.2/app/controllers/application_controller.rb
|
486
|
+
- rails_app/rails_7.2/app/controllers/concerns/.keep
|
487
|
+
- rails_app/rails_7.2/app/models/application_record.rb
|
488
|
+
- rails_app/rails_7.2/app/models/concerns/.keep
|
489
|
+
- rails_app/rails_7.2/bin/brakeman
|
490
|
+
- rails_app/rails_7.2/bin/bundle
|
491
|
+
- rails_app/rails_7.2/bin/docker-entrypoint
|
492
|
+
- rails_app/rails_7.2/bin/rails
|
493
|
+
- rails_app/rails_7.2/bin/rake
|
494
|
+
- rails_app/rails_7.2/bin/rubocop
|
495
|
+
- rails_app/rails_7.2/bin/setup
|
496
|
+
- rails_app/rails_7.2/config.ru
|
497
|
+
- rails_app/rails_7.2/config/application.rb
|
498
|
+
- rails_app/rails_7.2/config/boot.rb
|
499
|
+
- rails_app/rails_7.2/config/credentials.yml.enc
|
500
|
+
- rails_app/rails_7.2/config/database.yml
|
501
|
+
- rails_app/rails_7.2/config/environment.rb
|
502
|
+
- rails_app/rails_7.2/config/environments/development.rb
|
503
|
+
- rails_app/rails_7.2/config/environments/production.rb
|
504
|
+
- rails_app/rails_7.2/config/environments/test.rb
|
505
|
+
- rails_app/rails_7.2/config/initializers/cors.rb
|
506
|
+
- rails_app/rails_7.2/config/initializers/filter_parameter_logging.rb
|
507
|
+
- rails_app/rails_7.2/config/initializers/inflections.rb
|
508
|
+
- rails_app/rails_7.2/config/locales/en.yml
|
509
|
+
- rails_app/rails_7.2/config/puma.rb
|
510
|
+
- rails_app/rails_7.2/config/routes.rb
|
511
|
+
- rails_app/rails_7.2/db/seeds.rb
|
512
|
+
- rails_app/rails_7.2/lib/tasks/.keep
|
513
|
+
- rails_app/rails_7.2/public/robots.txt
|
514
|
+
- rails_app/rails_7.2/spec/rails_helper.rb
|
515
|
+
- rails_app/rails_7.2/spec/spec_helper.rb
|
516
|
+
- rails_app/rails_7.2/storage/.keep
|
517
|
+
- rails_app/rails_7.2/tmp/.keep
|
518
|
+
- rails_app/rails_7.2/tmp/pids/.keep
|
519
|
+
- rails_app/rails_7.2/tmp/storage/.keep
|
520
|
+
- rails_app/rails_7.2/vendor/.keep
|
419
521
|
homepage: https://github.com/ryz310/my_api_client
|
420
522
|
licenses:
|
421
523
|
- MIT
|
422
524
|
metadata:
|
423
525
|
rubygems_mfa_required: 'true'
|
424
|
-
post_install_message:
|
425
526
|
rdoc_options: []
|
426
527
|
require_paths:
|
427
528
|
- lib
|
@@ -429,15 +530,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
429
530
|
requirements:
|
430
531
|
- - ">="
|
431
532
|
- !ruby/object:Gem::Version
|
432
|
-
version: 3.
|
533
|
+
version: 3.1.0
|
433
534
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
434
535
|
requirements:
|
435
536
|
- - ">="
|
436
537
|
- !ruby/object:Gem::Version
|
437
538
|
version: '0'
|
438
539
|
requirements: []
|
439
|
-
rubygems_version: 3.
|
440
|
-
signing_key:
|
540
|
+
rubygems_version: 3.6.7
|
441
541
|
specification_version: 4
|
442
542
|
summary: The framework of Web API Client
|
443
543
|
test_files: []
|