pokemon_tcg_sdk 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +3 -0
  3. data/.gitignore +23 -24
  4. data/.travis.yml +15 -15
  5. data/CODE_OF_CONDUCT.md +48 -48
  6. data/Gemfile +4 -4
  7. data/LICENSE.txt +21 -21
  8. data/README.md +186 -159
  9. data/Rakefile +20 -10
  10. data/lib/pokemon_tcg_sdk.rb +38 -31
  11. data/lib/pokemon_tcg_sdk/ability.rb +14 -10
  12. data/lib/pokemon_tcg_sdk/ancient_trait.rb +13 -10
  13. data/lib/pokemon_tcg_sdk/attack.rb +16 -10
  14. data/lib/pokemon_tcg_sdk/card.rb +66 -42
  15. data/lib/pokemon_tcg_sdk/card_images.rb +13 -0
  16. data/lib/pokemon_tcg_sdk/configuration.rb +8 -8
  17. data/lib/pokemon_tcg_sdk/legalities.rb +14 -0
  18. data/lib/pokemon_tcg_sdk/query_builder.rb +63 -67
  19. data/lib/pokemon_tcg_sdk/rarity.rb +12 -0
  20. data/lib/pokemon_tcg_sdk/resistance.rb +14 -0
  21. data/lib/pokemon_tcg_sdk/rest_client.rb +43 -31
  22. data/lib/pokemon_tcg_sdk/set.rb +50 -40
  23. data/lib/pokemon_tcg_sdk/set_images.rb +13 -0
  24. data/lib/pokemon_tcg_sdk/subtype.rb +11 -11
  25. data/lib/pokemon_tcg_sdk/supertype.rb +11 -11
  26. data/lib/pokemon_tcg_sdk/tcgplayer.rb +44 -0
  27. data/lib/pokemon_tcg_sdk/type.rb +11 -11
  28. data/lib/pokemon_tcg_sdk/version.rb +3 -3
  29. data/lib/pokemon_tcg_sdk/weakness.rb +13 -0
  30. data/pokemon_tcg_sdk.gemspec +32 -33
  31. metadata +33 -47
  32. data/lib/pokemon_tcg_sdk/representers/ability_representer.rb +0 -11
  33. data/lib/pokemon_tcg_sdk/representers/ancient_trait_representer.rb +0 -10
  34. data/lib/pokemon_tcg_sdk/representers/attack_representer.rb +0 -13
  35. data/lib/pokemon_tcg_sdk/representers/card_representer.rb +0 -41
  36. data/lib/pokemon_tcg_sdk/representers/set_representer.rb +0 -19
  37. data/lib/pokemon_tcg_sdk/representers/type_value_representer.rb +0 -10
  38. data/lib/pokemon_tcg_sdk/type_value.rb +0 -10
