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

Allow to fail tests in TruffleRuby

d5c958e845c771e4b317c1585ec8cd2838a946b0 authored almost 6 years ago
Run tests in TruffleRuby in Travis CI

1a2df014ec5073a4fc121f2fa5eb9c842ce91ae2 authored almost 6 years ago
Update documentation for v1.8.0 release

Note that this includes the effect of the changes in these commits:

* a17fdea6a0780c5f9f63ea0b8...

4164e54b237175513bf756bf6b384b6902833077 authored about 6 years ago
Correction to release process in README

72e682d815392071872e17721f1b776a03e784f6 authored about 6 years ago
Bump version and update release notes

6e39c693cfc58a8f17839dc015113bedd197db32 authored about 6 years ago
Fix documentation link in README

This should've been fixed in 256a14efceaaa44c1d69d011972d0c66fdb3901c.

a17fdea6a0780c5f9f63ea0b89985dd51a3c3f07 authored about 6 years ago
Create CNAME

5aac8b9e4dc8335e30de426ca103678fddcd90dc authored about 6 years ago
Switch fm Google Analytics -> Tag Manager & use new property ID

This has the advantage of removing references to gofreerange.com.

6647e55ec1c08205ddebbac5b89f625e721abaac authored about 6 years ago
Remove redundant & broken script tag from custom yard template

