transfermarkt 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6991fb7c04c7e725b7b125549a6ea212793694b2
4
- data.tar.gz: 302407a1ec65092d00a91f91265d3dabe0ec2323
3
+ metadata.gz: dd8f592835155fd93e5e52bb52c69922089f1e84
4
+ data.tar.gz: 6c08d41808bc167d33a3e6a15ee270d3e9b723b6
5
5
  SHA512:
6
- metadata.gz: ac65287d0925bf014df8e104c6347f52a0c1f633d40f75dace50cce259e7a273e9b9a2282993616428712b4613a5d3be2ce8638e0874596d6c37aff0ee66129e
7
- data.tar.gz: e1e93ed87fd59a06357a30be88bb6090ec9269077a7b6aa6735e6c13cbf928107216d001b5cc9dd251fb3b8cf28d2e978e208484b6b5babf3efe76b3f26170d0
6
+ metadata.gz: 0f34dc4268763766d5a99e5954d74f1108ee441c0586260c2aad3e70b6eb4e073e9d93c095775a52cd1178690802c184be45f22c8fc9131841fd6bc9a5c64e66
7
+ data.tar.gz: 27bb27221e5383544ff67f849bee217ae18c50d397a8fc66f51e249aeabb6c24ed3e6eede9e5636a6fc8aa189a1be0417c1662ee63998e1a481d7da7ba1b280d
@@ -50,7 +50,7 @@ module Transfermarkt
50
50
  else
51
51
  profile_html = Nokogiri::HTML(req.parsed_response)
52
52
  results = {}
53
-
53
+
54
54
  link = profile_html.css(".spielprofil_tooltip")[0]["href"]
55
55
  self.fetch_by_profile_uri(link)
56
56
  end
@@ -65,7 +65,7 @@ module Transfermarkt
65
65
  profile_html = Nokogiri::HTML(req.parsed_response)
66
66
  options = {}
67
67
 
68
- puts "**** Parsing player #{profile_uri}"
68
+ # puts "**** Parsing player #{profile_uri}"
69
69
 
70
70
  options[:profile_uri] = profile_uri
71
71
 
@@ -102,31 +102,31 @@ module Transfermarkt
102
102
  header = info_row.search('th')[0].text.strip
103
103
  if header == "Name in home country:"
104
104
  options[:name_in_native_country] = info_row.search('td')[0].text.strip
105
- puts options
105
+ # puts options
106
106
  elsif header == "Date of birth:"
107
107
  options[:date_of_birth] = info_row.search('td')[0].text.strip
108
- puts options
108
+ # puts options
109
109
  elsif header == "Place of birth:"
110
110
  options[:place_of_birth] = info_row.search('td')[0].text.strip
111
- puts options
111
+ # puts options
112
112
  # elsif header == "Age:"
113
113
  # options[:age] = info_row.search('td')[0].text.strip
114
- # puts options
114
+ # # puts options
115
115
  elsif header == "Height:"
116
116
  options[:height] = info_row.search('td')[0].text.strip
117
- puts options
117
+ # puts options
118
118
  elsif header == "Nationality:"
119
119
  options[:nationality] = info_row.search('td')[0].text.strip
120
- puts options
120
+ # puts options
121
121
  elsif header == "Position:"
122
122
  options[:position] = info_row.search('td')[0].text.strip
123
- puts options
123
+ # puts options
124
124
  elsif header == "Foot:"
125
125
  options[:foot] = info_row.search('td')[0].text.strip
126
- puts options
126
+ # puts options
127
127
  elsif header == "Complete name:"
128
128
  options[:complete_name] = info_row.search('td')[0].text.strip
129
- puts options
129
+ # puts options
130
130
  end
131
131
  end
132
132
 
@@ -1,3 +1,3 @@
1
1
  module Transfermarkt
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elad Meidar