rspec 1.2.5 → 1.2.6
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/History.rdoc +5 -0
- data/README.rdoc +1 -0
- data/Upgrade.rdoc +1 -1
- data/lib/spec/version.rb +1 -1
- data/spec/spec/matchers/raise_error_spec.rb +3 -3
- metadata +6 -26
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -1
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
data/Upgrade.rdoc
CHANGED
data/lib/spec/version.rb
CHANGED
@@ -26,7 +26,7 @@ describe "should raise_error {|err| ... }" do
|
|
26
26
|
lambda { non_existent_method }.should raise_error {|e|
|
27
27
|
error = e
|
28
28
|
}
|
29
|
-
error.should
|
29
|
+
error.should be_kind_of(NameError)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -118,8 +118,8 @@ describe "should_not raise_error(NamedError)" do
|
|
118
118
|
|
119
119
|
it "should fail if named error is raised" do
|
120
120
|
lambda {
|
121
|
-
lambda {
|
122
|
-
}.should fail_with(/expected no
|
121
|
+
lambda { 1 + 'b' }.should_not raise_error(TypeError)
|
122
|
+
}.should fail_with(/expected no TypeError, got #<TypeError: String can't be/)
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
metadata
CHANGED
@@ -1,36 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RSpec Development Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDQDCCAiigAwIBAgIBADANBgkqhkiG9w0BAQUFADBGMRQwEgYDVQQDDAtyc3Bl
|
14
|
-
Yy1kZXZlbDEZMBcGCgmSJomT8ixk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kz24
|
29
|
-
7XHWIHZLt6PzpDxMa4RYOeFx0cgxH3Su/hFc086K0Y3BEWSmg+nF/2eCpu7Not1q
|
30
|
-
rxjzEkfOKoy3oCfGDf8/ZQyQaJo=
|
31
|
-
-----END CERTIFICATE-----
|
10
|
+
cert_chain: []
|
32
11
|
|
33
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-30 00:00:00 -05:00
|
34
13
|
default_executable:
|
35
14
|
dependencies:
|
36
15
|
- !ruby/object:Gem::Dependency
|
@@ -58,6 +37,7 @@ email:
|
|
58
37
|
- rspec-devel@rubyforge.org
|
59
38
|
executables:
|
60
39
|
- autospec
|
40
|
+
- spec
|
61
41
|
extensions: []
|
62
42
|
|
63
43
|
extra_rdoc_files:
|
@@ -440,7 +420,7 @@ licenses: []
|
|
440
420
|
post_install_message: |
|
441
421
|
**************************************************
|
442
422
|
|
443
|
-
Thank you for installing rspec-1.2.
|
423
|
+
Thank you for installing rspec-1.2.6
|
444
424
|
|
445
425
|
Please be sure to read History.rdoc and Upgrade.rdoc
|
446
426
|
for useful information about this release.
|
@@ -470,6 +450,6 @@ rubyforge_project: rspec
|
|
470
450
|
rubygems_version: 1.3.2
|
471
451
|
signing_key:
|
472
452
|
specification_version: 3
|
473
|
-
summary: rspec 1.2.
|
453
|
+
summary: rspec 1.2.6
|
474
454
|
test_files: []
|
475
455
|
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|