Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/freerange/mocha.methods


https://github.com/freerange/mocha.methods

Improve docs for Mock#responds_like & #responds_like_instance_of.

Fixes #189.

[ci skip]

d8f9110206f9172d6d98c84f876d058a199ebbb2 authored almost 11 years ago
Use GitHub convention for instructions on contributing to Mocha.

3ec1fb59e7d1c4464e8fa9158353aaa26e7bcec2 authored almost 11 years ago
Fix typos [ci skip]

d2dc82238e28bec61d65dd4073826a4e5544f049 authored about 11 years ago
Update version to v1.0.0.

[ci skip]

61e6801503d6e2e5c2df53aa588c54abe5a2038f authored about 11 years ago
Updates to README.md for v1.0.0.

[ci skip]

c7de5b94dbab95548b58be11d5a264616cd25972 authored about 11 years ago
Another tweak to RELEASE.md.

[ci skip]

0ecb7102b8c41ed6499e86f5e30a0a7fc072792b authored about 11 years ago
Tweaks to RELEASE.md.

Group internal & external changes.

[ci skip]

96c7ae7640d88d834df9959f1bf696c34210c48f authored about 11 years ago
Merge branch '1-0-stable'

c9abf352918801d14dd92587f5723155b902b673 authored about 11 years ago
Update to the latest RubyGems for Travis builds

In order to obtain the fix to rubygems/rubygems#763, we need at least RubyGems v2.2.1. However t...

489b07375ff77346debd14f7b388421c7eca9189 authored about 11 years ago
Use standard version of RubyGems in Travis build

Now that rubygems/rubygems#763 has been fixed, we should be able to do without the `before_insta...

5fc34a5e15ef0eb8ddc66b261015022e99c6adc7 authored about 11 years ago
A little love made to README.md.

Closes #180.

[ci skip]

929403e46ad25e65d282a9f49668509d2fe91058 authored about 11 years ago
A little love made to README.md.

[ci skip]

fa8e77634699dff2c8f3547ce3d983f82b8366a1 authored about 11 years ago
Add Ruby 2.1.0 to the build matrix.

a7e69975ab77646aa4cea5b0a41d8c220d53e73d authored about 11 years ago
Consider stubs on superclasses if none exist on primary receiver.

Note: This may break existing tests which rely on the old behaviour!

Stubbing a superclass meth...

466ee93e59090308c86d107f196cf3a7ecdb3f71 authored about 11 years ago
Avoid recursion when constructing unexpected invocation message.

When an unexpected invocation occurs, we try to construct a detailed message
for the exception. ...

ad7860e18238dfdf2e772812f79d145ce565c61a authored about 11 years ago
Assume 'mocha' has been required when requiring 'mocha/setup'

So no need to require 'mocha/version' in both files.

Note that 'mocha' is likely to have been a...

50456100ef730b7b2d9a304ccb3a7ed8354ae5d0 authored about 11 years ago
Provide shortcuts for integrating with specific test library.

Now you can use:

require 'mocha/test_unit'

OR

require 'mocha/mini_test'

Instead of:
...

dc71f132dc98be5e44cd5d73fad565cdf1ec26c8 authored about 11 years ago
Remove unnecessary code in integration tests.

`test/test_helper.rb` already loads MiniTest or Test::Unit, so no need to do
it again here.

Als...

95dc5c552ca359982593b300fb119c7c34feffa0 authored about 11 years ago
Revert "Another attempt at making bundler output verbose."

This reverts commit 1346c5b9f711db7e21dbe37a854d6d5c0067f3d0.

I came up with a workaround for t...

ed6a5e75c1fada3204188d48a86918ceee7fe34c authored about 11 years ago
Revert "Yet another attempt at making bundler output verbose."

This reverts commit 53c7cf91e0d6339fd8ed6a63412c0a9b7641aac8.

I came up with a workaround for t...

fea7feae5324bfbbe708b8ad28ed6a45d7607f84 authored about 11 years ago
Revert "Make bundler output verbose to debug issue on Travis CI."

This reverts commit c8bc6d20ddc0e894175632615a131b9d5077ec50.

I came up with a workaround for t...

8e4f3924b16fd277653a49ffd039abfe06bd8272 authored about 11 years ago
Use earlier version of Rubygems to avoid Bundler fatal error.

c1ee7bfc0c533bf51672b16a42183ce792ec5b8e authored about 11 years ago
I meant to use earlier version of Rubygems in previous commit.

716f1e16148c4303f0c2bf492575ebb1ad5834c4 authored about 11 years ago
Use earlier version of Bundler to avoid bug causing build to fail

See the following for details:

- https://github.com/travis-ci/travis-ci/issues/1793
- https://g...

