Skip to content

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

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

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.

@koic
Copy link
Member

koic commented Mar 4, 2026

Support for Ruby 2.6 itself is not opposed, but in that case the dependent gems would also need to support Ruby 2.6. Since the activity around this is unclear, this issue will be closed.

If this is resumed after json-schema adds support Ruby 2.6, please reopen it.

@koic koic closed this Mar 4, 2026
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