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,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::PokemonHabitatApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'PokemonHabitatApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::PokemonHabitatApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of PokemonHabitatApi' do
28
+ it 'should create an instance of PokemonHabitatApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::PokemonHabitatApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for pokemon_habitat_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'pokemon_habitat_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for pokemon_habitat_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'pokemon_habitat_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::PokemonShapeApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'PokemonShapeApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::PokemonShapeApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of PokemonShapeApi' do
28
+ it 'should create an instance of PokemonShapeApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::PokemonShapeApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for pokemon_shape_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'pokemon_shape_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for pokemon_shape_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'pokemon_shape_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::PokemonSpeciesApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'PokemonSpeciesApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::PokemonSpeciesApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of PokemonSpeciesApi' do
28
+ it 'should create an instance of PokemonSpeciesApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::PokemonSpeciesApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for pokemon_species_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'pokemon_species_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for pokemon_species_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'pokemon_species_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::RegionApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'RegionApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::RegionApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of RegionApi' do
28
+ it 'should create an instance of RegionApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::RegionApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for region_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'region_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for region_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'region_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::StatApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'StatApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::StatApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of StatApi' do
28
+ it 'should create an instance of StatApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::StatApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for stat_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'stat_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for stat_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'stat_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::SuperContestEffectApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'SuperContestEffectApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::SuperContestEffectApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of SuperContestEffectApi' do
28
+ it 'should create an instance of SuperContestEffectApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::SuperContestEffectApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for super_contest_effect_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'super_contest_effect_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for super_contest_effect_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'super_contest_effect_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::TypeApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'TypeApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::TypeApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of TypeApi' do
28
+ it 'should create an instance of TypeApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::TypeApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for type_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'type_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for type_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'type_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::VersionApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'VersionApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::VersionApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of VersionApi' do
28
+ it 'should create an instance of VersionApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::VersionApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for version_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'version_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for version_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'version_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'json'
13
+
14
+ # Unit tests for OpenapiClient::VersionGroupApi
15
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
16
+ # Please update as you see appropriate
17
+ describe 'VersionGroupApi' do
18
+ before do
19
+ # run before each test
20
+ @api_instance = OpenapiClient::VersionGroupApi.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of VersionGroupApi' do
28
+ it 'should create an instance of VersionGroupApi' do
29
+ expect(@api_instance).to be_instance_of(OpenapiClient::VersionGroupApi)
30
+ end
31
+ end
32
+
33
+ # unit tests for version_group_list
34
+ # @param [Hash] opts the optional parameters
35
+ # @option opts [Integer] :limit
36
+ # @option opts [Integer] :offset
37
+ # @return [String]
38
+ describe 'version_group_list test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for version_group_read
45
+ # @param id
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [String]
48
+ describe 'version_group_read test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end