From 1eec37e79feb37095620b4feb9d6ff798bebf9a8 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Fri, 20 Nov 2009 13:15:15 -0800 Subject: [PATCH] removed extraneous statements --- Rakefile | 7 ------- VERSION | 1 + mlb.gemspec | 8 +++++--- 3 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 VERSION diff --git a/Rakefile b/Rakefile index d8b8714..83181ba 100644 --- a/Rakefile +++ b/Rakefile @@ -7,16 +7,11 @@ AUTHOR = "Erik Michaels-Ober" EMAIL = "sferik@gmail.com" HOMEPAGE = "http://github.com/sferik/mlb" SUMMARY = "MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues." -GEM_VERSION = "0.1.1" begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = GEM_NAME - gemspec.version = GEM_VERSION - gemspec.platform = Gem::Platform::RUBY - gemspec.has_rdoc = true - gemspec.extra_rdoc_files = ["README.rdoc", "LICENSE"] gemspec.summary = SUMMARY gemspec.description = gemspec.summary gemspec.author = AUTHOR @@ -24,8 +19,6 @@ begin gemspec.homepage = HOMEPAGE gemspec.add_dependency("httparty", ">= 0.4.5") gemspec.add_dependency("json", ">= 1.1.9") - gemspec.require_path = "lib" - gemspec.files = %w(LICENSE README.rdoc Rakefile) + Dir.glob("{lib}/**/*") end Jeweler::GemcutterTasks.new rescue LoadError diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..17e51c3 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.1 diff --git a/mlb.gemspec b/mlb.gemspec index 622e499..a798cf0 100644 --- a/mlb.gemspec +++ b/mlb.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Erik Michaels-Ober"] - s.date = %q{2009-11-13} + s.date = %q{2009-11-20} s.description = %q{MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues.} s.email = %q{sferik@gmail.com} s.extra_rdoc_files = [ @@ -17,12 +17,14 @@ Gem::Specification.new do |s| "README.rdoc" ] s.files = [ - "LICENSE", + ".gitignore", + "LICENSE", "README.rdoc", "Rakefile", "lib/mlb.rb", "lib/mlb/player.rb", - "lib/mlb/team.rb" + "lib/mlb/team.rb", + "mlb.gemspec" ] s.homepage = %q{http://github.com/sferik/mlb} s.rdoc_options = ["--charset=UTF-8"]