Rakefile in imgkit-1.2.1 vs Rakefile in imgkit-1.3.0
- old
+ new
@@ -1,2 +1,15 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+Bundler.require
+require 'rspec/core/rake_task'
+
+desc 'Default: run specs.'
+task :default => :spec
+
+desc "Run specs"
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
+ # Put spec opts in a file named .rspec in root
+end
+
+task :specs => :spec