diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 441c01e73..0a5d9acf5 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -4,7 +4,7 @@ module Danbooru class Configuration # The version of this Danbooru. def version - "2.15.1" + "2.15.2" end # The name of this Danbooru. diff --git a/test/test_helper.rb b/test/test_helper.rb index 00344e5c2..55b011b99 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,14 @@ ENV["RAILS_ENV"] = "test" -require 'simplecov' -SimpleCov.start 'rails' +if ENV["SIMPLECOV"] + require 'simplecov' + SimpleCov.start 'rails' do + add_filter ".bundle" + add_filter "script/" + add_filter "test/" + add_filter "config/" + end +end require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help'