This must've been needed with an older version of yard, but the `app.js`
file now lives in a `js...

d1c8f65cd3658fea7dca6ecc833ba8c090bfd9cd authored about 6 years ago
Change documentation domain -> mocha.jamesmead.org

256a14efceaaa44c1d69d011972d0c66fdb3901c authored about 6 years ago
Create CNAME

542d535c2b23bc574749b90102c2f8b58942489c authored about 6 years ago
Delete CNAME

e8d4b22ad083732b98d052c44562feee91d7327b authored about 6 years ago
Create CNAME

ec89193fa13032477b905005410fc614ed2ba0d8 authored about 6 years ago
Update README to reflect new release process

585ff2d5b6a0f652f7176245938a7d19f0e8eec2 authored about 6 years ago
Move doc -> docs so we can host documentation on GitHub Pages

afbd64bdc9c3ffb7af684b34adfa10b55b14d9ce authored about 6 years ago
Remove publish_docs Rake task

The plan is for the docs to be published automatically by GitHub Pages
so this is no longer nece...

1343b9f0a3a7c8b641ad325e474993348ec168f4 authored about 6 years ago
Add documentation to repo

These docs were generated from the latest release tag, i.e. v1.7.0. The
idea is to serve them fr...

4a85555831c55961a5100be18b0fe0b555b51945 authored about 6 years ago
Don't use the new bundler v2 in builds

This requires Ruby v2.3 or higher which means that a bunch of our builds
fail. Ideally we'd use ...

683ded9b59b6ce7a5e5fa488b08d97200e1f7f4c authored about 6 years ago
Removed link to documentation translation

I have no control over this documentation and cannot easily verify
it's accuracy or ensure that...

ef428ea285e5c417d8e79c2854150947575373ef authored over 6 years ago
Avoid deprecation warning in gemspec

I was seeing deprecation warnings like this one:

NOTE: Gem::Specification#has_rdoc= is depr...

4976e0bc97b5a1f414c3981953231445b9eeab25 authored over 6 years ago
Merge pull request #346 from freerange/fix-build-matrix-script

Fix build matrix script

89fe4dbc9a97a548c94b9400b71881607f7f3ee6 authored over 6 years ago
Add require statement to allow use of $CHILD_STATUS

Some versions of Ruby need this to be required.

See the 2nd error mentioned in this comment [1]...

ab7108cbb7fad4b81bb443858cd8e0088d25e4a5 authored over 6 years ago
Tweaks to wording in CONTRIBUTING

cbbb8edf8ac828b77eed0c77c359c8fa3b89a9d0 authored over 6 years ago
Improve output from build-matrix script

45e9afa9a18c8c19ca4eb8d5cfdb41d381fa93ab authored over 6 years ago
Remove req to run build-matrix locally from CONTRIBUTING

* The script has been broken for some time and there are no tests for it
to ensure that it keeps...

5223926d8158e761dde3568791273b57a53fe984 authored over 6 years ago
Skip builds in matrix when Ruby version not installed

330e3f5798a428f0c100b4d7d4cec2b1545b17ea authored over 6 years ago
Update to latest bundler in build-matrix builds

This is equivalent to the `before_install` script in `.travis.yml`.

9624f5013f14cd5bb07d083437ba202d4395d255 authored over 6 years ago
Merge pull request #345 from freerange/avoid-calling-kernel-format-from-object-methods-mocha-inspect

Avoid calling Kernel#format from ObjectMethods#mocha_inspect

7306d03a35928837f275f936714dff69d706c8ed authored over 6 years ago
Avoid calling Kernel#format from ObjectMethods#mocha_inspect

Previously setting an expectation on an instance of a class that defined
a custom `format` metho...

c2c3e714bda430f59142b1d092e1cfde3029e595 authored over 6 years ago
Constrain rubocop version constraint to avoid breaking Travis CI builds

After the previous commit [1] I started seeing a different type of build
failure [2]:

Bundl...

0914c875f0da93cb9e8eb6017e8c4b42f2ab5b5a authored over 6 years ago
Constrain rubocop version to avoid breaking Travis CI builds

Newer versions of rubocop must have introduced new rules with which the
mocha codebase does not ...

05e507f53c1e2713d8ebc4b5a0bb4f074822131d authored over 6 years ago
Prepare to release v1.7.0

7f11afe247cda43b80afb3ff924ce913c244a5ed authored over 6 years ago
Merge pull request #341 from freerange/add-rubocop

Add Rubocop and run as part of the build

d336f49f13a13fdb039fc18497004d2f13c0e72a authored over 6 years ago
Only run rubocop for Ruby >= v2.2.0

Ruby v2.2 is the TargetRubyVersion for rubocop.

f6900a027b42cb6cf216280322f5eba4862b4c85 authored over 6 years ago
Run rubocop as part of rake test task

Only if rubocop is available - it's not available for early versions of
Ruby.

afdcf41d846185f7c3ede5cb80eb1e9554e556f6 authored over 6 years ago
Fix Style/NumericPredicate violations manually

Now that we have set TargetRubyVersion to v2.2, the
Style/NumericPredicate cop now only expects ...

875a4ff2e3fb5529730dd58ca26920177bd47cc2 authored over 6 years ago
Set rubocop TargetRubyVersion to earlist possible (v2.2)

Ideally we'd set this to match the `required_ruby_version` in the
gemspec, i.e. v1.8.7. However,...

79dc3de00a2c8a610e8e09b094efd5821c355c59 authored over 6 years ago
Fix Style/WordArray violations using auto-correct

4486ee38b3f44634ba4b7716b339e605f1191313 authored over 6 years ago
Re-generate rubocop todo list

Using the following command:

rubocop --auto-gen-config

34ff8127844a47c839968647388ee43f6c82044d authored over 6 years ago
Allow long comment lines and regenerate rubocop todo list

Many of the longest lines are comment lines for YARD documentation. I
think splitting the lines ...

d098b42a45fa6c91c55ca825445a46d0a16ff55d authored over 6 years ago
Fix Style/SpecialGlobalVars violations using auto-correct

cd466358de3ab6c0def88902daa51505673b9b35 authored over 6 years ago
Fix Style/ZeroLengthPredicate violations using auto-correct

25cc68944b13c2615564a0a40d9915d3dec76140 authored over 6 years ago
Fix Style/GuardClause violations manually

I disabled the cop around one block of code which I didn't think should
be changed.

b0ac517b966d2ab719af9033926b9753c72c947a authored over 6 years ago
Disable Gemspec/RequiredRubyVersion for all files

It's not possible to set TargetRubyVersion to Ruby < v2.2 and the
gemspec has `required_ruby_ver...

933724b192ee2599b3246c664ed4c3c602524a55 authored over 6 years ago
Fix Style/SingleLineMethods violations

Using a mixture of auto-correct and manual edits - auto-correct didn't
work very well in some of...

a90b8a071f3d7ebd723c7611eb0d51ab4de9ca77 authored over 6 years ago
Disable Layout/AccessModifierIndentation for all files

Enabling this cop results in an "Infinite loop detected" exception. I
can't see any related rubo...

f21f0c3bf3e364eb1a8284f9a9277284e7ed0d86 authored over 6 years ago
Disable Lint/DuplicateMethods for specific lines

I think the violations in the acceptance tests are all legitimate and
they look like they might ...

ff80e55c1038ee0a8884900f192db5c75cec17f5 authored over 6 years ago
Disable Style/AccessModifierDeclarations for all files

This cop was only introduced relatively recently and it seems to have
stirred up some controvers...

d5dd9ab1bde1811a33b288d843d5555498f55952 authored over 6 years ago
Disable Style/FrozenStringLiteralComment for all files

