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

Revert "Rename Integration module to MonkeyPatching". Fixes #94.

It turns out that all but the HEAD version of `ActiveSupport` are using
`Mocha::Integration::Tes...

841e7d9e834d6c63d1c06f29411bbf38098165af authored over 12 years ago
Add development instructions to README

6b5e345ea5559186bf1e5d0606dadb2fcfdce9f3 authored over 12 years ago
Bump version to 0.12.2 and prepare for release.

0f4a2102fb89075ee1d2e4884cf8ab1bc93a245f authored over 12 years ago
Fix typo in 9485443a559be9f6f05a9654c693fee820fba9d2.

e1dd338ed03d9185b40bda5469523c30181820e7 authored over 12 years ago
Fix integration for MiniTest v3.3.0. Fixes #93.

There is an extra `@passed = false` in the teardown block exception
handler.

3e05f0c85577ae0a0b14bc036a23dce7662cfe21 authored over 12 years ago
Fail fast if Mocha integration is not supported for test library.

- I haven't tested this properly, because I'm currently offline on a
cross-channel ferry.
- I ...

9e347708f3fdedb7b244281aef326400175a12de authored over 12 years ago
Add first draft of non-monkey-patching test framework integration.

- Support for latest (as yet unreleased) MiniTest. Specifically we need
this
seattlerb/minites...

be6495f4f72444bf37bc8fe4f7c20e6b4ed5f1d9 authored over 12 years ago
I think this `require` is unnecessary and confusing.

7874ad0e9ab11de1a5586ab69845e54fa9d04bc8 authored over 12 years ago
Workaround a MiniTest bug.

The bug is fixed in
seattlerb/minitest@c8283ff7e6ddf1ef23af9c3c0141a64735f74a9f, but has not
yet...

dd1410089ffb1f6b84d155533188d3426a888f99 authored over 12 years ago
Make TestRunner#run_tests more generic.

- This allows setup/teardown methods to be defined.
- Note that the behaviour for multiple tests...

e5e7c2d748fd369837d402d0fbe670115d4807d6 authored over 12 years ago
Rename Integration module to MonkeyPatching.

This is a more honest name and it also frees up the Integration module
namespace for proper non-...

f9be56a4eebc8b75489e22be404e2b96b05f0040 authored over 12 years ago
Bump version to 0.12.1 and prepare for release.

2ded3808a26c2c3a54b598e6fefb073caadc33f0 authored over 12 years ago
Don't fail so fast if no test library is loaded before Mocha.

Fixes #88.

This partially reverts c8eba68973c1e489b99c9f7bca2d5888eca0ac14, by
displays a depre...

d69f318a2515f46ca1951a77e518ca2692418bff authored over 12 years ago
Remove deprecated access to `Mocha::Standalone`.

The use of `Mocha::Standalone` has been deprecated for years and should
be safe to remove. Use `...

b2d27d88739d8fcf3ca62c71573d486eb24df93c authored over 12 years ago
Remove the deprecated file `stubba.rb`.

This has been deprecated for years and should be safe to remove.

7d79713806bbe940356b907b9297bad7bee59492 authored over 12 years ago
Use public API of MiniTest for registering assertions.

As suggested by @tenderlove in [1]. This reduces the dependency on
private & potentially more ch...

fa0e61d9d0cb7557240f8dbc3226231c87d5a1a6 authored over 12 years ago
No need to specify this explicit version of `hoe`.

Now we're using Rubygems >= v1.8.11 and Ruby >= v1.8.7, this
doesn't seem to be a problem.

424922bd286967093af68603ade0ba6d79d13bbf authored over 12 years ago
MiniTest v1.4.1 is broken on platforms not supporting SIGINFO.

We get the following errors when running on Travis CI [1] :-

ArgumentError: unsupported sig...

6378622d837f6e7b453fef5995e9b151387b75d6 authored over 12 years ago
Officially support test-unit v2.5.1 (still monkey-patching).

8e1650b416a1888bb118df425a28aac43014092c authored over 12 years ago
Include minitest v1.4.1 in Travis CI build.

This version has a distinct monkey-patch and we already had a Gemfile
for it - must have just mi...

8124762d4461824b80056e0ed7317256f0fc2ed2 authored over 12 years ago
Run build matrix with multiple versions of Ruby.

Also the latest version of test-unit doesn't work with either version of
Ruby.

45035c09f4638a4ad548742f59463aafa86aef96 authored over 12 years ago
A hacky way to run all the builds in the travis "matrix".

