rspec_stubout 0.0.3 → 0.0.4
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.
- checksums.yaml +8 -8
- data/lib/rspec_stubout/prevent_stubout.rb +1 -1
- data/lib/rspec_stubout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDg0YmI2NjNiYWE5NDU0OGJjNGQ0YjVhYjgwNmRjMGJiM2FlNGNlNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZjdhYWMwYTA5MDU2YzI5NmIxZjBiMGIyM2FiNWU1MWY2MjUzYTExYQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWJkOWRmODYxZjNmMjJjYTU1MGI0ZGJkNGQwZjIwYzUxMzVkOGE3YmM1OTUz
|
|
10
|
+
MTZmNWM1OGY5MDllMTRiZmRjOTdhZTY5NDBjOGRhNTJlNGUwM2IxZTU4ZGZl
|
|
11
|
+
NTY0ZjdhZWU4MzY5YmEwODE4Y2E4OWRiZDBjMmU5M2RiM2YxNWU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Nzg1OWQ3ZGEzZjM5YjFmMWJlNDA1Y2JkMmUwZmUzMmU0MGJiMGZmMDAzZTJh
|
|
14
|
+
OGI3OGYxNDcyYTc2N2EwMjEzNjFmMjBiYzBjYjIxYzZlYTExZTY3MzFjYTRm
|
|
15
|
+
M2JhZDk2YWU4OWZiZjA1MGRmNDZjNzk2NmZkZjZmMzAzYmI1YjM=
|
|
@@ -8,8 +8,8 @@ module RspecStubout
|
|
|
8
8
|
rspec_config.before(:each) do
|
|
9
9
|
unless example.metadata[:allow_stubout]
|
|
10
10
|
begin
|
|
11
|
-
RspecStubout.prevent_stub_on(described_class)
|
|
12
11
|
RspecStubout.prevent_stub_on(subject)
|
|
12
|
+
RspecStubout.prevent_stub_on(described_class) unless described_class == subject
|
|
13
13
|
rescue => e
|
|
14
14
|
warn "rspec stubout setup failed, possibly setup in another before(:each) has not run yet: #{e.backtrace[0]}, #{e.inspect}"
|
|
15
15
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec_stubout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew M. Boedicker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|