public
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
Consider MinGW as valid RUBY_PLATFORM for --colour option. (patch from Luis 
Lavena). Closes #406.
aslakhellesoy (author)
Tue Jun 24 14:47:52 -0700 2008
commit  cb7ff4852331fafd1143d610ffefcdce2dd85c20
tree    2310741f37d545b5ba5d615df2ce42a13d7f8774
parent  b171b70245e4eaa1505c8bcb792ab2460fe17ab1
...
6
7
8
 
9
10
11
...
6
7
8
9
10
11
12
0
@@ -6,6 +6,7 @@ automatically load rspec anymore. This allows rspec to live side by side other
0
 spec frameworks without always co-opting autotest through autotest's discovery
0
 mechanism.
0
 
0
+* Consider MinGW as valid RUBY_PLATFORM for --colour option. (patch from Luis Lavena). Closes #406.
0
 * Added additional characters to be escaped in step strings (patch from Jake Cahoon). Closes #417.
0
 * Disable color codes on STDOUT when STDOUT.tty? is false (patch from Tim Pope). Closes #413.
0
 * mock(:null_object=>true) plays nice with HTML (patch from Gerrit Kaiser). Closes #230.
...
125
126
127
128
 
129
130
131
...
125
126
127
 
128
129
130
131
0
@@ -125,7 +125,7 @@ module Spec
0
 
0
       def colour=(colour)
0
         @colour = colour
0
-        if @colour && RUBY_PLATFORM =~ /win32/ ;\
0
+        if @colour && RUBY_PLATFORM =~ /mswin|mingw/ ;\
0
           begin ;\
0
             require 'rubygems' ;\
0
             require 'Win32/Console/ANSI' ;\

Comments