mocha 0.12.5 → 0.12.6
Sign up to get free protection for your applications and to get access to all the features.
- data/RELEASE.rdoc +3 -0
- data/lib/mocha/integration/mini_test.rb +1 -1
- data/lib/mocha/integration/test_unit.rb +1 -1
- data/lib/mocha/version.rb +1 -1
- metadata +82 -53
data/RELEASE.rdoc
CHANGED
@@ -53,7 +53,7 @@ if !MiniTest::Unit::TestCase.ancestors.include?(Mocha::API)
|
|
53
53
|
elsif Gem::Requirement.new('>= 3.3.0', '<= 3.5.0').satisfied_by?(mini_test_version)
|
54
54
|
include Mocha::Integration::MiniTest::Version330To350
|
55
55
|
else
|
56
|
-
|
56
|
+
raise "No Mocha monkey-patch for MiniTest version"
|
57
57
|
end
|
58
58
|
|
59
59
|
end
|
@@ -46,7 +46,7 @@ if !Test::Unit::TestCase.ancestors.include?(Mocha::API)
|
|
46
46
|
elsif Gem::Requirement.new('>= 2.3.0', '<= 2.5.2').satisfied_by?(test_unit_version)
|
47
47
|
include Mocha::Integration::TestUnit::GemVersion230To252
|
48
48
|
else
|
49
|
-
|
49
|
+
raise "No Mocha monkey-patch for Test::Unit version"
|
50
50
|
end
|
51
51
|
|
52
52
|
end
|
data/lib/mocha/version.rb
CHANGED
metadata
CHANGED
@@ -1,69 +1,92 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mocha
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 35
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 12
|
9
|
+
- 6
|
10
|
+
version: 0.12.6
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- James Mead
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
+
|
18
|
+
date: 2012-09-28 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
17
22
|
none: false
|
18
|
-
requirements:
|
23
|
+
requirements:
|
19
24
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 29
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 0
|
30
|
+
- 1
|
21
31
|
version: 0.0.1
|
32
|
+
name: metaclass
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
|
27
|
-
requirement: &70197056894560 !ruby/object:Gem::Requirement
|
35
|
+
requirement: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
name: rake
|
33
47
|
type: :development
|
34
48
|
prerelease: false
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
|
38
|
-
requirement: &70197056894100 !ruby/object:Gem::Requirement
|
49
|
+
requirement: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
39
52
|
none: false
|
40
|
-
requirements:
|
53
|
+
requirements:
|
41
54
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 29
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
- 0
|
60
|
+
- 1
|
43
61
|
version: 0.0.1
|
62
|
+
name: introspection
|
44
63
|
type: :development
|
45
64
|
prerelease: false
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
|
49
|
-
requirement: &70197056893720 !ruby/object:Gem::Requirement
|
65
|
+
requirement: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
50
68
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
name: yard
|
55
77
|
type: :development
|
56
78
|
prerelease: false
|
57
|
-
|
58
|
-
description: Mocking and stubbing library with JMock/SchMock syntax, which allows
|
59
|
-
mocking and stubbing of methods on real (non-mock) classes.
|
79
|
+
requirement: *id004
|
80
|
+
description: Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.
|
60
81
|
email: mocha-developer@googlegroups.com
|
61
82
|
executables: []
|
83
|
+
|
62
84
|
extensions: []
|
63
|
-
|
85
|
+
|
86
|
+
extra_rdoc_files:
|
64
87
|
- README.rdoc
|
65
88
|
- COPYING.rdoc
|
66
|
-
files:
|
89
|
+
files:
|
67
90
|
- .gemtest
|
68
91
|
- COPYING.rdoc
|
69
92
|
- Gemfile
|
@@ -294,35 +317,41 @@ files:
|
|
294
317
|
- test/unit/yield_parameters_test.rb
|
295
318
|
homepage: http://gofreerange.com/mocha/docs
|
296
319
|
licenses: []
|
320
|
+
|
297
321
|
post_install_message:
|
298
|
-
rdoc_options:
|
322
|
+
rdoc_options:
|
299
323
|
- --title
|
300
324
|
- Mocha
|
301
325
|
- --main
|
302
326
|
- README.rdoc
|
303
327
|
- --line-numbers
|
304
|
-
require_paths:
|
328
|
+
require_paths:
|
305
329
|
- lib
|
306
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
330
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
307
331
|
none: false
|
308
|
-
requirements:
|
309
|
-
- -
|
310
|
-
- !ruby/object:Gem::Version
|
311
|
-
|
312
|
-
segments:
|
332
|
+
requirements:
|
333
|
+
- - ">="
|
334
|
+
- !ruby/object:Gem::Version
|
335
|
+
hash: 3
|
336
|
+
segments:
|
313
337
|
- 0
|
314
|
-
|
315
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
338
|
+
version: "0"
|
339
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
316
340
|
none: false
|
317
|
-
requirements:
|
318
|
-
- -
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
|
341
|
+
requirements:
|
342
|
+
- - ">="
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
hash: 3
|
345
|
+
segments:
|
346
|
+
- 0
|
347
|
+
version: "0"
|
321
348
|
requirements: []
|
349
|
+
|
322
350
|
rubyforge_project: mocha
|
323
|
-
rubygems_version: 1.8.
|
351
|
+
rubygems_version: 1.8.22
|
324
352
|
signing_key:
|
325
353
|
specification_version: 3
|
326
354
|
summary: Mocking and stubbing library
|
327
355
|
test_files: []
|
356
|
+
|
328
357
|
has_rdoc:
|