mocha 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/RELEASE +4 -1
  2. data/Rakefile +1 -1
  3. data/lib/mocha/standalone.rb +1 -0
  4. metadata +3 -2
data/RELEASE CHANGED
@@ -1,4 +1,7 @@
1
- = 0.9.6 ()
1
+ = 0.9.7 ()
2
+ * Although I had provided a deprecation warning for people using Mocha::Standalone, I had assumed people wouldn't be explicitly loading the mocha/standalone.rb file. It turns out this assumption was incorrect at least in the case of Rspec. This is now fixed.
3
+
4
+ = 0.9.6 (57f8f77d715b7f1d9efee2e1a9438f7905c0006b)
2
5
  * Version 2.0.1 of the test-unit gem introduced a private 'run_test' method on TestCase which clashed with the public TestRunner#run_test method. So this latter method has been renamed to 'run_as_test'.
3
6
  * Stop requiring rubygems - this should be an environmental choice for the user. http://gist.github.com/54177 - describes why requiring rubygems in your library code is a bad idea.
4
7
  * It seems like overkill to vendorize coderay and meta_project when they're only needed to generate the examples for documentation and for publishing files on RubyForge. So I'm removing them and installing them locally as gems when I need them.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/gempackagetask'
3
3
  require 'rake/testtask'
4
4
 
5
5
  module Mocha
6
- VERSION = "0.9.6"
6
+ VERSION = "0.9.7"
7
7
  end
8
8
 
9
9
  desc "Run all tests"
@@ -0,0 +1 @@
1
+ require 'mocha/api'
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.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Mead
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-29 00:00:00 +01:00
12
+ date: 2009-07-01 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -97,6 +97,7 @@ files:
97
97
  - lib/mocha/sequence.rb
98
98
  - lib/mocha/single_return_value.rb
99
99
  - lib/mocha/single_yield.rb
100
+ - lib/mocha/standalone.rb
100
101
  - lib/mocha/state_machine.rb
101
102
  - lib/mocha/stubbing_error.rb
102
103
  - lib/mocha/unexpected_invocation.rb