@@ -0,0 +1,12 @@
1
+ module Pokemon
2
+ class Rarity
3
+ include RestClient
4
+
5
+ # Get all types
6
+ #
7
+ # @return [Array<String>] All types
8
+ def self.all
9
+ RestClient.get('rarities')['data']
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,14 @@
1
+ module Pokemon
2
+ class Resistance
3
+ attr_accessor :type, :value
4
+
5
+ def self.from_json(json)
6
+ resistance = Resistance.new
7
+ resistance.type = json['type']
8
+ resistance.value = json['value']
9
+
10
+ resistance
11
+ end
12
+ end
13
+ end
14
+
@@ -1,32 +1,44 @@
1
- require 'faraday'
2
- require 'faraday_middleware'
3
- require 'erb'
4
-
5
- module Pokemon
6
- module RestClient
7
-
8
- def self.get(endpoint, params=nil)
9
- if params.nil?
10
- query = endpoint
11
- else
12
- query = "#{endpoint}?#{params_to_query(params)}"
13
- end
14
-
15
- client.get(query)
16
- end
17
-
18
- protected
19
-
20
- def self.client
21
- @client = Faraday.new "#{API_URL}/v#{Pokemon.configuration.api_version}" do |conn|
22
- conn.response :xml, :content_type => /\bxml$/
23
- conn.response :json, :content_type => /\bjson$/
24
- conn.adapter Faraday.default_adapter
25
- end
26
- end
27
-
28
- def self.params_to_query(params)
29
- params.map {|p, v| "#{p}=#{ERB::Util.url_encode(v.to_s)}"}.join('&')
30
- end
31
- end
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+ require 'erb'
4
+
5
+ module Pokemon
6
+ module RestClient
7
+
8
+ def self.get(endpoint, params=nil)
9
+ if params.nil?
10
+ query = endpoint
11
+ else
12
+ query = "#{endpoint}?#{params_to_query(params)}"
13
+ end
14
+
15
+ response = client.get(query)
16
+
17
+ case response.status
18
+ when 200
19
+ JSON.parse(response.body)
20
+ when 429
21
+ raise 'You have hit your rate limit.'
22
+ when 404
23
+ raise ArgumentError, 'Resource not found'
24
+ when 403
25
+ raise 'You are not authorized to access this endpoint. Please make sure you have a valid API Key. Go to https://dev.pokemontcg.io for more info.'
26
+ else
27
+ raise 'Something went wrong...please try again later.'
28
+ end
29
+ end
30
+
31
+ protected
32
+
33
+ def self.client
34
+ @client = Faraday.new(
35
+ url: "#{API_URL}/v2",
36
+ headers: {'Content-Type' => 'application/json', 'X-Api-Key' => Pokemon.configuration.api_key}
37
+ )
38
+ end
39
+
40
+ def self.params_to_query(params)
41
+ params.map {|p, v| "#{p}=#{ERB::Util.url_encode(v.to_s)}"}.join('&')
42
+ end
43
+ end
32
44
  end
@@ -1,41 +1,51 @@
1
- require_relative 'representers/set_representer'
2
-
3
- module Pokemon
4
- class Set
5
- include Roar::JSON
6
- include SetRepresenter
7
-
8
- attr_accessor :code, :name, :series, :total_cards, :standard_legal, :expanded_legal, :release_date,
9
- :symbol_url, :logo_url, :ptcgo_code, :updated_at
10
-
11
- # Get the resource string
12
- #
13
- # @return [String] The API resource string
14
- def self.Resource
15
- "sets"
16
- end
17
-
18
- # Find a single set by the set code
19
- #
20
- # @param id [String] the set code
21
- # @return [Set] the Set object response
22
- def self.find(id)
23
- QueryBuilder.new(Set).find(id)
24
- end
25
-
26
- # Get all sets from a query by paging through data
27
- #
28
- # @return [Array<Set>] Array of Set objects
29
- def self.all
30
- QueryBuilder.new(Set).all
31
- end
32
-
33
- # Adds a parameter to the hash of query parameters
34
- #
35
- # @param args [Hash] the query parameter
36
- # @return [Array<Set>] Array of Set objects
37
- def self.where(args)
38
- QueryBuilder.new(Set).where(args)
39
- end
40
- end
1
+ module Pokemon
2
+ class Set
3
+ attr_accessor :id, :name, :series, :printed_total, :total, :legalities, :ptcgo_code, :release_date, :updated_at, :images
4
+
5
+ def self.from_json(json)
6
+ set = Set.new
7
+ set.id = json['id']
8
+ set.name = json['name']
9
+ set.series = json['series']
10
+ set.printed_total = json['printedTotal']
11
+ set.total = json['total']
12
+ set.legalities = Legalities.from_json(json['legalities']) if !json['legalities'].nil?
13
+ set.ptcgo_code = json['ptcgoCode']
14
+ set.release_date = json['releaseDate']
15
+ set.updated_at = json['updatedAt']
16
+ set.images = SetImages.from_json(json['images']) if !json['images'].nil?
17
+
18
+ set
19
+ end
20
+
21
+ # Get the resource string
22
+ #
23
+ # @return [String] The API resource string
24
+ def self.Resource
25
+ "sets"
26
+ end
27
+
28
+ # Find a single set by the set code
29
+ #
30
+ # @param id [String] the set code
31
+ # @return [Set] the Set object response
32
+ def self.find(id)
33
+ QueryBuilder.new(Set).find(id)
34
+ end
35
+
36
+ # Get all sets from a query by paging through data
37
+ #
38
+ # @return [Array<Set>] Array of Set objects
39
+ def self.all
40
+ QueryBuilder.new(Set).all
41
+ end
42
+
43
+ # Adds a parameter to the hash of query parameters
44
+ #
45
+ # @param args [Hash] the query parameter
46
+ # @return [Array<Set>] Array of Set objects
47
+ def self.where(args)
48
+ QueryBuilder.new(Set).where(args)
49
+ end
50
+ end
41
51
  end
