pokeapi_client 0.9.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.
Files changed (118) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +70 -0
  4. data/README.md +185 -0
  5. data/Rakefile +10 -0
  6. data/bin/bundle +114 -0
  7. data/bin/byebug +27 -0
  8. data/bin/coderay +27 -0
  9. data/bin/htmldiff +27 -0
  10. data/bin/ldiff +27 -0
  11. data/bin/pry +27 -0
  12. data/bin/rake +27 -0
  13. data/bin/rspec +27 -0
  14. data/bin/rubocop +27 -0
  15. data/bin/ruby-parse +27 -0
  16. data/bin/ruby-rewrite +27 -0
  17. data/docs/AbilityApi.md +137 -0
  18. data/docs/BerryApi.md +137 -0
  19. data/docs/BerryFirmnessApi.md +137 -0
  20. data/docs/BerryFlavorApi.md +137 -0
  21. data/docs/CharacteristicApi.md +137 -0
  22. data/docs/ContestEffectApi.md +137 -0
  23. data/docs/ContestTypeApi.md +137 -0
  24. data/docs/EggGroupApi.md +137 -0
  25. data/docs/EncounterConditionApi.md +137 -0
  26. data/docs/EncounterConditionValueApi.md +137 -0
  27. data/docs/EncounterMethodApi.md +137 -0
  28. data/docs/EvolutionChainApi.md +137 -0
  29. data/docs/EvolutionTriggerApi.md +137 -0
  30. data/docs/GenderApi.md +137 -0
  31. data/docs/GenerationApi.md +137 -0
  32. data/docs/GrowthRateApi.md +137 -0
  33. data/docs/ItemApi.md +137 -0
  34. data/docs/ItemAttributeApi.md +137 -0
  35. data/docs/ItemCategoryApi.md +137 -0
  36. data/docs/ItemFlingEffectApi.md +137 -0
  37. data/docs/ItemPocketApi.md +137 -0
  38. data/docs/LanguageApi.md +137 -0
  39. data/docs/LocationApi.md +137 -0
  40. data/docs/LocationAreaApi.md +137 -0
  41. data/docs/MachineApi.md +137 -0
  42. data/docs/MoveAilmentApi.md +137 -0
  43. data/docs/MoveApi.md +137 -0
  44. data/docs/MoveBattleStyleApi.md +137 -0
  45. data/docs/MoveCategoryApi.md +137 -0
  46. data/docs/MoveDamageClassApi.md +137 -0
  47. data/docs/MoveLearnMethodApi.md +137 -0
  48. data/docs/MoveTargetApi.md +137 -0
  49. data/docs/NatureApi.md +137 -0
  50. data/docs/PalParkAreaApi.md +137 -0
  51. data/docs/PokeathlonStatApi.md +137 -0
  52. data/docs/PokedexApi.md +137 -0
  53. data/docs/PokemonApi.md +137 -0
  54. data/docs/PokemonColorApi.md +137 -0
  55. data/docs/PokemonFormApi.md +137 -0
  56. data/docs/PokemonHabitatApi.md +137 -0
  57. data/docs/PokemonShapeApi.md +137 -0
  58. data/docs/PokemonSpeciesApi.md +137 -0
  59. data/docs/RegionApi.md +137 -0
  60. data/docs/StatApi.md +137 -0
  61. data/docs/SuperContestEffectApi.md +137 -0
  62. data/docs/TypeApi.md +137 -0
  63. data/docs/VersionApi.md +137 -0
  64. data/docs/VersionGroupApi.md +137 -0
  65. data/git_push.sh +57 -0
  66. data/pokeapi_client.gemspec +36 -0
  67. data/spec/api/ability_api_spec.rb +54 -0
  68. data/spec/api/berry_api_spec.rb +54 -0
  69. data/spec/api/berry_firmness_api_spec.rb +54 -0
  70. data/spec/api/berry_flavor_api_spec.rb +54 -0
  71. data/spec/api/characteristic_api_spec.rb +54 -0
  72. data/spec/api/contest_effect_api_spec.rb +54 -0
  73. data/spec/api/contest_type_api_spec.rb +54 -0
  74. data/spec/api/egg_group_api_spec.rb +54 -0
  75. data/spec/api/encounter_condition_api_spec.rb +54 -0
  76. data/spec/api/encounter_condition_value_api_spec.rb +54 -0
  77. data/spec/api/encounter_method_api_spec.rb +54 -0
  78. data/spec/api/evolution_chain_api_spec.rb +54 -0
  79. data/spec/api/evolution_trigger_api_spec.rb +54 -0
  80. data/spec/api/gender_api_spec.rb +54 -0
  81. data/spec/api/generation_api_spec.rb +54 -0
  82. data/spec/api/growth_rate_api_spec.rb +54 -0
  83. data/spec/api/item_api_spec.rb +54 -0
  84. data/spec/api/item_attribute_api_spec.rb +54 -0
  85. data/spec/api/item_category_api_spec.rb +54 -0
  86. data/spec/api/item_fling_effect_api_spec.rb +54 -0
  87. data/spec/api/item_pocket_api_spec.rb +54 -0
  88. data/spec/api/language_api_spec.rb +54 -0
  89. data/spec/api/location_api_spec.rb +54 -0
  90. data/spec/api/location_area_api_spec.rb +54 -0
  91. data/spec/api/machine_api_spec.rb +54 -0
  92. data/spec/api/move_ailment_api_spec.rb +54 -0
  93. data/spec/api/move_api_spec.rb +54 -0
  94. data/spec/api/move_battle_style_api_spec.rb +54 -0
  95. data/spec/api/move_category_api_spec.rb +54 -0
  96. data/spec/api/move_damage_class_api_spec.rb +54 -0
  97. data/spec/api/move_learn_method_api_spec.rb +54 -0
  98. data/spec/api/move_target_api_spec.rb +54 -0
  99. data/spec/api/nature_api_spec.rb +54 -0
  100. data/spec/api/pal_park_area_api_spec.rb +54 -0
  101. data/spec/api/pokeathlon_stat_api_spec.rb +54 -0
  102. data/spec/api/pokedex_api_spec.rb +54 -0
  103. data/spec/api/pokemon_api_spec.rb +54 -0
  104. data/spec/api/pokemon_color_api_spec.rb +54 -0
  105. data/spec/api/pokemon_form_api_spec.rb +54 -0
  106. data/spec/api/pokemon_habitat_api_spec.rb +54 -0
  107. data/spec/api/pokemon_shape_api_spec.rb +54 -0
  108. data/spec/api/pokemon_species_api_spec.rb +54 -0
  109. data/spec/api/region_api_spec.rb +54 -0
  110. data/spec/api/stat_api_spec.rb +54 -0
  111. data/spec/api/super_contest_effect_api_spec.rb +54 -0
  112. data/spec/api/type_api_spec.rb +54 -0
  113. data/spec/api/version_api_spec.rb +54 -0
  114. data/spec/api/version_group_api_spec.rb +54 -0
  115. data/spec/api_client_spec.rb +224 -0
  116. data/spec/configuration_spec.rb +40 -0
  117. data/spec/spec_helper.rb +109 -0
  118. metadata +250 -0
