vagrant-cucumber 1.0.2 → 1.0.3
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: 5a308c1a04147bea614fa772119195e631df8b94
|
4
|
+
data.tar.gz: 04daa77d14ff0a9a275463be8bae49bb647f848f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59232e87bd3ea3ce00bb0b83281b79d7881e5af932a2a635cf8a8763c4f1a4930ccfb3745e6edff703fb7a53085123afb9c8a8496f207bf925c8cc52e7d3a012
|
7
|
+
data.tar.gz: f3d09e05a9310a0f32f4d8dc6ce6cb16048008cd19778b3a79a0a93e39ca0693da9ffc4849baee4663fb5643059933b991e96c95e57cf089538876ddfd80f4df
|
data/CHANGELOG.md
CHANGED
@@ -41,15 +41,15 @@ Then /there should(| not) be a process called "([^"]*)" running(#{VMRE})$/ do |c
|
|
41
41
|
# output on stdout or stderr. We handle any output in this block.
|
42
42
|
#
|
43
43
|
# In this case, we'll put all output onto stdout, but only if
|
44
|
-
#
|
44
|
+
# $vagrant_cucumber_debug has been set. This class variable will
|
45
45
|
# be set to true in the Before hook defined in
|
46
46
|
# lib/vagrant-cucumber/step_definitions.rb
|
47
47
|
|
48
|
-
puts "[:#{type}] #{data.chomp}" if
|
48
|
+
puts "[:#{type}] #{data.chomp}" if $vagrant_cucumber_debug
|
49
49
|
end
|
50
50
|
|
51
51
|
# Output the status from the command if we're in debugging mode
|
52
|
-
puts "Exit status of pidof command: #{rv}" if
|
52
|
+
puts "Exit status of pidof command: #{rv}" if $vagrant_cucumber_debug
|
53
53
|
|
54
54
|
# Cucumber steps are expected to exit cleanly if they worked ok, and
|
55
55
|
# raise exceptions if they fail. The following logic implements
|
@@ -136,5 +136,10 @@ end
|
|
136
136
|
|
137
137
|
Before('@vagrant-cucumber-debug') do |_scenario|
|
138
138
|
puts 'Enabling debugging for vagrant-cucumber scenarios'
|
139
|
-
|
139
|
+
$vagrant_cucumber_debug = true
|
140
|
+
end
|
141
|
+
|
142
|
+
After('@vagrant-cucumber-debug') do |_scenario|
|
143
|
+
puts 'Disabling debugging for vagrant-cucumber scenarios'
|
144
|
+
$vagrant_cucumber_debug = false
|
140
145
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Topper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|