mocha 0.12.9 → 0.12.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,6 @@
1
+ = 0.12.10
2
+ * Officially support minitest v4.6.1 (still monkey-patching).
3
+
1
4
  = 0.12.9
2
5
  * Officially support minitest v4.5.0 & test-unit v2.5.4 (still monkey-patching).
3
6
 
@@ -16,7 +16,7 @@ if !MiniTest::Unit::TestCase.ancestors.include?(Mocha::API)
16
16
  require 'mocha/integration/mini_test/version_330_to_410'
17
17
  require 'mocha/integration/mini_test/version_420_to_433'
18
18
  require 'mocha/integration/mini_test/version_440'
19
- require 'mocha/integration/mini_test/version_450'
19
+ require 'mocha/integration/mini_test/version_450_to_461'
20
20
 
21
21
  module MiniTest
22
22
  class Unit
@@ -59,8 +59,8 @@ if !MiniTest::Unit::TestCase.ancestors.include?(Mocha::API)
59
59
  include Mocha::Integration::MiniTest::Version420To433
60
60
  elsif Gem::Requirement.new('>= 4.4.0', '<= 4.4.0').satisfied_by?(mini_test_version)
61
61
  include Mocha::Integration::MiniTest::Version440
62
- elsif Gem::Requirement.new('>= 4.5.0', '<= 4.5.0').satisfied_by?(mini_test_version)
63
- include Mocha::Integration::MiniTest::Version450
62
+ elsif Gem::Requirement.new('>= 4.5.0', '<= 4.6.1').satisfied_by?(mini_test_version)
63
+ include Mocha::Integration::MiniTest::Version450To461
64
64
  else
65
65
  raise "No Mocha monkey-patch for MiniTest version"
66
66
  end
@@ -7,9 +7,9 @@ module Mocha
7
7
 
8
8
  module MiniTest
9
9
 
10
- module Version450
10
+ module Version450To461
11
11
  def self.included(mod)
12
- $stderr.puts "Monkey patching MiniTest >= v4.5.0 <= v4.5.0" if $mocha_options['debug']
12
+ $stderr.puts "Monkey patching MiniTest >= v4.5.0 <= v4.6.1" 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.9"
2
+ VERSION = "0.12.10"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: mocha
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.12.9
5
+ version: 0.12.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Mead
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-02 00:00:00.000000000 Z
12
+ date: 2013-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: metaclass
@@ -163,7 +163,7 @@ files:
163
163
  - lib/mocha/integration/mini_test/version_330_to_410.rb
164
164
  - lib/mocha/integration/mini_test/version_420_to_433.rb
165
165
  - lib/mocha/integration/mini_test/version_440.rb
166
- - lib/mocha/integration/mini_test/version_450.rb
166
+ - lib/mocha/integration/mini_test/version_450_to_461.rb
167
167
  - lib/mocha/integration/test_unit.rb
168
168
  - lib/mocha/integration/test_unit/assertion_counter.rb
169
169
  - lib/mocha/integration/test_unit/gem_version_200.rb
@@ -351,7 +351,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
351
351
  - !ruby/object:Gem::Version
352
352
  segments:
353
353
  - 0
354
- hash: -3342942557136973599
354
+ hash: -4008824448557729351
355
355
  version: '0'
356
356
  required_rubygems_version: !ruby/object:Gem::Requirement
357
357
  none: false