mlb 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +17 -0
- data/Rakefile +1 -8
- data/VERSION +1 -0
- data/mlb.gemspec +52 -0
- metadata +5 -2
data/.gitignore
ADDED
data/Rakefile
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
require 'rubygems'
|
|
2
2
|
require 'rake'
|
|
3
|
-
require 'rake/gempackagetask'
|
|
4
3
|
require 'rake/rdoctask'
|
|
5
4
|
|
|
6
5
|
GEM_NAME = "mlb"
|
|
@@ -8,16 +7,11 @@ AUTHOR = "Erik Michaels-Ober"
|
|
|
8
7
|
EMAIL = "sferik@gmail.com"
|
|
9
8
|
HOMEPAGE = "http://github.com/sferik/mlb"
|
|
10
9
|
SUMMARY = "MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues."
|
|
11
|
-
GEM_VERSION = "0.1.1"
|
|
12
10
|
|
|
13
11
|
begin
|
|
14
12
|
require 'jeweler'
|
|
15
13
|
Jeweler::Tasks.new do |gemspec|
|
|
16
14
|
gemspec.name = GEM_NAME
|
|
17
|
-
gemspec.version = GEM_VERSION
|
|
18
|
-
gemspec.platform = Gem::Platform::RUBY
|
|
19
|
-
gemspec.has_rdoc = true
|
|
20
|
-
gemspec.extra_rdoc_files = ["README.rdoc", "LICENSE"]
|
|
21
15
|
gemspec.summary = SUMMARY
|
|
22
16
|
gemspec.description = gemspec.summary
|
|
23
17
|
gemspec.author = AUTHOR
|
|
@@ -25,9 +19,8 @@ begin
|
|
|
25
19
|
gemspec.homepage = HOMEPAGE
|
|
26
20
|
gemspec.add_dependency("httparty", ">= 0.4.5")
|
|
27
21
|
gemspec.add_dependency("json", ">= 1.1.9")
|
|
28
|
-
gemspec.require_path = "lib"
|
|
29
|
-
gemspec.files = %w(LICENSE README.rdoc Rakefile) + Dir.glob("{lib}/**/*")
|
|
30
22
|
end
|
|
23
|
+
Jeweler::GemcutterTasks.new
|
|
31
24
|
rescue LoadError
|
|
32
25
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
|
33
26
|
end
|
data/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.1.2
|
data/mlb.gemspec
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{mlb}
|
|
8
|
+
s.version = "0.1.2"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Erik Michaels-Ober"]
|
|
12
|
+
s.date = %q{2009-11-20}
|
|
13
|
+
s.description = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.}
|
|
14
|
+
s.email = %q{sferik@gmail.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"README.rdoc"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
".gitignore",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"README.rdoc",
|
|
23
|
+
"Rakefile",
|
|
24
|
+
"VERSION",
|
|
25
|
+
"lib/mlb.rb",
|
|
26
|
+
"lib/mlb/player.rb",
|
|
27
|
+
"lib/mlb/team.rb",
|
|
28
|
+
"mlb.gemspec"
|
|
29
|
+
]
|
|
30
|
+
s.homepage = %q{http://github.com/sferik/mlb}
|
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
32
|
+
s.require_paths = ["lib"]
|
|
33
|
+
s.rubygems_version = %q{1.3.5}
|
|
34
|
+
s.summary = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.}
|
|
35
|
+
|
|
36
|
+
if s.respond_to? :specification_version then
|
|
37
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
38
|
+
s.specification_version = 3
|
|
39
|
+
|
|
40
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
41
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0.4.5"])
|
|
42
|
+
s.add_runtime_dependency(%q<json>, [">= 1.1.9"])
|
|
43
|
+
else
|
|
44
|
+
s.add_dependency(%q<httparty>, [">= 0.4.5"])
|
|
45
|
+
s.add_dependency(%q<json>, [">= 1.1.9"])
|
|
46
|
+
end
|
|
47
|
+
else
|
|
48
|
+
s.add_dependency(%q<httparty>, [">= 0.4.5"])
|
|
49
|
+
s.add_dependency(%q<json>, [">= 1.1.9"])
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
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.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Erik Michaels-Ober
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-11-
|
|
12
|
+
date: 2009-11-20 00:00:00 -08:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -42,12 +42,15 @@ extra_rdoc_files:
|
|
|
42
42
|
- LICENSE
|
|
43
43
|
- README.rdoc
|
|
44
44
|
files:
|
|
45
|
+
- .gitignore
|
|
45
46
|
- LICENSE
|
|
46
47
|
- README.rdoc
|
|
47
48
|
- Rakefile
|
|
49
|
+
- VERSION
|
|
48
50
|
- lib/mlb.rb
|
|
49
51
|
- lib/mlb/player.rb
|
|
50
52
|
- lib/mlb/team.rb
|
|
53
|
+
- mlb.gemspec
|
|
51
54
|
has_rdoc: true
|
|
52
55
|
homepage: http://github.com/sferik/mlb
|
|
53
56
|
licenses: []
|