@@ -0,0 +1,13 @@
1
+ module Pokemon
2
+ class SetImages
3
+ attr_accessor :symbol, :logo
4
+
5
+ def self.from_json(json)
6
+ images = SetImages.new
7
+ images.symbol = json['symbol']
8
+ images.logo = json['logo']
9
+
10
+ images
11
+ end
12
+ end
13
+ end
@@ -1,12 +1,12 @@
1
- module Pokemon
2
- class Subtype
3
- include RestClient
4
-
5
- # Get all subtypes
6
- #
7
- # @return [Array<String>] All subtypes
8
- def self.all
9
- RestClient.get('subtypes').body['subtypes']
10
- end
11
- end
1
+ module Pokemon
2
+ class Subtype
3
+ include RestClient
4
+
5
+ # Get all subtypes
6
+ #
7
+ # @return [Array<String>] All subtypes
8
+ def self.all
9
+ RestClient.get('subtypes')['data']
10
+ end
11
+ end
12
12
  end
@@ -1,12 +1,12 @@
1
- module Pokemon
2
- class Supertype
3
- include RestClient
4
-
5
- # Get all supertypes
6
- #
7
- # @return [Array<String>] All supertypes
8
- def self.all
9
- RestClient.get('supertypes').body['supertypes']
10
- end
11
- end
1
+ module Pokemon
2
+ class Supertype
3
+ include RestClient
4
+
5
+ # Get all supertypes
6
+ #
7
+ # @return [Array<String>] All supertypes
8
+ def self.all
9
+ RestClient.get('supertypes')['data']
10
+ end
11
+ end
12
12
  end
@@ -0,0 +1,44 @@
1
+ module Pokemon
2
+ class Tcgplayer
3
+ attr_accessor :url, :prices, :updated_at
4
+
5
+ def self.from_json(json)
6
+ tcgplayer = Tcgplayer.new
7
+ tcgplayer.url = json['url']
8
+ tcgplayer.updated_at = json['updatedAt']
9
+ tcgplayer.prices = TcgPlayerPrices.from_json(json['prices']) if !json['prices'].nil?
10
+
11
+ tcgplayer
12
+ end
13
+ end
14
+
15
+ class TcgPlayerPrices
16
+ attr_accessor :normal, :holofoil, :reverse_holofoil, :first_edition_holofoil, :first_edition_normal
17
+
18
+ def self.from_json(json)
19
+ price = TcgPlayerPrices.new
20
+ price.normal = TcgPlayerPriceValues.from_json(json['normal']) if json.key? 'normal'
21
+ price.holofoil = TcgPlayerPriceValues.from_json(json['holofoil']) if !json['holofoil'].nil?
22
+ price.reverse_holofoil = TcgPlayerPriceValues.from_json(json['reverseHolofoil']) if !json['reverseHolofoil'].nil?
23
+ price.first_edition_holofoil = TcgPlayerPriceValues.from_json(json['1stEditionHolofoil']) if !json['1stEditionHolofoil'].nil?
24
+ price.first_edition_normal = TcgPlayerPriceValues.from_json(json['1stEditionNormal']) if !json['1stEditionNormal'].nil?
25
+
26
+ price
27
+ end
28
+ end
29
+
30
+ class TcgPlayerPriceValues
31
+ attr_accessor :low, :mid, :high, :market, :direct
32
+
33
+ def self.from_json(json)
34
+ values = TcgPlayerPriceValues.new
35
+ values.low = json['low']
36
+ values.mid = json['mid']
37
+ values.high = json['high']
38
+ values.market = json['market']
39
+ values.direct = json['direct']
40
+
41
+ values
42
+ end
43
+ end
44
+ end
@@ -1,12 +1,12 @@
1
- module Pokemon
2
- class Type
3
- include RestClient
4
-
5
- # Get all types
6
- #
7
- # @return [Array<String>] All types
8
- def self.all
9
- RestClient.get('types').body['types']
10
- end
11
- end
1
+ module Pokemon
2
+ class Type
3
+ include RestClient
4
+
5
+ # Get all types
6
+ #
7
+ # @return [Array<String>] All types
8
+ def self.all
9
+ RestClient.get('types')['data']
10
+ end
11
+ end
12
12
  end
