Sha256: 2e4265ede0c5341b75e359864a342ebee31e22b179c1375f41be709ac4224b65

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/rdoctask'

GEM_NAME = "mlb"
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."

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = GEM_NAME
    gemspec.summary = SUMMARY
    gemspec.description = gemspec.summary
    gemspec.author = AUTHOR
    gemspec.email = EMAIL
    gemspec.homepage = HOMEPAGE
    gemspec.add_dependency("httparty", ">= 0.4.5")
    gemspec.add_dependency("json", ">= 1.1.9")
    gemspec.add_dependency("sqlite3-ruby", ">= 1.2.5")
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Rake::RDocTask.new do |rd|
  rd.main = 'README.rdoc'
  rd.rdoc_dir = 'doc'
  rd.rdoc_files.include('README.rdoc', 'LICENSE', 'lib/**/*.rb')
  rd.title = 'MLB.rb'
  rd.options << '--inline-source'
  rd.options << '--all'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mlb-0.2.4 Rakefile
mlb-0.2.3 Rakefile
mlb-0.2.2 Rakefile
mlb-0.2.1 Rakefile
mlb-0.2.0 Rakefile