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 !
Add autospec binary to allow other spec frameworks to use autotest. [#394 
state:resolved milestone:"1.1.5"]
dchelimsky (author)
Wed Jun 18 20:29:00 -0700 2008
commit  c12b4e0cdcae1309725eeee75ce85110b905f432
tree    51ebd56a7583ce870b18506f07cba0873b890c2b
parent  f261f5bf6e8b5d738a972e0078ac2fd5b9271f71
...
1
2
 
 
 
 
 
 
3
4
5
...
10
11
12
 
13
14
15
...
1
2
3
4
5
6
7
8
9
10
11
...
16
17
18
19
20
21
22
0
@@ -1,5 +1,11 @@
0
 == Version 1.1.5 (in git)
0
 
0
+IMPORTANT: use the new 'autospec' command instead of 'autotest'. We changed
0
+the way autotest discovers rspec so the autotest executable won't
0
+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
 * 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.
0
@@ -10,6 +16,7 @@
0
 * html story formatter correctly colors story/scenario red if step fails (Patch from Joseph Wilk). Closes #300
0
 * plain text story formatter correctly colors story/scenario red if step fails (Patch from Joseph Wilk). Closes #439
0
 * quiet deprecation warning on inflector - patch from RSL. Closes #430
0
+* added autospec executable
0
 
0
 == Version 1.1.4
0
 
...
88
89
90
91
 
92
93
94
...
88
89
90
 
91
92
93
94
0
@@ -88,7 +88,7 @@ spec = Gem::Specification.new do |s|
0
   s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$|^EXAMPLES.rd$/ }.to_a
0
 
0
   s.bindir = 'bin'
0
-  s.executables = ['spec', 'spec_translator']
0
+  s.executables = ['spec', 'spec_translator', 'autospec']
0
   s.default_executable = 'spec'
0
   s.author = "RSpec Development Team"
0
   s.email = "rspec-devel@rubyforge.org"
...
1
2
 
3
...
1
 
2
3
0
@@ -1,3 +1,3 @@
0
 Autotest.add_discovery do
0
-  "rspec" if File.exist?('spec')
0
+  "rspec" if File.exist?('spec') && ENV['RSPEC']
0
 end

Comments