minitest-moar 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb50b9e3e5dfb87a0d1a770686ad20df0f0bf506
4
- data.tar.gz: a2a7702376f960b738fb2ca387e4c00579d02b0a
3
+ metadata.gz: 9da15c41e06552c11a6f9e7a9a2efd7cbdfa078c
4
+ data.tar.gz: b2f5d70d6afc748b234238c7fb3e199d8aef2755
5
5
  SHA512:
6
- metadata.gz: 65bd32e3beeba4f656c7c233429f34148f1bc2f417ccdc1a4b92d763c11b555dedf910f66a5184e9aaa73d7a6a524f0b2a6aed52dda10506046a23594a2d2c18
7
- data.tar.gz: 4602d65b24fe5fcd6f5f5f554f532e4b471c1acbe8b6a9862cd85101193c9c70cd297eafdd078769b401d38ab26f21bfecc131dc2dc0f20ec6edee8aba4a1740
6
+ metadata.gz: e26d9dfbe2269e33817a4a26ab05f981d2c0d4a9668f96715459e7dbde4ae0842afbeb875f8f0481d4f7880a65f877a678923ef903546c2235f6cb08396bd5cc
7
+ data.tar.gz: 2f9e4688ccb30a2e0dca263a3788c991ec7ed80609da39d9cb1480a2161241a75c2b48868fff9b18cdd5b15489b6327091b01f3a854aeae6ab480fccbb5496a6
@@ -49,4 +49,6 @@ module Minitest::Moar::Stubbing
49
49
  end
50
50
  end
51
51
 
52
- Object.send(:remove_method, :stub)
52
+ if Object.respond_to?(:stub)
53
+ Object.send(:remove_method, :stub)
54
+ end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Moar
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-moar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cardarella