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
Test against Ruby 2.4.0 #5687
Test against Ruby 2.4.0 #5687
Changes from 2 commits
2133397
e463813
a1d98be
3da459e
48a94c4
6123175
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,13 @@ gemspec :name => "jekyll" | |
|
||
gem "rake", "~> 12.0" | ||
|
||
if RUBY_VERSION >= '2.4' | ||
gem "json", "~> 2.0" | ||
gem "pygments.rb", "~> 1.1" | ||
else | ||
gem "pygments.rb", "~> 0.6.0" unless RUBY_ENGINE == "jruby" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use pygments.rb v1 with Ruby 2.1,2,3,4 instead of using 2 versions? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can.. but I wasn't sure if the change would affect Jekyll internally in any way.. From the logs, it looks like we just need to change our assertions to match the new pygments syntax. But I don't want to undertake that task. So, you're free to close this PR or assign someone to directly modify this branch. |
||
end | ||
|
||
# Dependency of jekyll-mentions. RubyGems in Ruby 2.1 doesn't shield us from this. | ||
gem "activesupport", "~> 4.2", :groups => [:test_legacy, :site] if RUBY_VERSION < "2.2.2" | ||
|
||
|
@@ -75,7 +82,6 @@ group :jekyll_optional_dependencies do | |
platform :ruby, :mswin, :mingw, :x64_mingw do | ||
gem "classifier-reborn", "~> 2.0" | ||
gem "liquid-c", "~> 3.0" | ||
gem "pygments.rb", "~> 0.6.0" | ||
gem "rdiscount", "~> 2.0" | ||
gem "redcarpet", "~> 3.2", ">= 3.2.3" | ||
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.
How about bumping previous versions? Current versions are 2.3.3, 2.2.6, and 2.1.10. https://www.ruby-lang.org/en/downloads/
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.
that's for a separate PR. This PR is only about Ruby 2.4.
You're welcome to create a PR to bump the rvm versions we currently test against.
😃