Rakefile in swearjar-1.0.0 vs Rakefile in swearjar-1.1.0
- old
+ new
@@ -1,18 +1,5 @@
# encoding: utf-8
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new(:spec)
task :default => :spec
-
-require 'spec'
-require 'spec/rake/spectask'
-task :spec => 'spec:all'
-namespace(:spec) do
- Spec::Rake::SpecTask.new(:all) do |t|
- t.spec_opts ||= []
- t.spec_opts << "-rubygems"
- t.spec_opts << "--options" << "spec/spec.opts"
- t.spec_files = FileList['spec/**/*_spec.rb']
- end
-end
-
-require 'bundler'
-Bundler::GemHelper.install_tasks