Ecosyste.ms: OpenCollective

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

github.com/freerange/mocha

A mocking and stubbing library for Ruby
https://github.com/freerange/mocha

Improve documentation on ObjectMethods.

172ef5fad482c5e893c8b6bbaa0f66ce2840dff3 authored almost 13 years ago by James Mead <[email protected]>
Update docs in light of bb0e76bd62997b5db2e0c2ce61206058edb37339.

288dbe3aa6e5981c213d84a94643fba6d11b53da authored almost 13 years ago by James Mead <[email protected]>
Attempting to stub a method on a frozen object should fail fast.

- Since we will not be able to define a new method on the frozen object,
it's better to fail f...

bb0e76bd62997b5db2e0c2ce61206058edb37339 authored almost 13 years ago by James Mead <[email protected]>
Remove trailing whitespace in tests.

2e94957019174e8d345a74a1c57f01be440c1f28 authored almost 13 years ago by James Mead <[email protected]>
Remove trailing whitespace.

84b005534968fe5111d51e3d019a8f53f84d9657 authored almost 13 years ago by James Mead <[email protected]>
Tidy up documentation.

- Include UnexpectedInvocation exception in documentation.
- Remove redundant rdoc annotations.

8d8a5eb71a3e060aafd94f67d2564274d70ca0a1 authored almost 13 years ago by James Mead <[email protected]>
Update docs to include changes in README.

301b9c35bea5d412a4b74349c15c50d21168a656 authored almost 13 years ago by James Mead <[email protected]>
Include a note about broken versions 0.10.2 and 0.10.3 in README.

e66adf5d4e5377d1eb60d5eeaf0fd4412dbcdfe8 authored almost 13 years ago by James Mead <[email protected]>
Change homepage to github pages.

I'm no longer planning to maintain the rubyforge pages.

6fe76d7b9107def4b48521eab472eeae36f27e2c authored almost 13 years ago by James Mead <[email protected]>
Re-generate documentation removing agiledox.

For some reason <code> elements are now <tt> elements which explains why
so many files changed.

9b55e850df2ad5046de932a0989d1e9b1896376e authored almost 13 years ago by James Mead <[email protected]>
The agiledox don't really add much to the documentation.

They were an interesting experiment some years ago, but it's time for
them to go.

4b9dff93c73dfbcd103d42fecbb1347ee0450df3 authored almost 13 years ago by James Mead <[email protected]>
No need to build examples with coderay no we are using YARD.

d65341f04ef7ee59726e8f7b76f86b4ea80f823f authored almost 13 years ago by James Mead <[email protected]>
Now we are using YARD, no need for dependencies on RDoc & Coderay.

a185f16f17b3712da99f9f478781256b7286f739 authored almost 13 years ago by James Mead <[email protected]>
Use new YARD-based rake task to generate improved documentation.

ef2a16128d4b8ed56e2962c1197faf19ad615cef authored almost 13 years ago by James Mead <[email protected]>
Generate documentation using YARD instead of RDoc.

- YARD allows for much richer documentation.
- It looks prettier too.
- I hope to remove the dep...

4e28497a0df59b86537cdc689ef3cd11ea6c7c3e authored almost 13 years ago by James Mead <[email protected]>
Remove hannah-noveau as a dependency.

The gemspec for this gem always seems to be invalid and caused #71.

5753a8aff6d487e44f05dbac493289f79f6d8769 authored almost 13 years ago by James Mead <[email protected]>
Make links relative and fix those broken by new version of rdoc.

b93be8f0338bc58dbb697e401dbc10963b42ffce authored almost 13 years ago by James Mead <[email protected]>
Cannot publish docs to github until they are committed to master branch.

c4d19cc6f65bc0a498e6b4fa63dedf44552e6d23 authored almost 13 years ago by James Mead <[email protected]>
Docs now generated using hanna-noveau.

27dfe893809bc8a7161230ace4c24aa1b957e8d7 authored almost 13 years ago by James Mead <[email protected]>
Introduce generate_docs task so I can commit changes before publishing.

