Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a97abab982
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (36 sloc) 1.143 kB
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "fred"
gem.summary = %Q{Ruby wrapper for the St. Louis Federal Reserve FRED API}
gem.description = %Q{Ruby wrapper for the St. Louis Federal Reserve FRED API}
gem.email = "johnnyn@gmail.com"
gem.homepage = "http://github.com/phuphighter/fred"
gem.authors = ["Johnny Khai Nguyen"]
gem.add_dependency('httparty', '>= 0.5.0')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the fred plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the fred plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Fred'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Jump to Line
Something went wrong with that request. Please try again.