Not currently loading `.travis.yml`.

Found I had to additionally ignore `Gemfile.minitest.1.4.1...

a64bfc852553f8209f4aa8e73e0a0d16031b7e88 authored over 12 years ago
Improve the API acceptance test.

f29274fc6b95192d1632e9263c648c47b82d9fa7 authored over 12 years ago
Introduce a factory for expectation errors.

The idea is that we'll be able to use this to raise exceptions for the
appropriate test framewor...

12352b31cbd821a94780712bc58e15df633ab9f9 authored over 12 years ago
Revert "Intentionally fail build to check Travis CI notifications."

This reverts commit ba873396b64b04418c7692af831900c56ab2a9bb.

ef1741741699e72bafa975cc4b1c86d88cc9794c authored over 12 years ago
Intentionally fail build to check Travis CI notifications.

04470c2e660c799ee61d8ac2a51a6bc04e6f57ed authored over 12 years ago
Attempt to get notifications sent to all @freerange peeps.

The default is apparently to send email to the author & committer and
all public members of the ...

1f56fc388622c03fdf756aae8207ec84d980c5e8 authored over 12 years ago
Rake task was assuming docs had been generated when they hadn't been.

7a21862f4d10d0872d4e4647e7725fe669ecde87 authored over 12 years ago
Bump version and prepare for release.

69512f3df72e2e485da33ec75987f588cd35f1bf authored over 12 years ago
Rename method to make it less confusing.

I think this is a carry over from an old name for the library.

c76db0e8d6909cb5191fdb4310f57403663d2823 authored over 12 years ago
Fail fast if neither Test::Unit nor MiniTest is loaded. Fixes #40.

294974696e6cffb680bfabeb167890aea2aa624b authored over 12 years ago
No need to check `defined?` for outer modules.

As suggested in [1].

[1] https://github.com/freerange/mocha/pull/40#issuecomment-3264438

11f1f76cfad8cb112b00a77402ce1891d5c0075c authored over 12 years ago
Officially support MiniTest up to v3.2.0 (still monkey-patching)

7445a1a8140a6953120e912d2a022584974e312c authored over 12 years ago
Officially support MiniTest up to v2.11.1.

97d63380531f88476278122f192932d5d0c5d9cf authored over 12 years ago
Officially support MiniTest up to v2.10.1.

9fc02b9b35a3d2a83ed558abc208acfa456eaa14 authored over 12 years ago
Remove accidentally committed file.

9065732a11fae0c6f31c4742b890b3735a4787af authored over 12 years ago
Officially support test-unit v2.5.0.

10a65fa70b34267ab941bfd441ebae6f8615f0ac authored over 12 years ago
Do not monkey-patch Test::Unit or MiniTest unless we *know* it's ok.

I had assumed both libraries were changing relatively slowly and that
the Mocha Travis CI build ...

a2ef4c4e3e3ce3fd48eff2ea9820f42cafbf6c16 authored over 12 years ago
Extract matcher block into lambda for clarity.

a57d51bdabbd2cae0418b2ff885ec8095bc1cd9b authored over 12 years ago
Demonstrate custom parameter matcher with arbitary number of parameters.

Relates to #80.

f0fa15be37bd6e1d92baeedcbc2556b0098092ee authored almost 13 years ago
Add tests to demonstrate using a block as a custom parameter matcher.

Relates to #80.

26895d355bf86a875337ede642120d388d27cede authored almost 13 years ago
Mocha travis CI build has moved to freerange account.

446e82033f86cb5d108325c4ac15d23e1af8119f authored almost 13 years ago
Brute force publishing to gofreerange.com.

As per freerange/recap@a3a1101c

185a589f6875373a69b1da0d2f728559ba85307c authored almost 13 years ago
Change homepage URL -> GFR, bump version and prepare for release 0.11.4.

6de41fa7a2873acb863ba8677bd4c788629fbe48 authored almost 13 years ago
No need to commit docs anymore now we are publishing with scp.

375ad7cffeff85867110bb174cf890d0fab7c1af authored almost 13 years ago
Fix references to github.com/floehopper -> freerange.

d5a9306e8bd9692c0fd0441d5bc658f9fb51fead authored almost 13 years ago
Publish documentation to http://gofreerange.com/mocha/docs/

33252a0a9e18667cb10c91094cba7c777baeb448 authored almost 13 years ago
Bump version to 0.11.3 and prepare for release.

6f56c38ec2911103bf12a31efc282e7f5f0b549e authored almost 13 years ago
Fix #78.

It appears that Object#__method__ is already a Ruby method. Who knew!

1c9c80d0b6d68ca462c1566586ad5237d6a9e897 authored almost 13 years ago
Bump version to 0.11.2 and prepare for release.

12f9f3aef93b51ef5b05f12db2cd940a4019aadc authored almost 13 years ago
Tweaks to 035a7749284600b766e90be72215ea84cff89a1a.

- Bring `Object#_method` into line with other "hidden" methods and use
surrounding double unders...

