rspec-multi-mock 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/adapters/mocha.rb +14 -3
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fa0ad3bf60f00bad9eba5b45bc63b60b597013e
|
4
|
+
data.tar.gz: 4065de3ae7f2105243256948b16fc8197377db23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06063bde9e9ed86be0e37a8ef860bf51b733a667635f2565d5dca97eb3850c9c93465a347d26a65a90e2847156409c5049dc8a4910c936f5346dd259a24e84e9
|
7
|
+
data.tar.gz: 9201eed94072b7bddff60937ff668b6686bd7af8d3bb46ab3d3a8dfaaee8f2fdad2b6ab722313c92aea13ee1ae6f2a2ae59da19d0a05211aac3919a1788a685e
|
data/Gemfile.lock
CHANGED
data/lib/adapters/mocha.rb
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
|
3
|
-
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'mocha/api'
|
5
|
+
|
6
|
+
begin
|
7
|
+
require 'mocha/object'
|
8
|
+
rescue LoadError
|
9
|
+
# Mocha >= 0.13.0 no longer contains this file nor needs it to be loaded.
|
10
|
+
end
|
11
|
+
rescue LoadError
|
12
|
+
require 'mocha/standalone'
|
13
|
+
require 'mocha/object'
|
14
|
+
end
|
4
15
|
|
5
16
|
module MultiMock
|
6
17
|
module Adapters
|
@@ -12,4 +23,4 @@ module MultiMock
|
|
12
23
|
alias :teardown_mocks_for_rspec :mocha_teardown
|
13
24
|
end
|
14
25
|
end
|
15
|
-
end
|
26
|
+
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-multi-mock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deepak N
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|