Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (40 sloc) 1.12 KB
require 'rubygems'
require 'rake/gempackagetask'
require 'rubygems/specification'
require 'date'
GEM = "sauce"
GEM_VERSION = "0.0.1"
AUTHOR = "Doug Moore"
EMAIL = ""
SUMMARY = "A gem that provides the ability to read SAUCE metadata from a file"
spec = do |s| = GEM
s.version = GEM_VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README", "LICENSE", 'TODO']
s.summary = SUMMARY
s.description = s.summary = AUTHOR = EMAIL
s.homepage = HOMEPAGE
# Uncomment this to add a dependency
# s.add_dependency "foo"
s.require_path = 'lib'
s.autorequire = GEM
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
end do |pkg|
pkg.gem_spec = spec
desc "install the gem locally"
task :install => [:package] do
sh %{sudo gem install pkg/#{GEM}-#{GEM_VERSION}}
desc "create a gemspec file"
task :make_spec do"#{GEM}.gemspec", "w") do |file|
file.puts spec.to_ruby
Something went wrong with that request. Please try again.