Rakefile in dm-serializer-0.9.5 vs Rakefile in dm-serializer-0.9.6
- old
+ new
@@ -43,10 +43,10 @@
end
desc 'Run specifications'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts')
- t.spec_files = Pathname.glob(Pathname.new(__FILE__).dirname + 'spec/**/*_spec.rb')
+ t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s)
begin
t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true
t.rcov_opts << '--exclude' << 'spec'
t.rcov_opts << '--text-summary'