The `frozen_string_literal` magic comment has only been supported since
Ruby v2.3 and I don't wa...

6fa1c0cdfccdabcdcfbeb3659daadf88932842f5 authored over 6 years ago
Fix Style/Semicolon violations using auto-correct

Also disable cop around tests using ExecutionPoint, because the tests
rely on the instantiation ...

2cc5a5228153f7ffd35b04c0a9b453ffc14912a8 authored over 6 years ago
Fix Style/StringLiterals violations using auto-correct

ac288dec8dbd2adcd56d0a70b02e3d33134735e3 authored over 6 years ago
Fix Style/SymbolProc violations using auto-correct

86c5cff1d12eeca670a8c93acf4c0f0f6a116593 authored over 6 years ago
Disable Style/WhileUntilModifier for all files

I'm not keen on this cop, because it's easy to miss the while/until.

f2ac20ba6887ab7933c5162ab5e0610d2d27f184 authored over 6 years ago
Fix Style/TrivialAccessors violations using auto-correct

b650801e309e816e41c27a060bfe1ac33770631c authored over 6 years ago
Fix Style/UnneededInterpolation violations using auto-correct

3f3dd413705f04c7265fecc229c0ff14114ca2f5 authored over 6 years ago
Fix Style/WhileUntilDo violations using auto-correct

f59612ba55c4b6df6dd82b18755801ab6bd7f7dd authored over 6 years ago
Fix Style/TrailingCommaInHashLiteral violations using auto-correct

e8f5a2d5896835a9403129122bca6018a8c99916 authored over 6 years ago
Fix Style/TrailingCommaInArguments violations using auto-correct

3f58dff3050922e4a49205fbef7e8be0b3124393 authored over 6 years ago
Disable Style/SymbolArray cop for all files

Symbol array literal syntax has only been supported since Ruby v2.0 and
I don't want to jeopardi...

bd0342f5f8420bb97a6cfc1a6fd10781f7add700 authored over 6 years ago
Fix Style/RescueStandardError violations using auto-correct

241c272f9638802403a91caedf23c5a2689d64a4 authored over 6 years ago
Fix Style/RescueStandardError violations using auto-correct

d6680a98fb1670b57b4f506d53c970cd619229a4 authored over 6 years ago
Disable Style/SafeNavigation for all files

The safe navigation operator has only been supported since Ruby v2.3 and
I don't want to jeopard...

dec1813528e6c5547977fba90be8ebf69742835a authored over 6 years ago
Fix Style/RedundantSelf violations using auto-correct

5ffbfaf687d5caa7b4859e4af8307cab406c5699 authored over 6 years ago
Disable all rubocop cops for monkey-patching code

This is because the whole point is that this monkey-patching code is
copy-pasted from the origin...

a671a612fdc08fdc847446b7cb1ebb0c18c89936 authored over 6 years ago
Fix Style/StderrPuts violations using auto-correct

196970ac6c972bae612fb17f8afdee443d700c01 authored over 6 years ago
Fix Style/StringLiteralsInInterpolation violations using auto-correct

cd0228ae27919349a391162a7c91348ccd86277e authored over 6 years ago
Fix Style/RegexpLiteral violations using auto-correct

* Manually fixed one violation not fixed by auto-correct

* Fixed Lint/AmbiguousRegexpLiteral vi...

ef35b6657a0cfd2a296acc4c21ccda4eb4bd2dce authored over 6 years ago
Fix Style/RedundantReturn violations using auto-correct

5d4612705db6d770e12d90531410945f9ffd39b6 authored over 6 years ago
Fix Style/RaiseArgs violations using auto-correct

a5208035c16d03a6f09a24c6e6454e88909c302c authored over 6 years ago
Fix Style/PercentLiteralDelimiters violations using auto-correct

I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...

e52163580f12603c22abb81c549bf91ff56a3560 authored over 6 years ago
Fix Style/ParenthesesAroundCondition violations using auto-correct

87dad53c31af31df5c7b4c1e2c937aacaa3a07c6 authored over 6 years ago
Fix Style/ParallelAssignment violations using auto-correct

ede277b5a66dc1ae6607ce5a3f77d4d04ceeb909 authored over 6 years ago
Require comparison for Style/NumericPredicate cop

While Numeric#zero? has been supported since Ruby v1.8.6,
Numeric#negative? & Numeric#positive? ...

acf8f7398c2b2c968b6d79558c7405b9e8cb8f41 authored over 6 years ago
Fix Style/Next violations using auto-correct

a38b7347838f202608a9367c3c9cdeb76e1b82be authored over 6 years ago
Fix Style/MutableConstant violations using auto-correct

a06e647157170964e74b8168c2d618271c263187 authored over 6 years ago
Fix Style/MultilineIfThen violations using auto-correct

ab3e1ebc3aea48df52ba58b8967fc977406089b9 authored over 6 years ago
Disable Style/MultilineIfModifier for specific lines

I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...

a405d20f30c06ee6693aaddd4fa6c19c6804687d authored over 6 years ago
Disable Style/MethodMissingSuper for specific lines

A mock object is a legitimate exception to this rule.

b99374182e2195c6f21bc08d879763ec5d70b2e1 authored over 6 years ago
Disable Style/MethodDefParentheses for specific lines

I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...

a18fd0051fceab4317d0d045e9c508b9299fdd9e authored over 6 years ago
Fix Style/MethodCallWithoutArgsParentheses violations using auto-correct

c3777c967147d4418f2c632b61d626add35c45a6 authored over 6 years ago
Only include rubocop dev dependency for Ruby >= v1.9.2

One of the dependencies of the latest version of rubocop, rainbow, is
not compatible with earlie...

6ca8c8fcf15b95ce8c17698a8a29c4acca557236 authored over 6 years ago
Require non-literal lambda for Style/Lambda cop

Lambda literal syntax has only been supported since Ruby v2.0.

de70e02b687151ac31d676fa2dfca3b18001b755 authored over 6 years ago
Disable Style/ExpandPathArguments for all files

I don't want to jeopardise support for older versions of Ruby.

c7c8297d68fa74191da1fc0030e883e2f1c96c91 authored over 6 years ago
Disable Style/IfUnlessModifier for all files

* I'm not keen on this cop, because it's easy to miss the trailing
conditional.
* I think the ...

adac420fa06022ade40d431b009e36d5312af511 authored over 6 years ago
Fix Style/InverseMethods violations using auto-correct

8b101f2e068c4be67d2691bbed692fc260b64e72 authored over 6 years ago
Disable Style/HashSyntax for all files

I don't want to jeopardise support for older versions of Ruby.

7ff79ffcd72297fc3cb8136d1ffba45296271cdc authored over 6 years ago
Fix Style/IfInsideElse violations manually

3291e3fcc2a2dedbeac0b8236848fd37c13532eb authored over 6 years ago
Fix Style/GlobalVars violations manually

4c556fff7c2ee0a1ef789b20c8b1bb2084fc5563 authored over 6 years ago
Disable Style/FormatStringToken for all files

This cop doesn't seem particularly useful and I'm concerned that it
might jeopardise support for...

733189d7a376196be53e78baa2b7367aba91a0c4 authored over 6 years ago
Fix Style/FormatString violations using auto-correct

I've disabled the cop around monkey-patching code, because the whole
point is that this is copy-...

705dbc7f8373e484bf45ce9645f3336adf66fcc1 authored over 6 years ago
Fix Style/ConditionalAssignment violations using auto-correct

e979aabc86c2346a3a33e027d9d357a12b4848af authored over 6 years ago
Tidy up MockTest::OBJECT_METHODS

aef1719f5d5e98e653fd083a5f178433c6e7f707 authored over 6 years ago
Fix Style/DefWithParentheses violations using auto-correct

dcc7ac8050c1bd43319668a7fb15733046fdafe5 authored over 6 years ago
Fix Style/EmptyMethod violations using auto-correct

fda0c4ed6634ace977c52a59b4ecab6b4fbbc81f authored over 6 years ago
Fix Style/EmptyLiteral violations using auto-correct

b14cd303fb3dc00ea298d2c50a2a4b42beadb788 authored over 6 years ago
Fix Style/EmptyElse violations using auto-correct

0dbb79890696cbc2e51e3884dd908bae617e75fe authored over 6 years ago
Disable Style/EachWithObject cop for all files

I don't want to jeopardise support for older versions of Ruby.

d3688dd8967f5b9a65eefcbb8a40bf105feb9aa8 authored over 6 years ago
Fix Style/ClassCheck violations using auto-correct

I disabled the cop for the violation in the KindOf matcher, because it
would make the implementa...

f08f02e4438e16c10b907e2c18ae465533c4be72 authored over 6 years ago
Disable Style/DateTime for specific lines

19a34ad45f12e964a362bbcc43002340b2ad1898 authored over 6 years ago
Fix Style/Encoding violations using auto-correct

a654d5657dfe703c4ac556ae7aed603a3bdc444e authored over 6 years ago