Sha256: 07bcf50dd81c959dd42cfeab270570f15668ab2cf45901044284428695d143ba
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 Bytes
Contents
#!/usr/bin/env ruby # Print some whitespace 4.times { puts } # Check if we're looking at a Rails 2 / rspec 1 project rspec1 = File.exists?('script/spec') rspec_args = rspec1 ? ["spec", "-c"] : ["rspec"] # Check if rspec_spinner is available spinner_available = File.open('Gemfile').read.scan(/rspec_spinner/).any? spinner_args = spinner_available ? ['-r', 'rspec_spinner', '-f', 'RspecSpinner::Bar'] : [] # Run examples in 'spec' unless an argument is given ARGV[0] ||= 'spec' # Run rspec behind bundler exec *["b", rspec_args, spinner_args, ARGV].flatten
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geordi-0.3.0 | bin/rs |