992741d1ae3dc31803a7afef81c614534a389d36 authored almost 13 years ago
Merge pull request #77 from sikachu/object_method

Alias `Object#method` to `Object#_method`

5d9627693c8f433c8807990e5002ec0d0207e95b authored almost 13 years ago
Alias `Object#method` to `Object#_method`

This will fix the problem when using Mocha to stub an object that reimplement `#method` method.

3f215eef5815afa4165cbdd9de5da956bda5fd7b authored almost 13 years ago
Disable jekyll processing for github pages.

Files with leading underscores were not being served.

c98cd95d092cf400079b3060d9b807028c470df9 authored almost 13 years ago
Remove SHAs and revision numbers from release notes.

Since all but the very earliest releases are tagged in the git
repository, these serve no useful...

46ac9de890eb7e6c4da392f8b50ec9aa0182d4e9 authored almost 13 years ago
Update documentation to incorporate changes in README.

f8cc1dce38efec97ac44498d02699ee6255a2078 authored almost 13 years ago
Add v0.11.0 to list of bad versions.

Note that I have now "gem yanked" all 3 of these bad versions.

6ce2cbce8b54a982b9aabf9a4e5e9c34d9a0979f authored almost 13 years ago
Add SHA for v0.11.1 to release notes.

6afd493b3c7b808e634e9075d9e5e1c6b138b0ba authored almost 13 years ago
Bump version to 0.11.1 and prepare for release.

b76c0bbecb3a4a63c58004f1157dc47471367e19 authored almost 13 years ago
It's better to name tests after the behaviour they are testing.

707024be177b5ff8ea61fb8b11756c38777de5e7 authored almost 13 years ago
Methods with block parameter were not restored properly in Ruby 1.8.7.

- Converting the original method to a `Proc` meant we lost the block
parameter in the restored...

d066c7b898300bbb454f0bcb76f0537045ad4181 authored almost 13 years ago
Add SHA for v0.11.0 to release notes and update docs.

fedb1450816a0c39a55ef6314e30d20d6cea457c authored almost 13 years ago
Update documentation to reflect bump to version 0.11.0.

71ee9dacdb5a2edb9471ca98991f3e6c7a70dfea authored almost 13 years ago
Bump version to 0.11.0 and prepare for release.

24eeccf8b720ce61ceb99e2ebf85254bd778d804 authored almost 13 years ago
Remove TODO list from repository.

We only need this locally.

6a0666b566a6086356b2e6a1d216a80db083546f authored almost 13 years ago
Exclude early versions of MiniTest gem from CI for Ruby 1.9.3.

Since Ruby 1.9.3 includes much later versions of MiniTest, excluding
these doesn't seem to lose ...

80ff8662ede37ffd7ba9f3ae8ec30fd5cea8e0f9 authored almost 13 years ago
MiniTestTest didn't work in Ruby 1.9.3 with old versions of Test::Unit

0afd6d13270262ad02276870c49094e67ec7b662 authored almost 13 years ago
Merge pull request #75 from floehopper/alias-method-alternative

Store original method rather than using alias_method.

This should fix #41, #47, #74 and all t...

88dc41fa672eefbe9a2c1abf88598bcc86cdce9f authored almost 13 years ago
Now that #41 is fixed, Travis-CI can run tests under Ruby 1.9.3.

991aa3794ae5f2f112f4d39394fe988f5fcfd4e1 authored almost 13 years ago
Add test to demonstrate fix for #74.

ddef74cb5945578fffe1b09f6c74f4f3190e26e0 authored almost 13 years ago
Provide a mechanism to run multiple test method.

It's sometimes useful to be able to run multiple tests from within a
single acceptance test. Thi...

452c8a3e07b776fc5649d8f594727e96ce4d7b94 authored almost 13 years ago
Extract building of Test::Unit::TestResult into separate class.

