blizzard_api 0.6.1 → 0.6.2

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: 685ed4874fe22bf7c07093ae2865d2776763649d55db19bc358c94da9147486b
4
- data.tar.gz: f499dbaa688ed302d84f06e91a586b7ee117c224703b5cdff1b65f893c8ddc00
3
+ metadata.gz: 4e14a76f532abc2360a9a74e693193e472d79ea0749536d0403a8981d6845db4
4
+ data.tar.gz: 8495ff7e71e1363babfcd25b7b27c841984e186609853103c243313eeaaeecec
5
5
  SHA512:
6
- metadata.gz: 6e29618d647f7c1f5ed875600cc95cb458ba54e9714d9e06cf0119d3ce530e26d5de6b9874b57a80af09a6cc01fba8a9f1e2b30c44570c53a784c01caa07bdb8
7
- data.tar.gz: d7b5f790f4027e267fb701786ccfc130d33cddbc1a2da62606ad863d6b5773bb88c02a3c0c066f3555d9fd2b88230fe5ff1825bb0bee82365946842f7bfc95d7
6
+ metadata.gz: e20a235281a8b7dbd693e326103d78c8d56b976d6f599fff0bc06751361609a69441d303c49e22a44d041186435a5410eb7c8d106b327e104a9562690932d65b
7
+ data.tar.gz: f40d893688257ecfabadf1050b2e65146d03665ca85435b9a9e789f0c1c7dedc7ecc3289bbe077d2ef748cc162a161c12553422f1aa6e0872c6f77881600dd4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  Please view this file on the master branch, otherwise it may be outdated
2
2
 
3
+ **Version 0.6.2**
4
+
5
+ Fixed an encoding problem on search endpoints.
6
+
3
7
  **Version 0.6.1**
4
8
 
5
9
  Added support for TBCC and Classice Era endpoints.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blizzard_api (0.6.0)
4
+ blizzard_api (0.6.2)
5
5
  redis (~> 4.1, >= 4.1.0)
6
6
  thwait (~> 0.2.0)
7
7
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module BlizzardApi
4
4
  # Gem version
5
- VERSION = '0.6.1'
5
+ VERSION = '0.6.2'
6
6
  end
@@ -27,7 +27,7 @@ module BlizzardApi
27
27
  #
28
28
  # @return {SearchComposer}
29
29
  def where(field, value)
30
- fields.push "#{field}=#{resolve_value(value)}"
30
+ fields.push "#{field}=#{URI.encode_www_form_component(resolve_value(value))}"
31
31
  self
32
32
  end
33
33
 
@@ -44,7 +44,7 @@ module BlizzardApi
44
44
  #
45
45
  # @return {SearchComposer}
46
46
  def where_not(field, value)
47
- fields.push "#{field}!=#{resolve_value(value)}"
47
+ fields.push "#{field}!=#{URI.encode_www_form_component(resolve_value(value))}"
48
48
  self
49
49
  end
50
50
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blizzard_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Schiavo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-03 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis