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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sports/scraper_league.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec374a2fceb6016c310cd23287fb24c85efdd5f7
4
- data.tar.gz: 34ec3eb1dd05b5417d6fad5a29b7ac06bef1bcdd
3
+ metadata.gz: 55efabee6d87eb6cdad64b92cb279108de33285b
4
+ data.tar.gz: cf207f0e9991db0713ca1478c1303032962dd4eb
5
5
  SHA512:
6
- metadata.gz: 82e709c2feac664c5f89d842a1a76f2d6f935ad32ea554c7a62f35bb86177073d7f3f2358e17261d33be78f42a799834204e050b0364a6b4b94b3a836df6fa9b
7
- data.tar.gz: 86d23bc2a96e1fa2ea247d16cce0e3dab1a737dc4fca1a586bbec280394b72b80d024ca92aa49017f806f90e561454cbd8361de8bf79fed378ad3b27d52b6334
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 = {})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vegas_insider_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Reitz