4e491f1b220581a1116a34f78c18d051529b5c45 authored almost 13 years ago
Never need to supply a test result to TestRunner#run_as_test.

And in any case this doesn't work with MiniTest.

84ddefb43ff22f8f1607180ea82424e8b07cebf6 authored almost 13 years ago
MiniTest::Unit#run now seems to need an array of args.

It seems like this is somehow backwardly compatible, but I haven't
investigated closely. It may ...

09530d6d464efd354fb6bb033c811b1d9143127e authored almost 13 years ago
ClassMethod#hidden_method is no longer needed.

This is because we no longer use alias_method to hide the original
method; instead we store it i...

efc5d8c134be447c74f8a4089b82c0807ecb3616 authored almost 13 years ago
AnyInstanceMethod no longer uses alias_method.

- This brings it into line with ClassMethod & InstanceMethod which were
changed in 1802fb936bc5a...

c381697aad39de69df0b217ae635dd838cf1a703 authored almost 13 years ago
ClassMethod & InstanceMethod no longer use alias_method.

- Instead of hiding the original method using alias_method, we can store
it as an instance varia...

bffad71778a7a28a1ff9f9ab669f8839acf3060f authored almost 13 years ago
Prevent stubbing of methods on nil by default.

- It seems very unlikely that anyone would ever intentionally stub
a method on `nil`, since th...

9f7f99b71fdcebc3b2e76b2695dc7702ae6b1f35 authored almost 13 years ago
Update documentation in the light of 172ef5fa.

5223940c592f3c58717d89acc9fe9c7f8a2c85c9 authored almost 13 years ago
Improve documentation on ObjectMethods.

362ece79d4d4ec8fef53150b6dcba09ecfd67297 authored almost 13 years ago
Update docs in light of bb0e76bd62997b5db2e0c2ce61206058edb37339.

5405a46b2be74f3e224e134f8c8f3ff15ea2a318 authored almost 13 years ago
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...

f32e3afe3744186a7247778d7dde4922338849b0 authored almost 13 years ago
Remove trailing whitespace in tests.

8e5c39a41de9a49bedb8c0b9c25f80feef131698 authored almost 13 years ago
Remove trailing whitespace.

d8dbe37a41fd9c582d4fc5ed8e9c5c246ee3104f authored almost 13 years ago
Tidy up documentation.

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

294f6a0888c705e13f514dee0b99c989dc7b0639 authored almost 13 years ago
Update docs to include changes in README.

174bfaa965d6808132ba8a57f78e5bec23d214e5 authored almost 13 years ago
Include a note about broken versions 0.10.2 and 0.10.3 in README.

4657ab565427ad5ee4c0087a0e876eaa28b3138a authored almost 13 years ago
Change homepage to github pages.

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

f6f2eaea6dfa7a6c23f07d37bb85445bdbb5598c authored almost 13 years ago
Re-generate documentation removing agiledox.

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

26730e25db46ed6c753aa9aa6643a137ffc3d054 authored almost 13 years ago
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.

776a520a3ab405216e0542ce87ebdd075b45acc0 authored almost 13 years ago
No need to build examples with coderay no we are using YARD.

029caac776e8484406bc64c698cd405122e5320e authored almost 13 years ago
Now we are using YARD, no need for dependencies on RDoc & Coderay.

078705086c5134b80a162afd87f15a713c2a1d63 authored almost 13 years ago
Use new YARD-based rake task to generate improved documentation.

f5af6d1b7f395fa6ba2f047ba30dc447edd15629 authored almost 13 years ago
Generate documentation using YARD instead of RDoc.

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

d54a70728cdd5d58fa0d64c938d9593b3f7898d0 authored almost 13 years ago
Remove hannah-noveau as a dependency.

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

4b39255c75a192c3efd162f9a123b652f0f4efbf authored almost 13 years ago
Make links relative and fix those broken by new version of rdoc.

6e94a5d615af5c252b2c711957100d88ffa5e492 authored almost 13 years ago
Cannot publish docs to github until they are committed to master branch.

21e8eb601541e1786b8838574927dda1768886b7 authored almost 13 years ago
Docs now generated using hanna-noveau.

437cfd5bab6f4fe280841f915e3cbb253d53bb10 authored almost 13 years ago
Introduce generate_docs task so I can commit changes before publishing.

e19de7386bfd6d3e7cbbcb1de3e557d6698b920e authored almost 13 years ago
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...

12c7e98710d1bdbb738a841a6b4788cf3e4154e0 authored almost 13 years ago