ScoreWatch 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,10 +3,15 @@
3
3
  ### Description
4
4
  Takes an ESPN Gamecast match ID and scrapes the Gamecast page repeatedly to gather score updates. These are output on the command line and also in Growl (currently via [growlnotify](http://growl.info/extras.php#growlnotify))
5
5
 
6
+ ### Installation
7
+ ```
8
+ $ (sudo) gem install ScoreWatch
9
+ $ score_watch <GameCast ID>
10
+ ```
11
+
6
12
  ### TODO
7
13
  * Stop using Growlnotify in favor of a Ruby growl library
8
14
  * Allow for command line only
9
15
  * Scrape a lower-density page for info, such as the day's list of games
10
16
  * Allow for multiple games to be watched
11
17
  * Add case for extra time
12
- * Gem it up
Binary file
@@ -1,5 +1,8 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
+ lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
4
+ $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)
5
+
3
6
  require File.dirname(__FILE__) + '/../lib/ScoreWatch'
4
7
 
5
8
  ScoreWatch::Match.new ARGV[0]
@@ -4,7 +4,7 @@ require 'open-uri'
4
4
  require 'nokogiri'
5
5
 
6
6
  module ScoreWatch
7
- VERSION = "0.2.1"
7
+ VERSION = "0.2.2"
8
8
  end
9
9
 
10
- require 'lib/ScoreWatch/match'
10
+ require 'ScoreWatch/match'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ScoreWatch
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Svenningsen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-16 00:00:00 Z
18
+ date: 2012-04-24 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Given an ESPN Gamecast match ID, Score Watch will scrape the Gamecast Page for updates and broadcast them on the command line and also via GrowlNotify.
@@ -31,6 +31,7 @@ files:
31
31
  - lib/ScoreWatch.rb
32
32
  - README.md
33
33
  - Score_Watch-0.2.0.gem
34
+ - ScoreWatch-0.2.1.gem
34
35
  - ScoreWatch-0.2.gem
35
36
  - bin/score_watch
36
37
  homepage: https://github.com/crsven/score_watch
@@ -62,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
63
  requirements: []
63
64
 
64
65
  rubyforge_project:
65
- rubygems_version: 1.8.15
66
+ rubygems_version: 1.8.23
66
67
  signing_key:
67
68
  specification_version: 3
68
69
  summary: Watches ESPN Gamecast pages for updates and broadcasts those updates.