Skip to content

Comments

update base ruby logic and settings for supporting ruby 2.6#238

Open
shutkovMaksim wants to merge 2 commits intomodelcontextprotocol:mainfrom
shutkovMaksim:support-ruby-2-6
Open

update base ruby logic and settings for supporting ruby 2.6#238
shutkovMaksim wants to merge 2 commits intomodelcontextprotocol:mainfrom
shutkovMaksim:support-ruby-2-6

Conversation

@shutkovMaksim
Copy link

Update code to support ruby 2.6

@koic
Copy link
Member

koic commented Feb 24, 2026

Why is this support needed?

spec.require_paths = ["lib"]

spec.add_dependency("json-schema", ">= 4.1")
spec.add_dependency("json-schema", ">= 4.1", "< 6.0")
Copy link
Member

Choose a reason for hiding this comment

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

This would create an undesirable restriction for users on newer Ruby versions, preventing them from using bugfix releases and other updates. Instead of restricting the version, please consider proposing changes to support it on the dependent gem side. voxpupuli/json-schema#561 may be helpful as a reference.

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.

3 participants