Rakefile in lumberg-1.0.1 vs Rakefile in lumberg-1.0.3

- old
+ new

@@ -12,10 +12,12 @@ config.rcov[:rcov_opts] << "-Ispec" end rescue LoadError end +load 'vcr/tasks/vcr.rake' + RSpec::Core::RakeTask.new :spec Bundler::GemHelper.install_tasks desc "Sanitize sensitive info from cassettes" task :sanitize_cassettes do @@ -24,10 +26,10 @@ files = Dir.glob("#{path}/**/*.yml") if files.any? files.each do |file| old = File.read(file) if old.match(/#{ENV['WHM_HASH']}|#{ENV['WHM_HOST']}/) - puts "Sanitizing #{file}" + puts "Sanitizing #{file}" old.gsub!(ENV['WHM_HASH'], 'iscool') old.gsub!(ENV['WHM_HOST'], 'myhost.com') File.open(file, 'w') do |f| f.write old end