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.
Files changed (4) hide show
  1. data/bin/cu +1 -1
  2. data/bin/rs +1 -1
  3. data/lib/geordi/version.rb +1 -1
  4. 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 = File.open('Gemfile').read.scan(/cucumber_spinner/).any?
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
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geordi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henning Koch