mlb 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
data/.rspec CHANGED
@@ -1,3 +1,2 @@
1
1
  --color
2
- --format=nested
3
- --backtrace
2
+ --order random
data/.travis.yml CHANGED
@@ -4,5 +4,4 @@ rvm:
4
4
  - 1.9.3
5
5
  - jruby
6
6
  - rbx
7
- - rbx-2.0
8
7
  - ree
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rake', :require => false
2
4
 
3
5
  gemspec
data/README.md CHANGED
@@ -1,16 +1,18 @@
1
- # MLB.rb
1
+ # MLB.rb [![Build Status](https://secure.travis-ci.org/sferik/mlb.png?branch=master)][travis] [![Dependency Status](https://gemnasium.com/sferik/mlb.png?travis)][gemnasium]
2
2
  MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.
3
3
 
4
- ## <a name="installation">Installation</a>
4
+ [travis]: http://travis-ci.org/sferik/mlb
5
+ [gemnasium]: https://gemnasium.com/sferik/mlb
6
+
7
+ ## <a name="installation"></a>Installation
5
8
  gem install mlb
6
9
 
7
- ## <a name="documentation">Documentation</a>
8
- [http://rdoc.info/gems/mlb](http://rdoc.info/gems/mlb)
10
+ ## <a name="documentation"></a>Documentation
11
+ [http://rdoc.info/gems/mlb][documentation]
9
12
 
10
- ## <a name="ci">Continuous Integration</a>
11
- [![Build Status](https://secure.travis-ci.org/sferik/mlb.png)](http://travis-ci.org/sferik/mlb)
13
+ [documentation]: http://rdoc.info/gems/mlb
12
14
 
13
- ## <a name="examples">Usage Examples</a>
15
+ ## <a name="examples"></a>Usage Examples
14
16
  $ irb
15
17
  >> require 'mlb'
16
18
  >> MLB::Team.all.first.name # => "Arizona Diamondbacks"
@@ -27,8 +29,11 @@ MLB.rb is a Ruby library for retrieving current Major League Baseball players, m
27
29
  >> MLB::Team.all.first.players.first.number # => 28
28
30
  >> MLB::Team.all.first.players.first.position # => "Right fielder"
29
31
 
30
- ## <a name="contributing">Contributing</a>
31
- In the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.
32
+ ## <a name="contributing"></a>Contributing
33
+ In the spirit of [free software][free-sw], **everyone** is encouraged to help
34
+ improve this project.
35
+
36
+ [free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
32
37
 
33
38
  Here are some ways *you* can contribute:
34
39
 
@@ -37,45 +42,54 @@ Here are some ways *you* can contribute:
37
42
  * by suggesting new features
38
43
  * by writing or editing documentation
39
44
  * by writing specifications
40
- * by writing code (**no patch is too small**: fix typos, add comments, cleanup inconsistent whitespace)
45
+ * by writing code (**no patch is too small**: fix typos, add comments, cleanup
46
+ inconsistent whitespace)
41
47
  * by refactoring code
42
- * by closing [issues](https://github.com/sferik/mlb/issues)
48
+ * by closing [issues][]
43
49
  * by reviewing patches
44
- * financially
45
50
 
46
- All contributors will be added to the credits and will receive the respect and gratitude of the community.
51
+ [issues]: https://github.com/sferik/mlb/issues
47
52
 
48
- ## <a name="issues">Submitting an Issue</a>
49
- We use the [GitHub issue tracker](https://github.com/sferik/mlb/issues) to
50
- track bugs and features. Before submitting a bug report or feature request,
51
- check to make sure it hasn't already been submitted. You can indicate support
52
- for an existing issuse by voting it up. When submitting a bug report, please
53
- include a [Gist](https://gist.github.com/) that includes a stack trace and any
54
- details that may be necessary to reproduce the bug, including your gem version,
55
- Ruby version, and operating system. Ideally, a bug report should include a pull
56
- request with failing specs.
53
+ ## <a name="issues"></a>Submitting an Issue
54
+ We use the [GitHub issue tracker][issues] to track bugs and features. Before
55
+ submitting a bug report or feature request, check to make sure it hasn't
56
+ already been submitted. You can indicate support for an existing issue by
57
+ voting it up. When submitting a bug report, please include a [Gist][] that
58
+ includes a stack trace and any details that may be necessary to reproduce the
59
+ bug, including your gem version, Ruby version, and operating system. Ideally, a
60
+ bug report should include a pull request with failing specs.
57
61
 
58
- ## <a name="pulls">Submitting a Pull Request</a>
62
+ [gist]: https://gist.github.com/
63
+
64
+ ## <a name="pulls"></a>Submitting a Pull Request
59
65
  1. Fork the project.
60
66
  2. Create a topic branch.
61
67
  3. Implement your feature or bug fix.
62
68
  4. Add documentation for your feature or bug fix.
63
- 5. Run <tt>bundle exec rake doc:yard</tt>. If your changes are not 100% documented, go back to step 4.
69
+ 5. Run `bundle exec rake doc:yard`. If your changes are not 100% documented, go
70
+ back to step 4.
64
71
  6. Add specs for your feature or bug fix.
65
- 7. Run <tt>bundle exec rake spec</tt>. If your changes are not 100% covered, go back to step 6.
72
+ 7. Run `bundle exec rake spec`. If your changes are not 100% covered, go back
73
+ to step 6.
66
74
  8. Commit and push your changes.
67
- 9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)
75
+ 9. Submit a pull request. Please do not include changes to the gemspec,
76
+ version, or history file. (If you want to create your own version for some
77
+ reason, please do so in a separate commit.)
68
78
 
69
- ## <a name="rubies">Supported Rubies</a>
70
- This library aims to support and is [tested
71
- against](http://travis-ci.org/sferik/mlb) the following Ruby implementations:
79
+ ## <a name="versions"></a>Supported Ruby Versions
80
+ This library aims to support and is [tested against][travis] the following Ruby
81
+ implementations:
72
82
 
73
83
  * Ruby 1.8.7
74
- * Ruby 1.9.1
75
84
  * Ruby 1.9.2
76
- * [JRuby](http://www.jruby.org/)
77
- * [Rubinius](http://rubini.us/)
78
- * [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
85
+ * Ruby 1.9.3
86
+ * [JRuby][]
87
+ * [Rubinius][]
88
+ * [Ruby Enterprise Edition][ree]
89
+
90
+ [jruby]: http://www.jruby.org/
91
+ [rubinius]: http://rubini.us/
92
+ [ree]: http://www.rubyenterpriseedition.com/
79
93
 
80
94
  If something doesn't work on one of these interpreters, it should be considered
81
95
  a bug.
@@ -91,20 +105,34 @@ implementation, you will be personally responsible for providing patches in a
91
105
  timely fashion. If critical issues for a particular implementation exist at the
92
106
  time of a major release, support for that Ruby version may be dropped.
93
107
 
94
- ## <a name="credits">Credits</a>
95
- Many thanks to:
96
-
97
- * [Bundler](http://gembundler.com/)
98
- * [Freebase](http://www.freebase.com/)
99
- * [Faraday](https://github.com/technoweenie/faraday/)
100
- * [Markdown](http://daringfireball.net/projects/markdown/)
101
- * [MultiJSON](https://github.com/intridea/multi_json/)
102
- * [RSpec](http://relishapp.com/rspec/)
103
- * [SimpleCov](https://github.com/colszowka/simplecov)
104
- * [SQLite](http://www.sqlite.org/)
105
- * [WebMock](https://github.com/bblimke/webmock/)
106
- * [YARD](http://yardoc.org/)
107
-
108
- ## <a name="copyright">Copyright</a>
109
- Copyright (c) 2010 Erik Michaels-Ober.
110
- See [LICENSE](https://github.com/sferik/mlb/blob/master/LICENSE.md) for details.
108
+ ## <a name="colophon"></a>Colophon
109
+ MLB was built with the following tools:
110
+
111
+ * [Bundler][]
112
+ * [Freebase][]
113
+ * [Faraday][]
114
+ * [Markdown][]
115
+ * [MultiJSON][]
116
+ * [RSpec][]
117
+ * [SimpleCov][]
118
+ * [SQLite][]
119
+ * [vim][]
120
+ * [WebMock][]
121
+ * [YARD][]
122
+
123
+ [bundler]: http://gembundler.com/
124
+ [freebase]: http://www.freebase.com/
125
+ [faraday]: https://github.com/technoweenie/faraday
126
+ [markdown]: http://daringfireball.net/projects/markdown/
127
+ [multijson]: https://github.com/intridea/multi_json
128
+ [rspec]: http://relishapp.com/rspec/
129
+ [simplecov]: https://github.com/colszowka/simplecov
130
+ [sqlite]: http://www.sqlite.org/
131
+ [vim]: http://www.vim.org/
132
+ [webmock]: https://github.com/bblimke/webmock
133
+ [yard]: http://yardoc.org/
134
+
135
+ ## <a name="copyright"></a>Copyright
136
+ Copyright (c) 2010 Erik Michaels-Ober. See [LICENSE][] for details.
137
+
138
+ [license]: https://github.com/sferik/mlb/blob/master/LICENSE.md
data/cache/teams.json CHANGED
@@ -249,7 +249,7 @@
249
249
  ],
250
250
  "/sports/sports_team/team_mascot": [],
251
251
  "current_manager": {
252
- "name": "Bobby Cox"
252
+ "name": "Fredi Gonz\u00e1lez"
253
253
  },
254
254
  "current_roster": [
255
255
  {
@@ -1184,249 +1184,6 @@
1184
1184
  ],
1185
1185
  "type": "/baseball/baseball_team"
1186
1186
  },
1187
- {
1188
- "/common/topic/image": [
1189
- {
1190
- "id": "/m/03t4s0m",
1191
- "timestamp": "2008-03-13T04:36:58.0013Z"
1192
- }
1193
- ],
1194
- "/sports/sports_team/arena_stadium": [
1195
- {
1196
- "name": "U.S. Cellular Field"
1197
- }
1198
- ],
1199
- "/sports/sports_team/founded": [
1200
- {
1201
- "value": "1900"
1202
- }
1203
- ],
1204
- "/sports/sports_team/team_mascot": [
1205
- {
1206
- "id": "/m/0b7nrv",
1207
- "name": "Southpaw",
1208
- "type": [
1209
- "/common/topic",
1210
- "/sports/mascot"
1211
- ]
1212
- }
1213
- ],
1214
- "current_manager": {
1215
- "name": "Ozzie Guill\u00e9n"
1216
- },
1217
- "current_roster": [
1218
- {
1219
- "number": 12,
1220
- "player": "A. J. Pierzynski",
1221
- "position": "Catcher"
1222
- },
1223
- {
1224
- "number": 46,
1225
- "player": "Adam Russell",
1226
- "position": "Relief pitcher"
1227
- },
1228
- {
1229
- "number": 10,
1230
- "player": "Alexei Ram\u00edrez",
1231
- "position": "Second baseman"
1232
- },
1233
- {
1234
- "number": 40,
1235
- "player": "Bartolo Col\u00f3n",
1236
- "position": "Starting pitcher"
1237
- },
1238
- {
1239
- "number": 45,
1240
- "player": "Bobby Jenks",
1241
- "position": "Relief pitcher"
1242
- },
1243
- {
1244
- "number": 60,
1245
- "player": "Brandon Allen",
1246
- "position": "First baseman"
1247
- },
1248
- {
1249
- "number": 18,
1250
- "player": "Brent Lillibridge",
1251
- "position": "Shortstop"
1252
- },
1253
- {
1254
- "number": 32,
1255
- "player": "Brian Anderson",
1256
- "position": "Center fielder"
1257
- },
1258
- {
1259
- "number": 20,
1260
- "player": "Carlos Quentin",
1261
- "position": "Left fielder"
1262
- },
1263
- {
1264
- "number": 17,
1265
- "player": "Chris Getz",
1266
- "position": "Second baseman"
1267
- },
1268
- {
1269
- "number": 54,
1270
- "player": "Clayton Richard",
1271
- "position": "Starting pitcher"
1272
- },
1273
- {
1274
- "number": 63,
1275
- "player": "Clevelan Santeliz",
1276
- "position": "Pitcher"
1277
- },
1278
- {
1279
- "number": 38,
1280
- "player": "Cole Armstrong",
1281
- "position": "Catcher"
1282
- },
1283
- {
1284
- "number": 53,
1285
- "player": "D. J. Carrasco",
1286
- "position": "Relief pitcher"
1287
- },
1288
- {
1289
- "number": 24,
1290
- "player": "Day\u00e1n Viciedo",
1291
- "position": "Third baseman"
1292
- },
1293
- {
1294
- "number": 31,
1295
- "player": "Dewayne Wise",
1296
- "position": "Center fielder"
1297
- },
1298
- {
1299
- "number": 43,
1300
- "player": "Ehren Wassermann",
1301
- "position": "Relief pitcher"
1302
- },
1303
- {
1304
- "number": 34,
1305
- "player": "Gavin Floyd",
1306
- "position": "Starting pitcher"
1307
- },
1308
- {
1309
- "number": 62,
1310
- "player": "Jack Egbert",
1311
- "position": "Pitcher"
1312
- },
1313
- {
1314
- "number": 5,
1315
- "player": "Jayson Nix",
1316
- "position": "Second baseman"
1317
- },
1318
- {
1319
- "number": 48,
1320
- "player": "Jeffrey Marquez",
1321
- "position": "Pitcher"
1322
- },
1323
- {
1324
- "number": 23,
1325
- "player": "Jermaine Dye",
1326
- "position": "Right fielder"
1327
- },
1328
- {
1329
- "number": 7,
1330
- "player": "Jerry Owens",
1331
- "position": "Left fielder"
1332
- },
1333
- {
1334
- "number": 65,
1335
- "player": "Jhonny N\u00fa\u00f1ez",
1336
- "position": "Pitcher"
1337
- },
1338
- {
1339
- "number": 25,
1340
- "player": "Jim Thome",
1341
- "position": "Designated hitter"
1342
- },
1343
- {
1344
- "number": 50,
1345
- "player": "John Danks",
1346
- "position": "Starting pitcher"
1347
- },
1348
- {
1349
- "number": 61,
1350
- "player": "Jon Link",
1351
- "position": "Relief pitcher"
1352
- },
1353
- {
1354
- "number": 22,
1355
- "player": "Josh Fields",
1356
- "position": "Third baseman"
1357
- },
1358
- {
1359
- "number": 52,
1360
- "player": "Jos\u00e9 Contreras",
1361
- "position": "Starting pitcher"
1362
- },
1363
- {
1364
- "number": 57,
1365
- "player": "Kelvin Jimenez",
1366
- "position": "Relief pitcher"
1367
- },
1368
- {
1369
- "number": 41,
1370
- "player": "Lance Broadway",
1371
- "position": "Starting pitcher"
1372
- },
1373
- {
1374
- "number": 64,
1375
- "player": "Lucas Harrell",
1376
- "position": "Pitcher"
1377
- },
1378
- {
1379
- "number": 56,
1380
- "player": "Mark Buehrle",
1381
- "position": "Starting pitcher"
1382
- },
1383
- {
1384
- "number": 37,
1385
- "player": "Matt Thornton",
1386
- "position": "Relief pitcher"
1387
- },
1388
- {
1389
- "number": 26,
1390
- "player": "Octavio Dotel",
1391
- "position": "Relief pitcher"
1392
- },
1393
- {
1394
- "number": 14,
1395
- "player": "Paul Konerko",
1396
- "position": "First baseman"
1397
- },
1398
- {
1399
- "number": 71,
1400
- "player": "Scott Linebrink",
1401
- "position": "Relief pitcher"
1402
- },
1403
- {
1404
- "number": null,
1405
- "player": "Scott Podsednik",
1406
- "position": "Outfielder"
1407
- },
1408
- {
1409
- "number": 15,
1410
- "player": "Wilson Betemit",
1411
- "position": "First baseman"
1412
- }
1413
- ],
1414
- "division": {
1415
- "name": "American League Central"
1416
- },
1417
- "league": {
1418
- "name": "American League"
1419
- },
1420
- "name": "Chicago White Sox",
1421
- "team_stats": [
1422
- {
1423
- "losses": 74,
1424
- "season": "2008 Major League Baseball season",
1425
- "wins": 89
1426
- }
1427
- ],
1428
- "type": "/baseball/baseball_team"
1429
- },
1430
1187
  {
1431
1188
  "/common/topic/image": [
1432
1189
  {
@@ -2204,7 +1961,7 @@
2204
1961
  }
2205
1962
  ],
2206
1963
  "current_manager": {
2207
- "name": "Fredi Gonz\u00e1lez"
1964
+ "name": "Ozzie Guill\u00e9n"
2208
1965
  },
2209
1966
  "current_roster": [
2210
1967
  {
@@ -5185,6 +4942,11 @@
5185
4942
  "player": "Cla Meredith",
5186
4943
  "position": "Relief pitcher"
5187
4944
  },
4945
+ {
4946
+ "number": 33,
4947
+ "player": "Clayton Richard",
4948
+ "position": "Starting pitcher"
4949
+ },
5188
4950
  {
5189
4951
  "number": 16,
5190
4952
  "player": "Cliff Floyd",
@@ -5921,11 +5683,6 @@
5921
5683
  "player": "Joel Pi\u00f1eiro",
5922
5684
  "position": "Starting pitcher"
5923
5685
  },
5924
- {
5925
- "number": 30,
5926
- "player": "John Smoltz",
5927
- "position": "Pitcher"
5928
- },
5929
5686
  {
5930
5687
  "number": 52,
5931
5688
  "player": "Josh Kinney",
@@ -6651,7 +6408,7 @@
6651
6408
  }
6652
6409
  ],
6653
6410
  "current_manager": {
6654
- "name": "Jim Riggleman"
6411
+ "name": "Davey Johnson"
6655
6412
  },
6656
6413
  "current_roster": [
6657
6414
  {
@@ -6858,5 +6615,5 @@
6858
6615
  }
6859
6616
  ],
6860
6617
  "status": "200 OK",
6861
- "transaction_id": "cache;cache02.p01.sjc1:8101;2011-10-14T05:41:59Z;0033"
6618
+ "transaction_id": "cache;cache02.p01.sjc1:8101;2012-02-18T19:10:31Z;0048"
6862
6619
  }
data/lib/mlb/request.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'faraday'
2
2
  require 'faraday_middleware'
3
+ require 'json'
3
4
 
4
5
  module MLB
5
6
  # @private
@@ -16,7 +17,7 @@ module MLB
16
17
 
17
18
  def self.connection(raw=false)
18
19
  Faraday.new(:url => 'http://api.freebase.com') do |connection|
19
- connection.use Faraday::Response::ParseJson unless raw
20
+ connection.use FaradayMiddleware::ParseJson unless raw
20
21
  connection.adapter Faraday.default_adapter
21
22
  end
22
23
  end
data/lib/mlb/team.rb CHANGED
@@ -1,4 +1,5 @@
1
- require 'multi_json'
1
+ require 'faraday'
2
+ require 'json'
2
3
 
3
4
  module MLB
4
5
  class Team
@@ -26,7 +27,7 @@ module MLB
26
27
  # connection error, in which case read from a fixture file
27
28
  @all ||= begin
28
29
  results_to_team(results_from_freebase)
29
- rescue SocketError, Errno::ECONNREFUSED, Timeout::Error
30
+ rescue SocketError, Errno::ECONNREFUSED, Timeout::Error, Faraday::Error::TimeoutError
30
31
  results_to_team(results_from_cache)
31
32
  end
32
33
  end
@@ -49,7 +50,7 @@ module MLB
49
50
  end
50
51
 
51
52
  def self.results_from_cache
52
- MultiJson.decode(file_from_cache("teams.json").read)
53
+ JSON.parse(file_from_cache("teams.json").read)
53
54
  end
54
55
 
55
56
  def self.file_from_cache(file_name)
data/lib/mlb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module MLB
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
data/mlb.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
  require File.expand_path('../lib/mlb/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.add_dependency 'faraday', '~> 0.7.4'
6
- gem.add_dependency 'faraday_middleware', '~> 0.7.0'
7
- gem.add_dependency 'multi_json', '~> 1.0.0'
8
- gem.add_development_dependency 'rake', '~> 0.9'
9
- gem.add_development_dependency 'rdiscount', '~> 1.6'
10
- gem.add_development_dependency 'rspec', '~> 2.6'
11
- gem.add_development_dependency 'simplecov', '~> 0.4'
12
- gem.add_development_dependency 'webmock', '~> 1.7'
13
- gem.add_development_dependency 'yard', '~> 0.7'
5
+ gem.add_dependency 'faraday', '~> 0.7'
6
+ gem.add_dependency 'faraday_middleware', '~> 0.8'
7
+ gem.add_dependency 'json', '~> 1.6'
8
+ gem.add_development_dependency 'rake'
9
+ gem.add_development_dependency 'rdiscount'
10
+ gem.add_development_dependency 'rspec'
11
+ gem.add_development_dependency 'simplecov'
12
+ gem.add_development_dependency 'webmock'
13
+ gem.add_development_dependency 'yard'
14
14
  gem.author = "Erik Michaels-Ober"
15
15
  gem.description = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.}
16
16
  gem.email = 'sferik@gmail.com'
data/spec/helper.rb CHANGED
@@ -1,5 +1,3 @@
1
- $:.unshift File.expand_path('..', __FILE__)
2
- $:.unshift File.expand_path('../../lib', __FILE__)
3
1
  require 'simplecov'
4
2
  SimpleCov.start
5
3
  require 'mlb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,107 +9,107 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-14 00:00:00.000000000Z
12
+ date: 2012-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
- requirement: &70098238915200 !ruby/object:Gem::Requirement
16
+ requirement: &70195075458860 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.7.4
21
+ version: '0.7'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70098238915200
24
+ version_requirements: *70195075458860
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: faraday_middleware
27
- requirement: &70098238914540 !ruby/object:Gem::Requirement
27
+ requirement: &70195075458140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 0.7.0
32
+ version: '0.8'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70098238914540
35
+ version_requirements: *70195075458140
36
36
  - !ruby/object:Gem::Dependency
37
- name: multi_json
38
- requirement: &70098238914000 !ruby/object:Gem::Requirement
37
+ name: json
38
+ requirement: &70195075457360 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 1.0.0
43
+ version: '1.6'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70098238914000
46
+ version_requirements: *70195075457360
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &70098238913420 !ruby/object:Gem::Requirement
49
+ requirement: &70195075456780 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
- - - ~>
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: '0.9'
54
+ version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70098238913420
57
+ version_requirements: *70195075456780
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rdiscount
60
- requirement: &70098238912860 !ruby/object:Gem::Requirement
60
+ requirement: &70195075456060 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - ~>
63
+ - - ! '>='
64
64
  - !ruby/object:Gem::Version
65
- version: '1.6'
65
+ version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70098238912860
68
+ version_requirements: *70195075456060
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
- requirement: &70098238912180 !ruby/object:Gem::Requirement
71
+ requirement: &70195075455600 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
- - - ~>
74
+ - - ! '>='
75
75
  - !ruby/object:Gem::Version
76
- version: '2.6'
76
+ version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70098238912180
79
+ version_requirements: *70195075455600
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: simplecov
82
- requirement: &70098238911060 !ruby/object:Gem::Requirement
82
+ requirement: &70195075448000 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
- - - ~>
85
+ - - ! '>='
86
86
  - !ruby/object:Gem::Version
87
- version: '0.4'
87
+ version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70098238911060
90
+ version_requirements: *70195075448000
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: webmock
93
- requirement: &70098238910220 !ruby/object:Gem::Requirement
93
+ requirement: &70195075447380 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
- - - ~>
96
+ - - ! '>='
97
97
  - !ruby/object:Gem::Version
98
- version: '1.7'
98
+ version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70098238910220
101
+ version_requirements: *70195075447380
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: yard
104
- requirement: &70098238903100 !ruby/object:Gem::Requirement
104
+ requirement: &70195075446580 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
- - - ~>
107
+ - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: '0.7'
109
+ version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70098238903100
112
+ version_requirements: *70195075446580
113
113
  description: MLB.rb is a Ruby library for retrieving current Major League Baseball
114
114
  players, managers, teams, divisions, and leagues.
115
115
  email: sferik@gmail.com
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: 1.3.6
156
156
  requirements: []
157
157
  rubyforge_project:
158
- rubygems_version: 1.8.10
158
+ rubygems_version: 1.8.17
159
159
  signing_key:
160
160
  specification_version: 3
161
161
  summary: MLB.rb is a Ruby library for retrieving current Major League Baseball players,
@@ -163,3 +163,4 @@ summary: MLB.rb is a Ruby library for retrieving current Major League Baseball p
163
163
  test_files:
164
164
  - spec/helper.rb
165
165
  - spec/mlb_spec.rb
166
+ has_rdoc: