deep-cover 0.7.5 → 0.7.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/README.md +1 -1
- data/lib/deep_cover/cli/commands/help.rb +1 -0
- data/lib/deep_cover/cli/commands/short_help.rb +3 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e2c36818ced0159e275cbf5eda83b017c2c58eda75ac8f98a677f83820da6e5
|
4
|
+
data.tar.gz: a9efb1b512f01de3fc74903425b2a293b4a3e0292bc45800a9c6d2d09d58d11b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44db084ca0dbe8eb232bbd0debf310e242757c215f96310fcbdc69c302f86d9988a59e2be921226922398903ceb4fc231c87d8dd7e9c5e34b27574a22ecbff46
|
7
|
+
data.tar.gz: 2c00d66393ee9565808a687c1bcea6177f62f5fba8766570bad1d3f38e686865d3d6025bae6c534951ca081d4c3adb1ce51c092897a646f8a0aee527c758e17a
|
data/README.md
CHANGED
@@ -136,7 +136,7 @@ Note, this is a bit slower and may cause issues in your tests if your use relati
|
|
136
136
|
|
137
137
|
To make it easier to transition for projects already using the builtin `Coverage` library (such as those using `SimpleCov`), `deep-cover` can inject itself into those tools so that, while you still only have line-by-line coverage information, it becomes stricter, only marking a line as executed if *everything* on it has been executed.
|
138
138
|
|
139
|
-
You must call `require '
|
139
|
+
You must call `require 'deep_cover/builtin_takeover'` **before** you require the coverage tool that you normally use.
|
140
140
|
|
141
141
|
For example, the `test/test_helper.rb` file for `SimpleCov` users will look like
|
142
142
|
|
@@ -6,6 +6,7 @@ module DeepCover
|
|
6
6
|
# We override it to make it more to our taste.
|
7
7
|
|
8
8
|
# Copied from Thor's default one, then customized
|
9
|
+
desc 'help [COMMAND]', 'Describe all available commands or one specific command', for: :help
|
9
10
|
def self.help(shell, subcommand = false)
|
10
11
|
list = printable_commands(true, subcommand)
|
11
12
|
Thor::Util.thor_classes_in(self).each do |klass|
|
@@ -15,12 +15,12 @@ module DeepCover
|
|
15
15
|
|
16
16
|
main_commands, _ignored = Tools.extract_commands_for_help(list, :exec, :clone)
|
17
17
|
|
18
|
-
shell.say 'Main
|
18
|
+
shell.say 'Main commands:'
|
19
19
|
shell.print_table(main_commands, indent: 2, truncate: true)
|
20
20
|
|
21
21
|
shell.say
|
22
|
-
shell.say '
|
23
|
-
shell.say '
|
22
|
+
shell.say 'More commands:'
|
23
|
+
shell.say ' deep-cover help [COMMAND] # Full help with a list of lower-level commands and all options'
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deep-cover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-André Lafortune
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: deep-cover-core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.7.
|
20
|
+
version: 0.7.6
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.7.
|
27
|
+
version: 0.7.6
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: highline
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,7 +210,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
|
-
|
213
|
+
rubyforge_project:
|
214
|
+
rubygems_version: 2.7.7
|
214
215
|
signing_key:
|
215
216
|
specification_version: 4
|
216
217
|
summary: In depth coverage of your Ruby code.
|