Sha256: 9149db7efb0f4abd7d4fc4d3f765d7e6d4354ae83d440bb02e2562fd5fa518a3
Contents?: true
Size: 1.03 KB
Versions: 1
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.5.0") gemspec.add_dependency("json", ">= 1.2.0") 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mlb-0.2.5 | Rakefile |