mocha 0.12.6 → 0.12.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ = 0.12.7
2
+ * Officially support minitest v4.1.0 (still monkey-patching).
3
+
1
4
  = 0.12.6
2
5
  * Fixes #103.
3
6
 
@@ -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/version_330_to_350'
16
+ require 'mocha/integration/mini_test/version_330_to_410'
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.3.0', '<= 3.5.0').satisfied_by?(mini_test_version)
54
- include Mocha::Integration::MiniTest::Version330To350
53
+ elsif Gem::Requirement.new('>= 3.3.0', '<= 4.1.0').satisfied_by?(mini_test_version)
54
+ include Mocha::Integration::MiniTest::Version330To410
55
55
  else
56
56
  raise "No Mocha monkey-patch for MiniTest version"
57
57
  end
@@ -7,9 +7,9 @@ module Mocha
7
7
 
8
8
  module MiniTest
9
9
 
10
- module Version330To350
10
+ module Version330To410
11
11
  def self.included(mod)
12
- $stderr.puts "Monkey patching MiniTest >= v3.3.0 <= v3.5.0" if $mocha_options['debug']
12
+ $stderr.puts "Monkey patching MiniTest >= v3.3.0 <= v4.1.0" if $mocha_options['debug']
13
13
  end
14
14
  def run runner
15
15
  trap "INFO" do
@@ -1,3 +1,3 @@
1
1
  module Mocha
2
- VERSION = "0.12.6"
2
+ VERSION = "0.12.7"
3
3
  end
@@ -30,14 +30,17 @@ Gem::Specification.new do |s|
30
30
  s.add_development_dependency("rake", ">= 0")
31
31
  s.add_development_dependency("introspection", "~> 0.0.1")
32
32
  s.add_development_dependency("yard")
33
+ s.add_development_dependency("rdoc")
33
34
  else
34
35
  s.add_dependency("rake", ">= 0")
35
36
  s.add_dependency("introspection", "~> 0.0.1")
36
37
  s.add_dependency("yard")
38
+ s.add_dependency("rdoc")
37
39
  end
38
40
  else
39
41
  s.add_dependency("rake", ">= 0")
40
42
  s.add_dependency("introspection", "~> 0.0.1")
41
43
  s.add_dependency("yard")
44
+ s.add_dependency("rdoc")
42
45
  end
43
46
  end
metadata CHANGED
@@ -1,92 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mocha
3
- version: !ruby/object:Gem::Version
4
- hash: 35
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.12.7
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 12
9
- - 6
10
- version: 0.12.6
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - James Mead
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
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
12
+ date: 2012-10-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: metaclass
16
+ requirement: &70269211293480 !ruby/object:Gem::Requirement
22
17
  none: false
23
- requirements:
18
+ requirements:
24
19
  - - ~>
25
- - !ruby/object:Gem::Version
26
- hash: 29
27
- segments:
28
- - 0
29
- - 0
30
- - 1
20
+ - !ruby/object:Gem::Version
31
21
  version: 0.0.1
32
- name: metaclass
33
22
  type: :runtime
34
23
  prerelease: false
35
- requirement: *id001
36
- - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
24
+ version_requirements: *70269211293480
25
+ - !ruby/object:Gem::Dependency
46
26
  name: rake
27
+ requirement: &70269211292160 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :development
48
34
  prerelease: false
49
- requirement: *id002
50
- - !ruby/object:Gem::Dependency
51
- version_requirements: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70269211292160
36
+ - !ruby/object:Gem::Dependency
37
+ name: introspection
38
+ requirement: &70269211291700 !ruby/object:Gem::Requirement
52
39
  none: false
53
- requirements:
40
+ requirements:
54
41
  - - ~>
55
- - !ruby/object:Gem::Version
56
- hash: 29
57
- segments:
58
- - 0
59
- - 0
60
- - 1
42
+ - !ruby/object:Gem::Version
61
43
  version: 0.0.1
62
- name: introspection
63
44
  type: :development
64
45
  prerelease: false
65
- requirement: *id003
66
- - !ruby/object:Gem::Dependency
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
46
+ version_requirements: *70269211291700
47
+ - !ruby/object:Gem::Dependency
76
48
  name: yard
49
+ requirement: &70269211291320 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70269211291320
58
+ - !ruby/object:Gem::Dependency
59
+ name: rdoc
60
+ requirement: &70269211290860 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
77
66
  type: :development
78
67
  prerelease: false
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.
68
+ version_requirements: *70269211290860
69
+ description: Mocking and stubbing library with JMock/SchMock syntax, which allows
70
+ mocking and stubbing of methods on real (non-mock) classes.
81
71
  email: mocha-developer@googlegroups.com
82
72
  executables: []
83
-
84
73
  extensions: []
85
-
86
- extra_rdoc_files:
74
+ extra_rdoc_files:
87
75
  - README.rdoc
88
76
  - COPYING.rdoc
89
- files:
77
+ files:
90
78
  - .gemtest
91
79
  - COPYING.rdoc
92
80
  - Gemfile
@@ -145,7 +133,7 @@ files:
145
133
  - lib/mocha/integration/mini_test/version_2110_to_2111.rb
146
134
  - lib/mocha/integration/mini_test/version_2112_to_320.rb
147
135
  - lib/mocha/integration/mini_test/version_230_to_2101.rb
148
- - lib/mocha/integration/mini_test/version_330_to_350.rb
136
+ - lib/mocha/integration/mini_test/version_330_to_410.rb
149
137
  - lib/mocha/integration/test_unit.rb
150
138
  - lib/mocha/integration/test_unit/assertion_counter.rb
151
139
  - lib/mocha/integration/test_unit/gem_version_200.rb
@@ -317,41 +305,35 @@ files:
317
305
  - test/unit/yield_parameters_test.rb
318
306
  homepage: http://gofreerange.com/mocha/docs
319
307
  licenses: []
320
-
321
308
  post_install_message:
322
- rdoc_options:
309
+ rdoc_options:
323
310
  - --title
324
311
  - Mocha
325
312
  - --main
326
313
  - README.rdoc
327
314
  - --line-numbers
328
- require_paths:
315
+ require_paths:
329
316
  - lib
330
- required_ruby_version: !ruby/object:Gem::Requirement
317
+ required_ruby_version: !ruby/object:Gem::Requirement
331
318
  none: false
332
- requirements:
333
- - - ">="
334
- - !ruby/object:Gem::Version
335
- hash: 3
336
- segments:
319
+ requirements:
320
+ - - ! '>='
321
+ - !ruby/object:Gem::Version
322
+ version: '0'
323
+ segments:
337
324
  - 0
338
- version: "0"
339
- required_rubygems_version: !ruby/object:Gem::Requirement
325
+ hash: 3599471528182065481
326
+ required_rubygems_version: !ruby/object:Gem::Requirement
340
327
  none: false
341
- requirements:
342
- - - ">="
343
- - !ruby/object:Gem::Version
344
- hash: 3
345
- segments:
346
- - 0
347
- version: "0"
328
+ requirements:
329
+ - - ! '>='
330
+ - !ruby/object:Gem::Version
331
+ version: '0'
348
332
  requirements: []
349
-
350
333
  rubyforge_project: mocha
351
- rubygems_version: 1.8.22
334
+ rubygems_version: 1.8.11
352
335
  signing_key:
353
336
  specification_version: 3
354
337
  summary: Mocking and stubbing library
355
338
  test_files: []
356
-
357
339
  has_rdoc: