transfermarkt 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: dd8f592835155fd93e5e52bb52c69922089f1e84
4
- data.tar.gz: 6c08d41808bc167d33a3e6a15ee270d3e9b723b6
3
+ metadata.gz: 228363fcbcdaccf2698d46c1f0b80c8dd5c571f4
4
+ data.tar.gz: 9dd250eb66d239c6785ce85e7374b14299746487
5
5
  SHA512:
6
- metadata.gz: 0f34dc4268763766d5a99e5954d74f1108ee441c0586260c2aad3e70b6eb4e073e9d93c095775a52cd1178690802c184be45f22c8fc9131841fd6bc9a5c64e66
7
- data.tar.gz: 27bb27221e5383544ff67f849bee217ae18c50d397a8fc66f51e249aeabb6c24ed3e6eede9e5636a6fc8aa189a1be0417c1662ee63998e1a481d7da7ba1b280d
6
+ metadata.gz: ab92a62fb63ed795f6fea58a78c8d02a281ab76898a0687fa0f34a8d3d17267ce5cb005f9f52afacf1bd6b85d0ee4ac49e256b9a55f562edd4acc9f5f45de2e3
7
+ data.tar.gz: a0b4872eb02d424bb0eca21cf23d7f5569e410457b575943758ce8a6ba4ad9aaa607386bfe15dbf5067aef0ce0f4ac8d72a1b954c3cd7ac86eeaf1fe21c56951
@@ -10,4 +10,4 @@ module Transfermarkt
10
10
  end
11
11
  end
12
12
  end
13
- end
13
+ end
@@ -27,9 +27,9 @@ module Transfermarkt
27
27
  :UNIVERSAL_NEWLINE_DECORATOR => true # Always break lines with \n
28
28
  }
29
29
  self.age = self.age.to_i
30
- self.market_value = #self.market_value.to_s.gsub(",", "").to_i
30
+ #self.market_value = #self.market_value.to_s.gsub(",", "").to_i
31
31
  self.height = self.height.to_s.gsub(",", "").to_i
32
- self.nationality = self.nationality.to_s.encode(Encoding.find('ASCII'), encoding_options).split("\n").collect(&:strip)
32
+ self.nationality = self.nationality.to_s.encode(Encoding.find('ASCII'), encoding_options).split("\t").collect(&:strip)
33
33
  if self.date_of_birth.present?
34
34
  self.age = Date.today.year - Date.parse(self.date_of_birth).year
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module Transfermarkt
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transfermarkt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elad Meidar