minato_ruby_api_client 0.2.1 → 0.2.3

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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -23
  3. data/Dockerfile +1 -1
  4. data/Gemfile +17 -17
  5. data/Gemfile.lock +402 -398
  6. data/README.md +54 -54
  7. data/Rakefile +10 -10
  8. data/compose.yml +11 -11
  9. data/lib/minato_ruby_api_client/api_client.rb +398 -389
  10. data/lib/minato_ruby_api_client/api_error.rb +16 -16
  11. data/lib/minato_ruby_api_client/configuration.rb +247 -247
  12. data/lib/minato_ruby_api_client/version.rb +3 -3
  13. data/lib/minato_ruby_api_client.rb +24 -24
  14. data/minato_ruby_api_client.gemspec +35 -35
  15. data/spec/api_client_spec.rb +42 -0
  16. data/spec/configuration_spec.rb +204 -204
  17. data/spec/minato_ruby_api_client_spec.rb +17 -17
  18. data/spec/spec_helper.rb +105 -105
  19. metadata +7 -40
  20. data/coverage/.last_run.json +0 -5
  21. data/coverage/.resultset.json +0 -1248
  22. data/coverage/.resultset.json.lock +0 -0
  23. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  24. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  25. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  26. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  27. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  28. data/coverage/assets/0.12.3/application.css +0 -1
  29. data/coverage/assets/0.12.3/application.js +0 -7
  30. data/coverage/assets/0.12.3/colorbox/border.png +0 -0
  31. data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  32. data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  33. data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  34. data/coverage/assets/0.12.3/favicon_green.png +0 -0
  35. data/coverage/assets/0.12.3/favicon_red.png +0 -0
  36. data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  37. data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  38. data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  39. data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  40. data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  41. data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  42. data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  43. data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  44. data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  45. data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  46. data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  47. data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  48. data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  49. data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  50. data/coverage/assets/0.12.3/loading.gif +0 -0
  51. data/coverage/assets/0.12.3/magnify.png +0 -0
  52. data/coverage/index.html +0 -13728