97b1d05becbe2dd2455b0aeaeb75fd9fe49f76e3 authored about 11 years ago
Install latest bundler on Travis CI.

As suggested by @roidrage in [1].

[1] https://github.com/travis-ci/travis-ci/issues/1793#issuec...

462b257271b4e2a74554e40eaee41c60c999d32d authored about 11 years ago
Revert "Revert "Move Test::Unit detection methods into their own module.""

This reverts commit 9fd4100d491af6188bd9852cb6d653450a60f0ea.

Reverting ac6a8422b021810e7899abf...

8702b0b47d2b92e7cba540c6c8861fd2eaa2a2cc authored about 11 years ago
Revert "Move Test::Unit detection methods into their own module."

This reverts commit ac6a8422b021810e7899abf9910fa1a51f13a420.

All Travis CI builds after this c...

6b2bd2fb7d929a3a776ad55dfd7ff20b36826f9d authored about 11 years ago
Yet another attempt at making bundler output verbose.

61f68dee7eb6fc1763ca17324323e9bb35405854 authored about 11 years ago
Another attempt at making bundler output verbose.

ea461510bb96b1b3b79b8b5955ede850433bcbed authored about 11 years ago
Make bundler output verbose to debug issue on Travis CI.

3fcc2eff05f073335bf05c918811cbdfdb6fedf5 authored about 11 years ago
Move Test::Unit detection methods into their own module.

To make it consistent with the MiniTest detection code.

9fd626d0c98ad8711008d7454d7505202cf82992 authored about 11 years ago
Test::Unit is not available in Ruby v1.9.3 standard library.

This only came to light after the fix in [1].

[1] 7fc0145bcdc6e96d261abd787968940cf7f8d068

2b4eb2425880c3f40c1394026f330921b82db66e authored about 11 years ago
Fix indentation in `test/test_runner.rb`.

e1cd489bae34b7503d27afec67f446e1f2d8810b authored about 11 years ago
Force use of Test::Unit runner, etc in relevant integration tests

Prior to this, I don't think we were really testing the Mocha integration with
Test::Unit much, ...

9914162a5e4fdedb41a47a729bddabcc1af13bae authored about 11 years ago
Reset environment variables between builds.

I was seeing a problem where `MOCHA_RUN_INTEGRATION_TESTS` was being set in one
build but not se...

5bf1b852dc7711170945b47237db4308a339c063 authored about 11 years ago
Only activate integration with relevant test library.

In integration tests.

1b0a1700022b97ab9063ea2dd4b28906e1398766 authored about 11 years ago
Re-use shared MiniTest detection logic.

8185ffd60168b2e31bdca194ea572899bc3f0be8 authored about 11 years ago
Add missing require statement.

1de9d034137d729210da99a8fc357a8894a6f099 authored about 11 years ago
Re-use shared MiniTest detection logic.

b586584b683bc1839845a21436ec084092a33970 authored about 11 years ago
Re-use shared MiniTest detection logic.

821ddf19f734203d55f34cab97779d6cdf59196c authored about 11 years ago
Reduce duplication in MiniTest version detection.

29fbbdffcdbb483c7b0b0b727d0f656430b91d60 authored about 11 years ago
Move MiniTest detection methods into their own module.

I want to use this logic elsewhere.

9e4db9d1663bd07d45b778602702433fcb2cf2f0 authored about 11 years ago
Include standard build combinations from Travis CI config.

I broke the build, because these were missing.

6014f53cf27744a518f896d031392af073697248 authored about 11 years ago
Fix broken build.

aa9bfcdc13219657c7fab6681143c309f62d16f3 authored about 11 years ago
Extract MiniTest detection logic into a couple of methods.

Also make them a bit more rigorous.

Similar logic is used elsewhere and I plan to move these me...

0d61d13d2a20f49c2da3d2f0e56e1790f50670b4 authored about 11 years ago
Fix Mocha::Integration::MiniTest.activate return value.

It looks like I got in a muddle with the levels of indentation.

With this change `.activate` wi...

32b30643b96f559663c14ac403e80b65c2f8762b authored about 11 years ago
Remove unnecessary rescue block.

A `LoadError` is unlikely/impossible, because there is no `require` statement
within the block. ...

2ebbe095ae74a01bb03092b8cf62f972f2ab2220 authored about 11 years ago
Include Ruby 2.0.0 & latest Test::Unit in build matrix.

f9ffe726af761be7e8d8508251ac02fa0ab20ea0 authored about 11 years ago
Update release notes and bump version to 1.0.0.alpha.

7e4a177ae3676723132147590b81181414a53f40 authored about 11 years ago
Do not automatically try to integrate with test libraries.

Since the automatic test library integration functionality requires the test
library to be loade...

40b82e1626d43bd1a23f41238c9c71ac37427197 authored about 11 years ago
Remove unnecessary require statement.

