tasks/spec.rb in dm-is-searchable-0.9.9 vs tasks/spec.rb in dm-is-searchable-0.9.10
- old
+ new
@@ -6,10 +6,10 @@
task :default => [ :spec ]
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((ROOT + 'spec/**/*_spec.rb').to_s)
+ t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s).map { |f| f.to_s }
begin
gem 'rcov', '~>0.8'
t.rcov = JRUBY ? false : (ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true)
t.rcov_opts << '--exclude' << 'spec'