8c8444c8f0417c3bbe4f15f87f415b2879a4c2ce authored almost 13 years ago by James Mead <[email protected]>
Use hannah-noveau rdoc generator.

I don't like the default darkfish generator.

Note that I had to hack the local copy of hannah-n...

eb9ec135ceea28d77d574a847e9ac1b1b739fe66 authored almost 13 years ago by James Mead <[email protected]>
Add generated docs so they can be published on github pages.

889c4c3de94fbe1715fca95194901df01c0f2dd3 authored almost 13 years ago by James Mead <[email protected]>
Add @tomafro's rake task for publishing docs to Github pages.

1134bce74162a86dc4bb49f11b6369214460c4ab authored almost 13 years ago by James Mead <[email protected]>
Tweak rdoc to make it more realistic.

e833213a7ed9ced25498e9c7d5a71e93e30a4160 authored almost 13 years ago by James Mead <[email protected]>
Add basic rdoc for Mock#unstub.

350f32c5e750216ca9b3f096701d4875f1c613e7 authored almost 13 years ago by James Mead <[email protected]>
Add SHA to release notes for v0.10.5.

24314c2e77ab4c6d71cf651b81ea1eb3f27500f8 authored almost 13 years ago by James Mead <[email protected]>
Bump version to 0.10.5 and prepare for release.

a5a64cf9755b21d4a30e446232654d1c0fc6f151 authored almost 13 years ago by James Mead <[email protected]>
Added an acceptance test for fix for #70.

a01a026aaec1666f79e2209352a77250bd2254d8 authored almost 13 years ago by James Mead <[email protected]>
Rename Mock#expectations to Mock#__expectations__ to avoid conflicts

9d35c7307c8932a953015ce8c7ac68ce17ff5dfc authored almost 13 years ago by Jeremy Stephens <[email protected]>
Merge pull request #67 from plentz/patch-1

Making the travis-ci badge visible

98ad9918ab609d2112500b7f5aacddd5d3a37f56 authored almost 13 years ago by James Mead <james-AT-floehopper-DOT-org>
making the travis-ci badge visible :)

9c1712d10d399b7f9de1e5dca99774429a4169a7 authored almost 13 years ago by Diego Plentz <[email protected]>
Another attempt to get README links to render correctly.

- I think the problem was the indentation was causing these to be
rendered as code blocks.
- T...

2a31a54063b7ce7ba6aeb2e6d7f711ff72c3ef52 authored almost 13 years ago by James Mead <[email protected]>
Try to make README links render more sensibly.

aa609ec373c281b7219c0e69ecbc7da6cabb5937 authored almost 13 years ago by James Mead <[email protected]>
Add README links to source code and issues.

e93a393e56c3b76d34fa4e8f0c2c75ce2a9425d9 authored almost 13 years ago by James Mead <[email protected]>
Avoid a bunch of warnings in Ruby 1.9.

warning: assigned but unused variable - foo

There are still the 6 test failures mentioned i...

dfb5b592ef9bedde1c94c7c987ef676d7bc1405c authored almost 13 years ago by James Mead <[email protected]>
Mock has Mockery as a dependency. Stop trying to pretend otherwise.

Hopefully this will fix #66 without regressing on #63.

a8e27d8c1d7538e0447afda0b6ca48c5412bd0cd authored almost 13 years ago by James Mead <[email protected]>
Add SHA to release notes for v0.10.4.

8251445d7b4688b5b5cb39e81b8e24496c478d4f authored almost 13 years ago by James Mead <[email protected]>
Bump version to 0.10.4 and prepare for release.

babdd656c361ac65f25948104adf612e59174a5e authored almost 13 years ago by James Mead <[email protected]>
Fix for #65.

- As suggested in the initial report, this was broken in
3fbcad2da6906e80e8c91d659790748d9d9ee...

95a064b11568d29e12406a8190fb8946e69cb893 authored almost 13 years ago by James Mead <[email protected]>
Require Mockery at the header instead of picking it in method_missing

Closes #63

511fbf8067454f75cbc5044b2cc26858153e5014 authored almost 13 years ago by Julik <[email protected]>
Be consistent in use of ordinal method names to avoid scope for confusion.

