Sha256: 995a9f09aec494bf28da0cee2215b9d8a96a8734dee1ff844da89afbbc01ed80
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' spec = Gem::Specification.new do |s| s.name = "woulda" s.version = "0.1.4" s.summary = "woulda is a home for shoulda macros that don't belong in the main shoulda library" s.homepage = "http://github.com/seanhussey/woulda" s.rubyforge_project = "woulda" s.files = FileList["[A-Z]*", "{shoulda_macros}/**/*", "lib/**/*"] # s.has_rdoc = true # s.extra_rdoc_files = ["README.rdoc", "CONTRIBUTION_GUIDELINES.rdoc"] # s.rdoc_options = ["--line-numbers", "--inline-source", "--main", "README.rdoc"] s.authors = ["Sean Hussey", "Josh Nichols"] s.email = ["sean@seanhussey.com", "josh@technicalpickles.com"] s.add_dependency "thoughtbot-shoulda", ">= 2.0.0" end Rake::GemPackageTask.new spec do |pkg| pkg.need_tar = true pkg.need_zip = true end desc "Generate a gemspec file for GitHub" task :gemspec do File.open("#{spec.name}.gemspec", 'w') do |f| f.write spec.to_ruby end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seanhussey-woulda-0.1.4 | Rakefile |