mocha 0.12.4 → 0.12.5
Sign up to get free protection for your applications and to get access to all the features.
data/RELEASE.rdoc
CHANGED
@@ -13,7 +13,7 @@ if !MiniTest::Unit::TestCase.ancestors.include?(Mocha::API)
|
|
13
13
|
require 'mocha/integration/mini_test/version_230_to_2101'
|
14
14
|
require 'mocha/integration/mini_test/version_2110_to_2111'
|
15
15
|
require 'mocha/integration/mini_test/version_2112_to_320'
|
16
|
-
require 'mocha/integration/mini_test/
|
16
|
+
require 'mocha/integration/mini_test/version_330_to_350'
|
17
17
|
|
18
18
|
module MiniTest
|
19
19
|
class Unit
|
@@ -50,8 +50,8 @@ if !MiniTest::Unit::TestCase.ancestors.include?(Mocha::API)
|
|
50
50
|
include Mocha::Integration::MiniTest::Version2110To2111
|
51
51
|
elsif Gem::Requirement.new('>= 2.11.2', '<= 3.2.0').satisfied_by?(mini_test_version)
|
52
52
|
include Mocha::Integration::MiniTest::Version2112To320
|
53
|
-
elsif Gem::Requirement.new('3.
|
54
|
-
include Mocha::Integration::MiniTest::
|
53
|
+
elsif Gem::Requirement.new('>= 3.3.0', '<= 3.5.0').satisfied_by?(mini_test_version)
|
54
|
+
include Mocha::Integration::MiniTest::Version330To350
|
55
55
|
else
|
56
56
|
$stderr.puts "*** No Mocha monkey-patch for MiniTest version ***" if $mocha_options['debug']
|
57
57
|
end
|
@@ -7,9 +7,9 @@ module Mocha
|
|
7
7
|
|
8
8
|
module MiniTest
|
9
9
|
|
10
|
-
module
|
10
|
+
module Version330To350
|
11
11
|
def self.included(mod)
|
12
|
-
$stderr.puts "Monkey patching MiniTest v3.
|
12
|
+
$stderr.puts "Monkey patching MiniTest >= v3.3.0 <= v3.5.0" if $mocha_options['debug']
|
13
13
|
end
|
14
14
|
def run runner
|
15
15
|
trap "INFO" do
|
data/lib/mocha/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mocha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: metaclass
|
16
|
-
requirement: &
|
16
|
+
requirement: &70197056895880 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70197056895880
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &70197056894560 !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: *
|
35
|
+
version_requirements: *70197056894560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: introspection
|
38
|
-
requirement: &
|
38
|
+
requirement: &70197056894100 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.0.1
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70197056894100
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: yard
|
49
|
-
requirement: &
|
49
|
+
requirement: &70197056893720 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70197056893720
|
58
58
|
description: Mocking and stubbing library with JMock/SchMock syntax, which allows
|
59
59
|
mocking and stubbing of methods on real (non-mock) classes.
|
60
60
|
email: mocha-developer@googlegroups.com
|
@@ -122,7 +122,7 @@ files:
|
|
122
122
|
- lib/mocha/integration/mini_test/version_2110_to_2111.rb
|
123
123
|
- lib/mocha/integration/mini_test/version_2112_to_320.rb
|
124
124
|
- lib/mocha/integration/mini_test/version_230_to_2101.rb
|
125
|
-
- lib/mocha/integration/mini_test/
|
125
|
+
- lib/mocha/integration/mini_test/version_330_to_350.rb
|
126
126
|
- lib/mocha/integration/test_unit.rb
|
127
127
|
- lib/mocha/integration/test_unit/assertion_counter.rb
|
128
128
|
- lib/mocha/integration/test_unit/gem_version_200.rb
|
@@ -311,7 +311,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
311
311
|
version: '0'
|
312
312
|
segments:
|
313
313
|
- 0
|
314
|
-
hash:
|
314
|
+
hash: 2180183794858640880
|
315
315
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
316
316
|
none: false
|
317
317
|
requirements:
|