minitest-rspec_mocks 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,14 +3,14 @@ require 'rspec/mocks'
3
3
  require_relative './rspec_mocks/version'
4
4
 
5
5
  class Object
6
- # remove MiniTest's stub method so RSpec's version on BasicObject will work
6
+ # remove Minitest's stub method so RSpec's version on BasicObject will work
7
7
  if self.method_defined?(:stub) && !defined?(removed_minitest)
8
8
  remove_method :stub
9
9
  removed_minitest = true
10
10
  end
11
11
  end
12
12
 
13
- module MiniTest
13
+ module Minitest
14
14
  module RSpecMocks
15
15
  include RSpec::Mocks::ExampleMethods unless ::RSpec::Mocks::Version::STRING < "3"
16
16
  def before_setup
@@ -0,0 +1,5 @@
1
+ module MiniTest
2
+ module RSpecMocks
3
+ VERSION = "0.1.2"
4
+ end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rspec_mocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2014-02-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &2173379560 !ruby/object:Gem::Requirement
16
+ requirement: &2158567340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2173379560
24
+ version_requirements: *2158567340
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &2173379020 !ruby/object:Gem::Requirement
27
+ requirement: &2158566920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2173379020
35
+ version_requirements: *2158566920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: minitest
38
- requirement: &2173378460 !ruby/object:Gem::Requirement
38
+ requirement: &2158566260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -46,10 +46,10 @@ dependencies:
46
46
  version: '5.3'
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *2173378460
49
+ version_requirements: *2158566260
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: rspec-mocks
52
- requirement: &2173377560 !ruby/object:Gem::Requirement
52
+ requirement: &2158565420 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ! '>='
@@ -60,7 +60,7 @@ dependencies:
60
60
  version: 3.0.0
61
61
  type: :runtime
62
62
  prerelease: false
63
- version_requirements: *2173377560
63
+ version_requirements: *2158565420
64
64
  description: Use rspec-mocks with minitest. A description of what this does doesn't
65
65
  get longer than that.
66
66
  email:
@@ -70,6 +70,7 @@ extensions: []
70
70
  extra_rdoc_files: []
71
71
  files:
72
72
  - lib/minitest/rspec_mocks.rb
73
+ - lib/minitest/rspec_mocks/version.rb
73
74
  - test/minitest/rspec_mocks_test.rb
74
75
  homepage: https://github.com/codeodor/minitest-rspec_mocks
75
76
  licenses: