Skip to content

Pin mocha, update minitest#62

Merged
adamlazik1 merged 1 commit intotheforeman:masterfrom
ofedoren:pin-mocha
Feb 11, 2026
Merged

Pin mocha, update minitest#62
adamlazik1 merged 1 commit intotheforeman:masterfrom
ofedoren:pin-mocha

Conversation

@ofedoren
Copy link
Member

No description provided.

gem 'minitest', '~> 5.18'
gem 'minitest-spec-context'
gem 'mocha'
gem 'mocha', "~> 2.1.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason it needs to be 2.1.x or can it be < 3?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more about being consistent with hammer-cli-foreman, which has the same pin since theforeman/hammer-cli-foreman#618

And since it was 3 years ago I have no idea why I've pinned it like that. It might be that I didn't have much time then to dig through mocha and fix breaking changes for every update.

Copy link
Contributor

@adamruzicka adamruzicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is in line with what was done in other plugins

Copy link

@adamlazik1 adamlazik1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adamlazik1 adamlazik1 merged commit 0b8fa3e into theforeman:master Feb 11, 2026
11 checks passed
@adamlazik1
Copy link

Thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants