Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
mocha
We are on a mission to develop & maintain a mock object library for Ruby.
Collective -
Host: rubytogether-user -
https://opencollective.com/mocha-deleted
- Code: https://github.com/freerange/mocha
github.com/freerange/method_log - 141992d1033bd04dde5d050bf346291891610763 authored over 5 years ago
github.com/freerange/method_log - e3d45bb9fe20aa2777de1077247b7f7657d2ec17 authored over 5 years ago
github.com/freerange/method_log - a21a5d674a5866f997b8a1c1a3d477ba8c1ec2c5 authored over 5 years ago
github.com/freerange/method_log - cd21c8de4dce7040333baeab7db3a359a7c70eee authored over 5 years ago
github.com/freerange/method_log - 0143ed6e6ecabf5197e0c9575901f85f634f65fd authored over 5 years ago
github.com/freerange/method_log - 0204968febe78ffa21fb31965f93d9aca24d74e2 authored over 5 years ago
github.com/freerange/method_log - 9ca78bb3005d9306e155bfd726d4f28c95763990 authored over 5 years ago
github.com/freerange/method_log - 5cef9d063de4ebbd0cdfc4b3ce7370d49e77f98f authored over 5 years ago
github.com/freerange/method_log - 25dfcad262fc37b93f94ffd60415d6d5ec996246 authored over 5 years ago
github.com/freerange/method_log - 981702ec88dfaf2692978d611f4753459583e7eb authored over 5 years ago
github.com/freerange/method_log - 7eed1d5e9e9038eb5d16025805fbbb03a7793317 authored over 5 years ago
github.com/freerange/method_log - b136595c52be14639d5b2df9cf0ffe624bc6caa4 authored over 5 years ago
github.com/freerange/method_log - 432581688c024769c9e655ea068a4edda33feef5 authored over 5 years ago
More idiomatic use of Optimist.
github.com/freerange/method_log - d862cfe29e3d8fd6af519bf1ce34bb3052510328 authored over 5 years agogithub.com/freerange/method_log - 6f9d87170e69a939c59acd5653f9132df52742bc authored over 5 years ago
The default is to use the first letter of the option name which is already "p" in this case.
github.com/freerange/method_log - 34ce39de7fb223e51905cd6b46c751f584281bb4 authored over 5 years agogithub.com/freerange/method_log - 7095a4e73ab89daf1551b0b8425e79a1669048d3 authored over 5 years ago
The gem no longer runs on this version of Ruby.
github.com/freerange/method_log - 5b8ba69ec4c0a80e054de00435da81ac2cce80ae authored over 5 years ago
Note that it is still possible to *parse* source code for Ruby >= v1.8,
but you need to run this...
github.com/freerange/method_log - c62235fc4bcd524c1f34183d3426dd0463f7099c authored over 5 years ago
github.com/freerange/method_log - 275eaa70be740d698773e5fd0191bf2d8bfdee0a authored over 5 years ago
github.com/freerange/method_log - b66907b20968c5069a90ede6b4207b53435035ab authored over 5 years ago
This addresses the following post-install message from trollop:
! The 'trollop' gem has ...
github.com/freerange/method_log - 058541b0f361e556c3ce6d7a13d124b510ddc756 authored over 5 years agoPR: #365
github.com/freerange/mocha - c34f9af57cf7955c40d7f1662b9cc37c14544f86 authored over 5 years ago
It's vaguely conceivable that tests in the wild are stubbing this method
and so it seems safer t...
The singleton_class method has been available since Ruby v1.9.2 and so
it seems better to avoid ...
As per 9c78af7529d34d8cf5bd4a26999124a8d684b2ed.
github.com/freerange/mocha - 793c96813336df9d18dc09d3f4abe7071cac4617 authored over 5 years agoAs per 5aac8b9e4dc8335e30de426ca103678fddcd90dc.
github.com/freerange/mocha - 9c78af7529d34d8cf5bd4a26999124a8d684b2ed authored over 5 years agoThese changes should've been made in this commit [1].
[1]: https://github.com/freerange/mocha/c...
github.com/freerange/mocha - 6fabe2b66a5c001c0b73923eb8a141962b63cb07 authored over 5 years agogithub.com/freerange/mocha - 10222e8c1aa82f5fe1ba4172acfd0494c1c0d197 authored over 5 years ago
These changes should've been made in this commit [1].
[1]: https://github.com/freerange/mocha/c...
github.com/freerange/mocha - 9ff1e8f1692e0e7842b5dea800384566a14087a8 authored over 5 years agogithub.com/freerange/mocha - 0b81b2c7d288390841d5aada35d7e2a806f30f86 authored over 5 years ago
I've made this a minor version bump, because there's a chance the
refactoring in #358 may have l...
As per this commit [1].
[1]: 3352e9c5acc11d56198b5cf4b489156ff7ad5c34
github.com/freerange/mocha - 8247a8940b14e929f0ecb4e50af7982f7ee58399 authored over 5 years agoThis problem was introduced in this commit [1].
[1]: 330e3f5798a428f0c100b4d7d4cec2b1545b17ea
github.com/freerange/mocha - 11abe231409a33986ea6d81d4e8007b1a7986959 authored over 5 years ago
In this commit [1], I added a before_install entry to the Travis CI
configuration to install the...
PR: #358
Co-authored-by: Chris Roos <[email protected]>
github.com/freerange/mocha - c8562ef42db22e80d256869405eeba258cc1b9aa authored over 5 years agogithub.com/freerange/site - 57fc97d6701ec63ae1b592928459bd27fc62a1b9 authored over 5 years ago
github.com/freerange/site - 6380f0d71c9b79b97a328c51655a0d4cee0990c2 authored over 5 years ago
github.com/freerange/site - f16cbbbfe5e8f7d076908a90f8f782779b4d739b authored over 5 years ago
Now that the implementation is the same as its parent's in
`ClassMethod#method_visibility`.
github.com/freerange/mocha - 098a3292151ec4f75024ed60c4e8bafefb54fd51 authored over 5 years ago
Now that the implementation is the same as its parent's (`ClassMethod`).
github.com/freerange/mocha - 0ff0fe849bb54f0b0d456b5b5b0ac10df5b79435 authored over 5 years ago
The `xxx_method_defined?` methods accept either a symbol or string so
we don't need to manually ...
This makes the implementation of `AnyInstanceMethod#method_visibility`
the same as `ClassMethod#...
And the equivalent method in
`AnyInstanceMethod#default_stub_method_owner`.
I think this name m...
github.com/freerange/mocha - a3216ae5a96e363349dadaa0ccb85a00cc9ca47a authored over 5 years ago
In the hope that it makes the code easier to understand. I found it confusing
that we were using...
And the equivalent method in `AnyInstanceMethod#method_visibility`.
The instances of `ClassMeth...
github.com/freerange/mocha - 9341dc27d164e1f56c67687ce21a039cffee4567 authored over 5 years agogithub.com/freerange/mocha - f22fd8cea34225c0d4a4cedaff11a75ba1f64547 authored over 5 years ago
Now that the implementation is the same as its parent's (`ClassMethod`).
github.com/freerange/mocha - 08dc507cee41c7e9e5a44e91ada5bf6f048efcdf authored over 5 years ago
The old name was slightly confusing because we're actually interested in
whether the original me...
Having temporarily removed the `rescue` statement, I can see that we're
trying to catch `NameErr...
And the equivalent method in `AnyInstanceMethod#original_method`.
The instances of `ClassMethod...
github.com/freerange/mocha - 0e58584a9b7b05f14a7a2e7c6928e893c0171968 authored over 5 years ago
To explain why we're interested in Ruby version 2 and above. I think
this makes the code easier ...
To try to better describe its purpose.
github.com/freerange/mocha - 4b8075c479dc67f1697d807ad6d2a86df4f0111b authored over 5 years ago
Note the use of `original_method_in_scope` in
`ClassMethod#restore_original_method`. I can't use...
And the overridden implementation in
`AnyInstanceMethod#restore_original_method`. By reusing
`#o...
And override the implementation in `AnyInstanceMethod#prepend_module`.
I want to make the imple...
github.com/freerange/mocha - 3623ab1f52191d360ac0ed4ee5698af1353c66f0 authored over 5 years agoI think the new name better describes its purpose.
github.com/freerange/mocha - ff1560b28f63f3e2120fe2ab493acc19b02928ab authored over 5 years ago
Now that it's identical to the same method in its parent
(`ClassMethod`).
I think the new name better describes its purpose.
github.com/freerange/mocha - 7f9d8f8ddfd092778997fae989ad358cbabd6f8e authored over 5 years ago
Now that it's identical to the same method in its parent
(`ClassMethod`).
github.com/freerange/mocha - e5521209a5abb308d025b740c5e9d2d5e0a9ccff authored over 5 years ago
And override the implementation in
`AnyInstanceMethod#default_definition_target`.
I want to mak...
github.com/freerange/mocha - 6a29f9e83b0b621a7997562dbb06f5f24015a193 authored over 5 years agoAs well as method parameters named `method`.
To make it clearer that it's a string/symbol and n...
github.com/freerange/mocha - 065134915f7544aef49a954efaf3b077ba8e5a8f authored over 5 years ago
Now that it's identical to the same method in its parent
(`ClassMethod`).
And override the implementation in
`AnyInstanceMethod#stub_method_definition`.
I want to make t...
github.com/freerange/mocha - 721a910b8cb0879265aff5f930a171d0189a22db authored over 5 years agoNow that the implementation is the same as its parent's.
github.com/freerange/mocha - ebb046182ee1547b1ac731afc1f363c594e48934 authored over 5 years ago
And override the implementation in
`AnyInstanceMethod#remove_original_method_from_stubbee`.
I w...
github.com/freerange/mocha - c40d96e45f3c0cbad8a2408469857290ed85b0ac authored over 5 years agoAnd override the implementation in `AnyInstanceMethod#original_method`.
I want to make the impl...
github.com/freerange/mocha - 86e203c8cb4573a76c384e88898d5e70daeac6d7 authored over 5 years ago
Given that it's identical to the same method in its parent
(`ClassMethod`).
And override the implementation in
`AnyInstanceMethod#original_method_defined_on_stubbee?`.
I w...
github.com/freerange/mocha - bf23d4443dc2aaf65c6e56b5bedc2effdde951a6 authored over 5 years ago
We use `class_eval` in both `ClassMethod#define_new_method` and
`AnyInstanceMethod#define_new_me...
Expand explanation of thread-safety concerns
github.com/freerange/mocha - 172380e373de0d759be2058f0b4322d78857c2d3 authored over 5 years agogithub.com/freerange/mocha - ad4cbd27e2881712a808cec963e8f3262c3a3a6e authored over 5 years ago
github.com/freerange/site - 0344a7fef28aceb4f6ce6b17b1d00836cbc6e288 authored over 5 years ago
github.com/freerange/site - e088ff5843ca07771ee687ce120526c865dc39c8 authored over 5 years ago
github.com/freerange/site - 89105fb7e5cc93cd0c1187a9b734a4dfb2cbab02 authored over 5 years ago
Travis CI started switching the default OS to Linux Xenial 16.04 on 23
Apr 2019 [1]. It looks as...
github.com/freerange/site - a22fbf3e396b8996ce2da462e1be18b39ac0ae8e authored almost 6 years ago
github.com/freerange/site - 86bdf21a432eb8dec1ba71743acc27d888673f34 authored almost 6 years ago
github.com/freerange/site - 3848883bfccb8ebcdf73d0f167d988653536bcac authored almost 6 years ago
We no longer have a Facebook account and although the
page still exists, it's not really any use.
We decided to add this information as it helps public sector clients
to know that they can procu...
github.com/freerange/site - dea3a0a24259873a85edc9dc233767730aa08ff9 authored almost 6 years ago
github.com/freerange/site - 84c1a5b94a5d4db5ad98e516cfa87566eea99958 authored almost 6 years ago
The spacing looked too small to me. See e.g. week-536.
github.com/freerange/site - 3154cb961ce0aec420ef70f3f2eeb3f51a52d6b6 authored almost 6 years ago
Previously this margin-bottom style was being ignored, because a
margin-bottom style is being se...
github.com/freerange/site - 4535d417acd1f2d1382b53d197c0481fdf965e82 authored almost 6 years ago
This was requested by someone recently. We can't see any reason not to
make it public given that...
github.com/freerange/site - 716b35850207686e818b6b422b37ce556ba185ea authored almost 6 years ago
github.com/freerange/site - c3e938b69054ff5830cc0e3983e14bd4f02d4bdd authored almost 6 years ago
Courtesy of @tomstuart.
github.com/freerange/site - 59810a4c92cef9a672531130d3689b58efba12e2 authored almost 6 years agoFix the heading number for the next show and tell
github.com/freerange/site - 04c4a5bfaf327f8f850b23fae162fb3827823f9f authored almost 6 years agogithub.com/freerange/site - 568e230942d85894a676587f248b869b755a0923 authored almost 6 years ago
github.com/freerange/site - 7ff2f99cd97e3280ef478658644fb32d2315a0b8 authored almost 6 years ago
github.com/freerange/site - a56443459af4c9895b44e69f347bdca561711100 authored almost 6 years ago
github.com/freerange/site - 8833c7b4e4b01d1a13527647596f1392d93eb74e authored almost 6 years ago
github.com/freerange/site - 82ee64a7d6723c5df6f57d364ba3dc24df373ed8 authored almost 6 years ago
github.com/freerange/site - f33bc190133488b162fc6698e40ca298c2279601 authored almost 6 years ago