09de49f72d854d8d2956239e8b5c8759c8556255 authored about 11 years ago
Add explanation of method dispatch.

Heavily based on the relevant jMock v1 documentation [1].

Fixes #172.

[1] http://jmock.org/jmo...

cd4305c7e67ce2e15ecfb3563afa9c32705e6388 authored about 11 years ago
Make class_eval line number more accurate.

This sets the line number as the line number of the `def` statement.

68f9f0f5966db0220b62efb38d52899cf2b83a66 authored about 11 years ago
Update Google Analytics JS.

a6731d75866a416ea5fd98ab75df5e1758b48cdc authored over 11 years ago
Merge pull request #166 from freerange/nested-responds-with-matcher

Allows nesting of `responds_with` parameter matcher.

4ad80cf5a400d2924b46321e6bfb92ae2529f322 authored over 11 years ago
Allows nesting of `responds_with` parameter matcher.

ddee7d6d8827f7de1f4c7fa60e1353be1273860a authored over 11 years ago
Define Mocha module before it's referenced.

The test helper defines a class `TestCase` within the `Mocha` module. When
running the tests ins...

e011016b54c52ab19cbd300c5aa6efc1482378f9 authored over 11 years ago
Document lack of thread-safety. Fixes #154.

f5a2de94152968b82453d9315b73e0fbf9017330 authored over 11 years ago
Document how to use the build-matrix script. Fixes #160.

3019fe9f7ec1ffcd35adf8e6ce8c46bb66991700 authored over 11 years ago
Stubbing non-public method should use same visibility. Fixes #150.

This will probably break some existing tests that were somehow relying
on the stubbed method bei...

a84e36f8dea623c832d5fdac57a762da44c67c2c authored over 11 years ago
Remove ruby version map from build matrix script.

I'm using the rbenv-aliases plugin to alias minor versions to the
relevant patch version.

7ab0e35d49237f05aabcc2389bf67938dfe74f9f authored over 11 years ago
Fix `build-matrix.rb` script. Fixes #157.

Also use `.travis.yml` to decide what combinations to run. This means we
can now simulate the Tr...

58e35e473c7f1b2d66bb559d2a5ee9ccf6a609ff authored over 11 years ago
Update release notes and bump version to 0.14.0.

6c9e51987d244da1e334e85c1e16f901ad41af12 authored over 11 years ago
Yay! Tests all passing with MiniTest v5.

These changes leave the code in a bit of a mess, but since it's only
*test* code, I'm happy to c...

03b96cdcaf2e8cd63cfbb7d3a53d5363572ee04c authored over 11 years ago
Introduce common TestCase class for Mocha tests.

It is no longer possible to use `Test::Unit::TestCase` in the presence
of MiniTest v5. By introd...

aa18da79036df1cfbdd1c1d546bc39df0700ee57 authored over 11 years ago
Ruby style changes.

I prefer to use a ternary operator and parentheses in this case.

4eec77ecf3dc7e0613d8ad1095120d3bce2463d7 authored over 11 years ago
Update release notes and bump version to 0.14.0.alpha.

25f668de755af144ecabc69c1a596ff8246a2375 authored almost 12 years ago
Revert "Attempt to test against edge Minitest."

This reverts commit fdd64db1ae49a8d295ed837c961502983f49aae4.

8fb2d7d66804744a8e3c8fbb8abed4721272cebd authored almost 12 years ago
Attempt to test against edge Minitest.

7e0bc8af5f04573b4b7538aac7c721752537fdb1 authored almost 12 years ago
Merge pull request #156 from zenspider/minitest5

Added Minitest v5 support.

f0e81beee9c71358a665c3becca83164cd0aa514 authored almost 12 years ago
Added minitest5 support.

01e0d3a4161048b8255f927db6eb80d5fdb58ff1 authored almost 12 years ago
Note another Rails compatibility problem in the README.

50cc169ce6b8889a46628957518f481a6b20287f authored almost 12 years ago
Update README to reflect fixes released in Rails.

This documentation caused some confusion in e.g. #147.

2a25d226d6fe2620c0772be3e0aa806dc4a289d3 authored almost 12 years ago
Update README to match latest version of Mocha.

abe510f2c911a818177a6355fe1d55457928fce7 authored almost 12 years ago
Revert "Consider stubs on superclasses if none exist on receiver. Fixes #145."

This reverts commit b41254ac391ce2274b89297b6bbb89b179a7df45.

As pointed out by @ccutrer this s...

ea918a279113fa28e952fe06068976d00d6ff886 authored almost 12 years ago
Update README to reflect recent release of Rails 3.2.13.

This latest release of Rails incorporates the pull request which avoids
a Mocha deprecation warn...

