mlb 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Gemfile +5 -0
  2. data/Gemfile.lock +16 -0
  3. data/Rakefile +2 -23
  4. data/lib/mlb/version.rb +3 -0
  5. data/mlb.gemspec +12 -48
  6. metadata +59 -27
  7. data/VERSION +0 -1
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem "httparty", "~> 0.6"
4
+ gem "json", "~> 1.4"
5
+ gem "sqlite3-ruby", "~> 1.3", :require => 'sqlite3'
@@ -0,0 +1,16 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ crack (0.1.8)
5
+ httparty (0.6.1)
6
+ crack (= 0.1.8)
7
+ json (1.4.6)
8
+ sqlite3-ruby (1.3.1)
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ httparty (~> 0.6)
15
+ json (~> 1.4)
16
+ sqlite3-ruby (~> 1.3)
data/Rakefile CHANGED
@@ -1,30 +1,9 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
  require 'rake/rdoctask'
4
+ require 'bundler'
4
5
 
5
- GEM_NAME = "mlb"
6
- AUTHOR = "Erik Michaels-Ober"
7
- EMAIL = "sferik@gmail.com"
8
- HOMEPAGE = "http://github.com/sferik/mlb"
9
- SUMMARY = "MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues."
10
-
11
- begin
12
- require 'jeweler'
13
- Jeweler::Tasks.new do |gemspec|
14
- gemspec.name = GEM_NAME
15
- gemspec.summary = SUMMARY
16
- gemspec.description = gemspec.summary
17
- gemspec.author = AUTHOR
18
- gemspec.email = EMAIL
19
- gemspec.homepage = HOMEPAGE
20
- gemspec.add_dependency("httparty", ">= 0.5.0")
21
- gemspec.add_dependency("json", ">= 1.2.0")
22
- gemspec.add_dependency("sqlite3-ruby", ">= 1.2.5")
23
- end
24
- Jeweler::GemcutterTasks.new
25
- rescue LoadError
26
- puts "Jeweler not available. Install it with: gem install jeweler"
27
- end
6
+ Bundler::GemHelper.install_tasks
28
7
 
29
8
  Rake::RDocTask.new do |rd|
30
9
  rd.main = 'README.rdoc'
@@ -0,0 +1,3 @@
1
+ module MLB
2
+ VERSION = "0.2.6"
3
+ end
@@ -1,57 +1,21 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ require File.expand_path("../lib/mlb/version", __FILE__)
5
3
 
6
4
  Gem::Specification.new do |s|
7
- s.name = %q{mlb}
8
- s.version = "0.2.5"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
5
+ s.add_runtime_dependency(%q<httparty>, ["~> 0.6"])
6
+ s.add_runtime_dependency(%q<json>, ["~> 1.4"])
7
+ s.add_runtime_dependency(%q<sqlite3-ruby>, ["~> 1.3"])
11
8
  s.authors = ["Erik Michaels-Ober"]
12
- s.date = %q{2009-12-27}
13
9
  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
- "db/cleanup.sql",
26
- "db/mlb.sqlite3",
27
- "lib/mlb.rb",
28
- "lib/mlb/player.rb",
29
- "lib/mlb/team.rb",
30
- "mlb.gemspec"
31
- ]
32
- s.homepage = %q{http://github.com/sferik/mlb}
10
+ s.email = ["sferik@gmail.com"]
11
+ s.extra_rdoc_files = ["LICENSE", "README.rdoc"]
12
+ s.files = `git ls-files`.split("\n")
13
+ s.homepage = "http://rubygems.org/gems/mlb"
14
+ s.name = "mlb"
33
15
  s.rdoc_options = ["--charset=UTF-8"]
34
16
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.5}
17
+ s.required_rubygems_version = ">= 1.3.6"
36
18
  s.summary = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.}
