pokemon_tcg_sdk 4.1.0 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 791d8e2cf5d0b8770d3398433d5874ce3f50be0f8fe003f7c517cd7473c1cbe2
4
- data.tar.gz: 679cc88f6c206a5a709c26b77d79d83fbff56e01097b84dc79a42a5f811d9c53
3
+ metadata.gz: f12cf7ba81e0c3b566bb948861955378c57ab658a689f1257d70b33d706d2609
4
+ data.tar.gz: c504e366a60269890dbd19af6452260d5f8172d92a6334364c89bffe54fb9fd6
5
5
  SHA512:
6
- metadata.gz: b1b9513df67369d8983c7a5cb36b376acf792cbf81958d46efe7433d9f6d05647447f61de86870f550fc2a862305b7de74813ed32939001fd8f463fa5098c4b0
7
- data.tar.gz: d269673bc49a7c354aca3dd1725870a185adf0d0ad413a09112a04fd9eca7f4abe01c23fed7de3a74e036b6b98c1cc8cc60824a3917a90e23374743c49864708
6
+ metadata.gz: ec896b1aef63d500243c5d9ef05286cb15b5f46d6a509f47bb4c329871e2f7ae73506f90bc26776d7eeadbee5ee14cc51be8582ab507196b88a7409244936977
7
+ data.tar.gz: e66271ffcc62ffbcfdd16a7a306f7235f12eb4dc6cbb8e77e781ab36e23f2ae934bea598948d7fe9b82db2cebcb32495eb6d4033d7fff8be74f8bf9bb63b3a9e
@@ -1,3 +1,5 @@
1
+ require 'erb'
2
+
1
3
  module Pokemon
2
4
  class Card
3
5
  attr_accessor :id, :name, :supertype, :subtypes, :level, :hp, :types, :evolves_from, :evolves_to, :rules, :ancient_trait,
@@ -47,7 +49,7 @@ module Pokemon
47
49
  # @param id [String] the card id
48
50
  # @return [Card] the Card object response
49
51
  def self.find(id)
50
- QueryBuilder.new(Card).find(id)
52
+ QueryBuilder.new(Card).find(ERB::Util.url_encode(id))
51
53
  end
52
54
 
53
55
  # Get all cards from a query by paging through data
@@ -1,3 +1,3 @@
1
1
  module Pokemon
2
- VERSION = "4.1.0"
2
+ VERSION = "4.1.1"
3
3
  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: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Backes
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-03 00:00:00.000000000 Z
11
+ date: 2021-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler