parallel_cucumber 0.2.5 → 0.2.6
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/lib/parallel_cucumber/helper/cucumber.rb +11 -1
- data/lib/parallel_cucumber/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 819b7a855631c40469e94d237d580f578a8479f3
|
|
4
|
+
data.tar.gz: c2d6f591b3dbb1a22e067ff40c5f27df3d84aa72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1608bcde9a79b327ac675919af2ef114c8bc8491dbfdaa59310e32e12224975f5a389a6d3c3a6fa233567f7b58e3a24f162e98783c3fc4be158c949b03601a9
|
|
7
|
+
data.tar.gz: 427624abaafc52426e1d7f112d03681e39e4db236a7b8293d24ef4d380c5bce1c1ddb9c7c6d6e0444312fcea1e2329535aebb0e47f243c4280abdc21a43e4c60
|
|
@@ -58,6 +58,8 @@ module ParallelCucumber
|
|
|
58
58
|
options = options.dup
|
|
59
59
|
options = expand_profiles(options) unless config_file.nil?
|
|
60
60
|
options = remove_formatters(options)
|
|
61
|
+
options = remove_dry_run_flag(options)
|
|
62
|
+
options = remove_strict_flag(options)
|
|
61
63
|
content = nil
|
|
62
64
|
|
|
63
65
|
Tempfile.open(%w(dry-run .json)) do |f|
|
|
@@ -102,7 +104,15 @@ module ParallelCucumber
|
|
|
102
104
|
end
|
|
103
105
|
|
|
104
106
|
def remove_formatters(options)
|
|
105
|
-
options.gsub(/(^|\s)(--format|-f|--out|-o)\s+[\S]+/, '
|
|
107
|
+
options.gsub(/(^|\s)(--format|-f|--out|-o)\s+[\S]+/, ' ')
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def remove_dry_run_flag(options)
|
|
111
|
+
options.gsub(/(^|\s)--dry-run(\s|$)/, ' ')
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def remove_strict_flag(options)
|
|
115
|
+
options.gsub(/(^|\s)(--strict|-S)(\s|$)/, ' ')
|
|
106
116
|
end
|
|
107
117
|
end
|
|
108
118
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parallel_cucumber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Bayandin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-04-
|
|
11
|
+
date: 2018-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|