826b61c94531fb7ceba182e1e7d8fe787133ee72 authored almost 12 years ago
Consider stubs on superclasses if none exist on receiver. Fixes #145.

Note: This may break existing tests which rely on the old behaviour!

Stubbing a superclass meth...

5330aa393733f7f637316d115b59bf9ac3dabb64 authored almost 12 years ago
Update release notes and bump version to 0.13.3.

dbd2c6a05d951838a04291cb7d2bf514b10e0b37 authored almost 12 years ago
Ensure `Mockery` instance gets reset even if exception raised.

It's unlikely but possible that an exception may be raised in
`Mockery#teardown`. We should ensu...

3ea45c36dff24772d223190a5ce083466a6c13da authored almost 12 years ago
Make the `Hooks` module easier to unit test.

Simplify the `Mockery` "API" that is used by the `Hooks` module i.e.
there is no real need for `...

f2591301700df21edd218ed92f68744b348ff413 authored almost 12 years ago
Adapt tests to changes in MiniTest output.

The Mocha integration tests are unfortunately dependent on the
exact format of the test results ...

c82401602145b5d7c51545fcfe5c5466e95dbc7a authored almost 12 years ago
Make auto-activation of Test::Unit integration more resilient.

This change is specifically to cope with the nasty re-defining of
classes that is done by the `m...

43f957e0bb54aa301a6f8905a35e7eb10d543aa6 authored almost 12 years ago
Merge pull request #140 from tmiller/master

Use `require` instead of `load` with `test/unit/version`.

Other gems also require `test/unit/...

42ed2d5a14ebb5d7e4d9f2ab47efdd9c0da098a3 authored almost 12 years ago
Safer restoration of stubbed method visibility. Fixes #141.

It is possible for `Module#public`, `#protected` and `#private` to be
redefined on descendant cl...

ebb60ed1272b326329a5ea1a6f62233c7fd19ea0 authored almost 12 years ago
Attempt a Ruby 2.0 build on Travis CI.

7dbbf666b5637e8cc7ddfc1fbe7656ac8599faae authored almost 12 years ago
Use require instead of load with test/unit/version

Other gems also require test/unit/version. When this gem loads the
same file it over writes th...

e11eca4275a9bb82a01b48b896562e9993554771 authored almost 12 years ago
Avoid deprecation warning in Bundler v1.2.4.

I was seeing the following warning message:

The source :rubygems is deprecated because HTTP...

8f57bed7550fc71c46612adc4c4ecbd6d7f5e6b4 authored almost 12 years ago
Ensure all files have a newline at end-of-file.

This is to avoid spurious git diffs.

6df20f79fe85ef9afd3e908fe058b6b59de19296 authored almost 12 years ago
Updates to README based on latest Rails releases.

8716b0641c993f8276bccce95169606b94da0dff authored almost 12 years ago
Allow stubbing of private Kernel methods. Fixes #134.

We were only testing stubbing of the public and protected methods on
Object.

Note that `#method...

62b8485e18f6a3a8271d1600011db4ea2935ec78 authored almost 12 years ago
Style tweak to ParameterMatchers::Includes#mocha_inspect implementation.

I prefer unabbreviated variable names.

f5b8739c595f505f852e0183f5b65a48d504282b authored about 12 years ago
Tweaks to unit test for ParameterMatchers::Includes.

45851ee1711e8c643a845188428b290d73f9d455 authored about 12 years ago
Fix documentation for ParameterMatchers::Includes.

7605abe1e998da58ca930311dbb635ab1e7d6c20 authored about 12 years ago
Changed `includes` API to accept more than on item to match against the subject

2572008775deff295030b7a2c3da6dcd14d9c8d4 authored about 12 years ago
Fix latest version of Mocha mentioned in README.

20a280b1e0c0b9e7e3277dc0d1a04f7194ee3b90 authored about 12 years ago
Bump version to 0.13.2 and prepare for release.

8a63bf1f583ce31ed725551ba7be2ec633a9aad7 authored about 12 years ago
Attempt to head Rails-related issues off at the pass.

164f26cc9916034b7395637bdc783a88dea10033 authored about 12 years ago
Add a Gem Badge to provide a link to Mocha on Rubygems.

See http://badge.fury.io/

e34ace3c54d4a7c16c9d68da8f31a1749b277f1f authored about 12 years ago
Add Google Analytics javascript to Mocha docs.

Customising YARD templates is a bit obscure and this was the best I
could come up with. The java...

b223dbd12a59d6e88cde8b518d5a9cf1c1abab08 authored about 12 years ago
Make `Expectation#inspect` less verbose and more useful. Fixes #122.

58dbcfe6a4544e1d0b5aa8c417499c7a33fb62dc authored about 12 years ago