Rakefile in blacklight-spotlight-0.16.0 vs Rakefile in blacklight-spotlight-0.17.0
- old
+ new
@@ -2,11 +2,11 @@
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
-ZIP_URL = 'https://github.com/projectblacklight/blacklight-jetty/archive/v4.10.4.zip'
+ZIP_URL = 'https://github.com/projectblacklight/blacklight-jetty/archive/v4.10.4.zip'.freeze
require 'rdoc/task'
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
@@ -46,10 +46,10 @@
namespace :spotlight do
desc 'Copies the default SOLR config for the bundled Testing Server'
task :configure_jetty do
FileList['solr_conf/conf/*'].each do |f|
- cp("#{f}", 'jetty/solr/blacklight-core/conf/', verbose: true)
+ cp(f, 'jetty/solr/blacklight-core/conf/', verbose: true)
end
end
desc 'Load fixtures'
task fixtures: ['engine_cart:generate'] do