geordi 0.3.0 → 0.3.1
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.
- data/bin/cu +1 -1
- data/bin/rs +1 -1
- data/lib/geordi/version.rb +1 -1
- metadata +3 -3
data/bin/cu
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
4.times { puts }
|
|
5
5
|
|
|
6
6
|
# Check if cucumber_spinner is available
|
|
7
|
-
spinner_available =
|
|
7
|
+
spinner_available = File.exists?('Gemfile') && File.open('Gemfile').read.scan(/cucumber_spinner/).any?
|
|
8
8
|
format_args = spinner_available ? ['--format', 'CucumberSpinner::CuriousProgressBarFormatter'] : ['--format', 'progress']
|
|
9
9
|
|
|
10
10
|
# Run cucumber behind bundler
|
data/bin/rs
CHANGED
|
@@ -8,7 +8,7 @@ rspec1 = File.exists?('script/spec')
|
|
|
8
8
|
rspec_args = rspec1 ? ["spec", "-c"] : ["rspec"]
|
|
9
9
|
|
|
10
10
|
# Check if rspec_spinner is available
|
|
11
|
-
spinner_available = File.open('Gemfile').read.scan(/rspec_spinner/).any?
|
|
11
|
+
spinner_available = File.exists?('Gemfile') && File.open('Gemfile').read.scan(/rspec_spinner/).any?
|
|
12
12
|
spinner_args = spinner_available ? ['-r', 'rspec_spinner', '-f', 'RspecSpinner::Bar'] : []
|
|
13
13
|
|
|
14
14
|
# Run examples in 'spec' unless an argument is given
|
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED