Project

General

Profile

Actions

Patch #39070

closed

Allow using the latest version of mocha even when using Ruby < 2.7

Added by Go MAEDA over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

mocha-version-trunk.diff (391 Bytes) mocha-version-trunk.diff Go MAEDA, 2023-09-18 10:43
mocha-version-5_0.diff (466 Bytes) mocha-version-5_0.diff Go MAEDA, 2023-09-18 10:43
mocha-version-4_2.diff (466 Bytes) mocha-version-4_2.diff Go MAEDA, 2023-09-18 10:43

Related issues

Related to Redmine - Patch #37883: Limit mocha version to < 2.0.0 when Ruby version is < 2.7 to avoid test errorClosedGo MAEDA

Actions
Actions #1

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
Actions #2

Updated by Go MAEDA over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patches.

Actions #3

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
Actions #4

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

Also available in: Atom PDF