Lock nokogiri to 1.7.x for Ruby 2.1 (#6140)

Merge pull request 6140
This commit is contained in:
Parker Moore 2017-06-18 13:20:09 -04:00 committed by jekyllbot
parent 0d96ac4700
commit 01dd356564
2 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,8 @@ group :test do
gem "cucumber", "~> 2.1"
gem "jekyll_test_plugin"
gem "jekyll_test_plugin_malicious"
gem "nokogiri"
# nokogiri v1.8 does not work with ruby 2.1 and below
gem "nokogiri", RUBY_VERSION >= "2.2" ? "~> 1.7" : "~> 1.7.0"
gem "rspec"
gem "rspec-mocks"
gem "rubocop", "~> 0.49.1"

View File

@ -20,8 +20,6 @@ environment:
TEST_SUITE: "test"
- RUBY_FOLDER_VER: "23"
TEST_SUITE: "cucumber"
- RUBY_FOLDER_VER: "23"
TEST_SUITE: "fmt"
- RUBY_FOLDER_VER: "23"
TEST_SUITE: "default-site"
- RUBY_FOLDER_VER: "23-x64"