cukehub 0.9.1 → 0.9.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +2 -18
- data/Rakefile +0 -1
- data/lib/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: 5723e5dec1d91ae6b94656bc977387b97a1a4ca6
|
4
|
+
data.tar.gz: a56fffa7240693e3fde871eb9e42e8d687643e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7de6e6bb66445cd619cccdc552890554abf2c3e05777d8b4055f39a60867951d36287beb2d485a32d12e367c48621876d425d620e7721c357153fa053f5dbe86
|
7
|
+
data.tar.gz: dd1bcb02a05ff80a0cc390f43769f63b1907c336de85a6ae59055ba4bc54d89241c5205b85007ea8e8b26e4b88e27055044333b509ce6765a5c8481ea607bb31
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukehub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.1
|
4
|
+
version: 0.9.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich Downie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -38,29 +38,13 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
description: Capture and Analyze your Cucumber Test Results at CukeHub.
|
56
42
|
email: rich@cukehub.com
|
57
43
|
executables: []
|
58
44
|
extensions: []
|
59
45
|
extra_rdoc_files: []
|
60
46
|
files:
|
61
|
-
- Rakefile
|
62
47
|
- lib/cukehub.rb
|
63
|
-
- lib/tasks/cukehub.rake
|
64
48
|
homepage: http://cukehub.com
|
65
49
|
licenses:
|
66
50
|
- MIT
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Dir.glob('lib/tasks/*.rake').each { |r| import r }
|
data/lib/tasks/cukehub.rake
DELETED
@@ -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
|