Rakefile in rack-gsub-0.0.0 vs Rakefile in rack-gsub-0.1.0
- old
+ new
@@ -1,14 +1,25 @@
require 'rake'
+require 'rake/testtask'
require 'rubygems'
+desc 'Default: run unit tests.'
+task :default => :test
+
+desc 'Test Rack::Gsub'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = true
+end
+
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "rack-gsub"
- s.version = "0.0.0"
- s.add_dependency 'rack-plastic', '>= 0.0.3'
+ s.version = "0.1.0"
+ s.add_dependency 'rack-plastic', '>= 0.1.1'
s.author = "Wyatt Greene"
s.email = "techiferous@gmail.com"
s.summary = "Rack middleware wrapper for gsub."
s.description = %Q{
This is a Rack middleware wrapper for gsub. You can replace text on your
@@ -27,7 +38,7 @@
s.requirements << "none"
s.has_rdoc = false
end
Jeweler::GemcutterTasks.new
rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end