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 ADDED
File without changes
data/.gitignore CHANGED
@@ -3,6 +3,7 @@
3
3
  .DS_Store
4
4
  .bundle
5
5
  .yardoc
6
+ Gemfile.lock
6
7
  coverage/*
7
8
  doc/*
8
9
  log/*
data/Rakefile CHANGED
@@ -4,6 +4,7 @@ Bundler::GemHelper.install_tasks
4
4
  require 'rspec/core/rake_task'
5
5
  RSpec::Core::RakeTask.new(:spec)
6
6
 
7
+ task :test => :spec
7
8
  task :default => :spec
8
9
 
9
10
  namespace :doc do
data/lib/mlb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module MLB
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
data/mlb.gemspec CHANGED
@@ -1,28 +1,29 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path("../lib/mlb/version", __FILE__)
2
+ require File.expand_path('../lib/mlb/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
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.1")
10
- s.add_development_dependency("simplecov", "~> 0.3")
11
- s.add_development_dependency("webmock", "~> 1.5")
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.0")
16
- s.add_runtime_dependency("multi_json", "~> 0.0.5")
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 = ["sferik@gmail.com"]
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 = "http://rubygems.org/gems/mlb"
22
- s.name = "mlb"
23
- s.rdoc_options = ["--charset=UTF-8"]
24
- s.require_paths = ["lib"]
25
- s.required_rubygems_version = Gem::Requirement.new(">= 1.3.6") if s.respond_to? :required_rubygems_version=
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
- prerelease: false
4
+ hash: 9
5
+ prerelease:
5
6
  segments:
6
- - 0
7
- - 5
8
- - 0
9
- version: 0.5.0
7
+ - 0
8
+ - 5
9
+ - 1
10
+ version: 0.5.1
10
11
  platform: ruby
11
12
  authors:
12
- - Erik Michaels-Ober
13
+ - Erik Michaels-Ober
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-11-10 00:00:00 -08:00
18
+ date: 2011-02-03 00:00:00 -05:00
18
19
  default_executable:
19
20
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: bundler
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ~>
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 0
30
- version: "1.0"
31
- type: :development
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
34
- name: json
35
- prerelease: false
36
- requirement: &id002 !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ~>
39
- - !ruby/object:Gem::Version
40
- segments:
41
- - 1
42
- - 4
43
- - 6
44
- version: 1.4.6
45
- type: :development
46
- version_requirements: *id002
47
- - !ruby/object:Gem::Dependency
48
- name: maruku
49
- prerelease: false
50
- requirement: &id003 !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- segments:
55
- - 0
56
- - 6
57
- version: "0.6"
58
- type: :development
59
- version_requirements: *id003
60
- - !ruby/object:Gem::Dependency
61
- name: rake
62
- prerelease: false
63
- requirement: &id004 !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- segments:
68
- - 0
69
- - 8
70
- version: "0.8"
71
- type: :development
72
- version_requirements: *id004
73
- - !ruby/object:Gem::Dependency
74
- name: rspec
75
- prerelease: false
76
- requirement: &id005 !ruby/object:Gem::Requirement
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- segments:
81
- - 2
82
- - 1
83
- version: "2.1"
84
- type: :development
85
- version_requirements: *id005
86
- - !ruby/object:Gem::Dependency
87
- name: simplecov
88
- prerelease: false
89
- requirement: &id006 !ruby/object:Gem::Requirement
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- segments:
94
- - 0
95
- - 3
96
- version: "0.3"
97
- type: :development
98
- version_requirements: *id006
99
- - !ruby/object:Gem::Dependency
100
- name: webmock
101
- prerelease: false
102
- requirement: &id007 !ruby/object:Gem::Requirement
103
- requirements:
104
- - - ~>
105
- - !ruby/object:Gem::Version
106
- segments:
107
- - 1
108
- - 5
109
- version: "1.5"
110
- type: :development
111
- version_requirements: *id007
112
- - !ruby/object:Gem::Dependency
113
- name: yard
114
- prerelease: false
115
- requirement: &id008 !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ~>
118
- - !ruby/object:Gem::Version
119
- segments:
120
- - 0
121
- - 6
122
- version: "0.6"
123
- type: :development
124
- version_requirements: *id008
125
- - !ruby/object:Gem::Dependency
126
- name: ZenTest
127
- prerelease: false
128
- requirement: &id009 !ruby/object:Gem::Requirement
129
- requirements:
130
- - - ~>
131
- - !ruby/object:Gem::Version
132
- segments:
133
- - 4
134
- - 4
135
- version: "4.4"
136
- type: :development
137
- version_requirements: *id009
138
- - !ruby/object:Gem::Dependency
139
- name: faraday
140
- prerelease: false
141
- requirement: &id010 !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ~>
144
- - !ruby/object:Gem::Version
145
- segments:
146
- - 0
147
- - 5
148
- - 3
149
- version: 0.5.3
150
- type: :runtime
151
- version_requirements: *id010
152
- - !ruby/object:Gem::Dependency
153
- name: faraday_middleware
154
- prerelease: false
155
- requirement: &id011 !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ~>
158
- - !ruby/object:Gem::Version
159
- segments:
160
- - 0
161
- - 3
162
- - 0
163
- version: 0.3.0
164
- type: :runtime
165
- version_requirements: *id011
166
- - !ruby/object:Gem::Dependency
167
- name: multi_json
168
- prerelease: false
169
- requirement: &id012 !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ~>
172
- - !ruby/object:Gem::Version
173
- segments:
174
- - 0
175
- - 0
176
- - 5
177
- version: 0.0.5
178
- type: :runtime
179
- version_requirements: *id012
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
- - sferik@gmail.com
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
- - .gitignore
191
- - .rspec
192
- - .yardopts
193
- - Gemfile
194
- - Gemfile.lock
195
- - LICENSE.mkd
196
- - README.mkd
197
- - Rakefile
198
- - autotest/discover.rb
199
- - cache/teams.json
200
- - lib/mlb.rb
201
- - lib/mlb/player.rb
202
- - lib/mlb/request.rb
203
- - lib/mlb/team.rb
204
- - lib/mlb/version.rb
205
- - mlb.gemspec
206
- - spec/mlb_spec.rb
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
- - --charset=UTF-8
238
+ - --charset=UTF-8
215
239
  require_paths:
216
- - lib
240
+ - lib
217
241
  required_ruby_version: !ruby/object:Gem::Requirement
242
+ none: false
218
243
  requirements:
219
- - - ">="
220
- - !ruby/object:Gem::Version
221
- segments:
222
- - 0
223
- version: "0"
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
- - !ruby/object:Gem::Version
228
- segments:
229
- - 1
230
- - 3
231
- - 6
232
- version: 1.3.6
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.3.6
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
- - spec/mlb_spec.rb
242
- - spec/spec_helper.rb
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" }