Add an array_including argument matcher

Closes #295.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Merge pull request #301 from samphippen/array-including-matcher

Add an array_including argument matcher
Fix an array_including docstring.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
eliminate warning triggered in an example
coveralls setup
update readme
tweak setup
Update README.md to use expect syntax.

This fixes rspec/rspec-mocks#300
prevent coveralls errors from escaping
try even harder to rescue coveralls
Merge pull request #302 from JonRowe/setup_coveralls

Setting up coveralls...
make myrons improvements
Coveralls tweaks.

- No need for `wear_merged!`
- Let's not `rescue Exception` unless we really need it.
Put hashrockets back in place

Keep using hashrockets in examples for rspec-mocks as they are syntax compatible with all supported versions of Ruby.
Bypass RSpec::Mocks::Syntax when mass-assigning stubs via double().

When mock_with's `config.syntax = [:expect]`, the `#stub` method is not
available on the TestDouble.

This change bypasses the pluggable syntax layer, directly setting up
allowance for a Matcher::Receive instance.

Another option would be to use AcceptanceTarget.new(self).to(matcher)
however the `#to` DSL-like method feels out of place when not used with
the `allow(target)` receiver syntax, and also the AcceptanceTarget
delegation implementation complexity is not required for internals like
this.
Spec double() stubs hash in different syntax modes.

This tests a regression referenced in #306 where disabling the :should
syntax raised errors when a stubs hash was passed to double().
remove instance exec
remove 1.8.6 workaround on method owner
remove spec workarounds
Merge pull request #306 from pda/expect_syntax_assign_stubs

Bypass RSpec::Mocks::Syntax when mass-assigning stubs via double().