brawlhalla-api 0.3.0 → 0.3.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: 825dbd3cb6b62b94a63c9af8423dc8b036a618c5948b900080ccc6a1080195fe
4
- data.tar.gz: 6cb7df461f6a2f96f73211fc1fd1dde428055f697319d20527baa60b1174850c
3
+ metadata.gz: cd5f75356908deb5622bce5aef9c000ab8a84e17b1bea09e1a7082e99fa9712e
4
+ data.tar.gz: a67c0b680ef408ff83420900178baa0982b047b134ebf5a72e83d43f3bfa594f
5
5
  SHA512:
6
- metadata.gz: 8c55b1c15581b13fe99836672a41e4e6ad52838f41aecf64da05d6f4b9ea54d50c8880750916da0d6352ae6e2e0c83f22b8e4007b93b3683886dd42e8e903499
7
- data.tar.gz: 85d551b32404f87360bbf0e88962f59b18c63168839ff53e3ca051af4f2f578996aea4324f7eea4b8df7f2ff5d5a7fd47f1ff965f0ba013d079ef88accc6c891
6
+ metadata.gz: 35e7c6ca4148d7a69f5bcec35350041adbc5764cc6a127d331ab6b1eb23c0e1125c947d7342a1bf21ef473ab68aae8e6a0fbcc5cb5e85a81cf66a92efe94ade2
7
+ data.tar.gz: 5ecf88b9e97c5002f8d41091cc210a2430d112f3cdcda54795762ecb4b830a1f8f10f76cfc8502854aba0f35a006c79d81eac204596ac3d6bfffb26657c1a8ef
@@ -14,6 +14,9 @@ module Brawlhalla
14
14
  ATTRIBUTES.each do |attr|
15
15
  send("#{attr}=", json[attr])
16
16
  end
17
+
18
+ # Fix teamname encoding
19
+ @teamname = @teamname.encode('iso-8859-1')
17
20
  end
18
21
  end
19
22
  end
@@ -29,6 +29,9 @@ module Brawlhalla
29
29
  send("#{attr}=", value)
30
30
  end
31
31
 
32
+ # Fix player name encoding
33
+ @name = @name.encode('iso-8859-1')
34
+
32
35
  initialize_clan(json)
33
36
  initialize_legends(json)
34
37
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Brawlhalla
4
4
  module API
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brawlhalla-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas