rspec_stubout 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmU2M2ZmZWExN2RhMGZlYzZjYjk2ODM3NmJhYzdhNWI4Mzc2YWRkNg==
4
+ ZDg0YmI2NjNiYWE5NDU0OGJjNGQ0YjVhYjgwNmRjMGJiM2FlNGNlNQ==
5
5
  data.tar.gz: !binary |-
6
- NDFhN2U2YzFkMDNhNmE2ODgxNjk5OGI1NWNhMWRhMDViZmJlOWZkMg==
6
+ ZjdhYWMwYTA5MDU2YzI5NmIxZjBiMGIyM2FiNWU1MWY2MjUzYTExYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NmIwZjAyOGFiOTE4NTcxOWMxNGZjMjE5YTM5MjIyOWVkMWIzY2YxM2IzYjNi
10
- OTA1MTJmNzljOTk5MTM5MDk1MzUzODBjMTVmZDk3ZDdhNDU2ZGViOTQ4OGNj
11
- OWFmYmMxY2I3MGEwYzBhMmIyZGQwOGZmNzFjZTY5N2ZhN2ZiOTU=
9
+ ZWJkOWRmODYxZjNmMjJjYTU1MGI0ZGJkNGQwZjIwYzUxMzVkOGE3YmM1OTUz
10
+ MTZmNWM1OGY5MDllMTRiZmRjOTdhZTY5NDBjOGRhNTJlNGUwM2IxZTU4ZGZl
11
+ NTY0ZjdhZWU4MzY5YmEwODE4Y2E4OWRiZDBjMmU5M2RiM2YxNWU=
12
12
  data.tar.gz: !binary |-
13
- YjI5MzZhNGMzMmE4ZjBmNDg0MzMxZTU1MmVhNjA5NjUxNjUzMjFkMTU2NDA5
14
- MzAwODIxMTAwMzdiNDZkNTk5NDY4M2M4MTc5Yjg2NThjNDEwNzY5ODZhODFj
15
- MTdmOTExNzRlYzNmOTBkZTNkOGViZWMzNWJhMjcyODY1ZjVmOGI=
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
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module RspecStubout
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  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.3
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-06 00:00:00.000000000 Z
11
+ date: 2013-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec