cukesparse 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 746c961c446ad744d0102ea7c8c30ddf91dd3f3f
4
- data.tar.gz: 4c9cd2de896056f3a8d79c8efa22d73d750c1d43
3
+ metadata.gz: eacd97baa5155165f634e646ab71abaf507b6e80
4
+ data.tar.gz: 5ab515477c7f676445efd57eefb4ce1c7b021f82
5
5
  SHA512:
6
- metadata.gz: 3b3a60a7d137dee3c6756875c94837b339d5b66e0eb7ccf8f9ab46c0a22187f96bf887978bed2eb784a151537f58608473132db59f3bbad817f290b727cf4091
7
- data.tar.gz: 0f1db6210a160e034d30dab89205aea5591f53ffade6c8a173d2c90e5798ca042d1cd5ae8f10bb2b4df9b7e00e4c2efe650beaacdf4e382ed6ff629fe4998cd5
6
+ metadata.gz: 2f35009d8818d279c0cd30dece295e13c1f1bc0d590adc6363f6bb2fcacbc894d2dff7f773c3ed3600b1f82a4e6110427362167984826130c9cea7f885d98438
7
+ data.tar.gz: 6f6376404ddaa18861c0e57441c31fb1a128d3b784ac125c8135cc3e689c12ff5ae62d4612811f02650ea46c1413db04df8ef29299b9eb97fb1a30a0b62e55c4
@@ -2,6 +2,5 @@ language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 1.9.3
5
- - 1.9.2
6
5
 
7
6
  script: bundle exec rspec spec/cukesparse_spec.rb
@@ -2,4 +2,9 @@
2
2
  require 'cukesparse'
3
3
  require 'colored'
4
4
 
5
- Cukesparse.execute
5
+ begin
6
+ Cukesparse.execute
7
+ rescue Interrupt
8
+ exit!
9
+ Process.kill('INT', -Process.getpgrp)
10
+ end
@@ -1,5 +1,5 @@
1
1
  test_task:
2
- feature_order: []
2
+ feature_order: ['features/featureOne', 'features/featureTwo', 'features/featureThree']
3
3
 
4
4
  # These cucumber defaults be set if not passed in from cli
5
5
  cucumber_defaults:
@@ -30,4 +30,4 @@ test_task:
30
30
  highlight: true
31
31
 
32
32
  # Will always be added to end of of the system command
33
- defaults: []
33
+ defaults: ['--format html', '--out report.html', '-P -s']
@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + "/lib/cukesparse/version"
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'cukesparse'
5
5
  s.version = Cukesparse::VERSION
6
- s.date = '2013-07-17'
6
+ s.date = '2013-08-17'
7
7
  s.summary = 'Cukesparse - cucumber command line parser'
8
8
  s.description = 'A simple command line parser to pass arguments into Cucumber'
9
9
  s.author = 'Jonathan Chrisp'
@@ -1,7 +1,6 @@
1
1
  require 'clik'
2
2
  require 'colored'
3
3
  require 'yaml'
4
- YAML::ENGINE.yamler = 'psych'
5
4
 
6
5
  module Cukesparse
7
6
  class << self
@@ -61,9 +60,9 @@ module Cukesparse
61
60
  unless @task.empty? && @parameters.empty?
62
61
  @command.push 'bundle exec cucumber'
63
62
  @command.push '--require features/'
64
- @command.push task['feature_order'].join(' ') if task.has_key? 'feature_order'
63
+ @command.push task['feature_order'].join(' ')
65
64
  @parameters.each { |k,v| @command.push(v) }
66
- @command.push task['defaults'].join(' ') if task.has_key? 'defaults'
65
+ @command.push task['defaults'].join(' ')
67
66
  end
68
67
 
69
68
  if @parameters.has_key? :debug
@@ -1,3 +1,3 @@
1
1
  module Cukesparse
2
- VERSION = '2.0.3'
2
+ VERSION = "2.0.4"
3
3
  end
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.0.3
4
+ version: 2.0.4
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-07-17 00:00:00.000000000 Z
11
+ date: 2013-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -90,7 +90,6 @@ files:
90
90
  - .gitignore
91
91
  - .travis.yml
92
92
  - Gemfile
93
- - LICENCE.md
94
93
  - README.md
95
94
  - bin/cukesparse
96
95
  - config/tasks.yml
@@ -120,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
119
  version: '0'
121
120
  requirements: []
122
121
  rubyforge_project:
123
- rubygems_version: 2.0.3
122
+ rubygems_version: 2.0.5
124
123
  signing_key:
125
124
  specification_version: 4
126
125
  summary: Cukesparse - cucumber command line parser
data/LICENCE.md DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2013 Jonathan Chrisp
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.