Rakefile in milk_cap-0.5.1 vs Rakefile in milk_cap-0.5.2
- old
+ new
@@ -6,15 +6,22 @@
require 'rubygems'
require 'rake'
#
+# TEST
+
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
+task :default => :spec
+
+
+#
# CLEAN
require 'rake/clean'
CLEAN.include('pkg', 'tmp', 'html')
-task :default => [ :clean ]
#
# GEM
@@ -32,12 +39,14 @@
gem.email = 'jeff.leverenz@gmail.com'
gem.homepage = 'http://github.com/jleverenz/milk_cap/'
gem.authors = [ 'John Mettraux', 'Jeff Leverenz' ]
gem.licenses = 'MIT'
- gem.test_file = 'test/test.rb'
+ gem.files.exclude 'spec/**'
gem.add_development_dependency 'yard', '>= 0'
+ gem.add_development_dependency 'rspec', '~> 2.14'
+ gem.add_development_dependency 'jeweler', '~> 2.0.1'
end
Jeweler::GemcutterTasks.new
#