1880ac43dbe1ff3017560c6e275d2943e5d4fc18 authored almost 13 years ago by James Mead <[email protected]>
Ensure sequence tests aren't passing by accident.

da63fa68b6c8ec65df9e2f56a2f748061be630cd authored almost 13 years ago by James Mead <[email protected]>
Fix for #45.

Raise ArgumentError if Mocha::ParameterMatchers#has_entry is given
Hash with wrong number of ent...

c3ffaa9d2a1607f10bfaed2c5c4ad7153de8d068 authored almost 13 years ago by James Mead <[email protected]>
Doh - multiple gemspec declarations in Gemfiles.

5902c112d0ba2ea1eba36508d349e1a5700ff642 authored almost 13 years ago by James Mead <[email protected]>
Change gemspec path within Gemfiles in subdirectory.

It appears that the symbolic link in my last commit didn't work.

2debc10a98b5e12795e2a1b13372b891c9eeaef8 authored almost 13 years ago by James Mead <[email protected]>
Travis seems to need gemspec in same directory as Gemfile.

45a56011b8dcf8e93e57c0ffbbbe6dd73175baf1 authored almost 13 years ago by James Mead <[email protected]>
Move travis gemfiles into their own directory.

Reduces clutter in the root directory.

b15780f88cea441797b9dd0ce5053d1d2316d33b authored almost 13 years ago by James Mead <[email protected]>
Use a more obscure global variable name.

I'm amazed this hasn't caused a problem yet, but it's only a matter of
time. My longer-term plan...

68755264476cdc1a37bcb0a9305bac27235783dd authored almost 13 years ago by James Mead <[email protected]>
Add SHA to release notes for v0.10.3.

9733d753676e7dc3c9ba6bc71384e2d5e9451be6 authored almost 13 years ago by James Mead <[email protected]>
Bump version to 0.10.3 and prepare for release.

e7f88af8e7c3396bc85fe9f9cb9e5f5fef04bea2 authored almost 13 years ago by James Mead <[email protected]>
Use Gem::Requirement#satisfied_by? instead of #=~

- The former has been available in rubygems since v0.9.4.4 whereas the
latter has only been av...

566ffc7ffccbdfd871c14cdc5840edeb9043c71d authored almost 13 years ago by James Mead <[email protected]>
Add SHA to release notes for v0.10.2.

faf46fdde20d35954f6d5ba984fbe2d6edf7c55b authored almost 13 years ago by James Mead <[email protected]>
Bump version to 0.10.2 and prepare for release.

e05d9a555f1cf97c5961900dab0d884e9753257b authored almost 13 years ago by James Mead <[email protected]>
Make code more OO and tests less implementation-specific.

9c93b95194435ff6680bfb3c73e50009e38b1b56 authored almost 13 years ago by James Mead <[email protected]>
Improve acceptance test coverage for unstubbing.

Ensure all relevant expectations are removed when a method is unstubbed.

2246b9496abf5d09befe6dc217455f76f09fd5d2 authored almost 13 years ago by James Mead <[email protected]>
Add acceptance test around still-stubbed methods breaking when any method is unstubbed

09b963c4a2d87fb818edfe3f9bc3f6fe5d3e4994 authored almost 13 years ago by Saikat Chakrabarti <[email protected]>
Add tests for new methods on expectation_list.rb and mock.rb

5369c773adee7d00fe9ee9e46eb98384e4d8fbcd authored almost 13 years ago by Saikat Chakrabarti <[email protected]>
Fix unstubbing one method on an object causing expectation errors on another method. Closes #52.

3fbcad2da6906e80e8c91d659790748d9d9ee7ad authored almost 13 years ago by Saikat Chakrabarti <[email protected]>
Add SHA to release notes for v0.10.1.

4963a345b768c63beff8711fb2e6f6909b6c69de authored almost 13 years ago by James Mead <[email protected]>
Bump version to 0.10.1 and prepare for release.

f631a4ba22c6ed4929c52b0520311a9a84034a20 authored almost 13 years ago by James Mead <[email protected]>
Fix attempt to compare Gem::Version with String.

