semaphore_cucumber_booster_config 1.3.0 → 1.4.0
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/README.md +1 -0
- data/lib/cucumber_booster_config/injection.rb +9 -0
- data/lib/cucumber_booster_config/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: ae3c3af9771c87034a44e51836988b5287d846e5
|
|
4
|
+
data.tar.gz: 4972f72142ac066d28a277ce085607ce06d87987
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abad5f2c6aa26eaaa0425be73c2397a03b7c32968f7bac7f6027fe923fc97f1569dff9eab0920964625031ce594bdbdb2d762850a4a3d3abf0d3c870b1595045
|
|
7
|
+
data.tar.gz: ca1062ed91c0a5d543ad0c6955d0fa35c3db5bbce674b4f5281028d76a79fb51aa15ea624cab912a1d519ea6015878dc68c655cb182fadba3d30d2695cc37443
|
data/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Cucumber Booster Config
|
|
2
2
|
|
|
3
3
|
[](https://semaphoreci.com/renderedtext/cucumber_booster_config)
|
|
4
|
+
[](https://badge.fury.io/rb/semaphore_cucumber_booster_config)
|
|
4
5
|
|
|
5
6
|
Injects additional configuration for Cucumber so that it outputs JSON suitable
|
|
6
7
|
for auto-parallelism without affecting stdout.
|
|
@@ -29,6 +29,11 @@ module CucumberBoosterConfig
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
def run
|
|
32
|
+
if no_profile_files?
|
|
33
|
+
puts "No cucumber profile files found. Creating empty cucumber.yml file"
|
|
34
|
+
FileUtils.touch("cucumber.yml")
|
|
35
|
+
end
|
|
36
|
+
|
|
32
37
|
find_profile_files.each do |path|
|
|
33
38
|
CucumberFile.new(path, @dry_run).configure_for_autoparallelism(@report_path)
|
|
34
39
|
end
|
|
@@ -36,6 +41,10 @@ module CucumberBoosterConfig
|
|
|
36
41
|
|
|
37
42
|
private
|
|
38
43
|
|
|
44
|
+
def no_profile_files?
|
|
45
|
+
find_profile_files.empty?
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
def cucumber_file_path(file_name)
|
|
40
49
|
File.join(@path, file_name)
|
|
41
50
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: semaphore_cucumber_booster_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marko Anastasov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|