-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ temp_results | |
.env | ||
log/ | ||
test/unique_files | ||
test/rails5_dummy/tmp | ||
test/rails7_dummy/tmp |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ require: standard | |
|
||
inherit_gem: | ||
standard: | ||
- config/ruby-2.7.yml | ||
- config/ruby-3.1.yml |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in coverband.gemspec | ||
gemspec | ||
gem "rails", "~>6.0.0" | ||
gem 'rails', '~>8.0.0' | ||
gem "haml" | ||
gem "slim" | ||
gem "webrick" |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative "../../rails5_dummy/config/coverband" | ||
Coverband.configure do |config| | ||
# NOTE: we reuse this config in each of the fake rails projects | ||
# the below ensures the root is set to the correct fake project | ||
config.root = ::File.expand_path("../../../", __FILE__).to_s + "/rails#{Rails::VERSION::MAJOR}_dummy" | ||
config.store = Coverband::Adapters::RedisStore.new(Redis.new(db: 2, url: ENV["REDIS_URL"]), redis_namespace: "coverband_test") if defined? Redis | ||
config.ignore = %w[.erb$ .slim$] | ||
config.root_paths = [] | ||
config.logger = Rails.logger | ||
config.verbose = true | ||
config.background_reporting_enabled = true | ||
config.track_routes = true | ||
config.use_oneshot_lines_coverage = true if ENV["ONESHOT"] | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative "../../rails5_dummy/config/coverband_missing_redis" | ||
Coverband.configure do |config| | ||
config.root = Dir.pwd | ||
config.store = Coverband::Adapters::RedisStore.new(Redis.new(db: 2, url: "redis://127.0.0.1:123"), redis_namespace: "coverband_test") if defined? Redis | ||
config.ignore = %w[vendor .erb$ .slim$] | ||
config.root_paths = [] | ||
config.logger = Rails.logger | ||
config.verbose = true | ||
config.background_reporting_enabled = true | ||
config.track_gems = true | ||
config.gem_details = true | ||
config.use_oneshot_lines_coverage = true if ENV["ONESHOT"] | ||
end |