producer-core 0.5.0 → 0.5.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04b7ee0907fecaabb24d2afa0bc804177f4ed590
|
4
|
+
data.tar.gz: 160b4b18e193932746bb28fe38c8ccc06d3b2e74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a05eb5d9016a9b135e066a1d64b68f59b887575e68aacedbd2a89a72534c96f69f02019ae4f71851ff70dcf91429c3bde92250e473e52dbfb3324ce852c4bec
|
7
|
+
data.tar.gz: 3902892361957a8fa9fc7498cb4ee1ce5142a33a865e01fdcaf2f74d2e2b788a5fc95f58370c3ec9ca38c0ab50d3447be818bff1d3fb69060e05c676114482ce
|
data/.travis.yml
CHANGED
data/features/cli/debug.feature
CHANGED
@@ -8,6 +8,6 @@ Feature: CLI debug option
|
|
8
8
|
Scenario: does not exclude anything from backtrace
|
9
9
|
Given a recipe using a remote
|
10
10
|
When I execute the recipe on unknown remote target with option -d
|
11
|
-
Then the output must contain "producer
|
11
|
+
Then the output must contain "producer"
|
12
12
|
And the output must contain "net-ssh"
|
13
13
|
And the output must contain ruby lib directory
|
@@ -24,7 +24,7 @@ module Producer
|
|
24
24
|
|
25
25
|
describe '#format' do
|
26
26
|
let(:rubylibdir) { RbConfig::CONFIG['rubylibdir'] }
|
27
|
-
let(:bt) { %W[backtrace /producer
|
27
|
+
let(:bt) { %W[backtrace /producer /net-ssh #{rubylibdir}] }
|
28
28
|
let(:exception) { RuntimeError.new('some exception').tap { |o| o.set_backtrace bt } }
|
29
29
|
|
30
30
|
def exception_with_cause
|
@@ -43,7 +43,7 @@ module Producer
|
|
43
43
|
end
|
44
44
|
|
45
45
|
it 'excludes producer code from the backtrace' do
|
46
|
-
expect(formatter.format exception).not_to include 'producer
|
46
|
+
expect(formatter.format exception).not_to include 'producer'
|
47
47
|
end
|
48
48
|
|
49
49
|
it 'excludes net-ssh from the backtrace' do
|
@@ -65,7 +65,7 @@ module Producer
|
|
65
65
|
let(:debug) { true }
|
66
66
|
|
67
67
|
it 'does not filter the backtrace' do
|
68
|
-
expect(formatter.format exception).to include 'producer
|
68
|
+
expect(formatter.format exception).to include 'producer'
|
69
69
|
end
|
70
70
|
|
71
71
|
context 'when exception has a cause' do
|