cricinfo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +19 -0
- data/History.txt +4 -0
- data/Rakefile +5 -16
- data/bin/cricinfo +7 -1
- data/cricinfo.gemspec +24 -0
- data/lib/cricinfo.rb +1 -1
- data/lib/cricinfo/game.rb +0 -0
- data/lib/cricinfo/scores.rb +1 -1
- data/spec/fixtures/Scores6.html +1 -0
- data/spec/fixtures/Scores7.html +1 -0
- data/spec/fixtures/Scores8.html +3 -0
- data/spec/spec_helper.rb +16 -7
- metadata +67 -84
- data/.gemtest +0 -0
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.1.3)
|
5
|
+
rspec (2.11.0)
|
6
|
+
rspec-core (~> 2.11.0)
|
7
|
+
rspec-expectations (~> 2.11.0)
|
8
|
+
rspec-mocks (~> 2.11.0)
|
9
|
+
rspec-core (2.11.1)
|
10
|
+
rspec-expectations (2.11.1)
|
11
|
+
diff-lcs (~> 1.1.3)
|
12
|
+
rspec-mocks (2.11.1)
|
13
|
+
|
14
|
+
PLATFORMS
|
15
|
+
ruby
|
16
|
+
|
17
|
+
DEPENDENCIES
|
18
|
+
bundler
|
19
|
+
rspec
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,20 +1,9 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
|
3
|
-
require '
|
4
|
-
require '
|
5
|
-
require './lib/cricinfo'
|
2
|
+
require 'bundler'
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'rspec/core/rake_task'
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
# Hoe.plugin :cucumberfeatures
|
10
|
-
|
11
|
-
# Generate all the Rake tasks
|
12
|
-
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
13
|
-
$hoe = Hoe.spec 'cricinfo' do
|
14
|
-
self.developer 'Andrew S Williams', 'sobakasu@gmail.com'
|
15
|
-
self.rubyforge_name = self.name
|
16
|
-
# self.excludes = []
|
6
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
7
|
+
t.pattern = 'spec/*_spec.rb'
|
17
8
|
end
|
18
9
|
|
19
|
-
require 'newgem/tasks'
|
20
|
-
Dir['tasks/**/*.rake'].each { |t| load t }
|
data/bin/cricinfo
CHANGED
@@ -19,7 +19,13 @@ begin
|
|
19
19
|
case command
|
20
20
|
when 'list'
|
21
21
|
c = CricInfo::Scores.new
|
22
|
-
c.games.each
|
22
|
+
c.games.each do |game|
|
23
|
+
puts "name: " + game.name
|
24
|
+
puts "team1: " + game.team1
|
25
|
+
puts "team2: " + game.team2
|
26
|
+
puts "type: " + game.type_string
|
27
|
+
puts
|
28
|
+
end
|
23
29
|
else
|
24
30
|
error("unrecognised command #{command}")
|
25
31
|
usage
|
data/cricinfo.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require 'cricinfo'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "cricinfo"
|
7
|
+
s.version = CricInfo::VERSION
|
8
|
+
s.authors = ["Andrew S Williams"]
|
9
|
+
s.email = ["sobakasu@gmail.com"]
|
10
|
+
s.homepage = "http://github.com/sobakasu/cricinfo"
|
11
|
+
s.summary = %Q{Cricinfo games interface}
|
12
|
+
s.description = %Q{Cricinfo games interface}
|
13
|
+
|
14
|
+
s.rubyforge_project = "cricinfo"
|
15
|
+
|
16
|
+
s.files = `git ls-files | grep -v pkg`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib", "app"]
|
20
|
+
|
21
|
+
# Gem dependencies
|
22
|
+
#s.add_dependency("json_pure", "~> 1.7")
|
23
|
+
#s.add_dependency("geokit", "~> 1.6")
|
24
|
+
end
|
data/lib/cricinfo.rb
CHANGED
data/lib/cricinfo/game.rb
CHANGED
File without changes
|
data/lib/cricinfo/scores.rb
CHANGED
@@ -8,7 +8,7 @@ module CricInfo
|
|
8
8
|
SCORES_PATH = "/s/2497/Scores"
|
9
9
|
|
10
10
|
# match name, team1, team2, inningsdata, start_time
|
11
|
-
RE_MATCH = /matchId=.*?">([^:]+)
|
11
|
+
RE_MATCH = /matchId=.*?">([^:]+):<\/a>[^>]*>\s*(.*?)\s+v\s+(.*?)<\/a>.*?<\/tr>(.*?)<\/tr>(.*?Start time (.*?)\s*<\/b>)?/
|
12
12
|
|
13
13
|
# team1/2, i1runs, i1wickets, i1decl, i2wickets, i2decl, overs
|
14
14
|
# (overs optional)
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"><table class="mm-table" id="top" width="100%" cellpadding="0" cellspacing="0" border="0" style="width: 100%; padding: 0px; margin: 0px;"><tr><td align="center" colspan="1" rowspan="1" id="topAdHolder" style="padding-top:2px ; padding-bottom:2px" width="100%" _="_"><img alt="." src="http://miad.mo2do.net/ad/x/?publisher=r_CRICINFOESPN&logkey=cc02137f-0400-40e5-a925-08389bd16750&campaign_id=r_CRICINFOESPN/Millenial-1&capped_campaign=false&tz=EST" width="1" height="1"/> <a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fbank12.clicks.mp.mydas.mobi%2FhandleClick.php5%3Fapid%3D14640%26amp%3Bacid%3D28049%26amp%3Bmtpid%3D0%26amp%3Bauid%3D121.45.89.143%26amp%3Bosid%3D12%26amp%3Burid%3Ddddf397adc0353e16910e814d67b508f%26amp%3Bri%3D12%26amp%3Bmmid%3D5329%26amp%3Buip%3D121.45.89.143%26amp%3Borut%3D1268553329&k=cc02137f-0400-40e5-a925-08389bd16750&p=r_CRICINFOESPN&t=network&cpc=0.0"><img src="http://bank12.ads.mp.mydas.mobi/getImage.php5?apid=14640&mode=live&acid=28049&auid=121.45.89.143&osid=12&urid=dddf397adc0353e16910e814d67b508f&ri=12&mmid=5329&orut=1268553329&mtpid=0" alt="Inspire-For+the+woman+on+the+go" width="320" height="53"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" colspan="1" rowspan="1" bgcolor="#BFD5EA" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a shape="rect" href="/s/2497/Home?"><img src="/s/store/1588392/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" colspan="1" rowspan="1" bgcolor="#0E71C6" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616783/img_upload.gif?crop=RIGHT&quality=70" alt="." border="0"/></td></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="/s/2497/MatchCenter?matchId=419109">4th match: KOLK v BLORE</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"/></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">Start time 10:30 GMT</font></b></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">BAN</font></b> <b><font color="#000000"> 296 <font color="#000000"/> </font></b> <br clear="none"/> <b><font color="#000000">ENG</font></b> <b><font color="#000000"> 599/6d & 2/0 <font color="#000000"/>(0.6 ov) </font></b></td></tr></table> <table><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Mozilla%20Firefox&lineColor=%23035bac&bgColor=%23FFFFFF&height=1" alt=" " border="0"/></td></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td align="center" colspan="1" rowspan="1" style="link-align: center;" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Scores" style="color:#035BAC; ">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=News" style="color:#035BAC; ">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Results" style="color:#035BAC; ">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Opinion" style="color:#035BAC; ">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Fixtures" style="color:#035BAC; ">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Players" style="color:#035BAC; ">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Countries" style="color:#035BAC; ">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Photos" style="color:#035BAC; ">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Rankings" style="color:#035BAC; ">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Records" style="color:#035BAC; ">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Downloads" style="color:#035BAC; ">Downloads</a></b> </div></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" colspan="1" rowspan="1" bgcolor="#055395" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a shape="rect" href="/s/2497/Home?"><img src="/s/imgdwn/1659333/img_upload.gif?crop=BOTH&quality=70" alt="." border="0"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1"><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268553329776?D=..&gn=Scores&r=http%253A%252F%252Fm.cricinfo.com%252F&h1=cri-mobi&c1=Cricinfo&c37=..User-Agent" width="5" height="5"/></td></tr><tr><td colspan="1" rowspan="1" width="100%" style="width: 100%;"><br clear="none"/></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a shape="rect" href="http://www.cricinfo.com?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Mozilla%20Firefox&height=1&lineHeight=2&lineColor=%23C0C0C0&bgColor=%23FFFFFF" alt=" " border="0"/></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a shape="rect" href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a shape="rect" href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a shape="rect" style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a shape="rect" href="http://m.scrum.com/"><font color="#3174c5">ESPNScrum<br clear="none"/> </font></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Mozilla%20Firefox&height=1&lineHeight=2&lineColor=%23C0C0C0&bgColor=%23FFFFFF" alt=" " border="0"/></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a shape="rect" href="/s/showPage.do?siteId=52786&pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a shape="rect" href="/s/showPage.do?siteId=52786&pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a shape="rect" href="/s/showPage.do?siteId=52786&pageId=Terms"><font color="#035bac">Terms of Use</font></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"/></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" colspan="1" rowspan="1" id="topAdHolder" style="padding-top:2px ; padding-bottom:2px" width="100%" _="_"><img alt="." src="http://miad.mo2do.net/ad/x/?publisher=r_CRICINFOESPN&logkey=1605c5f0-24ee-43a0-aa47-4a2aa4e3f12f&campaign_id=r_CRICINFOESPN/Admob&capped_campaign=false&tz=Asia/Calcutta" width="1" height="1"/> <a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fc.admob.com%2Fc1%2F3%2FEkwmvDjF8bEkzAKcwck-S4B9C96710CAE1800509dc6dd04121fca5&k=1605c5f0-24ee-43a0-aa47-4a2aa4e3f12f&p=r_CRICINFOESPN&t=network&cpc=0.0"><img src="http://mmv.admob.com/p/i/7c/3b/7c3b357adb6d2be9e2e8758a36c51668-xl.png" alt="Play MOBile Wars On ur Firefox" width="300" height="50"/><br clear="none"/></a><a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fc.admob.com%2Fc1%2F3%2FEkwmvDjF8bEkzAKcwck-S4B9C96710CAE1800509dc6dd04121fca5&k=1605c5f0-24ee-43a0-aa47-4a2aa4e3f12f&p=r_CRICINFOESPN&t=network&cpc=0.0">Play MOBile Wars On ur Firefox</a></td></tr><tr><td colspan="1" rowspan="1"><img src="http://mipix.mo2do.net/common/p/?subscriber=subscriber-lzuyE5dYgSOmQyd&src=&operator=WEB&device=Mozilla%20Firefox&pageref=%2FScores&site=Cricinfo&k=18fba8b7-5a29-4d13-a1ef-166d8a1ffb96&r=ESPN&p=Cricinfo" width="1" height="1"/></td></tr></table> </body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><title>Scores</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style></head><body width="100%" style="padding: 0px; margin: 0px;"><table class="mm-table" id="top" width="100%" cellpadding="0" cellspacing="0" border="0" style="width: 100%; padding: 0px; margin: 0px;"><tr><td align="center" colspan="1" rowspan="1" id="topAdHolder" style="padding-top:2px ; padding-bottom:2px" width="100%" _="_"><img alt="." src="http://miad.mo2do.net/ad/x/?publisher=r_CRICINFOESPN&logkey=cc02137f-0400-40e5-a925-08389bd16750&campaign_id=r_CRICINFOESPN/Millenial-1&capped_campaign=false&tz=EST" width="1" height="1"/> <a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fbank12.clicks.mp.mydas.mobi%2FhandleClick.php5%3Fapid%3D14640%26amp%3Bacid%3D28049%26amp%3Bmtpid%3D0%26amp%3Bauid%3D121.45.89.143%26amp%3Bosid%3D12%26amp%3Burid%3Ddddf397adc0353e16910e814d67b508f%26amp%3Bri%3D12%26amp%3Bmmid%3D5329%26amp%3Buip%3D121.45.89.143%26amp%3Borut%3D1268553329&k=cc02137f-0400-40e5-a925-08389bd16750&p=r_CRICINFOESPN&t=network&cpc=0.0"><img src="http://bank12.ads.mp.mydas.mobi/getImage.php5?apid=14640&mode=live&acid=28049&auid=121.45.89.143&osid=12&urid=dddf397adc0353e16910e814d67b508f&ri=12&mmid=5329&orut=1268553329&mtpid=0" alt="Inspire-For+the+woman+on+the+go" width="320" height="53"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" colspan="1" rowspan="1" bgcolor="#BFD5EA" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a shape="rect" href="/s/2497/Home?"><img src="/s/store/1588392/img_upload.gif" alt="ESPN Cricinfo" border="0"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" colspan="1" rowspan="1" bgcolor="#0E71C6" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="/s/imgdwn/1616783/img_upload.gif?crop=RIGHT&quality=70" alt="." border="0"/></td></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="/s/2497/MatchCenter?matchId=419109">4th match: KOLK v BLORE</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"/></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">Start time 10:30 GMT</font></b></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="/s/2497/MatchCenter?matchId=426423">1st Test: BAN v ENG</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">BAN</font></b> <b><font color="#000000"> 296 & 20/1 (6.3 ov) <font color="#000000"/> </font></b> <br clear="none"/> <b><font color="#000000">ENG</font></b> <b><font color="#000000"> 599/6d & 200/7d <font color="#000000"/> </font></b></td></tr></table> <table><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="/s/lineImage?device=Mozilla%20Firefox&lineColor=%23035bac&bgColor=%23FFFFFF&height=1" alt=" " border="0"/></td></tr></table> <table width="100%" cellpadding="0" cellspacing="0"><tr><td align="center" colspan="1" rowspan="1" style="link-align: center;" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Scores" style="color:#035BAC; ">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=News" style="color:#035BAC; ">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Results" style="color:#035BAC; ">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Opinion" style="color:#035BAC; ">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Fixtures" style="color:#035BAC; ">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Players" style="color:#035BAC; ">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Countries" style="color:#035BAC; ">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Photos" style="color:#035BAC; ">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Rankings" style="color:#035BAC; ">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Records" style="color:#035BAC; ">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="/s/showPage.do?siteId=52786&pageId=Downloads" style="color:#035BAC; ">Downloads</a></b> </div></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" colspan="1" rowspan="1" bgcolor="#055395" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a shape="rect" href="/s/2497/Home?"><img src="/s/imgdwn/1659333/img_upload.gif?crop=BOTH&quality=70" alt="." border="0"/></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1"><img src="http://w88.m.espn.go.com/b/ss/wdgwespcric,wdgwesec/5.1/1268553329776?D=..&gn=Scores&r=http%253A%252F%252Fm.cricinfo.com%252F&h1=cri-mobi&c1=Cricinfo&c37=..User-Agent" width="5" height="5"/></td></tr><tr><td colspan="1" rowspan="1" width="100%" style="width: 100%;"><br clear="none"/></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a shape="rect" href="http://www.cricinfo.com?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Mozilla%20Firefox&height=1&lineHeight=2&lineColor=%23C0C0C0&bgColor=%23FFFFFF" alt=" " border="0"/></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a shape="rect" href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a shape="rect" href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a shape="rect" style="COLOR: rgb(12,106,188)" href="http://m.espnf1.com">ESPNF1</a> | <a shape="rect" href="http://m.scrum.com/"><font color="#3174c5">ESPNScrum<br clear="none"/> </font></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="/s/lineImage?device=Mozilla%20Firefox&height=1&lineHeight=2&lineColor=%23C0C0C0&bgColor=%23FFFFFF" alt=" " border="0"/></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a shape="rect" href="/s/showPage.do?siteId=52786&pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a shape="rect" href="/s/showPage.do?siteId=52786&pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a shape="rect" href="/s/showPage.do?siteId=52786&pageId=Terms"><font color="#035bac">Terms of Use</font></a></td></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"/></tr></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="center" colspan="1" rowspan="1" id="topAdHolder" style="padding-top:2px ; padding-bottom:2px" width="100%" _="_"><img alt="." src="http://miad.mo2do.net/ad/x/?publisher=r_CRICINFOESPN&logkey=1605c5f0-24ee-43a0-aa47-4a2aa4e3f12f&campaign_id=r_CRICINFOESPN/Admob&capped_campaign=false&tz=Asia/Calcutta" width="1" height="1"/> <a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fc.admob.com%2Fc1%2F3%2FEkwmvDjF8bEkzAKcwck-S4B9C96710CAE1800509dc6dd04121fca5&k=1605c5f0-24ee-43a0-aa47-4a2aa4e3f12f&p=r_CRICINFOESPN&t=network&cpc=0.0"><img src="http://mmv.admob.com/p/i/7c/3b/7c3b357adb6d2be9e2e8758a36c51668-xl.png" alt="Play MOBile Wars On ur Firefox" width="300" height="50"/><br clear="none"/></a><a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fc.admob.com%2Fc1%2F3%2FEkwmvDjF8bEkzAKcwck-S4B9C96710CAE1800509dc6dd04121fca5&k=1605c5f0-24ee-43a0-aa47-4a2aa4e3f12f&p=r_CRICINFOESPN&t=network&cpc=0.0">Play MOBile Wars On ur Firefox</a></td></tr><tr><td colspan="1" rowspan="1"><img src="http://mipix.mo2do.net/common/p/?subscriber=subscriber-lzuyE5dYgSOmQyd&src=&operator=WEB&device=Mozilla%20Firefox&pageref=%2FScores&site=Cricinfo&k=18fba8b7-5a29-4d13-a1ef-166d8a1ffb96&r=ESPN&p=Cricinfo" width="1" height="1"/></td></tr></table> </body></html>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<!-- saved from url=(0036)http://m.cricinfo.com/s/2497/Scores? -->
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Live Scores | Cricinfo</title><style type="text/css">body{ font-family: Arial, sans-serif; font-size:11px; } table tr td { font-family: Arial, sans-serif; font-size:11px; } .mm-table{ width: 100%; padding: 0px; margin: 0px; } table tr td p{ line-height: 12px; }</style><style type="text/css">a:hover {color:;background:#C0C0C0;} a:link {text-decoration: none;} a:visited {text-decoration: none;}</style><meta name="keywords" content="Live cricket scores, Cricket commentary, Ball by ball scores, mobile cricket scores"><meta name="description" content="Live Cricket Scores and commentary as covered by Cricinfo "></head><body width="100%" style="padding: 0px; margin: 0px;"><a shape="rect" id="top" href="http://m.cricinfo.com/s/2497/Scores?#"> </a> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td align="center" colspan="1" rowspan="1" bgcolor="#BFD5EA" width="100%" style="background-color: #BFD5EA; text-align: center; width: 100%;"><a shape="rect" href="http://m.cricinfo.com/s/2497/Home?"><img src="./Scores8_files/img_upload.gif" alt="ESPN Cricinfo" border="0"></a></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td align="left" colspan="1" rowspan="1" bgcolor="#0E71C6" width="100%" style="background-color: #0E71C6; text-align: left; width: 100%;"><img src="./Scores8_files/img_upload(1).gif" alt="." border="0"></td></tr></tbody></table> <table bgcolor="#C0C0C0" width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="http://m.cricinfo.com/s/2497/MatchCenter?matchId=465123&tournamentName=Champions%20League%20Twenty20&matchTitle=5th%20Match%2C%20Group%20B&team1=Bangalore&team2=Guyana&startDate=Sep%2012%2C%202010&live=true">5th Match, Group B: BANGALORE v GUYANA</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">Start time 15:30 GMT</font></b></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="http://m.cricinfo.com/s/2497/MatchCenter?matchId=465122&tournamentName=Champions%20League%20Twenty20&matchTitle=4th%20Match%2C%20Group%20B&team1=Lions&team2=South%20Australia&startDate=Sep%2012%2C%202010&live=true">4th Match, Group B: LIONS v SOUTH AUST</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">SOUTH AUST</font></b> <b><font color="#000000"> 165/4 <font color="#000000">(19.0 ov) </font></font></b><font color="#000000"></font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><a shape="rect" style="color:#035bac;" href="http://m.cricinfo.com/s/2497/MatchCenter?matchId=426429&tournamentName=NatWest%20Series%20%5BPakistan%20in%20England%5D&matchTitle=2nd%20ODI&team1=England&team2=Pakistan&startDate=Sep%2012%2C%202010&live=true">2nd ODI: ENG v PAK</a> <font color="#ca1500"> Live</font></td></tr><tr><td colspan="1" rowspan="1" style="align: left; padding: 2px;" width="100%" bgcolor="#C0C0C0"><b><font color="#000000">PAK</font></b> <b><font color="#000000"> 294/8 <font color="#000000">(50.0 ov) </font></font></b><font color="#000000"></font></td></tr></tbody></table> <table width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%;"><img src="./Scores8_files/lineImage" alt=" " border="0"></td></tr></tbody></table> <table width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td align="center" colspan="1" rowspan="1" style="link-align: center;" width="100%" bgcolor="#FFFFFF"><div style="padding: 5px 5px 5px 5px;"> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Scores" style="color:#035BAC; ">Scores</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=News" style="color:#035BAC; ">News</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Results" style="color:#035BAC; ">Results</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Opinion" style="color:#035BAC; ">Opinion</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Fixtures" style="color:#035BAC; ">Fixtures</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Players" style="color:#035BAC; ">Players</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Countries" style="color:#035BAC; ">Countries</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Photos" style="color:#035BAC; ">Photos</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Rankings" style="color:#035BAC; ">Rankings</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Records" style="color:#035BAC; ">Records</a></b> <b><font color="#035BAC"> | </font></b> <b><a shape="rect" class="nonLinkForCurve" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Downloads" style="color:#035BAC; ">Downloads</a></b> </div></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td align="left" colspan="1" rowspan="1" bgcolor="#055395" width="100%" style="background-color: #055395; text-align: left; width: 100%;"><a shape="rect" href="http://m.cricinfo.com/s/2497/Home?"><img src="./Scores8_files/img_upload(2).gif" alt="." border="0"></a></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1"><img src="./Scores8_files/1284295475937" width="5" height="5"></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><font color="#000000">Mobile Site</font> | <a shape="rect" href="http://www.cricinfo.com/?CMP=mobile_site"><font color="#035bac">Full Site</font></a></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="./Scores8_files/lineImage(1)" alt=" " border="0"></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"><a shape="rect" href="http://m.espn.go.com/soccer/index"><font color="#035bac">ESPNSoccernet</font></a><font color="#035bac"> </font>| <a shape="rect" href="http://m.espn.go.com/"><font color="#035bac">ESPN</font></a> | <a shape="rect" style="color: rgb(3, 91, 172);" href="http://m.espnf1.com/?CMP=msite_cricinfo"></a><a shape="rect" style="color: rgb(3, 91, 172);" href="http://m.espnf1.com/?CMP=msite_cricinfo">ESPNF1</a> | <font color="#035bac"><a shape="rect" style="color: rgb(3, 91, 172);" href="http://m.scrum.com/?CMP=msite_cricinfo">ESPNScrum</a><br clear="none"> </font></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; width: 100%; lineHeight: 1;"><img src="./Scores8_files/lineImage(1)" alt=" " border="0"></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" bgcolor="#FFFFFF" width="100%" style="background-color: #FFFFFF; padding-left: 4px; width: 100%; padding-bottom: 2px;"><a shape="rect" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=About%20Us"><font color="#035bac">About Us</font></a> | <a shape="rect" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Contact%20Us"><font color="#035bac">Contact Us</font></a> | <a shape="rect" href="http://m.cricinfo.com/s/showPage.do?siteId=64517&pageId=Terms"><font color="#035bac">Terms of Use</font></a></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" width="100%" style="padding-left: 4px; width: 100%; padding-bottom: 2px;"></tr></tbody></table> <table class="mm-table" cellpadding="2" cellspacing="2" width="100%" style="width: 100%;"><tbody><tr><td align="center" colspan="1" rowspan="1" id="topAdHolder" style="padding-top:2px ; padding-bottom:2px" width="100%" _="_"><img style="display:none" alt="." src="./Scores8_files/saved_resource" width="1" height="1"> <a shape="rect" href="http://miad.mo2do.net/ad/r/?u=http%3A%2F%2Fbank08.clicks.mp.mydas.mobi%2FhandleClick.php5%3Fapid%3D14640%26amp%3Bacid%3D28061%26amp%3Bmtpid%3D0%26amp%3Bauid%3D118.210.116.236%26amp%3Bosid%3D8%26amp%3Burid%3D977fa3796d3ccbd272d1a375edba8296%26amp%3Bri%3D8%26amp%3Bmmid%3D5354%26amp%3Buip%3D118.210.116.236%26amp%3Borut%3D1284295475&k=cad826c5-5cd7-4e2a-b5fb-fd37b7a7dea9&p=r_CRICINFOESPN&t=network&cpc=0.0"><img src="./Scores8_files/getImage.php5" alt="Metro-Its+a+lifestyle" width="320" height="53"></a></td></tr></tbody></table> <table class="mm-table" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1"><img src="./Scores8_files/p" width="1" height="1"></td></tr></tbody></table> </body></html>
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
RSpec.configure do |config|
|
8
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
9
|
+
config.run_all_when_everything_filtered = true
|
10
|
+
config.filter_run :focus
|
8
11
|
|
12
|
+
# Run specs in random order to surface order dependencies. If you find an
|
13
|
+
# order dependency and want to debug it, you can fix the order by providing
|
14
|
+
# the seed, which is printed after each run.
|
15
|
+
# --seed 1234
|
16
|
+
config.order = 'random'
|
17
|
+
end
|
9
18
|
$:.unshift(File.dirname(__FILE__) + '/../lib')
|
10
19
|
require 'cricinfo'
|
metadata
CHANGED
@@ -1,103 +1,86 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cricinfo
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 4
|
10
|
-
version: 0.0.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Andrew S Williams
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
name: hoe
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 35
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 9
|
32
|
-
- 4
|
33
|
-
version: 2.9.4
|
34
|
-
type: :development
|
35
|
-
version_requirements: *id001
|
36
|
-
description: An interface to cricinfo.com game data (current games only).
|
37
|
-
email:
|
12
|
+
date: 2012-07-19 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Cricinfo games interface
|
15
|
+
email:
|
38
16
|
- sobakasu@gmail.com
|
39
|
-
executables:
|
40
|
-
|
17
|
+
executables:
|
18
|
+
- cricinfo
|
41
19
|
extensions: []
|
42
|
-
|
43
|
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
- .
|
20
|
+
extra_rdoc_files: []
|
21
|
+
files:
|
22
|
+
- .gitignore
|
23
|
+
- .rspec
|
24
|
+
- Gemfile
|
25
|
+
- Gemfile.lock
|
26
|
+
- History.txt
|
27
|
+
- Manifest.txt
|
28
|
+
- README.rdoc
|
29
|
+
- Rakefile
|
30
|
+
- bin/cricinfo
|
31
|
+
- cricinfo.gemspec
|
32
|
+
- lib/cricinfo.rb
|
33
|
+
- lib/cricinfo/game.rb
|
34
|
+
- lib/cricinfo/innings.rb
|
35
|
+
- lib/cricinfo/scores.rb
|
36
|
+
- script/console
|
37
|
+
- script/destroy
|
38
|
+
- script/generate
|
39
|
+
- spec/cricinfo_scores_spec.rb
|
40
|
+
- spec/fixtures/Scores1.html
|
41
|
+
- spec/fixtures/Scores2.html
|
42
|
+
- spec/fixtures/Scores3.html
|
43
|
+
- spec/fixtures/Scores4.html
|
44
|
+
- spec/fixtures/Scores5.html
|
45
|
+
- spec/fixtures/Scores6.html
|
46
|
+
- spec/fixtures/Scores7.html
|
47
|
+
- spec/fixtures/Scores8.html
|
48
|
+
- spec/spec.opts
|
49
|
+
- spec/spec_helper.rb
|
68
50
|
homepage: http://github.com/sobakasu/cricinfo
|
69
51
|
licenses: []
|
70
|
-
|
71
52
|
post_install_message:
|
72
|
-
rdoc_options:
|
73
|
-
|
74
|
-
- README.rdoc
|
75
|
-
require_paths:
|
53
|
+
rdoc_options: []
|
54
|
+
require_paths:
|
76
55
|
- lib
|
77
|
-
|
56
|
+
- app
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
58
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
|
84
|
-
- 0
|
85
|
-
version: "0"
|
86
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
64
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
|
92
|
-
segments:
|
93
|
-
- 0
|
94
|
-
version: "0"
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
95
69
|
requirements: []
|
96
|
-
|
97
70
|
rubyforge_project: cricinfo
|
98
|
-
rubygems_version: 1.
|
71
|
+
rubygems_version: 1.8.24
|
99
72
|
signing_key:
|
100
73
|
specification_version: 3
|
101
|
-
summary:
|
102
|
-
test_files:
|
103
|
-
|
74
|
+
summary: Cricinfo games interface
|
75
|
+
test_files:
|
76
|
+
- spec/cricinfo_scores_spec.rb
|
77
|
+
- spec/fixtures/Scores1.html
|
78
|
+
- spec/fixtures/Scores2.html
|
79
|
+
- spec/fixtures/Scores3.html
|
80
|
+
- spec/fixtures/Scores4.html
|
81
|
+
- spec/fixtures/Scores5.html
|
82
|
+
- spec/fixtures/Scores6.html
|
83
|
+
- spec/fixtures/Scores7.html
|
84
|
+
- spec/fixtures/Scores8.html
|
85
|
+
- spec/spec.opts
|
86
|
+
- spec/spec_helper.rb
|
data/.gemtest
DELETED
File without changes
|