cukehub 0.9.0.2 → 0.9.0.4
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
- metadata +1 -2
- data/lib/cukehub/tasks/cukehub.rake +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18d39241e2674286d432b61172ae4ad70665deb3
|
4
|
+
data.tar.gz: 3170a42c18ea88f7a8e64d4619e25c3a278a53ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f783ebd8f408aec9717d14464156cbfd1eefb59012f295489415ad7d88248f9e5f3a7b43be5df8820737ac5046288156a1109545cb6a04989996121eda732288
|
7
|
+
data.tar.gz: ef9a8be590b1ab93b8a01fe5cadeb0c469310d731a675ebb2443fcc8addf4122950659344d01dcc60ec59a8d831335644458d356c0e8d150f1e514c06636e690
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukehub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.0.
|
4
|
+
version: 0.9.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich Downie
|
@@ -59,7 +59,6 @@ extensions: []
|
|
59
59
|
extra_rdoc_files: []
|
60
60
|
files:
|
61
61
|
- lib/cukehub.rb
|
62
|
-
- lib/cukehub/tasks/cukehub.rake
|
63
62
|
homepage: http://cukehub.com
|
64
63
|
licenses:
|
65
64
|
- MIT
|
@@ -1,18 +0,0 @@
|
|
1
|
-
namespace :cuke do
|
2
|
-
desc "cucunber -t <@tags>"
|
3
|
-
task :hub, [:tag] do |t, args|
|
4
|
-
file = "#{args[:tag]}".gsub(/@/, '')
|
5
|
-
Bundler.with_clean_env do
|
6
|
-
console_output = ""
|
7
|
-
IO.popen("cucumber -t #{args[:tag]} -f rerun --out #{file}.txt", 'r+') do |pipe|
|
8
|
-
puts console_output = pipe.read
|
9
|
-
pipe.close_write
|
10
|
-
end
|
11
|
-
IO.popen("cucumber #{args[:tag]}.txt --format html --out=#{file}.html --format pretty", 'r+') do |pipe|
|
12
|
-
puts "** RE-RUNNING FAILED #{args[:tags]}.txt SCENARIOS **"
|
13
|
-
puts console_output = pipe.read
|
14
|
-
pipe.close_write
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|