deep-cover 0.8.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +6 -0
- data/README.md +0 -4
- data/lib/deep_cover/cli/commands/run_expression.rb +3 -2
- data/lib/deep_cover/instrumented_clone_reporter.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: 5f0f483efa4fbc22b80dad48ab7bee0a82e0c48c2f79508723e5d0a89fa19d39
|
4
|
+
data.tar.gz: 37f8cace88d169de91b2ca286f7f4cb7b52daea3054f3f600ef7b166fa221cdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d6734d45c4fd9a4f13a2bd4ad8b156efa857696f76da3675d8513001192929219c3c3b7ded6404792fc6a45fafd7a9c395510be27e1cf07e8e030621c5c78d9
|
7
|
+
data.tar.gz: 7df04c6ac58b29b7e47d43b0a97587d74113981a06a987565a251830885bd8265539b913078e98fa24f7d932a36bae3ac5bf0660782991e57e973261a0c4bc50
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -205,10 +205,6 @@ To run one of the specs in `spec`:
|
|
205
205
|
|
206
206
|
More details in the [contributing guide](https://github.com/deep-cover/deep-cover/blob/master/CONTRIBUTING.md).
|
207
207
|
|
208
|
-
### Status
|
209
|
-
|
210
|
-
Currently in development. *Alpha stage, API still subject to change*. Best time to get involved though ;-)
|
211
|
-
|
212
208
|
## Contributing
|
213
209
|
|
214
210
|
Please ask questions on StackOverflow.com. Maintainers monitor the tag `deep-cover.rb`.
|
@@ -2,11 +2,12 @@
|
|
2
2
|
|
3
3
|
module DeepCover
|
4
4
|
class CLI
|
5
|
-
desc "run-expression [OPTIONS] 'ruby code'", 'Show coverage results for the given ruby expression'
|
5
|
+
desc "run-expression [OPTIONS] ['ruby code']", 'Show coverage results for the given ruby expression (or STDIN)'
|
6
6
|
option '--profile', desc: 'use profiler', type: :boolean if RUBY_PLATFORM != 'java'
|
7
7
|
option '--debug', aliases: '-d', desc: 'opens an interactive console for debugging', type: :boolean
|
8
|
-
def run_expression(expression)
|
8
|
+
def run_expression(expression = nil)
|
9
9
|
require_relative '../../expression_debugger'
|
10
|
+
expression ||= STDIN.read.tap { STDIN.reopen('/dev/tty') }
|
10
11
|
ExpressionDebugger.new(expression, **options.transform_keys(&:to_sym)).show
|
11
12
|
end
|
12
13
|
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.
|
4
|
+
version: 1.0.0
|
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: 2020-
|
12
|
+
date: 2020-06-01 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.
|
20
|
+
version: 1.0.0
|
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.
|
27
|
+
version: 1.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: highline
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.2
|
217
|
+
rubygems_version: 3.1.2
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: In depth coverage of your Ruby code.
|