@@ -0,0 +1,224 @@
1
+ =begin
2
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+
4
+ The version of the OpenAPI document: 1.0.0
5
+
6
+ Generated by: https://openapi-generator.tech
7
+ OpenAPI Generator version: 5.4.0
8
+
9
+ =end
10
+
11
+ require 'spec_helper'
12
+
13
+ describe PokeApiClient::ApiClient do
14
+ context 'initialization' do
15
+ context 'URL stuff' do
16
+ context 'host' do
17
+ it 'removes http from host' do
18
+ PokeApiClient.configure { |c| c.host = 'http://example.com' }
19
+ expect(PokeApiClient::Configuration.default.host).to eq('example.com')
20
+ end
21
+
22
+ it 'removes https from host' do
23
+ PokeApiClient.configure { |c| c.host = 'https://wookiee.com' }
24
+ expect(PokeApiClient::ApiClient.default.config.host).to eq('wookiee.com')
25
+ end
26
+
27
+ it 'removes trailing path from host' do
28
+ PokeApiClient.configure { |c| c.host = 'hobo.com/v4' }
29
+ expect(PokeApiClient::Configuration.default.host).to eq('hobo.com')
30
+ end
31
+ end
32
+
33
+ context 'base_path' do
34
+ it "prepends a slash to base_path" do
35
+ PokeApiClient.configure { |c| c.base_path = 'v4/dog' }
36
+ expect(PokeApiClient::Configuration.default.base_path).to eq('/v4/dog')
37
+ end
38
+
39
+ it "doesn't prepend a slash if one is already there" do
40
+ PokeApiClient.configure { |c| c.base_path = '/v4/dog' }
41
+ expect(PokeApiClient::Configuration.default.base_path).to eq('/v4/dog')
42
+ end
43
+
44
+ it "ends up as a blank string if nil" do
45
+ PokeApiClient.configure { |c| c.base_path = nil }
46
+ expect(PokeApiClient::Configuration.default.base_path).to eq('')
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ describe 'params_encoding in #build_request' do
53
+ let(:config) { PokeApiClient::Configuration.new }
54
+ let(:api_client) { PokeApiClient::ApiClient.new(config) }
55
+
56
+ it 'defaults to nil' do
57
+ expect(PokeApiClient::Configuration.default.params_encoding).to eq(nil)
58
+ expect(config.params_encoding).to eq(nil)
59
+
60
+ request = api_client.build_request(:get, '/test')
61
+ expect(request.options[:params_encoding]).to eq(nil)
62
+ end
63
+
64
+ it 'can be customized' do
65
+ config.params_encoding = :multi
66
+ request = api_client.build_request(:get, '/test')
67
+ expect(request.options[:params_encoding]).to eq(:multi)
68
+ end
69
+ end
70
+
71
+ describe 'timeout in #build_request' do
72
+ let(:config) { PokeApiClient::Configuration.new }
73
+ let(:api_client) { PokeApiClient::ApiClient.new(config) }
74
+
75
+ it 'defaults to 0' do
76
+ expect(PokeApiClient::Configuration.default.timeout).to eq(0)
77
+ expect(config.timeout).to eq(0)
78
+
79
+ request = api_client.build_request(:get, '/test')
80
+ expect(request.options[:timeout]).to eq(0)
81
+ end
82
+
83
+ it 'can be customized' do
84
+ config.timeout = 100
85
+ request = api_client.build_request(:get, '/test')
86
+ expect(request.options[:timeout]).to eq(100)
87
+ end
88
+ end
89
+
90
+ describe '#deserialize' do
91
+ it "handles Array<Integer>" do
92
+ api_client = PokeApiClient::ApiClient.new
93
+ headers = { 'Content-Type' => 'application/json' }
94
+ response = double('response', headers: headers, body: '[12, 34]')
95
+ data = api_client.deserialize(response, 'Array<Integer>')
96
+ expect(data).to be_instance_of(Array)
97
+ expect(data).to eq([12, 34])
98
+ end
99
+
100
+ it 'handles Array<Array<Integer>>' do
101
+ api_client = PokeApiClient::ApiClient.new
102
+ headers = { 'Content-Type' => 'application/json' }
103
+ response = double('response', headers: headers, body: '[[12, 34], [56]]')
104
+ data = api_client.deserialize(response, 'Array<Array<Integer>>')
105
+ expect(data).to be_instance_of(Array)
106
+ expect(data).to eq([[12, 34], [56]])
107
+ end
108
+
109
+ it 'handles Hash<String, String>' do
110
+ api_client = PokeApiClient::ApiClient.new
111
+ headers = { 'Content-Type' => 'application/json' }
112
+ response = double('response', headers: headers, body: '{"message": "Hello"}')
113
+ data = api_client.deserialize(response, 'Hash<String, String>')
114
+ expect(data).to be_instance_of(Hash)
115
+ expect(data).to eq(:message => 'Hello')
116
+ end
117
+ end
118
+
119
+ describe "#object_to_hash" do
120
+ it 'ignores nils and includes empty arrays' do
121
+ # uncomment below to test object_to_hash for model
122
+ # api_client = PokeApiClient::ApiClient.new
123
+ # _model = PokeApiClient::ModelName.new
124
+ # update the model attribute below
125
+ # _model.id = 1
126
+ # update the expected value (hash) below
127
+ # expected = {id: 1, name: '', tags: []}
128
+ # expect(api_client.object_to_hash(_model)).to eq(expected)
129
+ end
130
+ end
131
+
132
+ describe '#build_collection_param' do
133
+ let(:param) { ['aa', 'bb', 'cc'] }
134
+ let(:api_client) { PokeApiClient::ApiClient.new }
135
+
136
+ it 'works for csv' do
137
+ expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
138
+ end
139
+
140
+ it 'works for ssv' do
141
+ expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
142
+ end
143
+
144
+ it 'works for tsv' do
145
+ expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
146
+ end
147
+
148
+ it 'works for pipes' do
149
+ expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
150
+ end
151
+
152
+ it 'works for multi' do
153
+ expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
154
+ end
155
+
156
+ it 'fails for invalid collection format' do
157
+ expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
158
+ end
159
+ end
160
+
161
+ describe '#json_mime?' do
162
+ let(:api_client) { PokeApiClient::ApiClient.new }
163
+
164
+ it 'works' do
165
+ expect(api_client.json_mime?(nil)).to eq false
166
+ expect(api_client.json_mime?('')).to eq false
167
+
168
+ expect(api_client.json_mime?('application/json')).to eq true
169
+ expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true
170
+ expect(api_client.json_mime?('APPLICATION/JSON')).to eq true
171
+
172
+ expect(api_client.json_mime?('application/xml')).to eq false
173
+ expect(api_client.json_mime?('text/plain')).to eq false
174
+ expect(api_client.json_mime?('application/jsonp')).to eq false
175
+ end
176
+ end
177
+
178
+ describe '#select_header_accept' do
179
+ let(:api_client) { PokeApiClient::ApiClient.new }
180
+
181
+ it 'works' do
182
+ expect(api_client.select_header_accept(nil)).to be_nil
183
+ expect(api_client.select_header_accept([])).to be_nil
184
+
185
+ expect(api_client.select_header_accept(['application/json'])).to eq('application/json')
186
+ expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
187
+ expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
188
+
189
+ expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml')
190
+ expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml')
191
+ end
192
+ end
193
+
194
+ describe '#select_header_content_type' do
195
+ let(:api_client) { PokeApiClient::ApiClient.new }
196
+
197
+ it 'works' do
198
+ expect(api_client.select_header_content_type(nil)).to be_nil
199
+ expect(api_client.select_header_content_type([])).to be_nil
200
+
201
+ expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
202
+ expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
203
+ expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
204
+ expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml')
205
+ expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain')
206
+ end
207
+ end
208
+
209
+ describe '#sanitize_filename' do
210
+ let(:api_client) { PokeApiClient::ApiClient.new }
211
+
212
+ it 'works' do
213
+ expect(api_client.sanitize_filename('sun')).to eq('sun')
214
+ expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
215
+ expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
216
+ expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif')
217
+ expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif')
218
+ expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif')
219
+ expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif')
220
+ expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif')
221
+ expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif')
222
+ end
223
+ end
224
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+
4
+ The version of the OpenAPI document: 1.0.0
5
+
6
+ Generated by: https://openapi-generator.tech
7
+ OpenAPI Generator version: 5.4.0
8
+
9
+ =end
10
+
11
+ require 'spec_helper'
12
+
13
+ describe PokeApiClient::Configuration do
14
+ let(:config) { PokeApiClient::Configuration.default }
15
+
16
+ before(:each) do
17
+ # uncomment below to setup host and base_path
18
+ # require 'URI'
19
+ # uri = URI.parse("https://pokeapi.co")
20
+ # PokeApiClient.configure do |c|
21
+ # c.host = uri.host
22
+ # c.base_path = uri.path
23
+ # end
24
+ end
25
+
26
+ describe '#base_url' do
27
+ it 'should have the default value' do
28
+ # uncomment below to test default value of the base path
29
+ # expect(config.base_url).to eq("https://pokeapi.co")
30
+ end
31
+
32
+ it 'should remove trailing slashes' do
33
+ [nil, '', '/', '//'].each do |base_path|
34
+ config.base_path = base_path
35
+ # uncomment below to test trailing slashes
36
+ # expect(config.base_url).to eq("https://pokeapi.co")
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,109 @@
1
+ =begin
2
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+
4
+ The version of the OpenAPI document: 1.0.0
5
+
6
+ Generated by: https://openapi-generator.tech
7
+ OpenAPI Generator version: 5.4.0
8
+
9
+ =end
10
+
11
+ # load the gem
12
+ require 'pokeapi_client'
13
+
14
+ # The following was generated by the `rspec --init` command. Conventionally, all
15
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
16
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
17
+ # this file to always be loaded, without a need to explicitly require it in any
18
+ # files.
19
+ #
20
+ # Given that it is always loaded, you are encouraged to keep this file as
21
+ # light-weight as possible. Requiring heavyweight dependencies from this file
22
+ # will add to the boot time of your test suite on EVERY test run, even for an
23
+ # individual file that may not need all of that loaded. Instead, consider making
24
+ # a separate helper file that requires the additional dependencies and performs
25
+ # the additional setup, and require it from the spec files that actually need
26
+ # it.
27
+ #
28
+ # The `.rspec` file also contains a few flags that are not defaults but that
29
+ # users commonly want.
30
+ #
31
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
32
+ RSpec.configure do |config|
33
+ # rspec-expectations config goes here. You can use an alternate
34
+ # assertion/expectation library such as wrong or the stdlib/minitest
35
+ # assertions if you prefer.
36
+ config.expect_with :rspec do |expectations|
37
+ # This option will default to `true` in RSpec 4. It makes the `description`
38
+ # and `failure_message` of custom matchers include text for helper methods
39
+ # defined using `chain`, e.g.:
40
+ # be_bigger_than(2).and_smaller_than(4).description
41
+ # # => "be bigger than 2 and smaller than 4"
42
+ # ...rather than:
43
+ # # => "be bigger than 2"
44
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
45
+ end
46
+
47
+ # rspec-mocks config goes here. You can use an alternate test double
48
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
49
+ config.mock_with :rspec do |mocks|
50
+ # Prevents you from mocking or stubbing a method that does not exist on
51
+ # a real object. This is generally recommended, and will default to
52
+ # `true` in RSpec 4.
53
+ mocks.verify_partial_doubles = true
54
+ end
55
+
56
+ # The settings below are suggested to provide a good initial experience
57
+ # with RSpec, but feel free to customize to your heart's content.
58
+ =begin
59
+ # These two settings work together to allow you to limit a spec run
60
+ # to individual examples or groups you care about by tagging them with
61
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
62
+ # get run.
63
+ config.filter_run :focus
64
+ config.run_all_when_everything_filtered = true
65
+
66
+ # Allows RSpec to persist some state between runs in order to support
67
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
68
+ # you configure your source control system to ignore this file.
69
+ config.example_status_persistence_file_path = "spec/examples.txt"
70
+
71
+ # Limits the available syntax to the non-monkey patched syntax that is
72
+ # recommended. For more details, see:
73
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
74
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
75
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
76
+ config.disable_monkey_patching!
77
+
78
+ # This setting enables warnings. It's recommended, but in some cases may
79
+ # be too noisy due to issues in dependencies.
80
+ config.warnings = true
81
+
82
+ # Many RSpec users commonly either run the entire suite or an individual
83
+ # file, and it's useful to allow more verbose output when running an
84
+ # individual spec file.
85
+ if config.files_to_run.one?
86
+ # Use the documentation formatter for detailed output,
87
+ # unless a formatter has already been configured
88
+ # (e.g. via a command-line flag).
89
+ config.default_formatter = 'doc'
90
+ end
91
+
92
+ # Print the 10 slowest examples and example groups at the
93
+ # end of the spec run, to help surface which specs are running
94
+ # particularly slow.
95
+ config.profile_examples = 10
96
+
97
+ # Run specs in random order to surface order dependencies. If you find an
98
+ # order dependency and want to debug it, you can fix the order by providing
99
+ # the seed, which is printed after each run.
100
+ # --seed 1234
101
+ config.order = :random
102
+
103
+ # Seed global randomization in this process using the `--seed` CLI option.
104
+ # Setting this allows you to use `--seed` to deterministically reproduce
105
+ # test failures related to randomization by passing the same `--seed` value
106
+ # as the one that triggered the failure.
107
+ Kernel.srand config.seed
108
+ =end
109
+ end
metadata ADDED
@@ -0,0 +1,250 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pokeapi_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
5
+ platform: ruby
6
+ authors:
7
+ - Cliffano Subagio
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: rspec
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.6'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.6.0
43
+ type: :development
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '3.6'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 3.6.0
53
+ description: No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
54
+ email:
55
+ - blah@cliffano.com
56
+ executables: []
57
+ extensions: []
58
+ extra_rdoc_files: []
59
+ files:
60
+ - Gemfile
61
+ - Gemfile.lock
62
+ - README.md
63
+ - Rakefile
64
+ - bin/bundle
65
+ - bin/byebug
66
+ - bin/coderay
67
+ - bin/htmldiff
68
+ - bin/ldiff
69
+ - bin/pry
70
+ - bin/rake
71
+ - bin/rspec
72
+ - bin/rubocop
73
+ - bin/ruby-parse
74
+ - bin/ruby-rewrite
75
+ - docs/AbilityApi.md
76
+ - docs/BerryApi.md
77
+ - docs/BerryFirmnessApi.md
78
+ - docs/BerryFlavorApi.md
79
+ - docs/CharacteristicApi.md
80
+ - docs/ContestEffectApi.md
81
+ - docs/ContestTypeApi.md
82
+ - docs/EggGroupApi.md
83
+ - docs/EncounterConditionApi.md
84
+ - docs/EncounterConditionValueApi.md
85
+ - docs/EncounterMethodApi.md
86
+ - docs/EvolutionChainApi.md
87
+ - docs/EvolutionTriggerApi.md
88
+ - docs/GenderApi.md
89
+ - docs/GenerationApi.md
90
+ - docs/GrowthRateApi.md
91
+ - docs/ItemApi.md
92
+ - docs/ItemAttributeApi.md
93
+ - docs/ItemCategoryApi.md
94
+ - docs/ItemFlingEffectApi.md
95
+ - docs/ItemPocketApi.md
96
+ - docs/LanguageApi.md
97
+ - docs/LocationApi.md
98
+ - docs/LocationAreaApi.md
99
+ - docs/MachineApi.md
100
+ - docs/MoveAilmentApi.md
101
+ - docs/MoveApi.md
102
+ - docs/MoveBattleStyleApi.md
103
+ - docs/MoveCategoryApi.md
104
+ - docs/MoveDamageClassApi.md
105
+ - docs/MoveLearnMethodApi.md
106
+ - docs/MoveTargetApi.md
107
+ - docs/NatureApi.md
108
+ - docs/PalParkAreaApi.md
109
+ - docs/PokeathlonStatApi.md
110
+ - docs/PokedexApi.md
111
+ - docs/PokemonApi.md
112
+ - docs/PokemonColorApi.md
113
+ - docs/PokemonFormApi.md
114
+ - docs/PokemonHabitatApi.md
115
+ - docs/PokemonShapeApi.md
116
+ - docs/PokemonSpeciesApi.md
117
+ - docs/RegionApi.md
118
+ - docs/StatApi.md
119
+ - docs/SuperContestEffectApi.md
120
+ - docs/TypeApi.md
121
+ - docs/VersionApi.md
122
+ - docs/VersionGroupApi.md
123
+ - git_push.sh
124
+ - pokeapi_client.gemspec
125
+ - spec/api/ability_api_spec.rb
126
+ - spec/api/berry_api_spec.rb
127
+ - spec/api/berry_firmness_api_spec.rb
128
+ - spec/api/berry_flavor_api_spec.rb
129
+ - spec/api/characteristic_api_spec.rb
130
+ - spec/api/contest_effect_api_spec.rb
131
+ - spec/api/contest_type_api_spec.rb
132
+ - spec/api/egg_group_api_spec.rb
133
+ - spec/api/encounter_condition_api_spec.rb
134
+ - spec/api/encounter_condition_value_api_spec.rb
135
+ - spec/api/encounter_method_api_spec.rb
136
+ - spec/api/evolution_chain_api_spec.rb
137
+ - spec/api/evolution_trigger_api_spec.rb
138
+ - spec/api/gender_api_spec.rb
139
+ - spec/api/generation_api_spec.rb
140
+ - spec/api/growth_rate_api_spec.rb
141
+ - spec/api/item_api_spec.rb
142
+ - spec/api/item_attribute_api_spec.rb
143
+ - spec/api/item_category_api_spec.rb
144
+ - spec/api/item_fling_effect_api_spec.rb
145
+ - spec/api/item_pocket_api_spec.rb
146
+ - spec/api/language_api_spec.rb
147
+ - spec/api/location_api_spec.rb
148
+ - spec/api/location_area_api_spec.rb
149
+ - spec/api/machine_api_spec.rb
150
+ - spec/api/move_ailment_api_spec.rb
151
+ - spec/api/move_api_spec.rb
152
+ - spec/api/move_battle_style_api_spec.rb
153
+ - spec/api/move_category_api_spec.rb
154
+ - spec/api/move_damage_class_api_spec.rb
155
+ - spec/api/move_learn_method_api_spec.rb
156
+ - spec/api/move_target_api_spec.rb
157
+ - spec/api/nature_api_spec.rb
158
+ - spec/api/pal_park_area_api_spec.rb
159
+ - spec/api/pokeathlon_stat_api_spec.rb
160
+ - spec/api/pokedex_api_spec.rb
161
+ - spec/api/pokemon_api_spec.rb
162
+ - spec/api/pokemon_color_api_spec.rb
163
+ - spec/api/pokemon_form_api_spec.rb
164
+ - spec/api/pokemon_habitat_api_spec.rb
165
+ - spec/api/pokemon_shape_api_spec.rb
166
+ - spec/api/pokemon_species_api_spec.rb
167
+ - spec/api/region_api_spec.rb
168
+ - spec/api/stat_api_spec.rb
169
+ - spec/api/super_contest_effect_api_spec.rb
170
+ - spec/api/type_api_spec.rb
171
+ - spec/api/version_api_spec.rb
172
+ - spec/api/version_group_api_spec.rb
173
+ - spec/api_client_spec.rb
174
+ - spec/configuration_spec.rb
175
+ - spec/spec_helper.rb
176
+ homepage: https://github.com/cliffano/pokeapi-clients
177
+ licenses:
178
+ - MIT
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '2.0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubygems_version: 3.1.2
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: Ruby Gem
199
+ test_files:
200
+ - spec/api/ability_api_spec.rb
201
+ - spec/api/berry_api_spec.rb
202
+ - spec/api/berry_firmness_api_spec.rb
203
+ - spec/api/berry_flavor_api_spec.rb
204
+ - spec/api/characteristic_api_spec.rb
205
+ - spec/api/contest_effect_api_spec.rb
206
+ - spec/api/contest_type_api_spec.rb
207
+ - spec/api/egg_group_api_spec.rb
208
+ - spec/api/encounter_condition_api_spec.rb
209
+ - spec/api/encounter_condition_value_api_spec.rb
210
+ - spec/api/encounter_method_api_spec.rb
211
+ - spec/api/evolution_chain_api_spec.rb
212
+ - spec/api/evolution_trigger_api_spec.rb
213
+ - spec/api/gender_api_spec.rb
214
+ - spec/api/generation_api_spec.rb
215
+ - spec/api/growth_rate_api_spec.rb
216
+ - spec/api/item_api_spec.rb
217
+ - spec/api/item_attribute_api_spec.rb
218
+ - spec/api/item_category_api_spec.rb
219
+ - spec/api/item_fling_effect_api_spec.rb
220
+ - spec/api/item_pocket_api_spec.rb
221
+ - spec/api/language_api_spec.rb
222
+ - spec/api/location_api_spec.rb
223
+ - spec/api/location_area_api_spec.rb
224
+ - spec/api/machine_api_spec.rb
225
+ - spec/api/move_ailment_api_spec.rb
226
+ - spec/api/move_api_spec.rb
227
+ - spec/api/move_battle_style_api_spec.rb
228
+ - spec/api/move_category_api_spec.rb
229
+ - spec/api/move_damage_class_api_spec.rb
230
+ - spec/api/move_learn_method_api_spec.rb
231
+ - spec/api/move_target_api_spec.rb
232
+ - spec/api/nature_api_spec.rb
233
+ - spec/api/pal_park_area_api_spec.rb
234
+ - spec/api/pokeathlon_stat_api_spec.rb
235
+ - spec/api/pokedex_api_spec.rb
236
+ - spec/api/pokemon_api_spec.rb
237
+ - spec/api/pokemon_color_api_spec.rb
238
+ - spec/api/pokemon_form_api_spec.rb
239
+ - spec/api/pokemon_habitat_api_spec.rb
240
+ - spec/api/pokemon_shape_api_spec.rb
241
+ - spec/api/pokemon_species_api_spec.rb
242
+ - spec/api/region_api_spec.rb
243
+ - spec/api/stat_api_spec.rb
244
+ - spec/api/super_contest_effect_api_spec.rb
245
+ - spec/api/type_api_spec.rb
246
+ - spec/api/version_api_spec.rb
247
+ - spec/api/version_group_api_spec.rb
248
+ - spec/api_client_spec.rb
249
+ - spec/configuration_spec.rb
250
+ - spec/spec_helper.rb