cukesparse 2.1.7 → 2.1.8.pre.71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/bin/cukesparse +3 -4
- data/cukesparse.gemspec +1 -1
- data/lib/cukesparse.rb +9 -1
- data/lib/cukesparse/version.rb +1 -1
- data/spec/cukesparse/build_command_spec.rb +1 -0
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NmVjOGNhMzgyY2JjMzBkYTM3Y2RlOTg2M2Y3YjI0MDc3MTFiYzEyMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MGM5ODAwOTNhZTA3ZmM4MGQwM2U3NzdhZjA5MjYzNzUxMDNiNzBmYg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NzQxZWI1YmI1ZGQzOGViYjFiY2E5NWZhYjMyZWJjNTkzMTdmZTRiMjgwYWIw
|
10
|
+
OTc0MDhhN2MzZWE4MTExODllMGQzMDhkZmU5ZjJjYWQ3ZjgwNTM2Nzk1YmI4
|
11
|
+
ODgyZGYyNGNkNTg5NTAwMzBkMGQxYmI3MDMyZjkzN2ExNWNlNzc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MjdmYzNkMGM1MzUyNzA3ZjcyMTA0NTNlMjUwYTkzMDUzYTczMTQxNzA0MDk1
|
14
|
+
NjViODZjNTQ3NDIwY2Y2OTQ2MTQ4ZWUxYzg0NWZlNTBkNmY2OTdkYjllZWQ1
|
15
|
+
ZWU3NjJiOWNkZGRjZDE0M2FjOGM3OTA2YjE5MDJkNGM5YjYyY2E=
|
data/bin/cukesparse
CHANGED
data/cukesparse.gemspec
CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'cukesparse'
|
5
5
|
s.version = Cukesparse::VERSION
|
6
6
|
s.version = Cukesparse::VERSION + ".pre.#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
|
7
|
-
s.date = '2013-09-
|
7
|
+
s.date = '2013-09-20'
|
8
8
|
s.summary = 'Cukesparse - cucumber command line parser'
|
9
9
|
s.description = 'A simple command line parser to pass arguments into Cucumber'
|
10
10
|
s.author = 'Jonathan Chrisp'
|
data/lib/cukesparse.rb
CHANGED
@@ -53,7 +53,15 @@ module Cukesparse
|
|
53
53
|
end
|
54
54
|
|
55
55
|
return debug if @parameters.has_key? 'debug'
|
56
|
-
|
56
|
+
|
57
|
+
begin
|
58
|
+
result = system(@command.join(' '))
|
59
|
+
rescue Interrupt
|
60
|
+
puts 'Quitting Cucumber and Cukesparse...'
|
61
|
+
Process.kill('INT', -Process.getpgrp)
|
62
|
+
else
|
63
|
+
exit result
|
64
|
+
end
|
57
65
|
end
|
58
66
|
|
59
67
|
# Checks for task in arguments
|
data/lib/cukesparse/version.rb
CHANGED
@@ -44,6 +44,7 @@ describe '.build_command' do
|
|
44
44
|
Cukesparse.command.should_receive(:push).with("--format html --out coverage/report.html -P -s").and_call_original
|
45
45
|
|
46
46
|
Cukesparse.should_receive(:system).with('bundle exec cucumber --require features/ features/featureOne features/featureTwo features/featureThree --tags test --tags tags1 --tags tags2 --format pretty --name feature1 --name feature2 --strict --verbose --dry-run --guess --expand ENVIRONMENT=release LOG_LEVEL=debug CLEANUP=true DATABASE=true JENKINS=true RETRIES=5 TIMEOUT=60 SCREENWIDTH=1280 SCREENHEIGHT=1024 XPOSITION=0 YPOSITION=0 HIGHLIGHT=true --format html --out coverage/report.html -P -s').and_return(true)
|
47
|
+
Cukesparse.should_receive(:exit).with(true).and_return(0)
|
47
48
|
Cukesparse.build_command
|
48
49
|
end
|
49
50
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukesparse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.8.pre.71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Chrisp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -110,17 +110,17 @@ require_paths:
|
|
110
110
|
- lib
|
111
111
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
|
-
- - '>='
|
113
|
+
- - ! '>='
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: 1.9.2
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
- - '
|
118
|
+
- - ! '>'
|
119
119
|
- !ruby/object:Gem::Version
|
120
|
-
version:
|
120
|
+
version: 1.3.1
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.0.3
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Cukesparse - cucumber command line parser
|
@@ -143,4 +143,3 @@ test_files:
|
|
143
143
|
- spec/fixtures/invalid_tasks.yml
|
144
144
|
- spec/fixtures/valid_tasks.yml
|
145
145
|
- spec/helper.rb
|
146
|
-
has_rdoc:
|