data/spec/spec_helper.rb CHANGED
@@ -1,105 +1,105 @@
1
- require 'simplecov'
2
- SimpleCov.start
3
-
4
- require 'webmock/rspec'
5
- WebMock.disable_net_connect!(allow_localhost: true)
6
-
7
- # load the gem
8
- require 'minato_ruby_api_client'
9
-
10
- # The following was generated by the `rspec --init` command. Conventionally, all
11
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
12
- # The generated `.rspec` file contains `--require spec_helper` which will cause
13
- # this file to always be loaded, without a need to explicitly require it in any
14
- # files.
15
- #
16
- # Given that it is always loaded, you are encouraged to keep this file as
17
- # light-weight as possible. Requiring heavyweight dependencies from this file
18
- # will add to the boot time of your test suite on EVERY test run, even for an
19
- # individual file that may not need all of that loaded. Instead, consider making
20
- # a separate helper file that requires the additional dependencies and performs
21
- # the additional setup, and require it from the spec files that actually need
22
- # it.
23
- #
24
- # The `.rspec` file also contains a few flags that are not defaults but that
25
- # users commonly want.
26
- #
27
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
28
- RSpec.configure do |config|
29
- # rspec-expectations config goes here. You can use an alternate
30
- # assertion/expectation library such as wrong or the stdlib/minitest
31
- # assertions if you prefer.
32
- config.expect_with :rspec do |expectations|
33
- # This option will default to `true` in RSpec 4. It makes the `description`
34
- # and `failure_message` of custom matchers include text for helper methods
35
- # defined using `chain`, e.g.:
36
- # be_bigger_than(2).and_smaller_than(4).description
37
- # # => "be bigger than 2 and smaller than 4"
38
- # ...rather than:
39
- # # => "be bigger than 2"
40
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
41
- end
42
-
43
- # rspec-mocks config goes here. You can use an alternate test double
44
- # library (such as bogus or mocha) by changing the `mock_with` option here.
45
- config.mock_with :rspec do |mocks|
46
- # Prevents you from mocking or stubbing a method that does not exist on
47
- # a real object. This is generally recommended, and will default to
48
- # `true` in RSpec 4.
49
- mocks.verify_partial_doubles = true
50
- end
51
-
52
- # The settings below are suggested to provide a good initial experience
53
- # with RSpec, but feel free to customize to your heart's content.
54
- =begin
55
- # These two settings work together to allow you to limit a spec run
56
- # to individual examples or groups you care about by tagging them with
57
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
58
- # get run.
59
- config.filter_run :focus
60
- config.run_all_when_everything_filtered = true
61
-
62
- # Allows RSpec to persist some state between runs in order to support
63
- # the `--only-failures` and `--next-failure` CLI options. We recommend
64
- # you configure your source control system to ignore this file.
65
- config.example_status_persistence_file_path = "spec/examples.txt"
66
-
67
- # Limits the available syntax to the non-monkey patched syntax that is
68
- # recommended. For more details, see:
69
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
70
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
71
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
72
- config.disable_monkey_patching!
73
-
74
- # This setting enables warnings. It's recommended, but in some cases may
75
- # be too noisy due to issues in dependencies.
76
- config.warnings = true
77
-
78
- # Many RSpec users commonly either run the entire suite or an individual
79
- # file, and it's useful to allow more verbose output when running an
80
- # individual spec file.
81
- if config.files_to_run.one?
82
- # Use the documentation formatter for detailed output,
83
- # unless a formatter has already been configured
84
- # (e.g. via a command-line flag).
85
- config.default_formatter = 'doc'
86
- end
87
-
88
- # Print the 10 slowest examples and example groups at the
89
- # end of the spec run, to help surface which specs are running
90
- # particularly slow.
91
- config.profile_examples = 10
92
-
93
- # Run specs in random order to surface order dependencies. If you find an
94
- # order dependency and want to debug it, you can fix the order by providing
95
- # the seed, which is printed after each run.
96
- # --seed 1234
97
- config.order = :random
98
-
99
- # Seed global randomization in this process using the `--seed` CLI option.
100
- # Setting this allows you to use `--seed` to deterministically reproduce
101
- # test failures related to randomization by passing the same `--seed` value
102
- # as the one that triggered the failure.
103
- Kernel.srand config.seed
104
- =end
105
- end
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
4
+ require 'webmock/rspec'
5
+ WebMock.disable_net_connect!(allow_localhost: true)
6
+
7
+ # load the gem
8
+ require 'minato_ruby_api_client'
9
+
10
+ # The following was generated by the `rspec --init` command. Conventionally, all
11
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
12
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
13
+ # this file to always be loaded, without a need to explicitly require it in any
14
+ # files.
15
+ #
16
+ # Given that it is always loaded, you are encouraged to keep this file as
17
+ # light-weight as possible. Requiring heavyweight dependencies from this file
18
+ # will add to the boot time of your test suite on EVERY test run, even for an
19
+ # individual file that may not need all of that loaded. Instead, consider making
20
+ # a separate helper file that requires the additional dependencies and performs
21
+ # the additional setup, and require it from the spec files that actually need
22
+ # it.
23
+ #
24
+ # The `.rspec` file also contains a few flags that are not defaults but that
25
+ # users commonly want.
26
+ #
27
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
28
+ RSpec.configure do |config|
29
+ # rspec-expectations config goes here. You can use an alternate
30
+ # assertion/expectation library such as wrong or the stdlib/minitest
31
+ # assertions if you prefer.
32
+ config.expect_with :rspec do |expectations|
33
+ # This option will default to `true` in RSpec 4. It makes the `description`
34
+ # and `failure_message` of custom matchers include text for helper methods
35
+ # defined using `chain`, e.g.:
36
+ # be_bigger_than(2).and_smaller_than(4).description
37
+ # # => "be bigger than 2 and smaller than 4"
38
+ # ...rather than:
39
+ # # => "be bigger than 2"
40
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
41
+ end
42
+
43
+ # rspec-mocks config goes here. You can use an alternate test double
44
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
45
+ config.mock_with :rspec do |mocks|
46
+ # Prevents you from mocking or stubbing a method that does not exist on
47
+ # a real object. This is generally recommended, and will default to
48
+ # `true` in RSpec 4.
49
+ mocks.verify_partial_doubles = true
50
+ end
51
+
52
+ # The settings below are suggested to provide a good initial experience
53
+ # with RSpec, but feel free to customize to your heart's content.
54
+ =begin
55
+ # These two settings work together to allow you to limit a spec run
56
+ # to individual examples or groups you care about by tagging them with
57
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
58
+ # get run.
59
+ config.filter_run :focus
60
+ config.run_all_when_everything_filtered = true
61
+
62
+ # Allows RSpec to persist some state between runs in order to support
63
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
64
+ # you configure your source control system to ignore this file.
65
+ config.example_status_persistence_file_path = "spec/examples.txt"
66
+
67
+ # Limits the available syntax to the non-monkey patched syntax that is
68
+ # recommended. For more details, see:
69
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
70
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
71
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
72
+ config.disable_monkey_patching!
73
+
74
+ # This setting enables warnings. It's recommended, but in some cases may
75
+ # be too noisy due to issues in dependencies.
76
+ config.warnings = true
77
+
78
+ # Many RSpec users commonly either run the entire suite or an individual
79
+ # file, and it's useful to allow more verbose output when running an
80
+ # individual spec file.
81
+ if config.files_to_run.one?
82
+ # Use the documentation formatter for detailed output,
83
+ # unless a formatter has already been configured
84
+ # (e.g. via a command-line flag).
85
+ config.default_formatter = 'doc'
86
+ end
87
+
88
+ # Print the 10 slowest examples and example groups at the
89
+ # end of the spec run, to help surface which specs are running
90
+ # particularly slow.
91
+ config.profile_examples = 10
92
+
93
+ # Run specs in random order to surface order dependencies. If you find an
94
+ # order dependency and want to debug it, you can fix the order by providing
95
+ # the seed, which is printed after each run.
96
+ # --seed 1234
97
+ config.order = :random
98
+
99
+ # Seed global randomization in this process using the `--seed` CLI option.
100
+ # Setting this allows you to use `--seed` to deterministically reproduce
101
+ # test failures related to randomization by passing the same `--seed` value
102
+ # as the one that triggered the failure.
103
+ Kernel.srand config.seed
104
+ =end
105
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minato_ruby_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ferreri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2025-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -36,28 +36,28 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.1.9.pre.1
39
+ version: 0.1.12
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.1.9.pre.1
46
+ version: 0.1.12
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: minato-trace
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.1.6.pre.8
53
+ version: 0.2.0
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.1.6.pre.8
60
+ version: 0.2.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -92,39 +92,6 @@ files:
92
92
  - README.md
