rspec 1.0.6 → 1.0.7

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.
data/CHANGES CHANGED
@@ -1,3 +1,10 @@
1
+ == Version 1.0.7
2
+
3
+ Quick bugfix release to ensure that you don't have to have the rspec gem installed
4
+ in order to use autotest with rspec_on_rails.
5
+
6
+ * Fixed [#13015] autotest gives failure in 'spec_command' after upgrade 1.0.5 to 1.0.6
7
+
1
8
  == Version 1.0.6
2
9
 
3
10
  The "holy cow, batman, it's been a long time since we released and there are a ton of bug
@@ -106,6 +106,6 @@
106
106
  # * RSpec should be able to access TestCase methods
107
107
  # * RSpec should be able to accept included modules
108
108
 
109
- Finished in 0.030625 seconds
109
+ Finished in 0.030157 seconds
110
110
 
111
111
  78 examples, 0 failures, 3 pending
@@ -3,11 +3,11 @@ module Spec
3
3
  unless defined? MAJOR
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- TINY = 6
6
+ TINY = 7
7
7
  RELEASE_CANDIDATE = nil
8
8
 
9
- # RANDOM_TOKEN: 0.450848541683348
10
- REV = "$LastChangedRevision: 2326 $".match(/LastChangedRevision: (\d+)/)[1]
9
+ # RANDOM_TOKEN: 0.73022701840968
10
+ REV = "$LastChangedRevision: 2332 $".match(/LastChangedRevision: (\d+)/)[1]
11
11
 
12
12
  STRING = [MAJOR, MINOR, TINY].join('.')
13
13
  TAG = "REL_#{[MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('_')}".upcase.gsub(/\.|-/, '_')
@@ -59,10 +59,11 @@ HERE
59
59
  end
60
60
 
61
61
  it "should otherwise select the default spec command in gem_dir/bin/spec" do
62
- @rspec_autotest.stub!(:spec_commands).and_return ["/opt/local/bin/spec"]
63
- Config::CONFIG.stub!(:[]).and_return "/opt/local/bin"
62
+ @rspec_autotest.stub!(:spec_commands).and_return ["/foo/spec"]
63
+ Config::CONFIG.stub!(:[]).and_return "/foo"
64
+ File.should_receive(:exists?).with("/foo/spec").and_return(true)
64
65
 
65
- @rspec_autotest.spec_command.should == "#{Config::CONFIG['bindir']}/spec"
66
+ @rspec_autotest.spec_command.should == "/foo/spec"
66
67
  end
67
68
 
68
69
  it "should raise an error if no spec command is found at all" do
metadata CHANGED
@@ -3,9 +3,9 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: rspec
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.6
6
+ version: 1.0.7
7
7
  date: 2007-08-12 00:00:00 -04:00
8
- summary: RSpec-1.0.6 (r2326) - BDD for Ruby http://rspec.rubyforge.org/
8
+ summary: RSpec-1.0.7 (r2332) - BDD for Ruby http://rspec.rubyforge.org/
9
9
  require_paths:
10
10
  - lib
11
11
  email: rspec-devel@rubyforge.org