matrix_test.rb in capybara-screenshot-diff-0.8.0 vs matrix_test.rb in capybara-screenshot-diff-0.8.1
- old
+ new
@@ -3,10 +3,10 @@
system('rubocop --auto-correct') || exit(1)
update_gemfiles = ARGV.delete('--update')
require 'yaml'
-travis = YAML.load(File.read('.travis.yml'))
+travis = YAML.safe_load(File.read('.travis.yml'))
def run_script(ruby, env, gemfile)
env.scan(/\b(?<key>[A-Z_]+)="(?<value>.+?)"/) do |key, value|
ENV[key] = value
end