bourne 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.3.0 (2012-11-30)
2
+ * Compatible with Mocha 0.13.0
3
+
4
+ 1.2.1 (2012-11-26)
5
+ * Compatible with Mocha 0.12.7
6
+
1
7
  1.1.2 (2012-03-23)
2
8
  * Mention when a method is unstubbed
3
9
  * Compatible with Mocha 0.10.5
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
21
  s.require_paths = ["lib"]
22
22
 
23
- s.add_dependency('mocha', '0.12.7') # follow instructions in mock.rb to update
23
+ s.add_dependency('mocha', '0.13.0') # follow instructions in mock.rb to update
24
24
 
25
25
  s.add_development_dependency('rake')
26
26
  end
@@ -1,2 +1,2 @@
1
- require 'mocha'
1
+ require 'mocha/api'
2
2
  require 'bourne/api'
@@ -1,3 +1,3 @@
1
1
  module Bourne
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '1.3.0'.freeze
3
3
  end
@@ -1,5 +1,5 @@
1
1
  require File.expand_path('../../test_helper', __FILE__)
2
- require 'mocha'
2
+ require 'mocha/setup'
3
3
 
4
4
  class MochaExampleTest < Test::Unit::TestCase
5
5
 
@@ -1,5 +1,5 @@
1
1
  require File.expand_path('../../test_helper', __FILE__)
2
- require 'mocha'
2
+ require 'mocha/setup'
3
3
 
4
4
  class Widget
5
5
 
@@ -14,7 +14,7 @@ if ENV['MOCHA_OPTIONS'] == 'use_test_unit_gem'
14
14
  end
15
15
 
16
16
  require 'test/unit'
17
- require 'mocha'
17
+ require 'mocha/setup'
18
18
 
19
19
  if defined?(MiniTest)
20
20
  FailedAssertion = MiniTest::Assertion
@@ -2,7 +2,7 @@ require File.join(File.dirname(__FILE__), "..", "test_helper")
2
2
  require 'test_runner'
3
3
  require 'bourne/api'
4
4
  require 'bourne/mockery'
5
- require 'mocha/object'
5
+ require 'mocha/api'
6
6
 
7
7
  class AssertReceivedTest < Test::Unit::TestCase
8
8
 
@@ -2,7 +2,7 @@ require File.join(File.dirname(__FILE__), "..", "test_helper")
2
2
  require 'test_runner'
3
3
  require 'bourne/api'
4
4
  require 'bourne/mockery'
5
- require 'mocha/object'
5
+ require 'mocha/api'
6
6
  require 'matcher_helpers'
7
7
 
8
8
  module HaveReceivedTestMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourne
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-26 00:00:00.000000000 Z
12
+ date: 2012-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mocha
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.12.7
21
+ version: 0.13.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.7
29
+ version: 0.13.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rake
32
32
  requirement: !ruby/object:Gem::Requirement