Rakefile in right_api_client-1.5.14 vs Rakefile in right_api_client-1.5.15
- old
+ new
@@ -1,17 +1,17 @@
require File.expand_path('../lib/right_api_client', __FILE__)
+require 'rubygems'
require 'rake'
-require 'spec/rake/spectask'
+require 'rspec/core/rake_task'
task :build do
system "gem build right_api_client.gemspec"
end
task :release => :build do
system "gem push right_api_client-#{RightApi::Client::VERSION}.gem"
end
-Spec::Rake::SpecTask.new('spec') do |t|
- t.spec_files = Dir.glob('spec/*_spec.rb')
- t.spec_opts << '--format nested'
- t.spec_opts << '--colour'
-end
\ No newline at end of file
+RSpec::Core::RakeTask.new('spec') do |t|
+ t.pattern= 'spec/**/*_spec.rb'
+ t.rspec_opts = ['--format nested','--colour']
+end