37
-
38
- if s.respond_to? :specification_version then
39
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
40
- s.specification_version = 3
41
-
42
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
43
- s.add_runtime_dependency(%q<httparty>, [">= 0.5.0"])
44
- s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
45
- s.add_runtime_dependency(%q<sqlite3-ruby>, [">= 1.2.5"])
46
- else
47
- s.add_dependency(%q<httparty>, [">= 0.5.0"])
48
- s.add_dependency(%q<json>, [">= 1.2.0"])
49
- s.add_dependency(%q<sqlite3-ruby>, [">= 1.2.5"])
50
- end
51
- else
52
- s.add_dependency(%q<httparty>, [">= 0.5.0"])
53
- s.add_dependency(%q<json>, [">= 1.2.0"])
54
- s.add_dependency(%q<sqlite3-ruby>, [">= 1.2.5"])
55
- end
19
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ s.version = MLB::VERSION
56
21
  end
57
-
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 6
10
+ version: 0.2.6
5
11
  platform: ruby
6
12
  authors:
7
13
  - Erik Michaels-Ober
@@ -9,41 +15,57 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-12-27 00:00:00 -08:00
18
+ date: 2010-09-12 00:00:00 -07:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: httparty
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
- - - ">="
27
+ - - ~>
22
28
  - !ruby/object:Gem::Version
23
- version: 0.5.0
24
- version:
29
+ hash: 7
30
+ segments:
31
+ - 0
32
+ - 6
33
+ version: "0.6"
34
+ type: :runtime
35
+ version_requirements: *id001
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: json
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
30
41
  requirements:
31
- - - ">="
42
+ - - ~>
32
43
  - !ruby/object:Gem::Version
33
- version: 1.2.0
34
- version:
44
+ hash: 7
45
+ segments:
46
+ - 1
47
+ - 4
48
+ version: "1.4"
49
+ type: :runtime
50
+ version_requirements: *id002
35
51
  - !ruby/object:Gem::Dependency
36
52
  name: sqlite3-ruby
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
40
56
  requirements:
41
- - - ">="
57
+ - - ~>
42
58
  - !ruby/object:Gem::Version
43
- version: 1.2.5
44
- version:
59
+ hash: 9
60
+ segments:
61
+ - 1
62
+ - 3
63
+ version: "1.3"
64
+ type: :runtime
65
+ version_requirements: *id003
45
66
  description: MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.
46
- email: sferik@gmail.com
67
+ email:
68
+ - sferik@gmail.com
47
69
  executables: []
48
70
 
49
71
  extensions: []
@@ -53,18 +75,20 @@ extra_rdoc_files:
53
75
  - README.rdoc
54
76
  files:
55
77
  - .gitignore
78
+ - Gemfile
79
+ - Gemfile.lock
56
80
  - LICENSE
57
81
  - README.rdoc
58
82
  - Rakefile
59
- - VERSION
60
83
  - db/cleanup.sql
61
84
  - db/mlb.sqlite3
62
85
  - lib/mlb.rb
63
86
  - lib/mlb/player.rb
64
87
  - lib/mlb/team.rb
88
+ - lib/mlb/version.rb
65
89
  - mlb.gemspec
66
90
  has_rdoc: true
67
- homepage: http://github.com/sferik/mlb
91
+ homepage: http://rubygems.org/gems/mlb
68
92
  licenses: []
69
93
 
70
94
  post_install_message:
@@ -73,21 +97,29 @@ rdoc_options:
73
97
  require_paths:
74
98
  - lib
75
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
+ none: false
76
101
  requirements:
77
102
  - - ">="
78
103
  - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 0
79
107
  version: "0"
80
- version:
81
108
  required_rubygems_version: !ruby/object:Gem::Requirement
109
+ none: false
82
110
  requirements:
83
111
  - - ">="
84
112
  - !ruby/object:Gem::Version
85
- version: "0"
86
- version:
113
+ hash: 23
114
+ segments:
115
+ - 1
116
+ - 3
117
+ - 6
118
+ version: 1.3.6
87
119
  requirements: []
88
120
 
89
121
  rubyforge_project:
90
- rubygems_version: 1.3.5
122
+ rubygems_version: 1.3.7
91
123
  signing_key:
92
124
  specification_version: 3
93
125
  summary: MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.2.5