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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: aaf8779617162342be715b1a424726421fc3f004
4
- data.tar.gz: c00eb6fb413fe7ea68b9d979462e7c88f1a13fd8
5
- SHA512:
6
- metadata.gz: 6314224bd2494504f182ecf9e6b7edc2a71304fdd622c93efb09198c68158fa53ec7b1b6d82429cfba2783455d042797e1a79ce8a7e780b8eceb0d971c54ff56
7
- data.tar.gz: e147d4ba594127cee0cd11fb5e38a185884b61e837707eb5f6cdb219b84f4446cd165d8b8b53b112ee51a0bd75ca1eb0e63bc5b7edc7f67c13147582759eb7ee
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=
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+
2
3
  require 'cukesparse'
3
4
 
4
- begin
5
- Cukesparse.reset!
6
- Cukesparse.execute
7
- end
5
+ Cukesparse.reset!
6
+ Cukesparse.execute
@@ -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-19'
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'
@@ -53,7 +53,15 @@ module Cukesparse
53
53
  end
54
54
 
55
55
  return debug if @parameters.has_key? 'debug'
56
- return system(@command.join(' '))
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
@@ -1,3 +1,3 @@
1
1
  module Cukesparse
2
- VERSION = "2.1.7"
2
+ VERSION = "2.1.8"
3
3
  end
@@ -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.7
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-19 00:00:00.000000000 Z
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: '0'
120
+ version: 1.3.1
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.1.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: