Skip to content

Add Ruby >= 3.2 support#2

Open
dxg wants to merge 1 commit into
johncarney:masterfrom
locomote:support-ruby-3.2
Open

Add Ruby >= 3.2 support#2
dxg wants to merge 1 commit into
johncarney:masterfrom
locomote:support-ruby-3.2

Conversation

@dxg

@dxg dxg commented Aug 25, 2025

Copy link
Copy Markdown

Ruby 3.2 removed Refinements#include - see https://bugs.ruby-lang.org/issues/17429

@dxg dxg left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

notes

Comment on lines +23 to +25
def quote(**options)
double_quote(**options)
end

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

import_methods doesn't support aliases.

Ruby 3.2 removed Refinements#include - see https://bugs.ruby-lang.org/issues/17429
@dxg dxg force-pushed the support-ruby-3.2 branch from 0f1b815 to 718bdb1 Compare August 25, 2025 13:30
Comment thread embrace.gemspec
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.1.0"
spec.required_ruby_version = ">= 3.1.0"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

import_methods was added in Ruby 3.1

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.

1 participant