Sha256: d954523136fd15c1ab8bcdf45f62fd543f040d230c6f001f78c96cad7afce211

Contents?: true

Size: 1.05 KB

Versions: 2

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.2"
  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

2 entries across 2 versions & 1 rubygems

Version Path
seanhussey-woulda-0.1.1 Rakefile
seanhussey-woulda-0.1.2 Rakefile