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
These should've been removed in
ddb5d67246f8417402d02533f988720281cc0a34.
These should've been removed in
ddb5d67246f8417402d02533f988720281cc0a34.
In terms of Rake tasks & CircleCI jobs.
Closes #556.
21b1b5027fa06cba7fec46df6de8c6e723c46469 authored over 2 years agoThis makes the "lint" task definition more readable.
The RUBY_VERSION check is now effectively ...
8b01fdc6e65e0b86c1091805018595d0904607e6 authored over 2 years ago
This makes it easier to see whether the linting has passed or failed
when looking at CI results,...
Previously the "rubocop" task provided by the rubocop library was added
as a dependency of the "...
942ddadccfd1755fe27e92cba969f2ad31efc1c1 authored over 2 years ago
bf6d2ab5fb90f7053b4bc3210456d53f1fc2703a authored over 2 years ago
This is long overdue. Extended maintenance of Ruby v1.9.3 ended on 23
Feb 2015 [1]. Actually dro...
Continues the refactoring started in #549 on the road to better keyword
args matching. This is p...
24d3cfbf820f84579f2f16d7c5f3d68d6ec8f25c authored over 2 years ago
This is a somewhat odd usage of `ParametersMatcher` which unnecessarily
couples it to `Invocatio...
5dfa49fb80bd59c464b5ed770e02dd7f24178e88 authored over 2 years ago
Reflection-related methods returning arrays of method names, e.g.
Object#public_methods, Module#...
- Object#respond_to? has always accepted either string or symbol
interchangeably (at least fro...
9a22aa1f3569d1cd09ba0bc61b9cc7c84b727197 authored over 2 years ago
Fix test:performance Rake task
dc9e4e106fe618bdb40b7e00b0c4ca09db9915a5 authored over 2 years ago
To ensure the task runs with no errors and to allow us to see any
trends in performance over time.
It looks like this may have been required since Minitest v5.16.0 [1].
Without it the following e...
The 'release' task provided by Rubygems relies on a number of
prerequisite tasks to actually do ...
Extended maintenance of Ruby v1.8.7 ended on 31 Jul 2014 [1] and Mocha
support for Ruby v1.8 has...
Consistent definitions for respond_to?
1ade3841f14a1c17abfe69e4b43acd8eac34d0f2 authored over 2 years agoCloses #59.
b7a7d23321e409c9ad77229f80033a55eb0d8a90 authored over 2 years ago
This functionality was deprecated in
9316807e5922ef1942160889dabdabb862d5107b and then removed i...
Since Ruby v2, the 2nd optional argument to Object#respond_to? has been
named include_all. Since...
With Object#respond_to? which supports an optional 2nd argument called
include_private.
The argument name used for Object#respond_to? in earlier Ruby versions
is include_private and so...
This method delegates respond_to_missing? behaviour to the responder
object. As far as I can see...
As far as I can see, Object#respond_to? has supported an optional 2nd
argument since at least Ru...
Although this is a unit test, I think it's a bit simpler to rely on the
built-in implementation ...
When OTP is enabled.
ed9c040a9550273e52e78c415de7f5bfbef992d4 authored over 2 years ago0df9258e342401ee704641cf4f05adaa299f2c68 authored over 2 years ago
1a35666f6f825a41be07b689fe5b4ade9d1497b9 authored over 2 years ago
0947d5d9ba4f8c9259ec71641384536ad6504de1 authored over 2 years ago
I've made this a minor version bump, because technically it does change
some published behaviour...
Gemspec should not contain `RUBY_VERSION` as a condition to switch dependencies,
because it is m...
65bc626e80e0b27219ed220de4f72dbed753bfaa authored over 2 years ago
Even when passed a hash of method names vs return values. This is the
same behaviour as for Obje...
[ci skip]
GitHub support have told me this has probably been broken since Dependabot
Preview...
ruby 3.1 was shipped with psych v4 which included a breaking change [1]
that was mentioned in th...
191823e8696881ab8c72948165834eca18315cb3 authored over 3 years ago
I've made this a minor version bump since it includes some new
functionality.
The yardoc rake task will have a non-zero exit code if any errors or
warnings occur and thus the...
See #422.
53a6ee393371cea814fc4709c8d49e5f5967d583 authored over 3 years agoThanks to @mudge for his Docker image!
818ca037ff2f352950d6f24fd95efd041ad4ae53 authored over 3 years agoThis should run at 03:00 every Sunday.
fd2a4c6f21fbf547b7aeaafff49237697a3e548c authored over 3 years ago
Apparently [1] you need this even for public projects despite what the CircleCI
docs say [2].
...
d8f44bcadabb67c47dc33eed8ca1e7010e083485 authored over 3 years ago
c.f. ParameterMatchers#has_entries
18d81047fde4800d907382d2ddd2f3fb52671fc9 authored over 3 years agoPR: #513
Previously if has_entry was called without any arguments, it raised the
following exce...
PR: #514
c98c6ec572efc823acf0d5ed0e0882192246088a authored over 3 years agoc0719fdedeb081756344627079207efa6cecc933 authored over 3 years ago
We only attempt to run rubocop from Ruby v2.0.0 onwards, so there's no
point in including it for...
7ce5f2912e38fbebce274bda7e7ac3618afe12ba authored over 3 years ago
670da6d08dc9ada921f1bbaa4681e4f74c914120 authored over 3 years ago
08fca3774ae3dcb3c02e9348441e9df8190a00d6 authored over 3 years ago
I think this should move us from a Trusty
container-based environment to the current Travis CI
...
9e0043ac663f6de42da5d117f2ff7d86ae0c23ee authored over 3 years ago
8c99a1bb99f08ed1c9bc758990639cd485a2ff52 authored over 3 years ago
This should have been included in this commit [1].
[1]: 58653dbd5eee6921b176e27311936c3dc936dbff
0f849aa8318a6ec884579c4b3ad8ef1645c0ec0c authored over 3 years ago58653dbd5eee6921b176e27311936c3dc936dbff authored about 4 years ago
56c167e873e1d31704df17636a39103c962fd18d authored about 4 years ago
This release only includes documentation changes, refactorings and a bug
fix for a regression in...
4e927435165a6e0ea025655d360a8b70b96f63be authored about 4 years ago
I was looking through https://rubygems.org/gems/mocha/versions and
noticed the .gem's file size ...
There seems to be some kind of SSL certificate error [1] when installing
the bundler gem. This i...
With a particular focus on clarifying the behaviour of
Expectation#yields with no arguments.
Cl...
1b6571c6c025d938fb92f16df997c8156f0739eb authored about 4 years ago
Ideally this would be fixed in yard. I've opened a PR [1] with the fix,
but haven't yet had any ...
To fix a problem with the toggle source links. The problem seems to be
introduced in jquery v1.9...
Hopefully this should fix the error I'm seeing in Chrome developer
tools.
As per this commit [1] in this as yet unmerged PR [2].
Fixes CVE-2017-16011 security vulnerabil...
211098a5dc181c9535cce1e633dd9b4d7ba42525 authored over 4 years agoc619afac24b4bc30f15c630c100facef61ea5916 authored over 4 years ago
bd8028f88cfa980a0976ddc8d7ed7b5edc8dbfa0 authored over 4 years ago
186f93f2122a2dea14e84d63b2bbb29f9586632e authored almost 5 years ago
b4f59daa69a29b2ef1f9dae4160c4aa26898e4e4 authored almost 5 years ago
Fixes #473.
Earlier, whenever you qualified an Expectation with a cardinality, a new
Cardina...
The at_{least,most}_once methods simply delegate to at_least, and
at_least returns self. So, end...
Fixes #473. Earlier, whenever you qualified an Expectation with a
cardinality, a new Cardinality...
... in order to make a single Cardinality instance persist across
updates to expectation cardina...
The `if` statement is redundant, because the Mockery#check method
already returns early/does not...
This method was only being called from one place.
0532ada9d9b8246ad223c540626b46b16283deb4 authored almost 5 years ago365ce92f1da61be24457b08304602c0fdffc08e8 authored almost 5 years ago
Previously the message only ended in a newline if any state machines
were defined.
This asserts that the state is included in the error message when an
exception is not satisfied.
db61649a8536fe178a014c7fc19a07ddb5b333f5 authored almost 5 years ago
There's no need to do this for each expectation since the configuration
should not change in the...
Previously we were using a mixture of the instance variable and the
Mockery.instance method.
No...
b615a4d0a640b0cbf24924fe6469fa1d27c71d69 authored almost 5 years agoThe instances method already initializes it to empty if it's nil.
5412d0a53f351c1a1731bb63643aba4ec010602e authored almost 5 years ago
Ruby 2.7 got released some time ago. Linux distributions start to ship
it so I think it makes se...
Closes #454.
I believe this test was intended to refer to the exception [1] raised in
`Mockery#...
Closes #427.
Closes #425.
I'm not 100% convinced about making StatePredicate a superclass of
S...
4d70b7e80906ef30451e65628aae37ec1c754334 authored about 5 years ago
Although strictly speaking StateMachine#is is not really "overloaded",
I've used the YARD overlo...
cebed27b9bcef0dd1c90a9df5c81ae3ab047c43c authored about 5 years ago
6ba9020cb5733d4c70839a24ad8a6742f91c4a82 authored about 5 years ago
ca83014bedf05b80aea6e3ce44ae4caa54ce7ad0 authored about 5 years ago
We're about to change the State class to inherit from the StatePredicate
class and this will mak...
e09deddd9b69349f038f924641de9f7099c032f9 authored about 5 years ago
90b0e61fb9f9ebc79fee7d910f242e6551ae2e73 authored about 5 years ago