mlb 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/.gitignore +1 -0
- data/Rakefile +1 -0
- data/lib/mlb/version.rb +1 -1
- data/mlb.gemspec +20 -19
- metadata +231 -203
- data/Gemfile.lock +0 -64
- data/autotest/discover.rb +0 -1
data/.gemtest
ADDED
File without changes
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
data/lib/mlb/version.rb
CHANGED
data/mlb.gemspec
CHANGED
@@ -1,28 +1,29 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path(
|
2
|
+
require File.expand_path('../lib/mlb/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
|
-
s.add_development_dependency(
|
6
|
-
s.add_development_dependency(
|
7
|
-
s.add_development_dependency(
|
8
|
-
s.add_development_dependency(
|
9
|
-
s.add_development_dependency(
|
10
|
-
s.add_development_dependency(
|
11
|
-
s.add_development_dependency(
|
12
|
-
s.add_development_dependency(
|
13
|
-
s.add_development_dependency(
|
14
|
-
s.add_runtime_dependency(
|
15
|
-
s.add_runtime_dependency(
|
16
|
-
s.add_runtime_dependency(
|
5
|
+
s.add_development_dependency('bundler', '~> 1.0')
|
6
|
+
s.add_development_dependency('json', '~> 1.4.6')
|
7
|
+
s.add_development_dependency('maruku', '~> 0.6')
|
8
|
+
s.add_development_dependency('rake', '~> 0.8')
|
9
|
+
s.add_development_dependency('rspec', '~> 2.3')
|
10
|
+
s.add_development_dependency('simplecov', '~> 0.3')
|
11
|
+
s.add_development_dependency('webmock', '~> 1.6')
|
12
|
+
s.add_development_dependency('yard', '~> 0.6')
|
13
|
+
s.add_development_dependency('ZenTest', '~> 4.4')
|
14
|
+
s.add_runtime_dependency('faraday', '~> 0.5.3')
|
15
|
+
s.add_runtime_dependency('faraday_middleware', '~> 0.3.1')
|
16
|
+
s.add_runtime_dependency('multi_json', '~> 0.0.5')
|
17
17
|
s.authors = ["Erik Michaels-Ober"]
|
18
18
|
s.description = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.}
|
19
|
-
s.email = [
|
19
|
+
s.email = ['sferik@gmail.com']
|
20
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
21
|
s.files = `git ls-files`.split("\n")
|
21
|
-
s.homepage =
|
22
|
-
s.name =
|
23
|
-
s.rdoc_options = [
|
24
|
-
s.require_paths = [
|
25
|
-
s.required_rubygems_version = Gem::Requirement.new(
|
22
|
+
s.homepage = 'http://rubygems.org/gems/mlb'
|
23
|
+
s.name = 'mlb'
|
24
|
+
s.rdoc_options = ['--charset=UTF-8']
|
25
|
+
s.require_paths = ['lib']
|
26
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 1.3.6') if s.respond_to? :required_rubygems_version=
|
26
27
|
s.summary = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.}
|
27
28
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
29
|
s.version = MLB::VERSION
|
metadata
CHANGED
@@ -1,185 +1,210 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mlb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 9
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
version: 0.5.
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
|
-
|
13
|
+
- Erik Michaels-Ober
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-02-03 00:00:00 -05:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: bundler
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 15
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
version: "1.0"
|
34
|
+
type: :development
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: json
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 11
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 4
|
48
|
+
- 6
|
49
|
+
version: 1.4.6
|
50
|
+
type: :development
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: maruku
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 7
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 6
|
64
|
+
version: "0.6"
|
65
|
+
type: :development
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rake
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 27
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
- 8
|
79
|
+
version: "0.8"
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id004
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rspec
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
hash: 5
|
91
|
+
segments:
|
92
|
+
- 2
|
93
|
+
- 3
|
94
|
+
version: "2.3"
|
95
|
+
type: :development
|
96
|
+
version_requirements: *id005
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
prerelease: false
|
100
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
hash: 13
|
106
|
+
segments:
|
107
|
+
- 0
|
108
|
+
- 3
|
109
|
+
version: "0.3"
|
110
|
+
type: :development
|
111
|
+
version_requirements: *id006
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: webmock
|
114
|
+
prerelease: false
|
115
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
hash: 3
|
121
|
+
segments:
|
122
|
+
- 1
|
123
|
+
- 6
|
124
|
+
version: "1.6"
|
125
|
+
type: :development
|
126
|
+
version_requirements: *id007
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: yard
|
129
|
+
prerelease: false
|
130
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ~>
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
hash: 7
|
136
|
+
segments:
|
137
|
+
- 0
|
138
|
+
- 6
|
139
|
+
version: "0.6"
|
140
|
+
type: :development
|
141
|
+
version_requirements: *id008
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: ZenTest
|
144
|
+
prerelease: false
|
145
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ~>
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
hash: 19
|
151
|
+
segments:
|
152
|
+
- 4
|
153
|
+
- 4
|
154
|
+
version: "4.4"
|
155
|
+
type: :development
|
156
|
+
version_requirements: *id009
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: faraday
|
159
|
+
prerelease: false
|
160
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ~>
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
hash: 13
|
166
|
+
segments:
|
167
|
+
- 0
|
168
|
+
- 5
|
169
|
+
- 3
|
170
|
+
version: 0.5.3
|
171
|
+
type: :runtime
|
172
|
+
version_requirements: *id010
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: faraday_middleware
|
175
|
+
prerelease: false
|
176
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ~>
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
hash: 17
|
182
|
+
segments:
|
183
|
+
- 0
|
184
|
+
- 3
|
185
|
+
- 1
|
186
|
+
version: 0.3.1
|
187
|
+
type: :runtime
|
188
|
+
version_requirements: *id011
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: multi_json
|
191
|
+
prerelease: false
|
192
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ~>
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
hash: 21
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
- 0
|
201
|
+
- 5
|
202
|
+
version: 0.0.5
|
203
|
+
type: :runtime
|
204
|
+
version_requirements: *id012
|
180
205
|
description: MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.
|
181
206
|
email:
|
182
|
-
|
207
|
+
- sferik@gmail.com
|
183
208
|
executables: []
|
184
209
|
|
185
210
|
extensions: []
|
@@ -187,56 +212,59 @@ extensions: []
|
|
187
212
|
extra_rdoc_files: []
|
188
213
|
|
189
214
|
files:
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
- spec/spec_helper.rb
|
215
|
+
- .gemtest
|
216
|
+
- .gitignore
|
217
|
+
- .rspec
|
218
|
+
- .yardopts
|
219
|
+
- Gemfile
|
220
|
+
- LICENSE.mkd
|
221
|
+
- README.mkd
|
222
|
+
- Rakefile
|
223
|
+
- cache/teams.json
|
224
|
+
- lib/mlb.rb
|
225
|
+
- lib/mlb/player.rb
|
226
|
+
- lib/mlb/request.rb
|
227
|
+
- lib/mlb/team.rb
|
228
|
+
- lib/mlb/version.rb
|
229
|
+
- mlb.gemspec
|
230
|
+
- spec/mlb_spec.rb
|
231
|
+
- spec/spec_helper.rb
|
208
232
|
has_rdoc: true
|
209
233
|
homepage: http://rubygems.org/gems/mlb
|
210
234
|
licenses: []
|
211
235
|
|
212
236
|
post_install_message:
|
213
237
|
rdoc_options:
|
214
|
-
|
238
|
+
- --charset=UTF-8
|
215
239
|
require_paths:
|
216
|
-
|
240
|
+
- lib
|
217
241
|
required_ruby_version: !ruby/object:Gem::Requirement
|
242
|
+
none: false
|
218
243
|
requirements:
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
244
|
+
- - ">="
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
hash: 3
|
247
|
+
segments:
|
248
|
+
- 0
|
249
|
+
version: "0"
|
224
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
|
+
none: false
|
225
252
|
requirements:
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
253
|
+
- - ">="
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
hash: 23
|
256
|
+
segments:
|
257
|
+
- 1
|
258
|
+
- 3
|
259
|
+
- 6
|
260
|
+
version: 1.3.6
|
233
261
|
requirements: []
|
234
262
|
|
235
263
|
rubyforge_project:
|
236
|
-
rubygems_version: 1.
|
264
|
+
rubygems_version: 1.5.0
|
237
265
|
signing_key:
|
238
266
|
specification_version: 3
|
239
267
|
summary: MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.
|
240
268
|
test_files:
|
241
|
-
|
242
|
-
|
269
|
+
- spec/mlb_spec.rb
|
270
|
+
- spec/spec_helper.rb
|
data/Gemfile.lock
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
mlb (0.5.0)
|
5
|
-
faraday (~> 0.5.3)
|
6
|
-
faraday_middleware (~> 0.3.0)
|
7
|
-
multi_json (~> 0.0.5)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: http://rubygems.org/
|
11
|
-
specs:
|
12
|
-
ZenTest (4.4.0)
|
13
|
-
addressable (2.2.2)
|
14
|
-
crack (0.1.8)
|
15
|
-
diff-lcs (1.1.2)
|
16
|
-
faraday (0.5.3)
|
17
|
-
addressable (~> 2.2.2)
|
18
|
-
multipart-post (~> 1.0.1)
|
19
|
-
rack (>= 1.1.0, < 2)
|
20
|
-
faraday_middleware (0.3.0)
|
21
|
-
faraday (~> 0.5.3)
|
22
|
-
json (1.4.6)
|
23
|
-
json (1.4.6-java)
|
24
|
-
maruku (0.6.0)
|
25
|
-
syntax (>= 1.0.0)
|
26
|
-
multi_json (0.0.5)
|
27
|
-
multipart-post (1.0.1)
|
28
|
-
rack (1.2.1)
|
29
|
-
rake (0.8.7)
|
30
|
-
rspec (2.1.0)
|
31
|
-
rspec-core (~> 2.1.0)
|
32
|
-
rspec-expectations (~> 2.1.0)
|
33
|
-
rspec-mocks (~> 2.1.0)
|
34
|
-
rspec-core (2.1.0)
|
35
|
-
rspec-expectations (2.1.0)
|
36
|
-
diff-lcs (~> 1.1.2)
|
37
|
-
rspec-mocks (2.1.0)
|
38
|
-
simplecov (0.3.7)
|
39
|
-
simplecov-html (>= 0.3.7)
|
40
|
-
simplecov-html (0.3.9)
|
41
|
-
syntax (1.0.0)
|
42
|
-
webmock (1.5.0)
|
43
|
-
addressable (>= 2.2.2)
|
44
|
-
crack (>= 0.1.7)
|
45
|
-
yard (0.6.1)
|
46
|
-
|
47
|
-
PLATFORMS
|
48
|
-
java
|
49
|
-
ruby
|
50
|
-
|
51
|
-
DEPENDENCIES
|
52
|
-
ZenTest (~> 4.4)
|
53
|
-
bundler (~> 1.0)
|
54
|
-
faraday (~> 0.5.3)
|
55
|
-
faraday_middleware (~> 0.3.0)
|
56
|
-
json (~> 1.4.6)
|
57
|
-
maruku (~> 0.6)
|
58
|
-
mlb!
|
59
|
-
multi_json (~> 0.0.5)
|
60
|
-
rake (~> 0.8)
|
61
|
-
rspec (~> 2.1)
|
62
|
-
simplecov (~> 0.3)
|
63
|
-
webmock (~> 1.5)
|
64
|
-
yard (~> 0.6)
|
data/autotest/discover.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Autotest.add_discovery { "rspec2" }
|