Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bumped version to 0.9.10 and updated release notes and gemspec in pre…

…paration for release.
  • Loading branch information...
commit 31182ea8b38b79aa50702aa839f6a29ebcf7d684 1 parent 8462164
@floehopper floehopper authored
Showing with 11 additions and 5 deletions.
  1. +6 −0 RELEASE.rdoc
  2. +3 −3 Rakefile
  3. +2 −2 mocha.gemspec
View
6 RELEASE.rdoc
@@ -1,3 +1,9 @@
+= 0.9.10 ()
+* Added Mocha::ObjectMethods#unstub method - https://github.com/floehopper/mocha/issues#issue/6
+* Inherit Mocha::ExpectationError from Exception instead of StandardError to reduce the chances of a test passing by accident - thanks to James Sanders (jsanders) - https://github.com/floehopper/mocha/issues#issue/15
+* Fixed bug - GitHub README page to link correctly to code examples - https://github.com/floehopper/mocha/issues/closed#issue/11
+* Fixed bug - PASSTHROUGH_EXCEPTIONS are defined on MiniTest::Unit::TestCase not in Mocha - thanks to Brian Troutwine (blt) - https://github.com/floehopper/mocha/issues/closed#issue/14
+
= 0.9.9 (ee3a79db4d52c3339e8acf07505e01236a2b4810)
* Avoid loading bits of the test-unit gem by accident. This is an attempt at a fix for the problem that James Adam reported [1]. By using 'load' instead of 'require' to detect the version of Test::Unit, we can avoid rubygems trying to load bits of the test-unit gem when it's not wanted. [1] http://floehopper.lighthouseapp.com/projects/22289-mocha/tickets/50#ticket-50-13
* Fix exception when running rake without test-unit gem. When test-unit gem >=v2.0.0 was installed but the "use_test_unit_gem" MOCHA_OPTIONS was not specified, a "comparison of Fixnum with Hash failed" exception was being raised when running the performance tests. This was because bits of the test-unit gem were being loaded accidentally and a Hash was being incorrectly supplied to the TestRunner.run method.
View
6 Rakefile
@@ -3,7 +3,7 @@ require 'rake/gempackagetask'
require 'rake/testtask'
module Mocha
- VERSION = "0.9.9"
+ VERSION = "0.9.10"
end
desc "Run all tests"
@@ -174,7 +174,7 @@ Rake::GemPackageTask.new(specification) do |package|
end
desc 'Generate updated gemspec with unique version, which will cause gem to be auto-built on github.'
-task :update_gemspec do
+task :gemspec do
File.open('mocha.gemspec', 'w') do |output|
output << build_specification(Mocha::VERSION + '.' + Time.now.strftime('%Y%m%d%H%M%S')).to_ruby
end
@@ -209,7 +209,7 @@ task 'publish_packages' => ['verify_user', 'verify_password', 'clobber_package',
end
desc "Do a full release."
-task 'release' => ['default', 'generate_docs', 'publish_packages', 'publish_docs', 'update_gemspec'] do
+task 'release' => ['default', 'generate_docs', 'publish_packages', 'publish_docs', 'gemspec'] do
puts
puts "*** Remember to commit newly generated gemspec after release ***"
puts
View
4 mocha.gemspec
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = %q{mocha}
- s.version = "0.9.9.20101112144457"
+ s.version = "0.9.10.20101125155727"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["James Mead"]
- s.date = %q{2010-11-12}
+ s.date = %q{2010-11-25}
s.description = %q{ Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.
}
s.email = %q{mocha-developer@googlegroups.com}
Please sign in to comment.
Something went wrong with that request. Please try again.