pokeapi_client 0.9.0 → 0.9.1
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/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/lib/pokeapi_client/api/ability_api.rb +138 -0
- data/lib/pokeapi_client/api/berry_api.rb +138 -0
- data/lib/pokeapi_client/api/berry_firmness_api.rb +138 -0
- data/lib/pokeapi_client/api/berry_flavor_api.rb +138 -0
- data/lib/pokeapi_client/api/characteristic_api.rb +138 -0
- data/lib/pokeapi_client/api/contest_effect_api.rb +138 -0
- data/lib/pokeapi_client/api/contest_type_api.rb +138 -0
- data/lib/pokeapi_client/api/egg_group_api.rb +138 -0
- data/lib/pokeapi_client/api/encounter_condition_api.rb +138 -0
- data/lib/pokeapi_client/api/encounter_condition_value_api.rb +138 -0
- data/lib/pokeapi_client/api/encounter_method_api.rb +138 -0
- data/lib/pokeapi_client/api/evolution_chain_api.rb +138 -0
- data/lib/pokeapi_client/api/evolution_trigger_api.rb +138 -0
- data/lib/pokeapi_client/api/gender_api.rb +138 -0
- data/lib/pokeapi_client/api/generation_api.rb +138 -0
- data/lib/pokeapi_client/api/growth_rate_api.rb +138 -0
- data/lib/pokeapi_client/api/item_api.rb +138 -0
- data/lib/pokeapi_client/api/item_attribute_api.rb +138 -0
- data/lib/pokeapi_client/api/item_category_api.rb +138 -0
- data/lib/pokeapi_client/api/item_fling_effect_api.rb +138 -0
- data/lib/pokeapi_client/api/item_pocket_api.rb +138 -0
- data/lib/pokeapi_client/api/language_api.rb +138 -0
- data/lib/pokeapi_client/api/location_api.rb +138 -0
- data/lib/pokeapi_client/api/location_area_api.rb +138 -0
- data/lib/pokeapi_client/api/machine_api.rb +138 -0
- data/lib/pokeapi_client/api/move_ailment_api.rb +138 -0
- data/lib/pokeapi_client/api/move_api.rb +138 -0
- data/lib/pokeapi_client/api/move_battle_style_api.rb +138 -0
- data/lib/pokeapi_client/api/move_category_api.rb +138 -0
- data/lib/pokeapi_client/api/move_damage_class_api.rb +138 -0
- data/lib/pokeapi_client/api/move_learn_method_api.rb +138 -0
- data/lib/pokeapi_client/api/move_target_api.rb +138 -0
- data/lib/pokeapi_client/api/nature_api.rb +138 -0
- data/lib/pokeapi_client/api/pal_park_area_api.rb +138 -0
- data/lib/pokeapi_client/api/pokeathlon_stat_api.rb +138 -0
- data/lib/pokeapi_client/api/pokedex_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_color_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_form_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_habitat_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_shape_api.rb +138 -0
- data/lib/pokeapi_client/api/pokemon_species_api.rb +138 -0
- data/lib/pokeapi_client/api/region_api.rb +138 -0
- data/lib/pokeapi_client/api/stat_api.rb +138 -0
- data/lib/pokeapi_client/api/super_contest_effect_api.rb +138 -0
- data/lib/pokeapi_client/api/type_api.rb +138 -0
- data/lib/pokeapi_client/api/version_api.rb +138 -0
- data/lib/pokeapi_client/api/version_group_api.rb +138 -0
- data/lib/pokeapi_client/api_client.rb +387 -0
- data/lib/pokeapi_client/api_error.rb +55 -0
- data/lib/pokeapi_client/configuration.rb +269 -0
- data/lib/pokeapi_client/version.rb +13 -0
- data/lib/pokeapi_client.rb +85 -0
- data/pokeapi_client.gemspec +3 -3
- data/spec/api/ability_api_spec.rb +4 -4
- data/spec/api/berry_api_spec.rb +4 -4
- data/spec/api/berry_firmness_api_spec.rb +4 -4
- data/spec/api/berry_flavor_api_spec.rb +4 -4
- data/spec/api/characteristic_api_spec.rb +4 -4
- data/spec/api/contest_effect_api_spec.rb +4 -4
- data/spec/api/contest_type_api_spec.rb +4 -4
- data/spec/api/egg_group_api_spec.rb +4 -4
- data/spec/api/encounter_condition_api_spec.rb +4 -4
- data/spec/api/encounter_condition_value_api_spec.rb +4 -4
- data/spec/api/encounter_method_api_spec.rb +4 -4
- data/spec/api/evolution_chain_api_spec.rb +4 -4
- data/spec/api/evolution_trigger_api_spec.rb +4 -4
- data/spec/api/gender_api_spec.rb +4 -4
- data/spec/api/generation_api_spec.rb +4 -4
- data/spec/api/growth_rate_api_spec.rb +4 -4
- data/spec/api/item_api_spec.rb +4 -4
- data/spec/api/item_attribute_api_spec.rb +4 -4
- data/spec/api/item_category_api_spec.rb +4 -4
- data/spec/api/item_fling_effect_api_spec.rb +4 -4
- data/spec/api/item_pocket_api_spec.rb +4 -4
- data/spec/api/language_api_spec.rb +4 -4
- data/spec/api/location_api_spec.rb +4 -4
- data/spec/api/location_area_api_spec.rb +4 -4
- data/spec/api/machine_api_spec.rb +4 -4
- data/spec/api/move_ailment_api_spec.rb +4 -4
- data/spec/api/move_api_spec.rb +4 -4
- data/spec/api/move_battle_style_api_spec.rb +4 -4
- data/spec/api/move_category_api_spec.rb +4 -4
- data/spec/api/move_damage_class_api_spec.rb +4 -4
- data/spec/api/move_learn_method_api_spec.rb +4 -4
- data/spec/api/move_target_api_spec.rb +4 -4
- data/spec/api/nature_api_spec.rb +4 -4
- data/spec/api/pal_park_area_api_spec.rb +4 -4
- data/spec/api/pokeathlon_stat_api_spec.rb +4 -4
- data/spec/api/pokedex_api_spec.rb +4 -4
- data/spec/api/pokemon_api_spec.rb +4 -4
- data/spec/api/pokemon_color_api_spec.rb +4 -4
- data/spec/api/pokemon_form_api_spec.rb +4 -4
- data/spec/api/pokemon_habitat_api_spec.rb +4 -4
- data/spec/api/pokemon_shape_api_spec.rb +4 -4
- data/spec/api/pokemon_species_api_spec.rb +4 -4
- data/spec/api/region_api_spec.rb +4 -4
- data/spec/api/stat_api_spec.rb +4 -4
- data/spec/api/super_contest_effect_api_spec.rb +4 -4
- data/spec/api/type_api_spec.rb +4 -4
- data/spec/api/version_api_spec.rb +4 -4
- data/spec/api/version_group_api_spec.rb +4 -4
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +92 -39
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokedexApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokedexApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokedexApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokedexApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokedexApi' do
|
28
28
|
it 'should create an instance of PokedexApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokedexApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokemonApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokemonApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokemonApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokemonApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokemonApi' do
|
28
28
|
it 'should create an instance of PokemonApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokemonApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokemonColorApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokemonColorApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokemonColorApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokemonColorApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokemonColorApi' do
|
28
28
|
it 'should create an instance of PokemonColorApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokemonColorApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokemonFormApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokemonFormApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokemonFormApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokemonFormApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokemonFormApi' do
|
28
28
|
it 'should create an instance of PokemonFormApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokemonFormApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokemonHabitatApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokemonHabitatApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokemonHabitatApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokemonHabitatApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokemonHabitatApi' do
|
28
28
|
it 'should create an instance of PokemonHabitatApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokemonHabitatApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokemonShapeApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokemonShapeApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokemonShapeApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokemonShapeApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokemonShapeApi' do
|
28
28
|
it 'should create an instance of PokemonShapeApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokemonShapeApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::PokemonSpeciesApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'PokemonSpeciesApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::PokemonSpeciesApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'PokemonSpeciesApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of PokemonSpeciesApi' do
|
28
28
|
it 'should create an instance of PokemonSpeciesApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::PokemonSpeciesApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
data/spec/api/region_api_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::RegionApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'RegionApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::RegionApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'RegionApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of RegionApi' do
|
28
28
|
it 'should create an instance of RegionApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::RegionApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
data/spec/api/stat_api_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::StatApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'StatApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::StatApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'StatApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of StatApi' do
|
28
28
|
it 'should create an instance of StatApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::StatApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::SuperContestEffectApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'SuperContestEffectApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::SuperContestEffectApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'SuperContestEffectApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of SuperContestEffectApi' do
|
28
28
|
it 'should create an instance of SuperContestEffectApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::SuperContestEffectApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
data/spec/api/type_api_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::TypeApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'TypeApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::TypeApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'TypeApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of TypeApi' do
|
28
28
|
it 'should create an instance of TypeApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::TypeApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::VersionApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'VersionApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::VersionApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'VersionApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of VersionApi' do
|
28
28
|
it 'should create an instance of VersionApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::VersionApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
@@ -11,13 +11,13 @@ OpenAPI Generator version: 5.4.0
|
|
11
11
|
require 'spec_helper'
|
12
12
|
require 'json'
|
13
13
|
|
14
|
-
# Unit tests for
|
14
|
+
# Unit tests for PokeApiClient::VersionGroupApi
|
15
15
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
16
16
|
# Please update as you see appropriate
|
17
17
|
describe 'VersionGroupApi' do
|
18
18
|
before do
|
19
19
|
# run before each test
|
20
|
-
@api_instance =
|
20
|
+
@api_instance = PokeApiClient::VersionGroupApi.new
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -26,7 +26,7 @@ describe 'VersionGroupApi' do
|
|
26
26
|
|
27
27
|
describe 'test an instance of VersionGroupApi' do
|
28
28
|
it 'should create an instance of VersionGroupApi' do
|
29
|
-
expect(@api_instance).to be_instance_of(
|
29
|
+
expect(@api_instance).to be_instance_of(PokeApiClient::VersionGroupApi)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
data/spec/configuration_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
data/spec/spec_helper.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 20220523
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 5.4.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pokeapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cliffano Subagio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -121,6 +121,59 @@ files:
|
|
121
121
|
- docs/VersionApi.md
|
122
122
|
- docs/VersionGroupApi.md
|
123
123
|
- git_push.sh
|
124
|
+
- lib/pokeapi_client.rb
|
125
|
+
- lib/pokeapi_client/api/ability_api.rb
|
126
|
+
- lib/pokeapi_client/api/berry_api.rb
|
127
|
+
- lib/pokeapi_client/api/berry_firmness_api.rb
|
128
|
+
- lib/pokeapi_client/api/berry_flavor_api.rb
|
129
|
+
- lib/pokeapi_client/api/characteristic_api.rb
|
130
|
+
- lib/pokeapi_client/api/contest_effect_api.rb
|
131
|
+
- lib/pokeapi_client/api/contest_type_api.rb
|
132
|
+
- lib/pokeapi_client/api/egg_group_api.rb
|
133
|
+
- lib/pokeapi_client/api/encounter_condition_api.rb
|
134
|
+
- lib/pokeapi_client/api/encounter_condition_value_api.rb
|
135
|
+
- lib/pokeapi_client/api/encounter_method_api.rb
|
136
|
+
- lib/pokeapi_client/api/evolution_chain_api.rb
|
137
|
+
- lib/pokeapi_client/api/evolution_trigger_api.rb
|
138
|
+
- lib/pokeapi_client/api/gender_api.rb
|
139
|
+
- lib/pokeapi_client/api/generation_api.rb
|
140
|
+
- lib/pokeapi_client/api/growth_rate_api.rb
|
141
|
+
- lib/pokeapi_client/api/item_api.rb
|
142
|
+
- lib/pokeapi_client/api/item_attribute_api.rb
|
143
|
+
- lib/pokeapi_client/api/item_category_api.rb
|
144
|
+
- lib/pokeapi_client/api/item_fling_effect_api.rb
|
145
|
+
- lib/pokeapi_client/api/item_pocket_api.rb
|
146
|
+
- lib/pokeapi_client/api/language_api.rb
|
147
|
+
- lib/pokeapi_client/api/location_api.rb
|
148
|
+
- lib/pokeapi_client/api/location_area_api.rb
|
149
|
+
- lib/pokeapi_client/api/machine_api.rb
|
150
|
+
- lib/pokeapi_client/api/move_ailment_api.rb
|
151
|
+
- lib/pokeapi_client/api/move_api.rb
|
152
|
+
- lib/pokeapi_client/api/move_battle_style_api.rb
|
153
|
+
- lib/pokeapi_client/api/move_category_api.rb
|
154
|
+
- lib/pokeapi_client/api/move_damage_class_api.rb
|
155
|
+
- lib/pokeapi_client/api/move_learn_method_api.rb
|
156
|
+
- lib/pokeapi_client/api/move_target_api.rb
|
157
|
+
- lib/pokeapi_client/api/nature_api.rb
|
158
|
+
- lib/pokeapi_client/api/pal_park_area_api.rb
|
159
|
+
- lib/pokeapi_client/api/pokeathlon_stat_api.rb
|
160
|
+
- lib/pokeapi_client/api/pokedex_api.rb
|
161
|
+
- lib/pokeapi_client/api/pokemon_api.rb
|
162
|
+
- lib/pokeapi_client/api/pokemon_color_api.rb
|
163
|
+
- lib/pokeapi_client/api/pokemon_form_api.rb
|
164
|
+
- lib/pokeapi_client/api/pokemon_habitat_api.rb
|
165
|
+
- lib/pokeapi_client/api/pokemon_shape_api.rb
|
166
|
+
- lib/pokeapi_client/api/pokemon_species_api.rb
|
167
|
+
- lib/pokeapi_client/api/region_api.rb
|
168
|
+
- lib/pokeapi_client/api/stat_api.rb
|
169
|
+
- lib/pokeapi_client/api/super_contest_effect_api.rb
|
170
|
+
- lib/pokeapi_client/api/type_api.rb
|
171
|
+
- lib/pokeapi_client/api/version_api.rb
|
172
|
+
- lib/pokeapi_client/api/version_group_api.rb
|
173
|
+
- lib/pokeapi_client/api_client.rb
|
174
|
+
- lib/pokeapi_client/api_error.rb
|
175
|
+
- lib/pokeapi_client/configuration.rb
|
176
|
+
- lib/pokeapi_client/version.rb
|
124
177
|
- pokeapi_client.gemspec
|
125
178
|
- spec/api/ability_api_spec.rb
|
126
179
|
- spec/api/berry_api_spec.rb
|
@@ -197,54 +250,54 @@ signing_key:
|
|
197
250
|
specification_version: 4
|
198
251
|
summary: Ruby Gem
|
199
252
|
test_files:
|
200
|
-
- spec/api/
|
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
|
253
|
+
- spec/api/evolution_chain_api_spec.rb
|
208
254
|
- spec/api/encounter_condition_api_spec.rb
|
255
|
+
- spec/api/contest_effect_api_spec.rb
|
209
256
|
- spec/api/encounter_condition_value_api_spec.rb
|
210
|
-
- spec/api/
|
211
|
-
- spec/api/
|
212
|
-
- spec/api/
|
257
|
+
- spec/api/type_api_spec.rb
|
258
|
+
- spec/api/super_contest_effect_api_spec.rb
|
259
|
+
- spec/api/pokeathlon_stat_api_spec.rb
|
213
260
|
- spec/api/gender_api_spec.rb
|
214
|
-
- spec/api/
|
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
|
261
|
+
- spec/api/nature_api_spec.rb
|
223
262
|
- spec/api/location_area_api_spec.rb
|
224
|
-
- spec/api/
|
225
|
-
- spec/api/
|
226
|
-
- spec/api/
|
227
|
-
- spec/api/
|
263
|
+
- spec/api/item_attribute_api_spec.rb
|
264
|
+
- spec/api/contest_type_api_spec.rb
|
265
|
+
- spec/api/evolution_trigger_api_spec.rb
|
266
|
+
- spec/api/pokemon_species_api_spec.rb
|
267
|
+
- spec/api/characteristic_api_spec.rb
|
228
268
|
- spec/api/move_category_api_spec.rb
|
269
|
+
- spec/api/region_api_spec.rb
|
270
|
+
- spec/api/pokedex_api_spec.rb
|
271
|
+
- spec/api/encounter_method_api_spec.rb
|
229
272
|
- spec/api/move_damage_class_api_spec.rb
|
230
|
-
- spec/api/
|
273
|
+
- spec/api/move_ailment_api_spec.rb
|
231
274
|
- 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
275
|
- spec/api/pokemon_habitat_api_spec.rb
|
276
|
+
- spec/api/move_learn_method_api_spec.rb
|
277
|
+
- spec/api/item_category_api_spec.rb
|
278
|
+
- spec/api/ability_api_spec.rb
|
279
|
+
- spec/api/pokemon_color_api_spec.rb
|
280
|
+
- spec/api/item_fling_effect_api_spec.rb
|
281
|
+
- spec/api/berry_api_spec.rb
|
240
282
|
- 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
283
|
- spec/api/version_api_spec.rb
|
247
284
|
- spec/api/version_group_api_spec.rb
|
285
|
+
- spec/api/item_pocket_api_spec.rb
|
286
|
+
- spec/api/egg_group_api_spec.rb
|
287
|
+
- spec/api/generation_api_spec.rb
|
288
|
+
- spec/api/pokemon_api_spec.rb
|
289
|
+
- spec/api/move_api_spec.rb
|
290
|
+
- spec/api/pal_park_area_api_spec.rb
|
291
|
+
- spec/api/language_api_spec.rb
|
292
|
+
- spec/api/berry_firmness_api_spec.rb
|
293
|
+
- spec/api/pokemon_form_api_spec.rb
|
294
|
+
- spec/api/stat_api_spec.rb
|
295
|
+
- spec/api/berry_flavor_api_spec.rb
|
296
|
+
- spec/api/machine_api_spec.rb
|
297
|
+
- spec/api/move_battle_style_api_spec.rb
|
298
|
+
- spec/api/location_api_spec.rb
|
299
|
+
- spec/api/growth_rate_api_spec.rb
|
300
|
+
- spec/api/item_api_spec.rb
|
248
301
|
- spec/api_client_spec.rb
|
249
302
|
- spec/configuration_spec.rb
|
250
303
|
- spec/spec_helper.rb
|