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 +7 -0
- data/EXAMPLES.rd +1 -1
- data/lib/spec/version.rb +3 -3
- data/spec/autotest/rspec_spec.rb +4 -3
- metadata +2 -2
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
|
data/EXAMPLES.rd
CHANGED
data/lib/spec/version.rb
CHANGED
@@ -3,11 +3,11 @@ module Spec
|
|
3
3
|
unless defined? MAJOR
|
4
4
|
MAJOR = 1
|
5
5
|
MINOR = 0
|
6
|
-
TINY =
|
6
|
+
TINY = 7
|
7
7
|
RELEASE_CANDIDATE = nil
|
8
8
|
|
9
|
-
# RANDOM_TOKEN: 0.
|
10
|
-
REV = "$LastChangedRevision:
|
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(/\.|-/, '_')
|
data/spec/autotest/rspec_spec.rb
CHANGED
@@ -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 ["/
|
63
|
-
Config::CONFIG.stub!(:[]).and_return "/
|
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 == "
|
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
|
+
version: 1.0.7
|
7
7
|
date: 2007-08-12 00:00:00 -04:00
|
8
|
-
summary: RSpec-1.0.
|
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
|