yankee_score 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/yankee_score +1 -2
- data/lib/yankee_score/score_scraper.rb +1 -2
- data/lib/yankee_score/version.rb +1 -1
- 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: e58bd8ed8496688340a3935ca15ba4fa711e4e29
|
4
|
+
data.tar.gz: a727e66c02cf331d08321ba090a6b57339c0211a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2596101e0a8c5bc371738560d03011d47ecf1c9afa6c65abd8acb7d24a5b1b92d3364ca0560d813117be40feea7553cd4d8c6bfe2d1cbd855f193e1be25a12cb
|
7
|
+
data.tar.gz: 3899196bbf95d142ecfc4bc3146b0187f0e655730ffe6b93de07afbc74688fa899c440579b19529c061470f360d0fa1c0f3cf3edd7ae7748744c0cba9a0132c4
|
data/bin/yankee_score
CHANGED
@@ -41,12 +41,11 @@ class YankeeScore::ScoreScraper
|
|
41
41
|
g.inning = game_hash[:status][:inning]
|
42
42
|
g.inning_state = game_hash[:status][:inning_state]
|
43
43
|
|
44
|
-
# g.matchup = game_hash[:game_media][:media][:title]
|
45
44
|
|
46
45
|
if game_hash.has_key?(:linescore)
|
47
46
|
g.home_team.runs = game_hash[:linescore][:r][:home]
|
48
47
|
g.away_team.runs = game_hash[:linescore][:r][:away]
|
49
|
-
g.score = "#{g.away_team.runs}
|
48
|
+
g.score = "#{g.away_team.runs}-#{g.home_team.runs}"
|
50
49
|
end
|
51
50
|
|
52
51
|
g.save
|
data/lib/yankee_score/version.rb
CHANGED