7bf508bad47b6d5fb53378af2c4b40db58b907c7 authored about 13 years ago by James Mead <[email protected]>
Fixed parenthesis mismatch.

2da651b87cc09b9ff09bccc74bf6b106f412e23a authored about 13 years ago by James Mead <[email protected]>
Merge branch 'master' of github.com:floehopper/mocha

afb9495aeb0f9c287eacb7b2947878d19413b178 authored about 13 years ago by James Mead <[email protected]>
Merge pull request #51 from meineerde/issues/50-minitest-2.10.0

Use Gem::Requirement & Gem::Version for version comparison. Fixes #50.

9508c66012482dfd8a82f1b04c3d3c77405c0b9f authored about 13 years ago by James Mead <[email protected]>
Use Gem::Requirement for version comparison. Fixes #50

96d8794a80d33d3ba55724d74328d896de2c1cfa authored about 13 years ago by Holger Just <[email protected]>
Fixed typo in rdoc.

36baa1cb583aead59787a668713815c9a5e7f8c4 authored about 13 years ago by James Mead <[email protected]>
Improve README as suggested in #46.

Explain that Mocha must be loaded after test libraries and how to achieve this using Bundler.

b956045c8e0e3ab36537222d658c3f231dc37303 authored about 13 years ago by James Mead <[email protected]>
Merge pull request #43 from cairo140/master

nobody expects the spanish inquisition!

447b8ab4dfa887398d02f4946371e3bcc9183995 authored about 13 years ago by James Mead <[email protected]>
the soft pillows

066a4daa2e4b0b7842f841cb960d5df9dcf0f448 authored about 13 years ago by Steven Xu <[email protected]>
the comfy chair

7db3d376ce97b0ec7126eda3cef83f86a642ace2 authored about 13 years ago by Steven Xu <[email protected]>
Touch README to see whether travis-ci builds are working.

b79d118b49266d80bd6aaa4cd2479e04312377d1 authored about 13 years ago by James Mead <[email protected]>
Support for MiniTest up to v2.6.2 has been verified.

2e11b3efc3f129848a5e4607ea9abee61c5a1b0a authored about 13 years ago by James Mead <[email protected]>
Improve documentation for Expectation#multiple_yields in response to #39.

1ff9ef1abe278c3fbcdd15ecb135858c9b98830b authored about 13 years ago by James Mead <[email protected]>
Use new version of rdoc so travis image works.

dc24eacd2ceff8f7c8d979f34eccf8430d386943 authored about 13 years ago by James Mead <[email protected]>
Should fix issue 38.

I had missed a subtle change in test-unit v2.3.0 which was only uncovered when running in verbos...

d1d297ada426f9e77b2d48f50a9b9f0e7a81c5d2 authored over 13 years ago by James Mead <[email protected]>
Officially support test-unit v2.4.0.

There are no changes to the monkey-patched code.

ea570894fa86af3fa9151f324db89a7ae14aedbf authored over 13 years ago by James Mead <[email protected]>
Officially support minitest v2.6.0.

There are no changes to the monkey-patched code.

52aaf85c89e75ffb0fb6669077ee81b1ca74ae2c authored over 13 years ago by James Mead <[email protected]>
Ruby 1.8.6 is no longer supported by travis-ci.org.

761fb14a109bdaac5f918732926e634e7a8d4ab0 authored over 13 years ago by James Mead <[email protected]>
We currently use the coderay gem to generate syntax highlighted example code.

1a23bf48fc2d0136f6d70757863806abcfbad1fa authored over 13 years ago by James Mead <[email protected]>
Add SHA to release notes.

8bafa6341dc84aa292b7b7725c87506a21c61ed8 authored over 13 years ago by James Mead <[email protected]>
Bump version to 0.10.0 and prepare for release.

68a4a59e1af74baf3929af418f73f5627bba548d authored over 13 years ago by James Mead <[email protected]>
We now support MiniTest up to and including v2.5.1.

See https://github.com/floehopper/mocha/issues/35#issuecomment-1999336.

1a3bd78c2c3ed3dd4e0dbf744657194a80804239 authored over 13 years ago by James Mead <[email protected]>
We should use v2.4.0 of the MiniTest integration code for MiniTest versions after v2.4.0.

