cukesparse 2.0.2 → 2.0.3

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: 91f3bff2138f5aa91520a57877ad6d9b03faa415
4
- data.tar.gz: fa04ec49ba476339b2076282b43eede695685725
3
+ metadata.gz: 746c961c446ad744d0102ea7c8c30ddf91dd3f3f
4
+ data.tar.gz: 4c9cd2de896056f3a8d79c8efa22d73d750c1d43
5
5
  SHA512:
6
- metadata.gz: 1a7bdeb209e20a4a9aab49571982ec92f7f899c4f346a29fd1a0e13ebccdb37aef7e6ebfd45e0c34fb1a8c7de19c6e0360097765c1ed5622dfd78fa7475803d3
7
- data.tar.gz: 6d21c5241f17e4f5a5242e4e4b698e2ee078322356f4dda3824f0c01247ebef37da6e31766a78ba4c36f87ad99d0cd45993ff83ca2493b2cd8d00979bc0474df
6
+ metadata.gz: 3b3a60a7d137dee3c6756875c94837b339d5b66e0eb7ccf8f9ab46c0a22187f96bf887978bed2eb784a151537f58608473132db59f3bbad817f290b727cf4091
7
+ data.tar.gz: 0f1db6210a160e034d30dab89205aea5591f53ffade6c8a173d2c90e5798ca042d1cd5ae8f10bb2b4df9b7e00e4c2efe650beaacdf4e382ed6ff629fe4998cd5
@@ -0,0 +1,20 @@
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.
data/README.md CHANGED
@@ -135,7 +135,7 @@ You would get the following returned in the console:
135
135
  DEBUG: Outputting parameters created
136
136
  {:tags=>["--tags test"], :debug=>"DEBUG=TRUE", :format=>"--format pretty", :environment=>"ENVIRONMENT=release", :log_level=>"LOG_LEVEL=debug"}
137
137
 
138
- DEBUG: Outputting commandc created
138
+ DEBUG: Outputting command created
139
139
  bundle exec cucumber --require features/ features/featureOne features/featureTwo features/featureThree --tags test DEBUG=TRUE --format pretty ENVIRONMENT=release LOG_LEVEL=debug --format html --out coverage/report.html -P -s
140
140
 
141
141
  ## Tests
@@ -1,5 +1,5 @@
1
1
  test_task:
2
- feature_order: ['features/featureOne', 'features/featureTwo', 'features/featureThree']
2
+ feature_order: []
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: ['--format html', '--out report.html', '-P -s']
33
+ defaults: []
@@ -1,7 +1,9 @@
1
+ require File.dirname(__FILE__) + "/lib/cukesparse/version"
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = 'cukesparse'
3
- s.version = '2.0.2'
4
- s.date = '2013-06-08'
5
+ s.version = Cukesparse::VERSION
6
+ s.date = '2013-07-17'
5
7
  s.summary = 'Cukesparse - cucumber command line parser'
6
8
  s.description = 'A simple command line parser to pass arguments into Cucumber'
7
9
  s.author = 'Jonathan Chrisp'
@@ -61,9 +61,9 @@ module Cukesparse
61
61
  unless @task.empty? && @parameters.empty?
62
62
  @command.push 'bundle exec cucumber'
63
63
  @command.push '--require features/'
64
- @command.push task['feature_order'].join(' ')
64
+ @command.push task['feature_order'].join(' ') if task.has_key? 'feature_order'
65
65
  @parameters.each { |k,v| @command.push(v) }
66
- @command.push task['defaults'].join(' ')
66
+ @command.push task['defaults'].join(' ') if task.has_key? 'defaults'
67
67
  end
68
68
 
69
69
  if @parameters.has_key? :debug
@@ -0,0 +1,3 @@
1
+ module Cukesparse
2
+ VERSION = '2.0.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.2
4
+ version: 2.0.3
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-06-08 00:00:00.000000000 Z
11
+ date: 2013-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -90,11 +90,13 @@ files:
90
90
  - .gitignore
91
91
  - .travis.yml
92
92
  - Gemfile
93
+ - LICENCE.md
93
94
  - README.md
94
95
  - bin/cukesparse
95
96
  - config/tasks.yml
96
97
  - cukesparse.gemspec
97
98
  - lib/cukesparse.rb
99
+ - lib/cukesparse/version.rb
98
100
  - spec/cukesparse_spec.rb
99
101
  - spec/spec_files/invalid_tasks.yml
100
102
  - spec/spec_files/valid_tasks.yml