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
By using the single-line version.
Note that the comment still shows up in the source code in th...
github.com/freerange/mocha - d8019eed369bff98b76ab05d7abe6fdc1ad71f86 authored about 5 years agoPR: #442
A deprecation warning is now displayed when a mock object instantiated
in one test rec...
To reduce complexity of Mock#method_missing method.
This means we no longer need to disable a n...
github.com/freerange/mocha - 2389ff35f4d377d4334802b4ffc3d92c42d5cf8e authored about 5 years agoTo reduce the complexity of Mock#method_missing.
github.com/freerange/mocha - d53327a3d4f93867708984d22f763384d5f68d25 authored about 5 years agoc.f. RSpec's "Doubles cannot be reused in another example" scenario [1]
[1]: https://relishapp....
github.com/freerange/mocha - d66c2b501685fe827a2c5e2236475e78d8082c11 authored about 5 years agoBump puma from 4.2.0 to 4.3.1
github.com/freerange/site - c27d579ee80a4069d2f17c92ba46058f1afe1375 authored about 5 years ago
Bumps [puma](https://github.com/puma/puma) from 4.2.0 to 4.3.1.
- [Release notes](https://github...
Bump rack from 2.0.7 to 2.0.8
github.com/freerange/site - c558c6dbadc3b9ced41c8310dbbc717621c09c2f authored about 5 years ago
Bumps [rack](https://github.com/rack/rack) from 2.0.7 to 2.0.8.
- [Release notes](https://github...
github.com/freerange/site - 494da5ad66bde5225f7bda8cad68799e9d8048f1 authored about 5 years ago
See https://stripe.com/docs/customer-emails/email-domain
github.com/freerange/site - 904ff805f579f15003d57f6c79b1744487eefe01 authored about 5 years agogithub.com/freerange/mocha - 6672b624e319bd6e4dbff9c32a98eddf26a03bd2 authored about 5 years ago
github.com/freerange/mocha - 109829ace0ba6b48896018b93bad7a77e3510e70 authored about 5 years ago
I meant to do this when I released v1.11.0 so that if a project's build
had started failing in v...
github.com/freerange/mocha - 54b1b60e0ef2f078c5d6239a86c577d186b135fc authored about 5 years ago
github.com/freerange/mocha - cbb01cbe7854e97196b734e0dad53ebeb15c9ab0 authored about 5 years ago
PR: #441
github.com/freerange/mocha - 2ddbdfd2c240eed79311afb1a984cd454fbbc4d9 authored about 5 years ago
Now that Expectation#with_block_given exists, we can make a more useful
suggestion of how to avo...
I think it's useful and more consistent to include something in the
invocation description to in...
This allows expectations to match only invocation which do or do not
supply a block. The default...
This was highlighted when investigating this issue [1]. It turned out
that this project was call...
github.com/freerange/mocha - c2cac911cf0be9a4482ddb6a5b8d9228ff3fa5fc authored about 5 years ago
github.com/freerange/mocha - 1070fc02015a8ea36ad50782f80b557813595c02 authored about 5 years ago
PR: #439
Co-authored-by: Nitish Rathi <[email protected]>
github.com/freerange/mocha - 7f2767f5b02e22e457348345a2063948c8930f56 authored about 5 years ago
Now there's no longer both a YieldParameters#add method *and* a
YieldParameters#multiple_add met...
This means that the parameter_groups instance variable in the
YieldParameters class is now just ...
github.com/freerange/mocha - c002e857e42fccf398be424d22a4ae548eb399cb authored about 5 years ago
By inlining local variables and deleting unnecessary calls to
YieldParameters#next_invocation.
github.com/freerange/mocha - 087aca9bea914e79c3c661dba54a1d0ea5cbbd80 authored about 5 years ago
The behaviour of MultipleYields is fully covered by YieldParametersTest.
github.com/freerange/mocha - 4f8c4dcebbdfd3507ea3356edd7926bcd8084271 authored about 5 years ago
This will now only ever be an instance of MultipleYields, so there's no
longer much point in ass...
We're now using MultipleYields to implement the functionality that was
in this class.
By default an Expectation and hence a YieldParameters is not meant to
attempt to yield to a matc...
We're now using MultipleYields to implement the functionality that was
in this class.
github.com/freerange/mocha - 2ce6c93caaf5549724e3bd05c70c2d10f4ef526c authored about 5 years ago
The former is just a special case of the latter.
github.com/freerange/mocha - f70389dac2d80bd6519bb017ab48ebaf05f4c296 authored about 5 years agoThe former is just a special case of the latter.
github.com/freerange/mocha - eb76a82578b87d12ea5c04ed6e95044232dc3ade authored about 5 years ago
This allows docs to be generated without using rake using almost the same
options as with rake (...
github.com/freerange/mocha - 9fc5911bb7d77cc4c10b2875508a6be332bf6592 authored about 5 years ago
I should've done this in this commit [1].
[1]: b6049b4b7891a5070c7d97a9511aafacec53af39
github.com/freerange/mocha - 932d1166a36b3601002cdcd95e8160e5a05df829 authored about 5 years agogithub.com/freerange/mocha - bca55ae65b7c2faf62ebd18d0fc0421f2a612055 authored about 5 years ago
github.com/freerange/mocha - f8bc4943dbd5e9921ff86e6ccd76ed3c78a5d403 authored about 5 years ago
PR: #438
The new configuration option is `reinstate_undocumented_behaviour_from_v1_9`.
github.com/freerange/mocha - 46942e28891022b82845e6c528b80fe39d6edc37 authored about 5 years agogithub.com/freerange/site - f20c26d1828818e3e9d13fbce86851e189bd078a authored about 5 years ago
In v1.9 if Expectation#yields or Expectation#multiple_yields was called
on an expectation, but n...
I think this is a more natural home for the block.
github.com/freerange/mocha - 72dac85f0aced2c9a27a3de3d6db3e0f46e80668 authored about 5 years agoThis reduces duplication at the callsites.
github.com/freerange/mocha - b6049b4b7891a5070c7d97a9511aafacec53af39 authored about 5 years ago
The old behaviour is reinstated, albeit with deprecation warnings, if
the reinstate_undocumented...
In preparation for adding a deprecation warning specific to each of
API#mock, #stub & #stub_ever...
github.com/freerange/mocha - 7a60ebcba5013d54d8e8bbd39a891ebd85d174c0 authored about 5 years ago
github.com/freerange/mocha - 5bb2210a66d2e5e3f826d56a502466836c7491c6 authored about 5 years ago
github.com/freerange/mocha - f44776e72b5e7dbe3c69ed309f0b35cff132adea authored about 5 years ago
Fixes #432 by short-circuiting the method_exists? check in case the treatment of
the action is t...
Cucumber's World method builds an instance of a "world"
object and then *extends* that object wi...
github.com/freerange/mocha - 0b768ee932009b1bcca7a3fd7dda7603b7c23c24 authored about 5 years ago
github.com/freerange/mocha - 059dafb738980665dd2e179a8cf55da4890b2c01 authored about 5 years ago
github.com/freerange/mocha - d30c1717134f8a631bcc531c3228d1b50d3f6670 authored about 5 years ago
github.com/freerange/mocha - 388f44d778c2239b52ffe5c52ace253419f91bd3 authored about 5 years ago
github.com/freerange/mocha - 13ab797bcf6afd6c4d7d9f6a83bed8c8b9cc3b26 authored about 5 years ago
github.com/freerange/site - 26c498d16809f0d01245a7c44248ecc7f607fbd3 authored about 5 years ago
github.com/freerange/mocha - 2359afc123e0de558e9683a81a6a41bf20fd6877 authored about 5 years ago
github.com/freerange/mocha - ef70734de1844f587846dbb71b720f4b8b06471f authored about 5 years ago
PR: #428
These methods are not part of the public API and yet they are included into every cl...
github.com/freerange/mocha - 894243ee7d7a76d5c2897b09727118f20a8f65cc authored about 5 years agoc.f. #70
This method is not part of the public API and yet it is included into
every class in A...
c.f. #70
This method is not part of the public API and yet it is included into
every class in A...
This is not part of the published API.
github.com/freerange/mocha - 5530fda174a84bacdabce614da3c4c36b75c7a89 authored about 5 years agogithub.com/freerange/site - 390aa12918fc3ccc2b9a4dbd469bab1f77da907f authored about 5 years ago
github.com/freerange/mocha - 6a81f1d9f0a0cdc01b921fbb74f70db8ef479ed9 authored about 5 years ago
Due to the number of changes since the last release, I'm releasing an
alpha version which I can ...
github.com/freerange/mocha - f8ab3fc5dd413ea222522ea653645e4c46faa690 authored about 5 years ago
By correcting the name of the `param` definition to match the actual
parameter name.
By nesting `param` definitions inside the appropriate `overload`
definitions. In a similar vein ...
Apparently Rails plugins in the original sense (i.e. installed into
`vendor/plugins`) were depre...
Versions of minitest earlier than v3.3.0 (27 Jul 2012) and versions of
test-unit earlier than v2...
This is long overdue. Extended maintenance of Ruby v1.8.7 ended on 31
Jul 2014 [1]. Actually dro...
PR: #421
This introduces a new (hopefully less-surprising) configuration mechanism and adds a...
github.com/freerange/mocha - 2ad3031f1afc47d9cd3b83370d490d952fab2b52 authored about 5 years ago
This seems like a better home and makes the require statements more
intention-revealing/explicit.
So that this configuration option can be set without using the
MOCHA_OPTIONS environment variabl...
github.com/freerange/mocha - 730528a54512aa99b0b224cd37c6329d75efd46e authored about 5 years ago
See this commit [1].
[1]: a65ea1ed3dce43cbc2cc16b3660afd2cce3db33e
github.com/freerange/mocha - 8e786ea6aedcf9f374f9561a5b7c1a141291122c authored about 5 years ago
This means that, for example,
`Mocha::Configuration.allow?(:stubbing_method_unnecessarily)` is
r...
github.com/freerange/mocha - 948a0c23a6b230a16d0cd36e3d0dcf77f664d4be authored about 5 years ago
I don't think the string itself contains an "error" as such.
github.com/freerange/mocha - 49151dd7573dfaa051683687857ac587162275cd authored about 5 years agogithub.com/freerange/mocha - f8d42b82ff124de9758d8f2a0d396b92dcdf5947 authored about 5 years ago
github.com/freerange/mocha - 3a859f81d5bac2fdb7a59134854321512fb8add1 authored about 5 years ago
github.com/freerange/mocha - e553bde0b40bb6e115f267dff87df350372be1d6 authored about 5 years ago
For example:
Mocha.configure do |c|
c.stubbing_method_unnecessarily = :prevent
...
I want to deprecate Configuration.allow, .prevent & .warn_when, but the
new methods like #stubbi...
This makes setting configuration options terser and less non-standard, e.g.
Mocha::Configur...
github.com/freerange/mocha - 5c37d19eef8a28c284c30561bb4081edccb9c391 authored about 5 years agogithub.com/freerange/mocha - 266ce71c8675c46aeafae1da01245ea3544aa5cc authored about 5 years ago
I was seeing deprecation warnings like this one:
Mocha deprecation warning at /Users/jamesm...
github.com/freerange/mocha - 3507344a051242b64705ff400fb2be76a7b1e1e0 authored about 5 years agogithub.com/freerange/site - 756b5f3a2b0e438e9516927ba5b4b7863d7abb6b authored about 5 years ago
Put deprecations into effect
github.com/freerange/mocha - b24d460694d7847088228c62a21b5f306d3faeba authored about 5 years ago
This file was renamed to mocha/minitest.rb in v1.4.0 in this commit [1]
and can now safely be re...
These files were deprecated in this commit [1] in v0.13.0 and can now be
safely removed.
[1]: h...
github.com/freerange/mocha - 9aec829452d1e4ee25adbdd5b7bacffc93401fb1 authored about 5 years ago
This functionality was deprecated in v1.3.0 in this commit [1] and so it
can now be safely remov...
This method was replaced with ParameterMatchers#equivalent_uri in v1.3.0
in this commit [1] and ...
This was first attempted in v0.12.0 in this commit [1], but then
partially reverted to display a...
PR: #420
Closes #414.
Co-authored-by: Nitish Rathi <[email protected]>
github.com/freerange/mocha - 65b94a35e6aabd69cc13b8586eb85c9ca4fc0bad authored about 5 years ago
This allows us to remove the slightly ugly default argument for
Expectation#invoke.