cukesparse 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENCE.md +20 -0
- data/README.md +1 -1
- data/config/tasks.yml +2 -2
- data/cukesparse.gemspec +4 -2
- data/lib/cukesparse.rb +2 -2
- data/lib/cukesparse/version.rb +3 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 746c961c446ad744d0102ea7c8c30ddf91dd3f3f
|
4
|
+
data.tar.gz: 4c9cd2de896056f3a8d79c8efa22d73d750c1d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b3a60a7d137dee3c6756875c94837b339d5b66e0eb7ccf8f9ab46c0a22187f96bf887978bed2eb784a151537f58608473132db59f3bbad817f290b727cf4091
|
7
|
+
data.tar.gz: 0f1db6210a160e034d30dab89205aea5591f53ffade6c8a173d2c90e5798ca042d1cd5ae8f10bb2b4df9b7e00e4c2efe650beaacdf4e382ed6ff629fe4998cd5
|
data/LICENCE.md
ADDED
@@ -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
|
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
|
data/config/tasks.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
test_task:
|
2
|
-
feature_order: [
|
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: [
|
33
|
+
defaults: []
|
data/cukesparse.gemspec
CHANGED
@@ -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 =
|
4
|
-
s.date = '2013-
|
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'
|
data/lib/cukesparse.rb
CHANGED
@@ -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
|
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.
|
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-
|
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
|