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

Use Rails 7 cache_format_version

It's added to application.rb as per the comments in
new_framework_defaults_7_0.rb

github.com/freerange/site - 7bce028860676be232ed52bdbf7c1aa3899f25c4 authored about 2 years ago
Use Rails 7 cookies_serializer

We were already using the json serializer but I've removed the
initializer now that json is the ...

github.com/freerange/site - 19cdff67b0941413672bf2984df5e95d4877e7c7 authored about 2 years ago
Use Rails 7 default_headers

This changes the X-XSS-Protection header from "1; mode=block" to "0" to
disable potentially prob...

github.com/freerange/site - 692f8a28c108ab136af96fcfd6f3113515c8480d authored about 2 years ago
Use Rails 7 use_rfc4122_namespaced_uuids

This setting means that passing a non-UUID string to
`Digest::UUID.uuid_v3` or `Digest::UUID.uui...

github.com/freerange/site - d834052a8a38a81658d4562a58618256f76b5d55 authored about 2 years ago
Use Rails 7 wrap_parameters_by_default

This replaces the initializer.

github.com/freerange/site - 75297d05954666a825528888cfa85fa3385ac183 authored about 2 years ago
Use Rails 7 raise_on_open_redirects

Based on the comment I can't imagine why we wouldn't want to accept
this.

github.com/freerange/site - 2eff792620d6800afd5681e2d8cf8d4fe491d9c8 authored about 2 years ago
Use Rails 7 isolation_level

We're using Puma as our server (which doesn't use fibres as far as I'm
aware) and we don't have ...

github.com/freerange/site - c13af1675969009351c3e716135b0731486d5c07 authored about 2 years ago
Force all access to the production app to be over SSL

Reapplying this commit [1] after Rails upgrade.

This replicates the functionality that was in o...

github.com/freerange/site - 03829b6216feb8ed8a32b5407bf56864f62f3343 authored about 2 years ago
Set Cache-Control header for asset pipeline assets

Reapplying this commit [1] after Rails upgrade.

The RAILS_SERVE_STATIC_FILES env var is set in ...

github.com/freerange/site - 46520e6a16e87c32058367f10469af9234dd27b1 authored about 2 years ago
Require sprockets in application.rb

This partially reverts the changes in "Update Rails config".

We're still relying on sprockets t...

github.com/freerange/site - 987f0657c1fd8a825664eb9c82831f073693bdf5 authored about 2 years ago
Update Rails config

By running `rails app:update` and accepting all the changes.

I will reinstate some desirable be...

github.com/freerange/site - 05cc2543c00eea56536ed8f400619baf866441a4 authored about 2 years ago
Use Rails 7 remove_deprecated_time_with_zone_name

I can't quite work out what this is doing but it doesn't seem to affect
anything as far as I can...

github.com/freerange/site - a21ba5630aad20ae59ff719295572bc88b40fbfa authored about 2 years ago
Use Rails 7 executor_around_test_case

The tests still pass so I presume this is OK.

github.com/freerange/site - 7c264a3994ab51165c792f16df196a8469e5c16e authored about 2 years ago
Use Rails 7 hash_digest_class

The comment suggests that enabling this new default will cause ETags and
cache keys to change. I...

github.com/freerange/site - b00849adaf0f6ab56c080906ea77b5b84a967814 authored about 2 years ago
Move use of Rack::Deflater middleware into initializer

So that we can use `rails app:update` to regenerate
config/application.rb without worrying about...

github.com/freerange/site - 0cf799d5cbe7bbbcc3815a5630e7899b6045510c authored about 2 years ago
Use Date#to_fs

To fix deprecation warning:

DEPRECATION WARNING: Date#to_s(:full_ordinal) is deprecated. Please...

github.com/freerange/site - 8a66b225b4bc6e73850cd7763c3fb50565fab54c authored about 2 years ago
Upgrade to Rails 7

github.com/freerange/site - 574d7a15023ce6f38c7caa7268b03d2cb00dd69f authored about 2 years ago
Use Rails 7 key_generator_hash_digest_class

As far as I can tell we're not encrypting any data and so I don't think
we need to worry about n...

github.com/freerange/site - ed9072371334ffc95eba4eb7275b824fa91f913a authored about 2 years ago
Use Rails 7 apply_stylesheet_media_default

This no longer adds `media="screen"` attribute to stylesheet link tags.
When there's no media at...

github.com/freerange/site - ff0103a0494c7a7a635b39574f280a5f828067d3 authored about 2 years ago
Use Rails 7 button_to_generates_button_tag

We're only using `button_to` in the /lms-test page. I checked it
before/after toggling the new R...

github.com/freerange/site - af922d0c46cf406d6c119223dcd873dce1385a80 authored about 2 years ago
Upgrade app to CDK v2

I did this by generating a new app from scratch and copying over the
relevant files.

github.com/freerange/trello-backup - 2cbc3469fdd3da05a082a5a805e7f7b0a2f4f5c5 authored about 2 years ago
Update rclone to latest version v1.60.0

github.com/freerange/google-drive-backup - 503d14bcbfd0bed6c6adb08827a4687adf717e63 authored about 2 years ago
Upgrade app to CDK v2

I did this by generating a new app from scratch and copying over the
relevant files.

github.com/freerange/google-drive-backup - 2ded4b9c1d874d25ade9ad38b1e8189641ce83c5 authored about 2 years ago
Publish article re supporting open-source

github.com/freerange/site - f72c61186bc362ab2473507ddd324ece2921cf4c authored about 2 years ago
Add rel="me" to Mastodon account link to verify

github.com/freerange/site - 1cdc0553f57d1436aeaf478d824912a67bd02512 authored about 2 years ago
Add CTA to article re support for open-source

As suggested by @chrislo in #311.

github.com/freerange/site - b4757223b275875a9560f032c259b6e5644fd822 authored about 2 years ago
A few small changes to the draft

I think the draft looks really good @floehopper!

I've made a few small suggestions, mostly cutt...

github.com/freerange/site - 8abbb2b529e4b8a787469efa82fa38d126977bfd authored about 2 years ago
First draft of an article re our support for OSS

github.com/freerange/site - 31f6dd394d73cce8c3d7c4e6917a6623bf716eed authored about 2 years ago
[skip ci] Update documentation for v2.0.2.

github.com/freerange/mocha - f4a858d9ec3d44762abf22ca84f0af277a2a0651 authored about 2 years ago
Bump version to 2.0.2 & prepare for release

github.com/freerange/mocha - d4ac8f296e5727beae5fada6e1e2eaf01e65930e authored about 2 years ago
Fix regression in Mock#responds_like behaviour

The regression was inadvertently introduced in this commit [1] and
indirectly led to this issue ...

github.com/freerange/mocha - ba4d619ec6d6a27c9556a5708c14f2e86042792b authored about 2 years ago
[skip ci] Update documentation for v2.0.1.

github.com/freerange/mocha - 113b148c865ee45c9fd60a373f698039ba2631c3 authored about 2 years ago
Bump version to 2.0.1 & prepare for release

github.com/freerange/mocha - a6d6ac263f3a8ee138771f8ff825a485c88ebf8a authored about 2 years ago
ruby2_keywords is runtime dep not development dep

And so should be included as such in the gemspec; not in the Gemfile.

I've specified the '>= 0....

github.com/freerange/mocha - cdeb03562065525a09dda89b5c1592116a4cac0e authored about 2 years ago
Cross-post blog post re Mocha v2 release

github.com/freerange/site - 2b340a70c937f7b03a720812e21bdb00eb20446c authored about 2 years ago
[skip ci] Update documentation for v2.0.0.

github.com/freerange/mocha - c5cf3249d9706f3470cbfcfd76e97b4bae87a3d0 authored about 2 years ago
Bump version to 2.0.0 & prepare for release

Note that the release notes from the v2.0.0.alpha & v2.0.0.alpha.1
pre-releases have been combin...

github.com/freerange/mocha - fcd5450bd742c8c61cff38d7e97903a919863bb3 authored about 2 years ago
Add README section re semantic versioning

Closes #577.

github.com/freerange/mocha - 0075824697f5064d747ceb7d72ebb9d7d1e2dfca authored about 2 years ago
Improve docs for strict keyword argument matching

This addresses an ambiguity which was raised in this comment [1].

Since it's a bit subjective w...

github.com/freerange/mocha - 10996795279980d6844461ea1f42512239cc1567 authored about 2 years ago
[skip ci] Add v1.16.0 into release docs

While strictly speaking the commits relating to these changes [1,2]
didn't make it into v2 relea...

github.com/freerange/mocha - a5e07fcc1b184089d719e6d706146ce832745324 authored about 2 years ago
Bump aws-sdk-s3 from 1.117.0 to 1.117.1

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.117.0 to 1.117.1.
- [Release note...

github.com/freerange/site - 5f61e6ba8f6ccabd5142e904c92c0afe275a1860 authored about 2 years ago
Bump aws-sdk-s3 from 1.116.0 to 1.117.0

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.116.0 to 1.117.0.
- [Release note...

github.com/freerange/site - 1ab6bcba07a5cdb624c02bd25bf05f2fdd812e4f authored about 2 years ago
Bump aws-sdk-s3 from 1.115.0 to 1.116.0

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.115.0 to 1.116.0.
- [Release note...

github.com/freerange/site - cbc5da616435657f53fc58208b0a9952522f2049 authored about 2 years ago
Bump rollbar from 3.3.1 to 3.3.2

Bumps [rollbar](https://github.com/rollbar/rollbar-gem) from 3.3.1 to 3.3.2.
- [Release notes](h...

github.com/freerange/site - ccf7f35e17b26947b43f5e9012fe8543cd399a5f authored about 2 years ago
Use Ruby 3.0.4

As a step toward upgrading to Ruby 3.1 and Rails 7.

github.com/freerange/site - 16b9f14a6a9649eb3295c89145b08a8c7c5c8ea5 authored over 2 years ago
Bump aws-sdk-s3 from 1.114.0 to 1.115.0

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.114.0 to 1.115.0.
- [Release note...

github.com/freerange/site - e6bbbf77ef604f7dde29bad0bd1171be0dfa47c7 authored over 2 years ago
Bump rspec-rails from 6.0.0 to 6.0.1

Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 6.0.0 to 6.0.1.
- [Release notes]...

github.com/freerange/site - 041e4cd8c7dcb10fc6442ae6982cf648417d9e3e authored over 2 years ago
[skip ci] Update documentation for v2.0.0.alpha.1

github.com/freerange/mocha - e32e9e5f34db8611b3678b653b4b719eeefb9906 authored over 2 years ago
Bump version to 2.0.0.alpha.1 & prepare for release

github.com/freerange/mocha - 90e1157d6b2b2b252ea7489dde713d80e1014854 authored over 2 years ago
Improve keyword argument deprecation warning

By including the source location of the stub definition.

This change is a necessarily a bit per...

github.com/freerange/mocha - 77c0d4cc79fb5a8ad6f9f5059471f2a18509b435 authored over 2 years ago
Disable Style/Semicolon cop globally

This is useful when using `ExecutionPoint.current` to make tests more
robust.

github.com/freerange/mocha - 8cd0b705a42e9dea8995d85e4a2419430915094a authored over 2 years ago
[skip ci] Update documentation for v2.0.0.alpha

github.com/freerange/mocha - 9cd08be9628f3b7a95e2d52e84488b19775b4352 authored over 2 years ago
Bump version to 2.0.0.alpha & prepare for release

github.com/freerange/mocha - 31d6887b4ad58ea7dd786f91e10f3a2c74edeb1c authored over 2 years ago
Remove deprecated Rails plugin file

github.com/freerange/mocha - 1c617175018c9f8b00fd14eeb4395b325a674361 authored over 2 years ago
Improve docs for strict_keyword_argument_matching

* Make them more consistent with the docs for Expectation#with.
* Mention & explain deprecation ...

github.com/freerange/mocha - 8d8f881d98a0f53fec12cd1a27be2260f8e086de authored over 2 years ago
Expand Expectation#with docs re keyword arguments

github.com/freerange/mocha - fed6808da2d02354a091fe25b9811dad09e785af authored over 2 years ago
Improve docs re using matchers in Expectation#with

github.com/freerange/mocha - da7237cd7ee63e14216065a632e43aa24fbf83e4 authored over 2 years ago
Bump aws-sdk-s3 from 1.103.0 to 1.114.0

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.103.0 to 1.114.0.
- [Release note...

github.com/freerange/site - 5d21518c98dc9ad28e8e6e952e9ce0507273da01 authored over 2 years ago
Bump puma from 5.6.5 to 6.0.0

Bumps [puma](https://github.com/puma/puma) from 5.6.5 to 6.0.0.
- [Release notes](https://github...

github.com/freerange/site - 0613dfe26fd1bd2609e9f97c668e24619676b30b authored over 2 years ago
Fail fast when mock receives invocations in another test

This converts the deprecation warning introduced in
d66c2b501685fe827a2c5e2236475e78d8082c11 int...

github.com/freerange/mocha - cb054d59038429caf74d123cfaae77b28c957d67 authored over 2 years ago
Remove another redundant require statement

github.com/freerange/mocha - fa17b1148b6c160f92f40a5ede7e553fb1c864f2 authored over 2 years ago
Add missing require statement

github.com/freerange/mocha - 73493761ad9eb495355c5e6a0c7e027cce343252 authored over 2 years ago
Remove redundant require statements

github.com/freerange/mocha - d82218a826587c94d58edb450689fdf0aa010748 authored over 2 years ago
Remove deprecated methods in Configuration

The following methods were deprecated in #421 and released in v1.10.0:

* Configuration.allow
* ...

github.com/freerange/mocha - e7ff7528bf0d7ddc78890a6a05bd87d928fac90f authored over 2 years ago
Remove optional reinstatement of v1.9 behaviour

In Mocha v1.10.0 some undocumented behaviour changed without any prior
deprecation warning.

* T...

github.com/freerange/mocha - 1473ee25ff77a2bf218df6c11a68d62af61da2d0 authored over 2 years ago
Remove optional deprecated behaviour in API methods

This removes the optional deprecated behaviour in API#mock, API#stub &
API#stub_everything which...

github.com/freerange/mocha - b16524856f956b8c4c8206db781f17db0a21a998 authored over 2 years ago
Remove config option to reinstate deprecated behaviour

This removes Configuration#reinstate_undocumented_behaviour_from_v1_9
and its setter. The behavi...

github.com/freerange/mocha - 1ed6dc722346eccbdc72756b1ece31dd9a2db11f authored over 2 years ago
Remove optional deprecated behaviour in Expectation

This removes the optional deprecated behaviour in Expectation#yields &
Expectation#multiple_yiel...

github.com/freerange/mocha - 86434dd1f45ffce36e5ed46eb5924f5c2543970f authored over 2 years ago
Remove redundant deprecation disabling in MockTest

I'm not sure these calls to DeprecationDisabler.disable_deprecations
were ever necessary. Curren...

github.com/freerange/mocha - 091fa623685e3fbb9d48643735aa2861b2d2b546 authored over 2 years ago
Add missing doc for API#stub parameter

This was missed in 472d54161fab9bbd093a8b8c6928a423cbad9897.

github.com/freerange/mocha - 257b4cb4abb38a9e5b0730125b2ed4afb412f0c0 authored over 2 years ago
Remove deprecated mocha/setup.rb mechanism

Previously this was the recommended way to integrate Mocha with a test
framework. However, this ...

github.com/freerange/mocha - 642a0ff4f3806ae0a625c50c14a6a39702735e51 authored over 2 years ago
Fail fast if test-unit/minitest integration fails

If someone is explicitly requiring "mocha/test_unit" or "mocha/minitest"
then the implication is...

github.com/freerange/mocha - f8215a166160a388ee4546914161542e3741d8a3 authored over 2 years ago
Drop support for older versions of minitest

Versions of minitest earlier than v3.3.0 are no longer supported.

Closes #541.

github.com/freerange/mocha - ca69dc9e13c538625df60ecb0a37c7da89340291 authored over 2 years ago
More consistent Test::Unit & Minitest integration

Use the value returned by Detection::TestUnit.testcase as the target of
the TestUnit::Adapter mo...

github.com/freerange/mocha - 27dd3817ce1152ab1d93eed680e12b55c2f09fab authored over 2 years ago
Drop support for older versions of test-unit

Gem versions of test-unit earlier than v2.5.1 and versions of test-unit
from the Ruby v1.8 stand...

github.com/freerange/mocha - 969f48459eb6ebb2e059da3d8a5198bba677b0fc authored over 2 years ago
Deprecate hash args that don't strictly match

This will generate a deprecation warning if Ruby >= v2.7,
Configuration#strict_keyword_argument_...

github.com/freerange/mocha - 981c31be090a4676822527e525e8f45ac2fbaf5f authored over 2 years ago
Indicate that we're available to take on projects

github.com/freerange/site - e78f10c3909f8d0b4f122142e4a156743db8dafb authored over 2 years ago
Lock nix config so ruby_2_7 = ruby v2.7.6

Start dev env using `flake develop`.

github.com/freerange/site - 8eeb9ac8eb7c6dd463cd0e83e331bfb03b125ab9 authored over 2 years ago
Update gemset.nix to match latest Gemfile

github.com/freerange/site - b87192174de20089eab5de329e3a8d9ae2901bfb authored over 2 years ago
Upgrade Ruby from v2.7.4 -> v2.7.6

In order to be supported by the Heroku-20 stack.

Note that I haven't checked the Vagrantfile ch...

github.com/freerange/site - e572220245e46b8852b24136e0153b1ad44d9bf4 authored over 2 years ago
Improve test coverage of PositionalOrKeywordHash

When strict_keyword_argument_matching configuration option is not set.

github.com/freerange/mocha - c294fe707b79d256dd1880baa141f9ea9471bd01 authored over 2 years ago
Delete public-keys.snip.html

These are out-of-date and our public keys are available
from our GitHub profiles.

github.com/freerange/site - 1fb6a07e13f4078956f058a5743233ee8443a4b3 authored over 2 years ago
Support strict keyword argument matching

Closes #562.

This introduces a new `strict_keyword_argument_matching` configuration
option. Thi...

github.com/freerange/mocha - 2e72eb5b23f55142f4eab182817adbf8aaaa35b1 authored over 2 years ago
Always wrap Hash inspection in braces

Previously in the description of an invocation or of a parameter
matcher, a single Hash argument...

github.com/freerange/mocha - e6c8c27ae79970f15c4c298e0cb8d2e7d07ee13a authored over 2 years ago
Implement optional strict keyword arg matching

When the strict keyword argument option is enabled, an expectation
expecting keyword arguments (...

github.com/freerange/mocha - 336ab3bd860cc7583cc8eec9ea57e465c39b8ebf authored over 2 years ago
Improve inspection of positional & keyword Hashes

With the introduction of strict keyword matching, we're explicitly
distinguishing between positi...

github.com/freerange/mocha - ef0fa0c9894f31faae260d4656796a2940bb09e5 authored over 2 years ago
Mark methods passing keyword args via args splat

This marks Expectation#with, Mock#method_missing, and the method defined
by StubbedMethod#define...

github.com/freerange/mocha - 636d4633d2f91a02450f653deb4241d7712a0532 authored over 2 years ago
Add strict keyword arg matching config option

This option doesn't currently do anything, but in a subsequent commit it
will determine whether ...

github.com/freerange/mocha - 7d534d0c0eb4fc0685639c834109b7e18cd37ba2 authored over 2 years ago
Add tests to characterize inspection of Hashes

We're planning to change how this works once we're explicitly
distinguishing between keyword and...

github.com/freerange/mocha - a3defd5229e47f3c27554c3b061e38b5aafcd8f3 authored over 2 years ago
Add acceptance tests for keyword arg matching

This is to better characterize the existing behaviour. It should also
make it clearer what chang...

github.com/freerange/mocha - 6f9e43d2091620ce04e2da456c7b727994485e19 authored over 2 years ago
Improve test runner assertions - failure vs error

Make more of a distinction between test failures and errors. Explicitly
assert for what we are e...

github.com/freerange/mocha - eec7200a2cc5fc11a525d0e5156674c7680d36ff authored over 2 years ago
Bump rspec-rails from 5.1.2 to 6.0.0

Bumps [rspec-rails](https://github.com/rspec/rspec-rails) from 5.1.2 to 6.0.0.
- [Release notes]...

github.com/freerange/site - 7c4f3a546ed1626310f50eeda9babc20e6d1b7d4 authored over 2 years ago
Add Vagrantfile

So that I can work on the project in a VM.

github.com/freerange/site - a86cc2701b76285f793502db98d0d6bcf610bd37 authored over 2 years ago
Update Coops UK logo

With the latest version from https://www.uk.coop/resources/member-co-operatives-uk-logo?check_lo...

github.com/freerange/site - 0bbd6d559494827b58e96b23a7732a2868038488 authored over 2 years ago
Remove unused arg for HashMethods#mocha_inspect

This was introduced in this commit [1] apparently as a precursor to the
addition of ParameterMat...

github.com/freerange/mocha - 4f59e27f06dad87d86163ad680db91b0accf0984 authored over 2 years ago
Bump tinify from 1.5.1 to 1.6.0

Bumps [tinify](https://github.com/tinify/tinify-ruby) from 1.5.1 to 1.6.0.
- [Release notes](htt...

github.com/freerange/site - 19b1b21de233d21eb7d19ede95c3c09f8bb25db6 authored over 2 years ago
Multi-line rubocop disable in Mock#method_missing

I think this makes the code more readable.

github.com/freerange/mocha - af2194c4f4465200fd07fd078f2dbefd9f712360 authored over 2 years ago
Bump rails from 6.1.6.1 to 6.1.7

Bumps [rails](https://github.com/rails/rails) from 6.1.6.1 to 6.1.7.
- [Release notes](https://g...

github.com/freerange/site - b32e3c724b6730e18f0f195b4d122b02e3ffa205 authored over 2 years ago
Remove support for Ruby v1.9

Closes #552.

github.com/freerange/mocha - 26c4ae1ecd1057751685a5474932d05701a2c294 authored over 2 years ago