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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4a50e9b2721e18c3b2c66e788614aa5ab1b29b4
4
- data.tar.gz: 27183a02824920a11867cb7c16ef9dd2e88e599c
3
+ metadata.gz: 4fa0ad3bf60f00bad9eba5b45bc63b60b597013e
4
+ data.tar.gz: 4065de3ae7f2105243256948b16fc8197377db23
5
5
  SHA512:
6
- metadata.gz: dfa373e09e3ee47b17272e0f65be6cf94b52464a0144bd0f7da39f87b1a8be4d2b60d91dde818f276384cfa6678c14d29e0a75aff1f409ee756a0c5eabe3b23b
7
- data.tar.gz: c53903e158130db5bcf6e363ed7701fd7ec9de6c5328e37e0b71c13df33d57851ee5d0abc360b9dffb53d1adba4f76a946a30659f6a7467f40a9631c304c8221
6
+ metadata.gz: 06063bde9e9ed86be0e37a8ef860bf51b733a667635f2565d5dca97eb3850c9c93465a347d26a65a90e2847156409c5049dc8a4910c936f5346dd259a24e84e9
7
+ data.tar.gz: 9201eed94072b7bddff60937ff668b6686bd7af8d3bb46ab3d3a8dfaaee8f2fdad2b6ab722313c92aea13ee1ae6f2a2ae59da19d0a05211aac3919a1788a685e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-multi-mock (0.3.0)
4
+ rspec-multi-mock (0.3.1)
5
5
  rspec (>= 3.7.0)
6
6
 
7
7
  GEM
@@ -1,6 +1,17 @@
1
1
  require 'rubygems'
2
- require 'mocha/object'
3
- require 'mocha/api'
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
@@ -1,3 +1,3 @@
1
1
  module MultiMock
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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-03-04 00:00:00.000000000 Z
11
+ date: 2018-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec