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

Refactor: inline method_exists_or_responds_to?

It was originally extracted to please rubocop, as it complained about cyclomatic
complexity bein...

github.com/freerange/mocha - eccb8a26bcc0ad20770d4c475f24986b75123ebf authored over 5 years ago
Refactor: Further DRY up checks for actions (allow/prevent/warn)

on_stubbing_method_unnecessarily differs only in how the method_signature and
backtrace are comp...

github.com/freerange/mocha - cd47bbf8c17b1b945d10b3899fb0a2bce801154c authored over 5 years ago
Refactor: inline method_visibility to prep for rename to method_exists?

github.com/freerange/mocha - 3c4e94f74a29a74e9319dd8b430b7e45712d4e81 authored over 5 years ago
Refactor: delegate method_visibility to original_method_owner

Since original_method_owner is a class, it can already provide method_visibility
(through ClassM...

github.com/freerange/mocha - 5bf8be914ab15a51815c4e0a722e05984df7760d authored over 5 years ago
Refactor: remove redundant override AnyInstance#method_exists?

github.com/freerange/mocha - 48070db7f49231efe41d4c5359def8c9f9100027 authored over 5 years ago
Refactor: replace conditional returns with single boolean expression

Boolean expressions are declarative, while conditional returns are imperative.
This makes method...

github.com/freerange/mocha - 4499c036a0f6895aaff7348abf8c5f8c4e6ef3c3 authored over 5 years ago
Refactor: use more direct & intention-revealing methods

Makes AnyInstance#method_exists? more similar to ClassMethod#method_visibility

github.com/freerange/mocha - 3c9f60f3df4c5a714377ed54d86aae0504731b62 authored over 5 years ago
Refactor: call method_exists? directly on object's singleton_class

Since a method exists (or not) on a class, and an object responds (or not) to a
message, Mockery...

github.com/freerange/mocha - 89b0d25b8e9ae33f2e373dd38e8da7a35d90c2c8 authored over 5 years ago
Refactor: extract method

Makes AnyInstance#method_exists? more similar to ObjectMethods#method_exists?

github.com/freerange/mocha - 5de8e6bbd49ecd803002890ec41bce9e3f2d4451 authored over 5 years ago
Refactor: extract method to prep for adding respond_to? check to Mockery

github.com/freerange/mocha - d041cdc25c068115166069b4bfbaf0975ea8debb authored over 5 years ago
Refactor: Make respond_to? public to prep for calling from outside

github.com/freerange/mocha - c8b4441acdb1cc918c550991514ff040299af0e2 authored over 5 years ago
Refactor: Move respond_to? check to the only caller site using it in effect

respond_to? was called only in the if include_public_methods conditional, and
this is the only...

github.com/freerange/mocha - 690f32ac0c0bc1efc9b00a1685c6b1b88b37d41d authored over 5 years ago
Refactor: Replace conditional return with a single boolean expression

Boolean expressions are declarative while conditional returns are imperative

github.com/freerange/mocha - 06f79d3c34193fee32887121d3bc203cfe3321db authored over 5 years ago
Refactor: method_exists? returns visibility to look similar to method_visibility

github.com/freerange/mocha - 948b8b81e5c9aeefe028890624adff795d04fd13 authored over 5 years ago
Refactor: rename & alias method_exists? to reflect different intended usages

github.com/freerange/mocha - d2ed1a84e090f46b21435d87ad1359de117ddf8b authored over 5 years ago
Refactor: delegate to ClassMethods by extracting & moving

github.com/freerange/mocha - 6e50d3818607066d2158a8a6d8313d49dd875f97 authored over 5 years ago
Refactor: prepare to call method_exists? directly on object's singleton_class

Since a method exists (or not) on a class, and an object responds (or not) to a
message, Mockery...

github.com/freerange/mocha - f016fcd154388c8c3582e9955a86eef5736e9532 authored over 5 years ago
Refactor: make {AnyInstance,ObjectMethods}#method_exists? identical

github.com/freerange/mocha - 848bea9719982a20162d32fbb4584531d89eef8e authored over 5 years ago
Refactor: use more direct & intention-revealing methods

Makes ObjectMethods#method_exists? more similar to ClassMethods#method_exists?

github.com/freerange/mocha - 55b3395c9df679dfcc00a7e06e660fbabb5d56dd authored over 5 years ago
Remove "fixed cost per iteration"

We don't really do this (anymore) so I've removed it from the "working
together" section.

github.com/freerange/site - 3045f12babbe332ecd66643064367ea74e44ce51 authored over 5 years ago
Merge branch 'add-coop-uk-logo-to-home-page'

github.com/freerange/site - 65cadad20e8aa9fbe186d19bdc253de89d153fff authored over 5 years ago
Add a "we are a coop" section to the Get in Touch section

I wanted a little bit of whitespace between the second h3 in this
sidebar (the new "we are a coo...

github.com/freerange/site - b27f745636c98335a4e7df7e7ae4179e95799101 authored over 5 years ago
Add co-ops UK logo to assets

I downloaded the logo[1] that co-ops uk sent us, converted it to a PNG
in preview and cut out th...

github.com/freerange/site - 63db637cc0f0047fc160bb8bab3c9dcf5defa1c1 authored over 5 years ago
Rename `#address-etc` to `#contact-sidebar`

github.com/freerange/site - a4f576e9dd4cb6c1ec5597357a15eed14e38c33d authored over 5 years ago
Move `address-etc` div outside of the address-etc snip

I want to add another snip to this "sidebar". As a first step I'm
moving the div (that is floate...

github.com/freerange/site - 4e008e65f43f9f216bf5ef307acbea31fba604ca authored over 5 years ago
Improve documentation for responds_like{,_instance_of}

Make the chainability to #mock and #stub clearer

github.com/freerange/mocha - 54dd07521110caa4647b7bb11efc7e49c670f23a authored over 5 years ago
More realistic examples for yields and multiple_yields

github.com/freerange/mocha - c16848348213a911d923892a2831d5bef7594955 authored over 5 years ago
Merge pull request #381 from nitishr/class_method

Simplify {AnyInstance,Class,Instance,Module}Methods Hierarchy

github.com/freerange/mocha - 706effdd7a45b6684f4d7a87e81b7313a13f46bc authored over 5 years ago
Refactor: shrink surface between StubbedMethod & subclasses

Parameterizing (& generalizing) the methods allows us to reduce the implicit
dependency/contract...

github.com/freerange/mocha - bdb4169c253466b25d20c9f8cd3de9682de4259a authored over 5 years ago
Refactor: conditional is simple & short enough to be a one-liner

github.com/freerange/mocha - ec8ab787cd42217047be43e117d704435814a1f3 authored over 5 years ago
Refactor: pull up store_original_method

This reduces duplication in InstanceMethod & AnyInstanceMethod (assignment to
ivar), and shrinks...

github.com/freerange/mocha - 2df0aea6b71c4675365210d685d03844900484f7 authored over 5 years ago
Refactor: obtain method from stubbee instead of original_method_owner

Since original_method_owner returns stubbee anyway. This makes it similar in
InstanceMethod and ...

github.com/freerange/mocha - a43a554d1613e7697f7230fa0ae7598ad593552a authored over 5 years ago
Refactor: push down subclass-specific methods to subclass

Since there're only two subclasses of StubbedMethod, I didn't see a reason to
privilege methods ...

github.com/freerange/mocha - ad4304ffe17ecd267c2fc598cfdd2889a7972dbd authored over 5 years ago
Refactor: delete ClassMethods#stubba_method

ObjectMethods#stubba_method is identical, and is already included in Object.
Since a Class is an...

github.com/freerange/mocha - abc29ec2cfe8a3fe70feb7aa91fee19b93f43ca1 authored over 5 years ago
Refactor: rename ClassMethod to StubbedMethod

ClassMethod is/was being used solely as a superclass of InstanceMethod and
AnyInstanceMethod, an...

github.com/freerange/mocha - a64200747d35156eb157c35d835493c5814596cd authored over 5 years ago
Refactor: delete ModuleMethods, relying on ObjectMethods

ObjectMethods provides everything that ModuleMethods did, and is already
included in Object. Sin...

github.com/freerange/mocha - 6d99a2413e4ecce60a40029e8b139fcfc50ae839 authored over 5 years ago
Add Gregory's GFR page link to Week notes 560

github.com/freerange/site - 720d4cd97fa6f0204b7f79ab5b350bc4826d072b authored over 5 years ago
Fix broken markdown links in week 560

github.com/freerange/site - f53bca6f74483a1699bccfc1fd93cf6de5d2f06c authored over 5 years ago
Add Gregory as a GFR alumni with biography.

github.com/freerange/site - 95d0878f023c419d9ea5b5c6dc4eb2bfaf630d15 authored over 5 years ago
Week notes 560

github.com/freerange/site - f012dc07c6aa93784acffcb514e4da3aeabd72f7 authored over 5 years ago
Upgrade Ruby v2.5.6 -> v2.5.7

github.com/freerange/site - d3cf8e444a5246020264ee1a79e35862bd1a26ee authored over 5 years ago
Circles are now destroyed after fading

github.com/freerange/mission-patch-game - 90d895dea0680521112b83e56c1fee58a45bc726 authored over 5 years ago
Circles can appear in bottom corners of screen

github.com/freerange/mission-patch-game - dc3f614efc5bb365c458aa720029a72e83fc734b authored over 5 years ago
Merge pull request #17 from freerange/experimental

Some post launch polish

github.com/freerange/mission-patch-game - 35e1643a830bc518fab53e19db6abf4526916512 authored over 5 years ago
Changed tween ease of Circles

github.com/freerange/mission-patch-game - 46fce2898270031cc1a69f150f10d387d99bdc0e authored over 5 years ago
Changed indicator to circle

github.com/freerange/mission-patch-game - 5943fecfc7768f0292396dd10b0b9aaef2f8765d authored over 5 years ago
Indicator for flying laptops is now an image

github.com/freerange/mission-patch-game - bf2b2b37bd87e4a8d2c867d266968c2b9bed47fc authored over 5 years ago
Refactor: Use InstanceMethod instead of ClassMethod

Since the two aren't different from each other or from ModuleMethod

github.com/freerange/mocha - 6d9417e3fcfbed848b29a7fdd2a6af638983d19c authored over 5 years ago
Refactor: Use InstanceMethod instead of ModuleMethod

Since the two aren't any different from each other or from ClassMethod

github.com/freerange/mocha - 87ee1777dc174c7b1b548eebe58d30e62c81c3f4 authored over 5 years ago
Removing some comments

github.com/freerange/mission-patch-game - 842df8f2cce93a65d177ee8399f81f93462d80a6 authored over 5 years ago
Rest of comments for current game

github.com/freerange/mission-patch-game - 9d694711f702145bd0977f4370d09368de25f4a6 authored over 5 years ago
Adding some comments to game

github.com/freerange/mission-patch-game - b779c28a993d2f4021b852e8073ac13a87190bc2 authored over 5 years ago
Revert timestamps for weeks 506, 555 & 557

These were updated when they were published in
fc4e8c6bf5e3dcc38f7b11b9d5e31d8e81efac36. I was c...

github.com/freerange/site - 2a03e893a82426ab07ba5995519809ba906c4862 authored over 5 years ago
Add week-559

github.com/freerange/site - 7046443fd0d397044cfce66e21bcf01065d27ae0 authored over 5 years ago
Merge pull request #378 from nitishr/reduce-duplication-in-any-instance-method-class

Reduce duplication in AnyInstanceMethod class

github.com/freerange/mocha - 6f36b5b04c3101c77c84bcfc4bde9becff10a1c0 authored over 5 years ago
Refactor: Keep overridden methods together in ClassMethod

The following methods are overridden in AnyInstanceMethod:

* mock_owner
* original_method_body
...

github.com/freerange/mocha - 9baa0dcded24852726ba88b01b05a990ce735bd9 authored over 5 years ago
Refactor: Inline ClassMethod#stub_method_body

Now there's only a single implementation and it's only a few lines long,
it makes more sense to ...

github.com/freerange/mocha - 828a713a6d71a3e8eb3e25e9f3308d8bd9a1e86c authored over 5 years ago
Refactor: Remove redundant AnyInstanceMethod#stub_method_body

The implementation is now identical to that in ClassMethod and so we can
safely remove this and ...

github.com/freerange/mocha - 84ab371b9d3b0d2d8577b1367095420d2e31b4b8 authored over 5 years ago
Refactor: Simplify stub_method_body on ClassMethod & AnyInstanceMethod

It's simplier to obtain the mock underlying the stubbed method from the
instance of ClassMethod ...

github.com/freerange/mocha - d8227f57d1ffbdc088ee552de335cef9d8d05f54 authored over 5 years ago
Refactor: Remove redundant AnyInstance methods

The implementations of AnyInstanceMethod#mock & #reset_mocha are now identical
to those of Class...

github.com/freerange/mocha - c55b733770c69ca7f07790ba4cbb2a5df29ab30f authored over 5 years ago
Refactor: Extract method in ClassMethod & AnyInstanceMethod

Reduce duplication by extracting ClassMethod#mock_owner and
AnyInstanceMethod#mock_owner.

Co-au...

github.com/freerange/mocha - 033ee48faf8721228a7eabcf2d4b041fed8b0aaa authored over 5 years ago
Refactor: Extract method to retain original visibility

Co-authored-by: James Mead <[email protected]>

github.com/freerange/mocha - 6a16ccf02f0b538a461b44c61c1d6f89c7d471e7 authored over 5 years ago
Refactor: define_method vs class_eval in ClassMethod#define_new_method

Using define_method is safer than class_eval and it has the side effect
of making it easier to s...

github.com/freerange/mocha - 8a8e30d60d0b055b801a66c4d79ac233478c26b0 authored over 5 years ago
Refactor: Remove redundant AnyInstanceMethod#restore_original_method

This is now identical to ClassMethod#restore_original_method and so in
AnyInstanceMethod we can ...

github.com/freerange/mocha - c26fb27ae88994312df14c54b0da00cb8ac68b05 authored over 5 years ago
Refactor: Extract variation into a private method

This means that ClassMethod#restore_original_method and
AnyInstanceMethod#restore_original_metho...

github.com/freerange/mocha - 919b7a29770138afebf7d30b30d2dfc3e6a71682 authored over 5 years ago
Refactor: Extract variation into a local variable

Co-authored-by: James Mead <[email protected]>

github.com/freerange/mocha - 220c5d61ec3a59865fe66ccbf373b0311579e0bc authored over 5 years ago
Fix: Bug in AnyInstanceMethod#restore_original_method

This fixes a bug in AnyInstanceMethod where it would fail to restore the
visibility of a stubbed...

github.com/freerange/mocha - 0407630b92ca34b27471b3cb0903acca31650006 authored over 5 years ago
Refactor: Convert guard condition into if statement

This also has the benefit of making
AnyInstanceMethod#restore_original_method more similar to
Cl...

github.com/freerange/mocha - ad835dea712e88796099582f3308866dddb4aaa6 authored over 5 years ago
Refactor: Call ClassMethod#original_method_owner to reduce duplication

This also has the benefit of making ClassMethod#restore_original_method
more similar to AnyInsta...

github.com/freerange/mocha - 90cd9fc8460c411d960a238cee872a892b8945f9 authored over 5 years ago
Merge pull request #377 from nitishr/mock-symbol-name

Accept symbol as mock/stub name

github.com/freerange/mocha - b97766000a176bd5c98f91ea1e709b49cab579ee authored over 5 years ago
reuse mock creation, customize behavior by yielding

github.com/freerange/mocha - 4e2f77598c37e2e439962d51954c7f703324a130 authored over 5 years ago
accept symbol as mock/stub name

github.com/freerange/mocha - 7ed2e4e76f364be13f8d8b7fe618e569b3e98562 authored over 5 years ago
Only run rubocop for MRI Ruby versions & non-integration test builds

There's no need to run rubocop in so many of the CI matrix builds.
Running rubocop on Truffle Ru...

github.com/freerange/mocha - 8f1c6af59866151be9a4d4cac85dd2315674ba3a authored over 5 years ago
Upgrade JRuby to v9.2.8.0 in Travis CI builds

Release: https://www.jruby.org/2019/08/12/jruby-9-2-8-0.html

Note that there was a problem with...

github.com/freerange/mocha - aa29b3f169a9591e20aa60a39e8797d35713abb8 authored over 5 years ago
Pin minitest to v5.11.3 for Ruby v1.8.7 to fix build

This is because minitest > v5.11.3 uses look-behind assertions in regular
expressions which are ...

github.com/freerange/mocha - 4a0a580d1640e12a96bfdd893d5d835711e624e8 authored over 5 years ago
Merge pull request #16 from freerange/experimental

Some small fixes

github.com/freerange/mission-patch-game - 771057e471688ef1f490401ed9c6567d1e6f678e authored over 5 years ago
Results particles stays in middle of canvas

github.com/freerange/mission-patch-game - 4c435f38712156153336528b1ef6b45ed94ae4ce authored over 5 years ago
Early Game Over Bug Fixed

github.com/freerange/mission-patch-game - 46c0fbb2c90106cefebceca8fa76f12419a47b89 authored over 5 years ago
Remove media: 'all' option on stylesheet tag

This is the default, so no need to add it.

github.com/freerange/site - 0c5fe9d8af31e7543042bfb71c9f5440eb0b80ec authored over 5 years ago
Use CSS-only embed code for Typekit fonts

This means we don't need to download and execute any Typekit JavaScript
and should improve page ...

github.com/freerange/site - a0f5bc7f4a626e67e9a32d17ba94eb3cda19549d authored over 5 years ago
Remove application JavaScript and associated code & gems

We no longer have any JavaScript worth putting in the asset
pipeline-ified application.js, so I'...

github.com/freerange/site - 4acf15eb7b38fb20fc4b001de1ddda24450d9464 authored over 5 years ago
Remove Google Analytics

As per https://trello.com/c/0wdDiRBZ.

We don't ask users permission to set a tracking cookie an...

github.com/freerange/site - 7ca0c80659666ba82a01030d8a05315dd627be54 authored over 5 years ago
Attempt to suppress SIGTERM exceptions from daily dyno restarts

This _should_ prevent the SIGTERM exceptions sent by Heroku to restart
dynos from being re-raise...

github.com/freerange/site - 820b3ec5821e12dfcf309fb4190fa9c7b407fa42 authored over 5 years ago
Replaced Results Text Particles

github.com/freerange/mission-patch-game - 324d38f56ef86769c338a5ef03cf9fa27cbc118e authored over 5 years ago
Merge pull request #15 from freerange/experimental

Some Minor Changes

github.com/freerange/mission-patch-game - 76ae700292e5a0a330e1611f93c45608feba68c9 authored over 5 years ago
Merge branch 'master' into experimental

github.com/freerange/mission-patch-game - 82036b9d9eb977f779117d7c9268e08b77d8089f authored over 5 years ago
Added padding variable

github.com/freerange/mission-patch-game - 5a37e6962618c01dd4f66da5686847dfd9a58e20 authored over 5 years ago
Doubled sticker throwing speed

Formula was also added for indicator side padding

github.com/freerange/mission-patch-game - 580988b19a6eb4ed6573b2a6bfbab39065d3709a authored over 5 years ago
Changed Laptop Indicator Text

github.com/freerange/mission-patch-game - 8e66e66c6b80a66e13d66f8ca292c8c233917c1c authored over 5 years ago
Slight description adjustment

github.com/freerange/mission-patch-game - 83ed0e937e4eef260a1f8387780edaeeca9c57c0 authored over 5 years ago
Merge pull request #14 from freerange/experimental

Initial build ready for deployment

github.com/freerange/mission-patch-game - c4628c0b7e82ad59bd8ba2b1dc6fc19d4c1da56c authored over 5 years ago
Less insane velocities when closer to the center

github.com/freerange/mission-patch-game - 18719443d80f1545777a1e50db979609e740eb3a authored over 5 years ago
Minor code cleanup and master is now scene

github.com/freerange/mission-patch-game - 60a14d9e42681f55882d4ffa9c78ae3fee7131d5 authored over 5 years ago
Emojis now explode with happiness

github.com/freerange/mission-patch-game - 65dbd40a686a3dd9bec0df920847a7645a0a6a38 authored over 5 years ago
Fix sidebar nav ordered list style in Firefox

It looks as if when you specify list-style-image, there is no need to
specify list-style as well...

github.com/freerange/site - a6a2115ac3353e103cfc06238aeaa5fe79ff8ee9 authored over 5 years ago
Remove jQuery which is now redundant

We were only using it for a couple of minor things which didn't seem
worthwhile and have been re...

github.com/freerange/site - 59ef1c6b2cebb2a860feda6e65543ac24e9c1223 authored over 5 years ago