309d450b822bc37ffd15a291a9db7e24cb5a4517 authored over 13 years ago by James Mead <[email protected]>
The $options global variable should be set for test-unit tests as well as for minitest tests.

1480f69eccef8d16102b04f8791d7ffa9f95fa2e authored over 13 years ago by James Mead <[email protected]>
Ensure the $options global is set whenever it's needed.

A test was causing APITest to fail in Ruby 1.9.2, because it only required `mocha_standalone` an...

b3406bc619c9fcf9caf6170f523cddc56b1c9988 authored over 13 years ago by James Mead <[email protected]>
It looks like MiniTest v1.4.1 never worked on platforms not supporting the INFO signal.

This seems to include the Travis CI platform.

The MiniTest bug was fixed in v1.4.2.

ab6e3c6a6a3974d4a0e54ecde024eade831219fd authored over 13 years ago by James Mead <[email protected]>
We now support minitest up to v2.4.0.

afa87804ca2124ff5e77f007a84a26ee0667eec8 authored over 13 years ago by James Mead <[email protected]>
Gemfile names didn't match those listed in .travis.yml.

d910856b05b96fac065a2c91906499628354e5ac authored over 13 years ago by James Mead <[email protected]>
Test with a representative sample of versions of minitest to exercise all the different monkey-patches.

1b58b6eebd3034691c9961c3110eda47c92720f2 authored over 13 years ago by James Mead <[email protected]>
Test with a representative sample of versions of test-unit to exercise all the different monkey-patches. We now also support test-unit <= 2.3.3.

Note we had to constrain the "hoe" gem to version "2.8.0", because later versions of "hoe" depen...

794fa980e55b16bf2d8470af5ed9f20bcdb79a18 authored over 13 years ago by James Mead <[email protected]>
Using multiple Gemfiles seems to be a better way to run Travis CI builds against multiple version of test-unit.

It also means we can switch on the debug mocha option without generating a bunch of unnecessary ...

455f4eea07f238bde0680b39de874f665c2a6818 authored over 13 years ago by James Mead <[email protected]>
Revert 6b70ee97f0fd0370eacfa68468cb076412de5910. It appears the newer version of rdoc isn't supported in Ruby 1.8.6.

5ac51362b93b4510833d230eab56f1c8e670db8e authored over 13 years ago by James Mead <[email protected]>
Add the github-markup gem and the required version of rdoc as dependencies, so I can reproduce what Github does to the README.rdoc page.

6b70ee97f0fd0370eacfa68468cb076412de5910 authored over 13 years ago by James Mead <[email protected]>
It's recommended to use the SSL version of the Travis CI build status image on a Github page.

21a7314628f81990c46718ffe1ee364202bdf450 authored over 13 years ago by James Mead <[email protected]>
Fix heading and try image without an rdoc label [ci skip]

079eb7f929ec7465f5b6e192c4220bdf645647f2 authored over 13 years ago by James Mead <[email protected]>
Attempt to display Travis CI build status in README.

This may be defeated by the rdoc format of the README.

b6af4b61381f27f2eece6ebfeacf755b6f5c4116 authored over 13 years ago by James Mead <[email protected]>
There's not much point in running v2.3.1 *and* the latest version of the test-unit gem since they are currently one and the same.

256868b08d30776125bc773736c9c9ab48673a61 authored over 13 years ago by James Mead <[email protected]>
The `use_test_unit_gem` MOCHA_OPTION hasn't worked since we switched to bundler.

It's now possible to use the TEST_UNIT_VERSION environment variable instead.

Note that it has t...

5e968891d7f75cc4f7d3ccba100f0139ddaf4210 authored over 13 years ago by James Mead <[email protected]>
Run Travis CI with and without and with different versions of test-unit gem.

e3ec9de0be28cf3637d490733dc93919b4a6f316 authored over 13 years ago by James Mead <[email protected]>
Run Travis CI builds with and without test-unit gem.

83adab3f5701a9b38b79191dccae22ceab595d88 authored over 13 years ago by James Mead <[email protected]>