vegas_insider_scraper 0.0.10 → 0.0.11
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 +4 -4
- data/lib/sports/scraper_league.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55efabee6d87eb6cdad64b92cb279108de33285b
|
|
4
|
+
data.tar.gz: cf207f0e9991db0713ca1478c1303032962dd4eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9a0602d3eec4102b81e0bcdcdfccae16c089fe0dc76ba3a1676a53d607a37cab59a2998e23c5ef7fcf966caf1d7c11481935825625ff56b31145188ed0a993c
|
|
7
|
+
data.tar.gz: 6f8a1bedfe5e0aed1d15eb2f5405f0df09d952813c49a592efcc48efdde38d2a94550f39c6a8e647ec1dbfb80eb14530035181c04cd4f4b8479b8844ea423197
|
|
@@ -362,7 +362,7 @@ class ScraperLeague
|
|
|
362
362
|
games = Nokogiri::HTML(open(url)).css('.main-content-cell table:nth-child(5) table').css('tr').each_with_index.map do |row,index|
|
|
363
363
|
|
|
364
364
|
next if index == 0
|
|
365
|
-
game = Game.new
|
|
365
|
+
game = Game.new(vegas_info: {})
|
|
366
366
|
opponent = nil
|
|
367
367
|
|
|
368
368
|
row.css('td').each_with_index do |cell,m|
|
|
@@ -507,7 +507,6 @@ class ScraperLeague
|
|
|
507
507
|
|
|
508
508
|
def initialize(args = {})
|
|
509
509
|
Game.sanitize(args).map { |attribute, value| instance_variable_set("@#{attribute}", value) }
|
|
510
|
-
Game.update(vegas_info: {})
|
|
511
510
|
end
|
|
512
511
|
|
|
513
512
|
def update(args = {})
|