coverband 5.0.0 → 5.0.1.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/changes.md +9 -5
- data/lib/coverband/utils/railtie.rb +14 -9
- data/lib/coverband/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b37c0fc6c990699ceb5af49f39121abb439a125f9740a40ece5b661085c116e
|
4
|
+
data.tar.gz: ac164ef1389b907353155c9beacd67e99a61397105f5c7f91fee8ef988ec6237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e27a72cdc036a41f3d8466e8513fa4073a2615f54bb7e414a7690dae80e45cb5b5bf5617d17e55ef6660eaa9a8181962e33f0cdef046832b0cd1d277f93676b
|
7
|
+
data.tar.gz: 7563f4760ed9359746e2d35ddeaa22145a433c33cb5285c33794ecc46ea987e2ccb5e165e60fafb372f9ef3a2d03edd2fa2b2bf916bae198a9579498792c7a9e
|
data/README.md
CHANGED
@@ -307,7 +307,7 @@ Coverband.start
|
|
307
307
|
|
308
308
|
### Verbose Debug / Development Mode
|
309
309
|
|
310
|
-
Note: To debug issues getting Coverband working. I recommend running in development mode, by turning verbose logging on `config.verbose = true` and passing in the Rails.logger `config.logger = Rails.logger` to the Coverband config. We respect the log level, and I would recommend log level info generally, but if you are investigating a
|
310
|
+
Note: To debug issues getting Coverband working. I recommend running in development mode, by turning verbose logging on `config.verbose = true` and passing in the Rails.logger `config.logger = Rails.logger` to the Coverband config. We respect the log level, and I would recommend log level info generally, but if you are investigating a problem Coverband logs additional data at the `debug` level. This makes it easy to follow in development mode. Be careful to not leave these on in production as they will affect performance.
|
311
311
|
|
312
312
|
---
|
313
313
|
|
data/changes.md
CHANGED
@@ -53,6 +53,12 @@ Will be the fully modern release that drops maintenance legacy support in favor
|
|
53
53
|
|
54
54
|
# Alpha / Beta / Release Candidates
|
55
55
|
|
56
|
+
### Coverband 5.0.1
|
57
|
+
|
58
|
+
- ?
|
59
|
+
|
60
|
+
# Released
|
61
|
+
|
56
62
|
### Coverband 5.0.0
|
57
63
|
|
58
64
|
- Full JRuby support
|
@@ -77,14 +83,12 @@ Will be the fully modern release that drops maintenance legacy support in favor
|
|
77
83
|
- reduce logs / errors / alerts on bad startup configurations
|
78
84
|
- fix: #301 runtime vs eagerload should always remain correct
|
79
85
|
|
80
|
-
|
81
|
-
|
82
|
-
###Coverband 4.2.7
|
86
|
+
### Coverband 4.2.7
|
83
87
|
|
84
88
|
- Ignore patterns too aggressive #382, thanks @thijsnado
|
85
89
|
- Stack level too deep error when running certain activejob jobs #367, thanks @kejordan and @hanslauwers
|
86
90
|
|
87
|
-
###Coverband 4.2.6
|
91
|
+
### Coverband 4.2.6
|
88
92
|
|
89
93
|
- Address Redis exists deprecation warning by baffers
|
90
94
|
|
@@ -267,7 +271,7 @@ Will be a stable and fast release that drops maintenance legacy support in favor
|
|
267
271
|
- implemented for Redis and File store
|
268
272
|
- improved mountable web interface
|
269
273
|
|
270
|
-
|
274
|
+
### 2.0.3
|
271
275
|
|
272
276
|
- don''t include docs in the gemfile thanks @bquorning
|
273
277
|
- pipeline_redis to reduce network overhead thanks @Kallin
|
@@ -13,7 +13,21 @@ module Coverband
|
|
13
13
|
initializer "coverband.configure" do |app|
|
14
14
|
begin
|
15
15
|
app.middleware.use Coverband::BackgroundMiddleware
|
16
|
+
rescue Redis::CannotConnectError => error
|
17
|
+
Coverband.configuration.logger.info "Redis is not available (#{error}), Coverband not configured"
|
18
|
+
Coverband.configuration.logger.info "If this is a setup task like assets:precompile feel free to ignore"
|
19
|
+
end
|
20
|
+
end
|
16
21
|
|
22
|
+
config.after_initialize do
|
23
|
+
unless Coverband.tasks_to_ignore?
|
24
|
+
Coverband.configure
|
25
|
+
Coverband.eager_loading_coverage!
|
26
|
+
Coverband.report_coverage
|
27
|
+
Coverband.runtime_coverage!
|
28
|
+
end
|
29
|
+
|
30
|
+
begin
|
17
31
|
if Coverband.configuration.track_views
|
18
32
|
COVERBAND_VIEW_TRACKER = if Coverband.coverband_service?
|
19
33
|
Coverband::Collectors::ViewTrackerService.new
|
@@ -33,15 +47,6 @@ module Coverband
|
|
33
47
|
end
|
34
48
|
end
|
35
49
|
|
36
|
-
config.after_initialize do
|
37
|
-
unless Coverband.tasks_to_ignore?
|
38
|
-
Coverband.configure
|
39
|
-
Coverband.eager_loading_coverage!
|
40
|
-
Coverband.report_coverage
|
41
|
-
Coverband.runtime_coverage!
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
50
|
config.before_configuration do
|
46
51
|
unless ENV["COVERBAND_DISABLE_AUTO_START"]
|
47
52
|
begin
|
data/lib/coverband/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coverband
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Mayer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: benchmark-ips
|
@@ -462,11 +462,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
462
462
|
version: '0'
|
463
463
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
464
464
|
requirements:
|
465
|
-
- - "
|
465
|
+
- - ">"
|
466
466
|
- !ruby/object:Gem::Version
|
467
|
-
version:
|
467
|
+
version: 1.3.1
|
468
468
|
requirements: []
|
469
|
-
rubygems_version: 3.
|
469
|
+
rubygems_version: 3.0.3
|
470
470
|
signing_key:
|
471
471
|
specification_version: 4
|
472
472
|
summary: Rack middleware to measure production code usage (LOC runtime usage)
|