spin 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/spin +7 -0
  2. metadata +2 -2
data/bin/spin CHANGED
@@ -84,6 +84,13 @@ def serve(force_rspec, force_testunit, time, push_results)
84
84
  begin
85
85
  require 'rspec/rails'
86
86
  require 'rspec/autorun'
87
+
88
+ # Tell RSpec it's running with a tty to allow colored output
89
+ if RSpec.respond_to?(:configure)
90
+ RSpec.configure do |c|
91
+ c.tty = true if c.respond_to?(:tty=)
92
+ end
93
+ end
87
94
  rescue LoadError
88
95
  end if test_framework == :rspec
89
96
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-15 00:00:00.000000000 Z
12
+ date: 2012-02-04 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Spin preloads your Rails environment to speed up your autotest(ish)
15
15
  workflow.