Skip to content

Conversation

osyo-manga
Copy link
Contributor

No description provided.

end
end

ruby_version_is "2.6" do
Copy link

@mikegee mikegee Dec 3, 2018

Choose a reason for hiding this comment

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

I have no idea how ruby_version_is works, but I think this test needs to apply to all future Rubies.

Suggested change
ruby_version_is "2.6" do
ruby_version_is "2.6"..."" do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for comment.
Probably it is judged with 2.6 or higher.

def match?
if Range === @version
@version.include? FULL_RUBY_VERSION
else
FULL_RUBY_VERSION >= @version
end
end

Copy link
Member

Choose a reason for hiding this comment

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

Right, ruby_version_is "2.6" is correct.
It's a bit confusing, I know.
I'm thinking to let "2.6"..."" work at least.

@k0kubun k0kubun changed the base branch from trunk to master August 15, 2019 17:26
@k0kubun
Copy link
Member

k0kubun commented Aug 17, 2019

It seems to have a conflict now. Could you rebase this from master?

@osyo-manga
Copy link
Contributor Author

Close because it was rejected.
https://bugs.ruby-lang.org/issues/15374
Thank you :)

@osyo-manga osyo-manga closed this Aug 17, 2019
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.

4 participants