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
d5c958e845c771e4b317c1585ec8cd2838a946b0 authored almost 6 years ago
1a2df014ec5073a4fc121f2fa5eb9c842ce91ae2 authored almost 6 years ago
Note that this includes the effect of the changes in these commits:
* a17fdea6a0780c5f9f63ea0b8...
4164e54b237175513bf756bf6b384b6902833077 authored about 6 years ago72e682d815392071872e17721f1b776a03e784f6 authored about 6 years ago
6e39c693cfc58a8f17839dc015113bedd197db32 authored about 6 years ago
This should've been fixed in 256a14efceaaa44c1d69d011972d0c66fdb3901c.
a17fdea6a0780c5f9f63ea0b89985dd51a3c3f07 authored about 6 years ago5aac8b9e4dc8335e30de426ca103678fddcd90dc authored about 6 years ago
This has the advantage of removing references to gofreerange.com.
6647e55ec1c08205ddebbac5b89f625e721abaac authored about 6 years ago
This must've been needed with an older version of yard, but the `app.js`
file now lives in a `js...
256a14efceaaa44c1d69d011972d0c66fdb3901c authored about 6 years ago
542d535c2b23bc574749b90102c2f8b58942489c authored about 6 years ago
e8d4b22ad083732b98d052c44562feee91d7327b authored about 6 years ago
ec89193fa13032477b905005410fc614ed2ba0d8 authored about 6 years ago
585ff2d5b6a0f652f7176245938a7d19f0e8eec2 authored about 6 years ago
afbd64bdc9c3ffb7af684b34adfa10b55b14d9ce authored about 6 years ago
The plan is for the docs to be published automatically by GitHub Pages
so this is no longer nece...
These docs were generated from the latest release tag, i.e. v1.7.0. The
idea is to serve them fr...
This requires Ruby v2.3 or higher which means that a bunch of our builds
fail. Ideally we'd use ...
I have no control over this documentation and cannot easily verify
it's accuracy or ensure that...
I was seeing deprecation warnings like this one:
NOTE: Gem::Specification#has_rdoc= is depr...
4976e0bc97b5a1f414c3981953231445b9eeab25 authored over 6 years agoFix build matrix script
89fe4dbc9a97a548c94b9400b71881607f7f3ee6 authored over 6 years agoSome versions of Ruby need this to be required.
See the 2nd error mentioned in this comment [1]...
ab7108cbb7fad4b81bb443858cd8e0088d25e4a5 authored over 6 years agocbbb8edf8ac828b77eed0c77c359c8fa3b89a9d0 authored over 6 years ago
45e9afa9a18c8c19ca4eb8d5cfdb41d381fa93ab authored over 6 years ago
* The script has been broken for some time and there are no tests for it
to ensure that it keeps...
330e3f5798a428f0c100b4d7d4cec2b1545b17ea authored over 6 years ago
This is equivalent to the `before_install` script in `.travis.yml`.
9624f5013f14cd5bb07d083437ba202d4395d255 authored over 6 years agoAvoid calling Kernel#format from ObjectMethods#mocha_inspect
7306d03a35928837f275f936714dff69d706c8ed authored over 6 years ago
Previously setting an expectation on an instance of a class that defined
a custom `format` metho...
After the previous commit [1] I started seeing a different type of build
failure [2]:
Bundl...
0914c875f0da93cb9e8eb6017e8c4b42f2ab5b5a authored over 6 years ago
Newer versions of rubocop must have introduced new rules with which the
mocha codebase does not ...
7f11afe247cda43b80afb3ff924ce913c244a5ed authored over 6 years ago
Add Rubocop and run as part of the build
d336f49f13a13fdb039fc18497004d2f13c0e72a authored over 6 years agoRuby v2.2 is the TargetRubyVersion for rubocop.
f6900a027b42cb6cf216280322f5eba4862b4c85 authored over 6 years ago
Only if rubocop is available - it's not available for early versions of
Ruby.
Now that we have set TargetRubyVersion to v2.2, the
Style/NumericPredicate cop now only expects ...
Ideally we'd set this to match the `required_ruby_version` in the
gemspec, i.e. v1.8.7. However,...
4486ee38b3f44634ba4b7716b339e605f1191313 authored over 6 years ago
Using the following command:
rubocop --auto-gen-config
34ff8127844a47c839968647388ee43f6c82044d authored over 6 years ago
Many of the longest lines are comment lines for YARD documentation. I
think splitting the lines ...
cd466358de3ab6c0def88902daa51505673b9b35 authored over 6 years ago
25cc68944b13c2615564a0a40d9915d3dec76140 authored over 6 years ago
I disabled the cop around one block of code which I didn't think should
be changed.
It's not possible to set TargetRubyVersion to Ruby < v2.2 and the
gemspec has `required_ruby_ver...
Using a mixture of auto-correct and manual edits - auto-correct didn't
work very well in some of...
Enabling this cop results in an "Infinite loop detected" exception. I
can't see any related rubo...
I think the violations in the acceptance tests are all legitimate and
they look like they might ...
This cop was only introduced relatively recently and it seems to have
stirred up some controvers...
The `frozen_string_literal` magic comment has only been supported since
Ruby v2.3 and I don't wa...
Also disable cop around tests using ExecutionPoint, because the tests
rely on the instantiation ...
ac288dec8dbd2adcd56d0a70b02e3d33134735e3 authored over 6 years ago
86c5cff1d12eeca670a8c93acf4c0f0f6a116593 authored over 6 years ago
I'm not keen on this cop, because it's easy to miss the while/until.
f2ac20ba6887ab7933c5162ab5e0610d2d27f184 authored over 6 years agob650801e309e816e41c27a060bfe1ac33770631c authored over 6 years ago
3f3dd413705f04c7265fecc229c0ff14114ca2f5 authored over 6 years ago
f59612ba55c4b6df6dd82b18755801ab6bd7f7dd authored over 6 years ago
e8f5a2d5896835a9403129122bca6018a8c99916 authored over 6 years ago
3f58dff3050922e4a49205fbef7e8be0b3124393 authored over 6 years ago
Symbol array literal syntax has only been supported since Ruby v2.0 and
I don't want to jeopardi...
241c272f9638802403a91caedf23c5a2689d64a4 authored over 6 years ago
d6680a98fb1670b57b4f506d53c970cd619229a4 authored over 6 years ago
The safe navigation operator has only been supported since Ruby v2.3 and
I don't want to jeopard...
5ffbfaf687d5caa7b4859e4af8307cab406c5699 authored over 6 years ago
This is because the whole point is that this monkey-patching code is
copy-pasted from the origin...
196970ac6c972bae612fb17f8afdee443d700c01 authored over 6 years ago
cd0228ae27919349a391162a7c91348ccd86277e authored over 6 years ago
* Manually fixed one violation not fixed by auto-correct
* Fixed Lint/AmbiguousRegexpLiteral vi...
ef35b6657a0cfd2a296acc4c21ccda4eb4bd2dce authored over 6 years ago5d4612705db6d770e12d90531410945f9ffd39b6 authored over 6 years ago
a5208035c16d03a6f09a24c6e6454e88909c302c authored over 6 years ago
I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...
87dad53c31af31df5c7b4c1e2c937aacaa3a07c6 authored over 6 years ago
ede277b5a66dc1ae6607ce5a3f77d4d04ceeb909 authored over 6 years ago
While Numeric#zero? has been supported since Ruby v1.8.6,
Numeric#negative? & Numeric#positive? ...
a38b7347838f202608a9367c3c9cdeb76e1b82be authored over 6 years ago
a06e647157170964e74b8168c2d618271c263187 authored over 6 years ago
ab3e1ebc3aea48df52ba58b8967fc977406089b9 authored over 6 years ago
I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...
A mock object is a legitimate exception to this rule.
b99374182e2195c6f21bc08d879763ec5d70b2e1 authored over 6 years ago
I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...
c3777c967147d4418f2c632b61d626add35c45a6 authored over 6 years ago
One of the dependencies of the latest version of rubocop, rainbow, is
not compatible with earlie...
Lambda literal syntax has only been supported since Ruby v2.0.
de70e02b687151ac31d676fa2dfca3b18001b755 authored over 6 years agoI don't want to jeopardise support for older versions of Ruby.
c7c8297d68fa74191da1fc0030e883e2f1c96c91 authored over 6 years ago
* I'm not keen on this cop, because it's easy to miss the trailing
conditional.
* I think the ...
8b101f2e068c4be67d2691bbed692fc260b64e72 authored over 6 years ago
I don't want to jeopardise support for older versions of Ruby.
7ff79ffcd72297fc3cb8136d1ffba45296271cdc authored over 6 years ago3291e3fcc2a2dedbeac0b8236848fd37c13532eb authored over 6 years ago
4c556fff7c2ee0a1ef789b20c8b1bb2084fc5563 authored over 6 years ago
This cop doesn't seem particularly useful and I'm concerned that it
might jeopardise support for...
I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...
e979aabc86c2346a3a33e027d9d357a12b4848af authored over 6 years ago
aef1719f5d5e98e653fd083a5f178433c6e7f707 authored over 6 years ago
dcc7ac8050c1bd43319668a7fb15733046fdafe5 authored over 6 years ago
fda0c4ed6634ace977c52a59b4ecab6b4fbbc81f authored over 6 years ago
b14cd303fb3dc00ea298d2c50a2a4b42beadb788 authored over 6 years ago
0dbb79890696cbc2e51e3884dd908bae617e75fe authored over 6 years ago
I don't want to jeopardise support for older versions of Ruby.
d3688dd8967f5b9a65eefcbb8a40bf105feb9aa8 authored over 6 years ago
I disabled the cop for the violation in the KindOf matcher, because it
would make the implementa...
19a34ad45f12e964a362bbcc43002340b2ad1898 authored over 6 years ago
a654d5657dfe703c4ac556ae7aed603a3bdc444e authored over 6 years ago