@@ -1,3 +1,3 @@
1
- module Pokemon
2
- VERSION = "3.0.0"
3
- end
1
+ module Pokemon
2
+ VERSION = "4.0.0"
3
+ end
@@ -0,0 +1,13 @@
1
+ module Pokemon
2
+ class Weakness
3
+ attr_accessor :type, :value
4
+
5
+ def self.from_json(json)
6
+ weakness = Weakness.new
7
+ weakness.type = json['type']
8
+ weakness.value = json['value']
9
+
10
+ weakness
11
+ end
12
+ end
13
+ end
@@ -1,33 +1,32 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'pokemon_tcg_sdk/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "pokemon_tcg_sdk"
8
- spec.version = Pokemon::VERSION
9
- spec.authors = ["Andrew Backes"]
10
- spec.email = ["backes.andrew@gmail.com"]
11
- spec.summary = "Pokémon TCG SDK for pokemontcg.io"
12
- spec.description = "Pokémon TCG SDK is a wrapper around the Pokémon TCG API located at pokemontcg.io"
13
- spec.homepage = "https://pokemontcg.io"
14
- spec.license = "MIT"
15
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
- spec.bindir = "exe"
17
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
- spec.require_paths = ["lib"]
19
-
20
- spec.add_development_dependency "bundler", "~> 1.12"
21
- spec.add_development_dependency "rake", "~> 11.2"
22
- spec.add_development_dependency "minitest", "~> 5.9"
23
- spec.add_development_dependency "vcr", "~> 3.0"
24
- spec.add_development_dependency "webmock", "~> 2.1"
25
- spec.add_development_dependency "simplecov", "~> 0.14"
26
- spec.add_development_dependency "codeclimate-test-reporter", "~> 0.6"
27
-
28
- spec.add_dependency "roar", "~> 1.0"
29
- spec.add_dependency "json", "~> 2.0"
30
- spec.add_dependency "multi_json", "~> 1.12"
31
- spec.add_dependency "multi_xml", "~> 0.5"
32
- spec.add_dependency "faraday_middleware", "~> 0.10"
33
- end
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pokemon_tcg_sdk/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "pokemon_tcg_sdk"
8
+ spec.version = Pokemon::VERSION
9
+ spec.authors = ["Andrew Backes"]
10
+ spec.email = ["backes.andrew@gmail.com"]
11
+ spec.summary = "Pokémon TCG SDK for pokemontcg.io"
12
+ spec.description = "Pokémon TCG SDK is a wrapper around the Pokémon TCG API located at pokemontcg.io"
13
+ spec.homepage = "https://pokemontcg.io"
14
+ spec.license = "MIT"
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_development_dependency "bundler", "~> 2.1.4"
21
+ spec.add_development_dependency "rake", "~> 13.0"
22
+ spec.add_development_dependency "minitest", "~> 5.14.2"
23
+ spec.add_development_dependency "vcr", "~> 6.0"
24
+ spec.add_development_dependency "webmock", "~> 3.9"
25
+ spec.add_development_dependency "simplecov", "~> 0.19"
26
+
27
+ spec.add_dependency "roar", "~> 1.1"
28
+ spec.add_dependency "json", "~> 2.3"
29
+ spec.add_dependency "multi_json", "~> 1.15"
30
+ spec.add_dependency "multi_xml", "~> 0.6"
31
+ spec.add_dependency "faraday_middleware", "~> 1.0"
32
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pokemon_tcg_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Backes
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-05 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,168 +16,154 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: 2.1.4
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.12'
26
+ version: 2.1.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '11.2'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '11.2'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.9'
47
+ version: 5.14.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '5.9'
54
+ version: 5.14.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: vcr
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.0'
61
+ version: '6.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.0'
68
+ version: '6.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: webmock
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.1'
75
+ version: '3.9'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: '3.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.14'
89
+ version: '0.19'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.14'
97
- - !ruby/object:Gem::Dependency
98
- name: codeclimate-test-reporter
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.6'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.6'
96
+ version: '0.19'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: roar
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: '1.0'
103
+ version: '1.1'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: '1.0'
110
+ version: '1.1'
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: json
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: '2.0'
117
+ version: '2.3'
132
118
  type: :runtime
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: '2.0'
124
+ version: '2.3'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: multi_json
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: '1.12'
131
+ version: '1.15'
146
132
  type: :runtime
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
136
  - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: '1.12'
