Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 30f580629f
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (33 sloc) 1.127 kB
require 'rubygems'
require 'rubygems/package_task'
require 'rake/testtask'
require File.dirname(__FILE__) + "/lib/etsy/version"
task :default => :test
spec = Gem::Specification.new do |s|
s.name = 'etsy'
s.version = Etsy::Version.to_s
s.has_rdoc = true
s.extra_rdoc_files = %w(README.rdoc)
s.rdoc_options = %w(--main README.rdoc)
s.summary = "Provides a friendly ruby-like interface to the Etsy API"
s.author = 'Patrick Reagan'
s.email = 'reaganpr@gmail.com'
s.homepage = 'http://sneaq.net'
s.files = %w(README.rdoc Rakefile) + Dir.glob("{lib,test}/**/*")
s.add_dependency('json', '~> 1.4.0')
s.add_dependency('oauth', '~> 0.4.0')
end
Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList["test/**/*_test.rb"]
t.verbose = true
end
desc 'Generate the gemspec for this Gem'
task :gemspec do
file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
File.open(file, 'w') {|f| f << spec.to_ruby }
puts "Created gemspec: #{file}"
end
Jump to Line
Something went wrong with that request. Please try again.