.simplecov in stub_requests-0.1.1 vs .simplecov in stub_requests-0.1.2

- old
+ new

@@ -1,11 +1,14 @@ +# frozen_string_literal: true + require "simplecov-json" -SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([ - SimpleCov::Formatter::HTMLFormatter, - SimpleCov::Formatter::JSONFormatter, -]) +SimpleCov.formatters = + SimpleCov::Formatter::MultiFormatter.new([ + SimpleCov::Formatter::HTMLFormatter, + SimpleCov::Formatter::JSONFormatter, + ]) SimpleCov.configure do command_name "RSpec" refuse_coverage_drop minimum_coverage_by_file 80 @@ -14,10 +17,13 @@ SimpleCov.result.format! end end SimpleCov.start do - add_filter '/spec/' - add_filter '/bin/' - add_filter '/gemfiles/' - add_filter '/examples/' + add_filter "/spec/" + add_filter "/bin/" + add_filter "/gemfiles/" + add_filter "/lib/stub_requests/core_ext/array/extract_options.rb" + add_filter "/lib/stub_requests/core_ext/class/attribute.rb" + add_filter "/lib/stub_requests/core_ext/kernel/singleton_class.rb" + add_filter "/lib/stub_requests/core_ext/module/redefine_method.rb" end