bishl 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -17
- data/README.textile +9 -1
- data/Rakefile +10 -0
- data/VERSION +1 -1
- data/lib/bishl.rb +1 -0
- data/lib/bishl_klass.rb +50 -16
- data/lib/game.rb +17 -2
- data/lib/schedule_line.rb +10 -1
- data/lib/schedule_team.rb +22 -4
- data/spec/parser_spec.rb +33 -19
- metadata +233 -163
data/Gemfile
CHANGED
@@ -1,19 +1,3 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
2
|
|
6
|
-
|
7
|
-
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
group :development do
|
9
|
-
gem "rspec", "~> 2.3.0"
|
10
|
-
gem "bundler", "~> 1.0.0"
|
11
|
-
gem "jeweler", "~> 1.5.2"
|
12
|
-
gem "rcov", ">= 0"
|
13
|
-
gem "vcr"
|
14
|
-
gem "webmock"
|
15
|
-
end
|
16
|
-
|
17
|
-
gem "nokogiri"
|
18
|
-
gem "httparty"
|
19
|
-
gem "chronic"
|
3
|
+
gemspec
|
data/README.textile
CHANGED
@@ -4,9 +4,17 @@ A tiny little ruby wrapper around the XML api of www.bishl.de .
|
|
4
4
|
|
5
5
|
h2. Installation
|
6
6
|
|
7
|
-
Installation via Bundler is easy to setup
|
7
|
+
Installation via Bundler is easy to setup.
|
8
8
|
Put the following line to your Gemfile:
|
9
9
|
|
10
|
+
<pre>
|
11
|
+
<code>
|
12
|
+
gem "bishl"
|
13
|
+
</code>
|
14
|
+
</pre>
|
15
|
+
|
16
|
+
To ride "cutting edge" use github as gem source:
|
17
|
+
|
10
18
|
<pre>
|
11
19
|
<code>
|
12
20
|
gem "bishl", :git => "git://github.com/dsci/bishl.git"
|
data/Rakefile
CHANGED
@@ -46,6 +46,16 @@ Jeweler::Tasks.new do |gem|
|
|
46
46
|
"spec/url_spec.rb"
|
47
47
|
]
|
48
48
|
gem.add_runtime_dependency "nokogiri"
|
49
|
+
gem.add_runtime_dependency "httparty"
|
50
|
+
gem.add_runtime_dependency "virtus"
|
51
|
+
gem.add_runtime_dependency "bundler"
|
52
|
+
gem.add_runtime_dependency "chronic"
|
53
|
+
|
54
|
+
gem.add_development_dependency "rspec", "~> 2.3.0"
|
55
|
+
gem.add_development_dependency "vcr"
|
56
|
+
gem.add_development_dependency "fuubar"
|
57
|
+
gem.add_development_dependency "webmock"
|
58
|
+
gem.add_development_dependency "jeweler"
|
49
59
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
50
60
|
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
51
61
|
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/lib/bishl.rb
CHANGED
data/lib/bishl_klass.rb
CHANGED
@@ -15,21 +15,26 @@ class BISHL
|
|
15
15
|
# opt(:team => 12, :strip => false)
|
16
16
|
# opt[:strip] is true by default
|
17
17
|
def next_game_for(opt={})
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
18
|
+
self.new.next_game_for(opt)
|
19
|
+
#strip = true
|
20
|
+
#if opt.has_key?(:strip)
|
21
|
+
# strip = opt.delete(:strip)
|
22
|
+
#end
|
23
|
+
#games = self.schedule(opt)
|
24
|
+
#result = []
|
25
|
+
#games.each do |game|
|
26
|
+
# result << game if game.date >= Time.now
|
27
|
+
#end
|
28
|
+
#if strip
|
29
|
+
# return [result.first] unless result.empty?
|
30
|
+
# return [] if result.empty?
|
31
|
+
#else
|
32
|
+
# result
|
33
|
+
#end
|
34
|
+
end
|
35
|
+
|
36
|
+
def last_game_for(opt={})
|
37
|
+
self.new.last_game_for(opt)
|
33
38
|
end
|
34
39
|
|
35
40
|
def logo_for(opt={})
|
@@ -42,7 +47,7 @@ class BISHL
|
|
42
47
|
found.attributes.each do |attr|
|
43
48
|
if attr.include?("src")
|
44
49
|
logo_path = "#{Bishl::Url.base}/#{attr.last.value}"
|
45
|
-
logo_path
|
50
|
+
#logo_path
|
46
51
|
return logo_path
|
47
52
|
end
|
48
53
|
end
|
@@ -51,4 +56,33 @@ class BISHL
|
|
51
56
|
|
52
57
|
end
|
53
58
|
|
59
|
+
def method_missing(method_name,*args,&block)
|
60
|
+
match_next = method_name.to_s.match /next_game/
|
61
|
+
match_last = method_name.to_s.match /last_game/
|
62
|
+
if match_last or match_next
|
63
|
+
opt = args.pop
|
64
|
+
strip = true
|
65
|
+
if opt.has_key?(:strip)
|
66
|
+
strip = opt.delete(:strip)
|
67
|
+
end
|
68
|
+
games = self.class.schedule(opt)
|
69
|
+
result = []
|
70
|
+
games.each do |game|
|
71
|
+
result << game if game.date >= DateTime.now if match_next
|
72
|
+
result << game if game.date <= DateTime.now if match_last
|
73
|
+
end
|
74
|
+
if strip and match_next
|
75
|
+
return [result.first] unless result.empty?
|
76
|
+
return [] if result.empty?
|
77
|
+
elsif strip and match_last
|
78
|
+
return [result.last] unless result.empty?
|
79
|
+
return [] if result.empty?
|
80
|
+
elsif not strip
|
81
|
+
return result
|
82
|
+
end
|
83
|
+
else
|
84
|
+
super
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
54
88
|
end
|
data/lib/game.rb
CHANGED
@@ -1,11 +1,26 @@
|
|
1
1
|
module Bishl
|
2
|
-
class Game
|
3
|
-
|
2
|
+
class Game
|
3
|
+
|
4
|
+
include Virtus
|
5
|
+
|
6
|
+
attribute :startdate, DateTime
|
7
|
+
attribute :hometeam, String
|
8
|
+
attribute :awayteam, String
|
9
|
+
attribute :gameid, Integer
|
10
|
+
attribute :stadium, String
|
11
|
+
attribute :goalshome, Integer
|
12
|
+
attribute :goalsaway, Integer
|
13
|
+
attribute :overtime, Integer
|
14
|
+
attribute :shootout, Integer
|
15
|
+
attribute :awayteamid, Integer
|
16
|
+
attribute :hometeamid, Integer
|
4
17
|
|
5
18
|
alias_method :date, :startdate
|
6
19
|
alias_method :id, :gameid
|
7
20
|
alias_method :awayteam_id, :awayteamid
|
8
21
|
alias_method :hometeam_id, :hometeamid
|
9
22
|
|
23
|
+
alias_method :hashify, :attributes
|
24
|
+
|
10
25
|
end
|
11
26
|
end
|
data/lib/schedule_line.rb
CHANGED
@@ -1,11 +1,20 @@
|
|
1
1
|
module Bishl
|
2
|
-
class ScheduleLine
|
2
|
+
class ScheduleLine
|
3
|
+
|
4
|
+
include Virtus
|
5
|
+
|
6
|
+
attribute :position, :Integer
|
7
|
+
|
3
8
|
|
4
9
|
attr_accessor :team
|
5
10
|
|
6
11
|
def initialize
|
7
12
|
@team = ScheduleTeam.new
|
8
13
|
end
|
14
|
+
|
15
|
+
def hashify
|
16
|
+
self.attributes.merge!({:team => @team.attributes})
|
17
|
+
end
|
9
18
|
|
10
19
|
def method_missing(method, *arguments, &block)
|
11
20
|
#puts method.to_s
|
data/lib/schedule_team.rb
CHANGED
@@ -1,8 +1,26 @@
|
|
1
1
|
module Bishl
|
2
|
-
class ScheduleTeam
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
class ScheduleTeam
|
3
|
+
|
4
|
+
include Virtus
|
5
|
+
|
6
|
+
attribute :teamname, String
|
7
|
+
attribute :wins, Integer
|
8
|
+
attribute :losses, Integer
|
9
|
+
attribute :ties, Integer
|
10
|
+
attribute :otwins, Integer
|
11
|
+
attribute :otlosses, Integer
|
12
|
+
attribute :sowins, Integer
|
13
|
+
attribute :points, Integer
|
14
|
+
attribute :goalsfor, Integer
|
15
|
+
attribute :goalsagainst, Integer
|
16
|
+
attribute :gamesplayed, Integer
|
17
|
+
attribute :solosses, Integer
|
18
|
+
|
19
|
+
attr_accessor :schedule
|
20
|
+
|
21
|
+
def hashify
|
22
|
+
self.attributes.merge!({:goals_diff => self.goals_diff})
|
23
|
+
end
|
6
24
|
|
7
25
|
class << self
|
8
26
|
|
data/spec/parser_spec.rb
CHANGED
@@ -2,48 +2,62 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
|
2
2
|
|
3
3
|
describe "Parser" do
|
4
4
|
|
5
|
+
let(:year){Time.now.year}
|
6
|
+
|
5
7
|
subject do
|
6
8
|
@parser ||= Bishl::Parser.new
|
7
9
|
end
|
8
10
|
|
9
11
|
it "should parse the standings url" do
|
10
|
-
parse = proc{subject.parse_standings(:season =>
|
12
|
+
parse = proc{subject.parse_standings(:season => year, :cs => "LLA")}
|
11
13
|
lambda{ parse.call }.should_not raise_error
|
12
14
|
parse.call.should_not be_empty
|
13
15
|
end
|
14
16
|
|
15
17
|
context "schedule" do
|
16
18
|
it "parse the schedule for given team" do
|
17
|
-
parse = proc {subject.parse_schedule(:season =>
|
19
|
+
parse = proc {subject.parse_schedule(:season => 2011, :cs => "LLA", :team => "74")}
|
18
20
|
lambda{parse.call}.should_not raise_error
|
19
|
-
parse.call.first.id.should == 1058
|
20
|
-
parse.call.should have(
|
21
|
+
parse.call.first.id.should == 1058
|
22
|
+
parse.call.should have(22).items
|
21
23
|
end
|
22
24
|
|
23
|
-
|
24
|
-
parse = proc {BISHL.next_game_for(:season => "2010", :cs => "LLA", :team => "74")}
|
25
|
-
parse.call.should have(0).items
|
26
|
-
|
27
|
-
parse = proc {BISHL.next_game_for(:season => "2011", :cs => "LLA", :team => "74")}
|
28
|
-
parse.call.should have(1).items
|
29
|
-
end
|
25
|
+
context "the next game" do
|
30
26
|
|
31
|
-
|
27
|
+
it "parses for given team" do
|
28
|
+
parse = proc {BISHL.next_game_for(:season => year-1, :cs => "LLA", :team => "74")}
|
29
|
+
parse.call.should have(0).items
|
32
30
|
|
33
|
-
|
34
|
-
parse = proc {BISHL.next_game_for(:season => "2011", :cs => "LLA", :team => "74")}
|
31
|
+
parse = proc {BISHL.next_game_for(:season => year, :cs => "LLA", :team => "74")}
|
35
32
|
parse.call.should have(1).items
|
36
33
|
end
|
37
34
|
|
38
|
-
|
35
|
+
context "stripped" do
|
39
36
|
|
40
|
-
|
37
|
+
it "parse the next game for given team and returns it as a single array" do
|
38
|
+
parse = proc {BISHL.next_game_for(:season => year, :cs => "LLA", :team => "74")}
|
39
|
+
parse.call.should have(1).items
|
40
|
+
end
|
41
41
|
|
42
|
-
it "parse the next game for given team and returns it as an array" do
|
43
|
-
parse = proc {BISHL.next_game_for(:season => "2011", :cs => "LLA", :team => "74", :strip => false)}
|
44
|
-
parse.call.should_not have(1).items
|
45
42
|
end
|
46
43
|
|
44
|
+
context "not stripped" do
|
45
|
+
|
46
|
+
it "parse the next game for given team and returns it as an array" do
|
47
|
+
parse = proc {BISHL.next_game_for(:season => year, :cs => "LLA", :team => "74", :strip => false)}
|
48
|
+
parse.call.should_not have(1).items
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
context "the last game" do
|
55
|
+
it "parses for given team" do
|
56
|
+
parse = proc{BISHL.last_game_for(:season => "2010", :cs => "LLA", :team => "74")}
|
57
|
+
lambda{parse.call}.should_not raise_error
|
58
|
+
parse.call.should have(1).items
|
59
|
+
parse.call.first.awayteam.should == "Galabau"
|
60
|
+
end
|
47
61
|
end
|
48
62
|
|
49
63
|
context "logo" do
|
metadata
CHANGED
@@ -1,179 +1,255 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bishl
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 0.0.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Daniel Schmidt
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
33
|
-
name: nokogiri
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
prerelease: false
|
37
|
-
type: :runtime
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
version: "0"
|
47
|
-
name: httparty
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
prerelease: false
|
12
|
+
date: 2012-04-02 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bishl
|
16
|
+
requirement: &70113138444700 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
51
22
|
type: :runtime
|
52
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 3
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
version: "0"
|
61
|
-
name: chronic
|
62
|
-
version_requirements: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
23
|
prerelease: false
|
65
|
-
|
66
|
-
|
24
|
+
version_requirements: *70113138444700
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
requirement: &70113138444180 !ruby/object:Gem::Requirement
|
67
28
|
none: false
|
68
|
-
requirements:
|
29
|
+
requirements:
|
69
30
|
- - ~>
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
hash: 3
|
72
|
-
segments:
|
73
|
-
- 2
|
74
|
-
- 3
|
75
|
-
- 0
|
31
|
+
- !ruby/object:Gem::Version
|
76
32
|
version: 2.3.0
|
77
|
-
name: rspec
|
78
|
-
version_requirements: *id004
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
prerelease: false
|
81
33
|
type: :development
|
82
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70113138444180
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: bundler
|
38
|
+
requirement: &70113138443640 !ruby/object:Gem::Requirement
|
83
39
|
none: false
|
84
|
-
requirements:
|
40
|
+
requirements:
|
85
41
|
- - ~>
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
hash: 23
|
88
|
-
segments:
|
89
|
-
- 1
|
90
|
-
- 0
|
91
|
-
- 0
|
42
|
+
- !ruby/object:Gem::Version
|
92
43
|
version: 1.0.0
|
93
|
-
|
94
|
-
version_requirements: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
44
|
+
type: :development
|
96
45
|
prerelease: false
|
46
|
+
version_requirements: *70113138443640
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rcov
|
49
|
+
requirement: &70113138443160 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
97
55
|
type: :development
|
98
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70113138443160
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: vcr
|
60
|
+
requirement: &70113138442680 !ruby/object:Gem::Requirement
|
99
61
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
|
105
|
-
- 1
|
106
|
-
- 5
|
107
|
-
- 2
|
108
|
-
version: 1.5.2
|
109
|
-
name: jeweler
|
110
|
-
version_requirements: *id006
|
111
|
-
- !ruby/object:Gem::Dependency
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
112
67
|
prerelease: false
|
68
|
+
version_requirements: *70113138442680
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: &70113138442200 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
113
77
|
type: :development
|
114
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
|
-
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
hash: 3
|
120
|
-
segments:
|
121
|
-
- 0
|
122
|
-
version: "0"
|
123
|
-
name: rcov
|
124
|
-
version_requirements: *id007
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
78
|
prerelease: false
|
79
|
+
version_requirements: *70113138442200
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rspec
|
82
|
+
requirement: &70113138437300 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 2.3.0
|
127
88
|
type: :development
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
hash: 3
|
134
|
-
segments:
|
135
|
-
- 0
|
136
|
-
version: "0"
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70113138437300
|
91
|
+
- !ruby/object:Gem::Dependency
|
137
92
|
name: vcr
|
138
|
-
|
139
|
-
|
93
|
+
requirement: &70113138436720 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :development
|
140
100
|
prerelease: false
|
101
|
+
version_requirements: *70113138436720
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: fuubar
|
104
|
+
requirement: &70113138436120 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
141
110
|
type: :development
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
- - ">="
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
hash: 3
|
148
|
-
segments:
|
149
|
-
- 0
|
150
|
-
version: "0"
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70113138436120
|
113
|
+
- !ruby/object:Gem::Dependency
|
151
114
|
name: webmock
|
152
|
-
|
153
|
-
|
115
|
+
requirement: &70113138435460 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
154
122
|
prerelease: false
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
123
|
+
version_requirements: *70113138435460
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: jeweler
|
126
|
+
requirement: &70113138434860 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *70113138434860
|
135
|
+
- !ruby/object:Gem::Dependency
|
165
136
|
name: nokogiri
|
166
|
-
|
137
|
+
requirement: &70113138434260 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
type: :runtime
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *70113138434260
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: httparty
|
148
|
+
requirement: &70113138433660 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *70113138433660
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: virtus
|
159
|
+
requirement: &70113138433060 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
type: :runtime
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *70113138433060
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: bundler
|
170
|
+
requirement: &70113138432460 !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
type: :runtime
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: *70113138432460
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: chronic
|
181
|
+
requirement: &70113138431860 !ruby/object:Gem::Requirement
|
182
|
+
none: false
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
type: :runtime
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: *70113138431860
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: rspec
|
192
|
+
requirement: &70113138431260 !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ~>
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 2.3.0
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: *70113138431260
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: vcr
|
203
|
+
requirement: &70113138430680 !ruby/object:Gem::Requirement
|
204
|
+
none: false
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
type: :development
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: *70113138430680
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
name: fuubar
|
214
|
+
requirement: &70113138430080 !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
216
|
+
requirements:
|
217
|
+
- - ! '>='
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
type: :development
|
221
|
+
prerelease: false
|
222
|
+
version_requirements: *70113138430080
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: webmock
|
225
|
+
requirement: &70113138429500 !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ! '>='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0'
|
231
|
+
type: :development
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: *70113138429500
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: jeweler
|
236
|
+
requirement: &70113138429020 !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
238
|
+
requirements:
|
239
|
+
- - ! '>='
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: *70113138429020
|
167
245
|
description: Ruby wrapper for bishl.de xml api.
|
168
246
|
email: dsci@code79.net
|
169
247
|
executables: []
|
170
|
-
|
171
248
|
extensions: []
|
172
|
-
|
173
|
-
extra_rdoc_files:
|
249
|
+
extra_rdoc_files:
|
174
250
|
- LICENSE.txt
|
175
251
|
- README.textile
|
176
|
-
files:
|
252
|
+
files:
|
177
253
|
- .document
|
178
254
|
- .rspec
|
179
255
|
- Gemfile
|
@@ -198,41 +274,35 @@ files:
|
|
198
274
|
- spec/parser_spec.rb
|
199
275
|
- spec/spec_helper.rb
|
200
276
|
- spec/url_spec.rb
|
201
|
-
has_rdoc: true
|
202
277
|
homepage: http://github.com/dsci/bishl
|
203
|
-
licenses:
|
278
|
+
licenses:
|
204
279
|
- MIT
|
205
280
|
post_install_message:
|
206
281
|
rdoc_options: []
|
207
|
-
|
208
|
-
require_paths:
|
282
|
+
require_paths:
|
209
283
|
- lib
|
210
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
211
285
|
none: false
|
212
|
-
requirements:
|
213
|
-
- -
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
|
216
|
-
segments:
|
286
|
+
requirements:
|
287
|
+
- - ! '>='
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
segments:
|
217
291
|
- 0
|
218
|
-
|
219
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
|
+
hash: -3663803295061550580
|
293
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
294
|
none: false
|
221
|
-
requirements:
|
222
|
-
- -
|
223
|
-
- !ruby/object:Gem::Version
|
224
|
-
|
225
|
-
segments:
|
226
|
-
- 0
|
227
|
-
version: "0"
|
295
|
+
requirements:
|
296
|
+
- - ! '>='
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '0'
|
228
299
|
requirements: []
|
229
|
-
|
230
300
|
rubyforge_project:
|
231
|
-
rubygems_version: 1.
|
301
|
+
rubygems_version: 1.8.10
|
232
302
|
signing_key:
|
233
303
|
specification_version: 3
|
234
304
|
summary: Ruby wrapper for bishl.de xml api.
|
235
|
-
test_files:
|
305
|
+
test_files:
|
236
306
|
- spec/form_helper_spec.rb
|
237
307
|
- spec/params_builder_spec.rb
|
238
308
|
- spec/parser_spec.rb
|