Fix Performance/StringIdentifierArgument violation in site.rb and allow activesupport 6 for windows tests (#9512)
Merge pull request 9512
This commit is contained in:
parent
b2e99a0e12
commit
901256a42c
2
Gemfile
2
Gemfile
|
@ -15,7 +15,7 @@ end
|
||||||
#
|
#
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem "activesupport", "~> 7.0.0"
|
gem "activesupport", "< 7.1.0"
|
||||||
gem "cucumber", RUBY_VERSION >= "2.5" ? "~> 5.1.2" : "~> 4.1"
|
gem "cucumber", RUBY_VERSION >= "2.5" ? "~> 5.1.2" : "~> 4.1"
|
||||||
gem "httpclient"
|
gem "httpclient"
|
||||||
gem "jekyll_test_plugin"
|
gem "jekyll_test_plugin"
|
||||||
|
|
|
@ -49,7 +49,7 @@ module Jekyll
|
||||||
|
|
||||||
%w(safe lsi highlighter baseurl exclude include future unpublished
|
%w(safe lsi highlighter baseurl exclude include future unpublished
|
||||||
show_drafts limit_posts keep_files).each do |opt|
|
show_drafts limit_posts keep_files).each do |opt|
|
||||||
send("#{opt}=", config[opt])
|
send(:"#{opt}=", config[opt])
|
||||||
end
|
end
|
||||||
|
|
||||||
# keep using `gems` to avoid breaking change
|
# keep using `gems` to avoid breaking change
|
||||||
|
|
Loading…
Reference in New Issue