espn-fantasy-news 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/espn-fantasy-news.gemspec +1 -1
- data/lib/espn_fantasy_news/parser.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/espn-fantasy-news.gemspec
CHANGED
@@ -20,7 +20,7 @@ module ESPNFantasyNews
|
|
20
20
|
def self.players_from_url(url)
|
21
21
|
doc = Nokogiri::HTML(open(url))
|
22
22
|
player_attributes = doc.css('.pncPlayerRow').collect do |x|
|
23
|
-
cell = x.css('td')[
|
23
|
+
cell = x.css('td')[0]
|
24
24
|
cell_text = cell.text
|
25
25
|
name, teampos = cell_text.split(',')
|
26
26
|
team, pos = self.split_string_on_char_194(teampos.strip)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: espn-fantasy-news
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Doug Petkanics
|