Rakefile in immutable_attributes-1.1.4 vs Rakefile in immutable_attributes-1.2.0
- old
+ new
@@ -7,18 +7,19 @@
gem.name = "immutable_attributes"
gem.summary = %Q{Selected attributes are permanent once a record is created}
gem.description = %Q{Allows specified attributes to be freely overwritten _until_ the record is saved for the first time}
gem.email = "gemcutter@jackcanty.com"
gem.homepage = "http://github.com/JackDanger/immutable_attributes"
- gem.authors = ["Jack Danger Canty"]
+ gem.authors = ["Jack Danger Canty", "Terry Heath", "Nicholas Mertaugh"]
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require 'rake/testtask'
-task :test do
- exec "ruby test/immutable_attributes_test.rb"
+Rake::TestTask.new(:test) do |test|
+ test.libs << '.'
+ test.pattern = 'test/*_test.rb'
+ test.verbose = true
end
-
task :default => :test