-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump nokogiri to 1.11.0 #183
base: master
Are you sure you want to change the base?
Conversation
0694a18
to
594236d
Compare
if RUBY_VERSION.start_with?("2.3") then | ||
gem "nokogiri", "~> 1.10.4", :require => false | ||
gem "nokogiri", "~> 1.10.4", :require => false | ||
else | ||
gem "nokogiri", "~> 1.11.0.rc2", :require => false | ||
gem "nokogiri", "~> 1.11.0", :require => false | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tancnle nokogiri
dropped Ruby 2.4 support at 1.1.0.rc4
. So you need to enforce 1.11.0
on 2.4 somehow, or you need to put a branch for 2.4
between if
and else
:
elif RUBY_VERSION.start_with("2.4") then
gem "nokogiri", "~> 1.11.0.rc2", :require => false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onlined Excellent point 👍. That was an oversight on my part. Adding an additional branch to handle 2.4
is definitely doable. However, given the Ruby 2.4 support drop, I don't think this PR is adding much value (i.e. users can still lock the preferred nokogiri
version given their Ruby version constraint).
If there is any plan to drop support for 2.4
altogether as it is EOL'ed and soon 2.5
(https://www.ruby-lang.org/en/downloads/), we can remove these conditionals and cut a major version bump of this gem. IMHO, that would be a more preferable approach.
594236d
to
595fbab
Compare
Bump
nokogiri
gem to1.11.0
Release note:
https://github.com/sparklemotion/nokogiri/blob/007662fc216902a5ae186cb78b0d46f7f48b8d92/CHANGELOG.md#v1110--2021-01-03