138
+ version: '1.15'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: multi_xml
155
141
  requirement: !ruby/object:Gem::Requirement
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: '0.5'
145
+ version: '0.6'
160
146
  type: :runtime
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: '0.5'
152
+ version: '0.6'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: faraday_middleware
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
157
  - - "~>"
172
158
  - !ruby/object:Gem::Version
173
- version: '0.10'
159
+ version: '1.0'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - "~>"
179
165
  - !ruby/object:Gem::Version
180
- version: '0.10'
166
+ version: '1.0'
181
167
  description: Pokémon TCG SDK is a wrapper around the Pokémon TCG API located at pokemontcg.io
182
168
  email:
183
169
  - backes.andrew@gmail.com
@@ -185,6 +171,7 @@ executables: []
185
171
  extensions: []
186
172
  extra_rdoc_files: []
187
173
  files:
174
+ - ".editorconfig"
188
175
  - ".gitignore"
189
176
  - ".travis.yml"
190
177
  - CODE_OF_CONDUCT.md
@@ -197,21 +184,21 @@ files:
197
184
  - lib/pokemon_tcg_sdk/ancient_trait.rb
198
185
  - lib/pokemon_tcg_sdk/attack.rb
199
186
  - lib/pokemon_tcg_sdk/card.rb
187
+ - lib/pokemon_tcg_sdk/card_images.rb
200
188
  - lib/pokemon_tcg_sdk/configuration.rb
189
+ - lib/pokemon_tcg_sdk/legalities.rb
201
190
  - lib/pokemon_tcg_sdk/query_builder.rb
202
- - lib/pokemon_tcg_sdk/representers/ability_representer.rb
203
- - lib/pokemon_tcg_sdk/representers/ancient_trait_representer.rb
204
- - lib/pokemon_tcg_sdk/representers/attack_representer.rb
205
- - lib/pokemon_tcg_sdk/representers/card_representer.rb
206
- - lib/pokemon_tcg_sdk/representers/set_representer.rb
207
- - lib/pokemon_tcg_sdk/representers/type_value_representer.rb
191
+ - lib/pokemon_tcg_sdk/rarity.rb
192
+ - lib/pokemon_tcg_sdk/resistance.rb
208
193
  - lib/pokemon_tcg_sdk/rest_client.rb
209
194
  - lib/pokemon_tcg_sdk/set.rb
195
+ - lib/pokemon_tcg_sdk/set_images.rb
210
196
  - lib/pokemon_tcg_sdk/subtype.rb
211
197
  - lib/pokemon_tcg_sdk/supertype.rb
198
+ - lib/pokemon_tcg_sdk/tcgplayer.rb
212
199
  - lib/pokemon_tcg_sdk/type.rb
213
- - lib/pokemon_tcg_sdk/type_value.rb
214
200
  - lib/pokemon_tcg_sdk/version.rb
201
+ - lib/pokemon_tcg_sdk/weakness.rb
215
202
  - pokemon_tcg_sdk.gemspec
216
203
  homepage: https://pokemontcg.io
217
204
  licenses:
@@ -232,8 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
219
  - !ruby/object:Gem::Version
233
220
  version: '0'
234
221
  requirements: []
235
- rubyforge_project:
236
- rubygems_version: 2.6.10
222
+ rubygems_version: 3.1.4
237
223
  signing_key:
238
224
  specification_version: 4
239
225
  summary: Pokémon TCG SDK for pokemontcg.io