== 1.2.11.5 / 2012-11-06
- Fix breakage of IO.parse_mode on Rubinius (issue #10).
- Make tests pass on rubinius (issue #11).
- Improve RangesIO test coverage.
- Don't warn when mbat_start is AVAIL instead of EOC (github #9).
(This is a comment-only change.)
I used to maintain the subversion packages, but am no longer actively
doing so. I basically removed my name from the comment soliciting
volunteers to test the language binding part of updates, and updated
the text.
guile16 is very old, and devel/guile-gtk uses guile 1.8 (which is
merely old, but the newest in pkgsrc proper). Removal proposed on
pkgsrc-users with no objections. (ok wiz@ during freeze.)
Upstream changes:
1.31 (2012/11/17)
(ms) To better deal with the race condition in the
previous release, kill the newly created child
process first, then send a killpg to its process
group and ignore the outcome.
(ms) [RT 81203] Jim A Kessler reported a perl 5.16 issue
with the "AutoLoader" line, so I went ahead and removed
all references to "Exporter" and "AutoLoader", as
Proc::Simple isn't using them at all.
Update DEPENDS
Upstream changes:
1.2009 2012-12-18 16:08:37 America/New_York
[BUG FIXES]
- Expanded prerequisite load check skip to all Acme::* modules; prereqs
still need to be installed and of sufficient version, but we don't
check that Acme modules load without error to avoid side effects.
1.2008 2012-12-15 07:26:11 America/New_York
[BUG FIXES]
- Don't try to check if Acme::Bleach can be loaded if it's listed
as a prereq
1.2007 2012-12-10 15:13:22 America/New_York
[BUG FIXES]
- Recognize another form of "Perl is too low" message [CHORNY]
Don't bother to patch an older xulrunner to work on gcc47 on DragonFly.
Unfortunately, xulrunner 10 breaks for other reasons right now, but
when those gets fixed it needs this directive to build for systems that
have gcc47 requested in the makefile.
Also affects Firefox 10 and Thunderbird 10, of course.
### 2.12.1 / 2012-12-15
[full changelog](http://github.com/rspec/rspec-expectations/compare/v2.12.0...v2.12.1)
Bug fixes
* Improve the failure message for an expression like
`{}.should =~ {}`. (Myron Marston and Andy Lindeman)
* Provide a `match_regex` alias so that custom matchers
built using the matcher DSL can use it (since `match`
is a different method in that context).
(Steven Harman)
overwriting pkgsrc's setting of $(CC).
Also, make it build on amd64 netbsd (by cribbing two lines from the
existing openbsd support) and add that to the list of PLATFORMs the
package is ONLY_FOR.
XXX: Why is this limited to netbsd PLATFORMs when it supports at least
XXX: some other stuff internally?
a compile-time assertion. There is no need for this code on NetBSD, or
probably anywhere else, as mktime() is a standard part of libc.
The broken code was apparently reported upstream last year, with
predictable results: http://sourceware.org/bugzilla/show_bug.cgi?id=12401
While here also fix the mktime configure test, which exercises
undefined behavior. With gcc 4.5 this causes the build to hang in an
infinite loop for sixty seconds until an alarm() goes off.
Fixes the build on 32-bit NetBSD.
== 1.2.7 20121102
* Stomp 1.2 support (see http://stomp.github.com)
* Reset reconnect_delay to default value upon successful reconnect
* Enhance tests for Stomp 1.2
== 1.2.6 20120913
* Provide ability to eliminate checks for closed in protocol methods
* Cover ssl.connect with connection timeout parameter
* If heartbeat send raises, do not reraise unless client requests that
* Remove methods that invoke __send__
* Move internal methods to 'private'
2.5.3:
It's an release for minitest compatibility and bug fix.
Improvements
* Supported diff in invalid encoding.
* Added some assersion methods just for minitest compatibility. Added methods
are assert_includes(), refute_*() and refute(). If you are test-unit user,
please don't use them. [GitHub#40] [Suggested by Michael Grosser]
* Added --attribute option to select target tests by attribute.
[test-unit-users-en:00098] [Suggested by Piotr Nestorow]
Fixes
* Allowed use of test for inheritance in
ActionController::TestCase. [GitHub#42] [Patch by David Rasch]
* Ensured evaluating at_exist block in top level. In IRB context, exit()
specifies irb_exit(). [test-unit-users-en:00089] [Reported by Daniel Berger]
* Fixed a bug that decoration style description is ignored. "decoration style
description" are using description method above "def test_name" or with
Symbol specifying test_name. [GitHub#45] [Reported by Piotr Nestorow]
Thanks
* Michael Grosser
* David Rasch
* Daniel Berger
* Piotr Nestorow
### 2.12.0 / 2012-11-12
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.4...2.12.0)
Enhancements
* Support validation contexts when using `#errors_on` (Woody Peterson)
* Include RequestExampleGroup in groups in spec/api
Bug fixes
* Add `should` and `should_not` to `CollectionProxy` (Rails 3.1+) and
`AssociationProxy` (Rails 3.0). (Myron Marston)
* `controller.controller_path` is set correctly for view specs in Rails 3.1+.
(Andy Lindeman)
* Generated specs support module namespacing (e.g., in a Rails engine).
(Andy Lindeman)
* `render` properly infers the view to be rendered in Rails 3.0 and 3.1
(John Firebaugh)
* AutoTest mappings involving config/ work correctly (Brent J. Nordquist)
* Failures message for `be_new_record` are more useful (Andy Lindeman)
### 2.11.4 / 2012-10-14
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
Capybara-2.0 integration support:
* include RailsExampleGroup in spec/features (necessary when there is no AR)
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
and [http://rubydoc.info/gems/rspec-rails/file/Capybara.md](http://rubydoc.info/gems/rspec-rails/file/Capybara.md)
for background.
2.11.1, .2, .3 were yanked due to errant documentation.
### 2.12.0 / 2012-11-12
[full changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.3...2.12.0)
Enhancements
* `and_raise` can accept an exception class and message, more closely
matching `Kernel#raise` (e.g., `foo.stub(:bar).and_raise(RuntimeError, "message")`)
(Bas Vodde)
* Add `and_call_original`, which will delegate the message to the
original method (Myron Marston).
Deprecations:
* Add deprecation warning when using `and_return` with `should_not_receive`
(Neha Kumari)
### 2.11.3 / 2012-09-19
[full changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.2...v2.11.3)
Bug fixes
* Fix `:transfer_nested_constants` option of `stub_const` so that it
doesn't blow up when there are inherited constants. (Myron Marston)
* `any_instance` stubs can be used on classes that override `Object#method`.
(Andy Lindeman)
* Methods stubbed with `any_instance` are unstubbed after the test finishes.
(Andy Lindeman)
* Fix confusing error message when calling a mocked class method an
extra time with the wrong arguments (Myron Marston).
### 2.12.0 / 2012-11-12
[full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.3...2.12.0)
Enhancements
* Colorize diffs if the `--color` option is configured. (Alex Coplan)
* Include backtraces in unexpected errors handled by `raise_error`
matcher (Myron Marston)
* Print a warning when users accidentally pass a non-string argument
as an expectation message (Sam Phippen)
* `=~` and `match_array` matchers output a more useful error message when
the actual value is not an array (or an object that responds to `#to_ary`)
(Sam Phippen)
Bug fixes
* Fix `include` matcher so that `expect({}).to include(:a => nil)`
fails as it should (Sam Phippen).
* Fix `be_an_instance_of` matcher so that `Class#to_s` is used in the
description rather than `Class#inspect`, since some classes (like
`ActiveRecord::Base`) define a long, verbose `#inspect`.
(Tom Stuart)
### 2.11.3 / 2012-09-04
[full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.2...v2.11.3)
Bug fixes
* Fix (and deprecate) `expect { }.should` syntax so that it works even
though it was never a documented or intended syntax. It worked as a
consequence of the implementation of `expect` in RSpec 2.10 and
earlier. (Myron Marston)
* Ensure #== is defined on built in matchers so that they can be composed.
For example:
expect {
user.emailed!
}.to change { user.last_emailed_at }.to be_within(1.second).of(Time.zone.now)
### 2.11.2 / 2012-07-25
[full changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.1...v2.11.2)
Bug fixes
* Define `should` and `should_not` on `Object` rather than `BasicObject`
on MacRuby. On MacRuby, `BasicObject` is defined but is not the root
of the object hierarchy. (Gabriel Gilder)
### 2.12.2 / 2012-12-13
[full changelog](http://github.com/rspec/rspec-core/compare/v2.12.1...v2.12.2)
Bug fixes
* Fix `RSpec::Core::RakeTask` so that it is compatible with rake 0.8.7
on ruby 1.8.7. We had accidentally broke it in the 2.12 release
(Myron Marston).
* Fix `RSpec::Core::RakeTask` so it is tolerant of the `Rspec` constant
for backwards compatibility (Patrick Van Stee)
### 2.12.1 / 2012-12-01
[full changelog](http://github.com/rspec/rspec-core/compare/v2.12.0...v2.12.1)
Bug fixes
* Specs are run even if another at\_exit hook calls `exit`. This allows
Test::Unit and RSpec to run together. (Suraj N. Kurapati)
* Fix full doc string concatenation so that it handles the case of a
method string (e.g. "#foo") being nested under a context string
(e.g. "when it is tuesday"), so that we get "when it is tuesday #foo"
rather than "when it is tuesday#foo". (Myron Marston)
* Restore public API I unintentionally broke in 2.12.0:
`RSpec::Core::Formatters::BaseFormatter#format_backtrce(backtrace, example)`
(Myron Marston).
### 2.12.0 / 2012-11-12
[full changelog](http://github.com/rspec/rspec-core/compare/v2.11.1...2.12.0)
Enhancements
* Add support for custom ordering strategies for groups and examples.
(Myron Marston)
* JSON Formatter (Alex Chaffee)
* Refactor rake task internals (Sam Phippen)
* Refactor HtmlFormatter (Pete Hodgson)
* Autotest supports a path to Ruby that contains spaces (dsisnero)
* Provide a helpful warning when a shared example group is redefined.
(Mark Burns).
* `--default_path` can be specified as `--default-line`. `--line_number` can be
specified as `--line-number`. Hyphens are more idiomatic command line argument
separators (Sam Phippen).
* A more useful error message is shown when an invalid command line option is
used (Jordi Polo).
* Add `format_docstrings { |str| }` config option. It can be used to
apply formatting rules to example group and example docstrings.
(Alex Tan)
* Add support for an `.rspec-local` options file. This is intended to
allow individual developers to set options in a git-ignored file that
override the common project options in `.rspec`. (Sam Phippen)
* Support for mocha 0.13.0. (Andy Lindeman)
Bug fixes
* Remove override of `ExampleGroup#ancestors`. This is a core ruby method that
RSpec shouldn't override. Instead, define `ExampleGroup#parent_groups`. (Myron
Marston)
* Limit monkey patching of shared example/context declaration methods
(`shared_examples_for`, etc.) to just the objects that need it rather than
every object in the system (Myron Marston).
* Fix Metadata#fetch to support computed values (Sam Goldman).
* Named subject can now be referred to from within subject block in a nested
group (tomykaira).
* Fix `fail_fast` so that it properly exits when an error occurs in a
`before(:all) hook` (Bradley Schaefer).
* Make the order spec files are loaded consistent, regardless of the
order of the files returned by the OS or the order passed at
the command line (Jo Liss and Sam Phippen).
* Ensure instance variables from `before(:all)` are always exposed
from `after(:all)`, even if an error occurs in `before(:all)`
(Sam Phippen).
* `rspec --init` no longer generates an incorrect warning about `--configure`
being deprecated (Sam Phippen).
* Fix pluralization of `1 seconds` (Odin Dutton)
* Fix ANSICON url (Jarmo Pertman)
* Use dup of Time so reporting isn't clobbered by examples that modify Time
without properly restoring it. (David Chelimsky)
Deprecations
* `share_as` is no longer needed. `shared_context` and/or
`RSpec::SharedContext` provide better mechanisms (Sam Phippen).
* Deprecate `RSpec.configuration` with a block (use `RSpec.configure`).
### 2.11.1 / 2012-07-18
[full changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
Bug fixes
* Fix the way we autoload RSpec::Matchers so that custom matchers can be
defined before rspec-core has been configured to definitely use
rspec-expectations. (Myron Marston)
* Fix typo in --help message printed for -e option. (Jo Liss)
* Fix ruby warnings. (Myron Marston)
* Ignore mock expectation failures when the example has already failed.
Mock expectation failures have always been ignored in this situation,
but due to my changes in 27059bf1 it was printing a confusing message.
(Myron Marston).
=== 2.0.1 / 2012-11-02
* 1 bug fix:
* Fixed dependency on alpha ruby_parser. *sigh*
=== 2.0.0 / 2012-11-02
* 1 minor enhancement:
* Only do phase 1 testing if $SIMPLE=1.
* 1 bug fix:
* Fixed block args processing for RP 3.0 sexp changes
=== 2.0.0.b1 / 2012-07-27
* 4 major enhancements:
* Made it work without arglist in call.
* Made it work without scope/block in class/module/defn/defs.
* Removed block from resbody
* Removed block from when node
* 4 minor enhancements:
* Added debug task to help isolate an error
* Empty hash is now a proper {}
* Refactored and added finish method.
* Switched to new Ruby18Parser to avoid deprecation warnings
* 4 bug fixes:
* Fixed call with empty hash arg. (neilconway)
* OMG WTF... removed long decrepit ParseTree dependency
* Removed isolate/rake require to reduce minimum bootstrap to hoe + rake + rake install_plugins (*2)
* Skip 1.9 tests for now.
=== 4.1.3 / 2012-12-06
* 2 bug fixes:
* Code cleanup... what was I thinking???
* Explicitly setting pt_testcase.rb to US-ASCII to avoid encoding hell
=== 4.1.2 / 2012-11-03
* 1 bug fix:
* Sexp#structure should grep for Sexps, not Arrays
=== 4.1.1 / 2012-11-02
* 1 minor enhancement:
* iter args revamp for ruby_parser 3 changes.
=== 4.0.1 / 2012-07-03
* 4 minor enhancements:
* 1.9: Had to version split all my 'not' tests since 1.9 is insane.
* 1.9: f (args) is not allowed in 1.9.
* 1.9: f(hash, *splat) is not allowed in 1.9.
* Added module2 test to verify module w/ 2+ entities
* 2 bug fixes:
* 1.9: Changed !@ to ! since that is what you implement
* True to my wtf comment, there was a bug in my case_splat test
=== 4.0.0 / 2012-06-07
* 5 major enhancements:
* Removed :arglist from everything except :op_asgn1.
* Removed block from resbody
* Removed block from when node
* Removed block nodes inside of scope nodes (defn/defs/class/sclass).
* Removed scope nodes in defn/defs/class/sclass nodes.
* 1 minor enhancement:
* Added Sexp#deep_each and Sexp#each_sexp. Refactored from Flay
## 0.13.1
* Fix#97 - `Mocha::ParameterMatchers#has_entry` does not work with an Array as the entry's value. Thanks to @ngokli.
* Allow deprecation `:debug` mode to be switched on from `MOCHA_OPTIONS` environment variable.
## 0.13.0
* Major overhaul of MiniTest & Test::Unit integration. Mocha now integrates with later versions of the two test libraries using documented hooks rather than monkey-patching. This should mean that Mocha will integrate with new versions of either library without the need to release a new version of Mocha each time, which was clearly bad and unsustainable. Many thanks to @tenderlove, @zenspider & @kou for their help, suggestions & patience.
* Temporarily deprecated `require 'mocha'`. Use `require 'mocha/setup'` instead. The plan is that eventually `require 'mocha'` will *not* automatically integrate with either of the two test libraries as it does at the moment, and you'll need to explicitly & separately trigger the integration. I think this will provide a lot more flexibility and will hopefully do away with the need for the `require: false` option in the `Gemfile` which has always confused people.
* Deprecated `require 'mocha_standalone'` and `require 'mocha/standalone'`. Use `require 'mocha/api` instead.
* Although these are not part of Mocha's public API, I thought I should mention that the MiniTest and Test::Unit assertion counter classes have been combined into a single class `Mocha::Integration::AssertionCounter`.
* Extracted Mocha::Hooks module from Mocha::API and added documentation for test library authors.
* Improvements to documentation. Much of it has been combined into the README file.
* Fix#101 - Mock#respond_to? doesn't work with a string argument - thanks to @urbanautomaton.
* Fix#105 - Travis link in README - thanks to @cknadler.
* Various improvements to automated testing of integration with test libraries.
* Make deprecation warnings more prominent.
= 0.12.7
* Officially support minitest v4.1.0 (still monkey-patching).
= 0.12.6
* Fixes#103.
= 0.12.5
* Officially support minitest v3.5.0 (still monkey-patching).
== 2.1.0 / 2012-11-24
The major change of the 2.1 release is to switch over to `Hash#fetch`
as the fundamental CRUD read method inplace of the previous `#read` core
extension (an alias of `#[]`). This is a pretty fundamental change which
required modification of a number of classes. So please do extra-diligence
and file an issue if you experience any problems.
In addition, the Hash#read core extension has been renamed to Hash#retrieve
to avoid any possible confusion with IO objects. This release also fixes
a couple of issues with 1.8 compatibility and makes a few other small
enhancements.
Changes:
* Rename Hash#read to Hash#retrieve.
* Deprecate `Dictionary.alpha` in favor of `Dictionary.alphabetic`.
* Add support for block argument in Dictionary#order_by_key and #order_by_value.
* Fix OpenHash issues with Ruby 1.8.x compatibility.
* OpenHash methods are opened up via `protected` instead of `private`.
* Change OpenCascade to auto-create the subclass when inherited.