Actions
Patch #39070
closedAllow using the latest version of mocha even when using Ruby < 2.7
Description
In #37883, we updated the Gemfile to restrict the version of mocha to avoid the following error that occurs when using mocha 2.0.0 with Ruby < 2.7.
cannot load such file -- ruby2_keywords (LoadError)
But we can now remove the restriction because the above problem was fixed in mocha 2.0.1 (see https://github.com/freerange/mocha/blob/v2.0.1/RELEASE.md#external-changes).
Patches are attached.
Files
Related issues
Updated by Go MAEDA over 1 year ago
- Related to Patch #37883: Limit mocha version to < 2.0.0 when Ruby version is < 2.7 to avoid test error added
Updated by Go MAEDA over 1 year ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patches.
Updated by Go MAEDA over 1 year ago
- Subject changed from Don't limit the version of mocha when using Ruby < 2.7 to Allows using the latest version of mocha even when using Ruby < 2.7
Updated by Go MAEDA over 1 year ago
- Subject changed from Allows using the latest version of mocha even when using Ruby < 2.7 to Allow using the latest version of mocha even when using Ruby < 2.7
Actions