93
93
  - Rakefile
94
94
  - compose.yml
95
- - coverage/.last_run.json
96
- - coverage/.resultset.json
97
- - coverage/.resultset.json.lock
98
- - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png
99
- - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png
100
- - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png
101
- - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png
102
- - coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png
103
- - coverage/assets/0.12.3/application.css
104
- - coverage/assets/0.12.3/application.js
105
- - coverage/assets/0.12.3/colorbox/border.png
106
- - coverage/assets/0.12.3/colorbox/controls.png
107
- - coverage/assets/0.12.3/colorbox/loading.gif
108
- - coverage/assets/0.12.3/colorbox/loading_background.png
109
- - coverage/assets/0.12.3/favicon_green.png
110
- - coverage/assets/0.12.3/favicon_red.png
111
- - coverage/assets/0.12.3/favicon_yellow.png
112
- - coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png
113
- - coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png
114
- - coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png
115
- - coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png
116
- - coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png
117
- - coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png
118
- - coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png
119
- - coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png
120
- - coverage/assets/0.12.3/images/ui-icons_222222_256x240.png
121
- - coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png
122
- - coverage/assets/0.12.3/images/ui-icons_454545_256x240.png
123
- - coverage/assets/0.12.3/images/ui-icons_888888_256x240.png
124
- - coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png
125
- - coverage/assets/0.12.3/loading.gif
126
- - coverage/assets/0.12.3/magnify.png
127
- - coverage/index.html
128
95
  - lib/minato_ruby_api_client.rb
129
96
  - lib/minato_ruby_api_client/api_client.rb
130
97
  - lib/minato_ruby_api_client/api_error.rb
@@ -137,7 +104,7 @@ files:
137
104
  - spec/spec_helper.rb
138
105
  homepage: http://ferreri.co
139
106
  licenses:
140
- - unlicense
107
+ - Unlicense
141
108
  metadata: {}
142
109
  post_install_message:
143
110
  rdoc_options: []
@@ -1,5 +0,0 @@
1
- {
2
- "result": {
3
- "line": 91.27
4
- }
5
- }