coverband 4.2.5 → 4.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/changes.md +12 -13
- data/lib/coverband/collectors/view_tracker.rb +9 -1
- data/lib/coverband/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7095ca0ee73eff7b4290c508df1c6c6961ed1283ce2edcca085cf3f05e12bb9d
|
|
4
|
+
data.tar.gz: e0fc00dc886a0153b3c6887680a86ffee9e13666e5dce3bbe7bc551b249d5734
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4df21534042791528184de6f65548e48ac4a8d06905c815977376b6d3f815eaf121d5117d2e4af4c53b3a46a8122fc32ea3a9c2a1072219d76231f3acf8c530a
|
|
7
|
+
data.tar.gz: 64f75a91aafb5fd7fa945bde6bbe8b9262f79f90faaa17108743ab480bc3a369a3471225d616144024ca7db0010db219806894ace62dea3cb25941396532a535
|
data/changes.md
CHANGED
|
@@ -76,17 +76,17 @@ Feature Ideas:
|
|
|
76
76
|
|
|
77
77
|
# Alpha / Beta / Release Candidates
|
|
78
78
|
|
|
79
|
-
### Coverband
|
|
79
|
+
### Coverband 4.2.6
|
|
80
80
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
# Released
|
|
81
|
+
- Address Redis `exists` deprecation warning by baffers
|
|
84
82
|
|
|
85
83
|
### Coverband 4.2.5
|
|
86
84
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
- alpha support of jRuby
|
|
86
|
+
- fix for rails 4.0 by rswaminathan
|
|
87
|
+
- do not error on branch coverage / simplecov compatibility by desertcart
|
|
88
|
+
|
|
89
|
+
# Released
|
|
90
90
|
|
|
91
91
|
### Coverband 4.2.4
|
|
92
92
|
|
|
@@ -110,19 +110,18 @@ Feature Ideas:
|
|
|
110
110
|
- improved messaging around non-loaded files
|
|
111
111
|
- fix on last updated nil issue
|
|
112
112
|
- view tracker improvements
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
- clear all
|
|
114
|
+
- reset individual file
|
|
115
|
+
- timestamps on last seen activity
|
|
117
116
|
|
|
118
117
|
### Coverband 4.2.2
|
|
119
118
|
|
|
120
119
|
- new experimental hash redis store for high volume collection
|
|
121
|
-
(hundreds of clients), thanks @kbaum
|
|
120
|
+
(hundreds of clients), thanks @kbaum
|
|
122
121
|
- view_tracker supports tracking view layer files like `.html.erb`
|
|
123
122
|
- documentation improvements, thanks @brossetti1, @jjb, @kbaum
|
|
124
123
|
- we now have discordapp for discussions, thanks @kbaum,
|
|
125
|
-
https://discordapp.com/channels/609509533999562753/609509533999562756
|
|
124
|
+
https://discordapp.com/channels/609509533999562753/609509533999562756
|
|
126
125
|
- perf fix on Rails initialization, thanks @skangg
|
|
127
126
|
- simplified logging
|
|
128
127
|
|
|
@@ -108,7 +108,7 @@ module Coverband
|
|
|
108
108
|
end
|
|
109
109
|
|
|
110
110
|
def report_views_tracked
|
|
111
|
-
redis_store.set(tracker_time_key, Time.now.to_i) unless @one_time_timestamp ||
|
|
111
|
+
redis_store.set(tracker_time_key, Time.now.to_i) unless @one_time_timestamp || tracker_time_key_exists?
|
|
112
112
|
@one_time_timestamp = true
|
|
113
113
|
reported_time = Time.now.to_i
|
|
114
114
|
views_to_record.each do |file|
|
|
@@ -145,6 +145,14 @@ module Coverband
|
|
|
145
145
|
store.raw_store
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
+
def tracker_time_key_exists?
|
|
149
|
+
if defined?(redis_store.exists?)
|
|
150
|
+
redis_store.exists?(tracker_time_key)
|
|
151
|
+
else
|
|
152
|
+
redis_store.exists(tracker_time_key)
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
148
156
|
def tracker_key
|
|
149
157
|
'render_tracker_2'
|
|
150
158
|
end
|
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: 4.2.
|
|
4
|
+
version: 4.2.6
|
|
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-06-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: aws-sdk-s3
|