1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-12 06:28:53 +01:00

rubocop ruby 3 things

This commit is contained in:
Mike Linksvayer 2024-08-30 19:07:34 +00:00 committed by GitHub
parent fd5a9ec7fb
commit 8c856288c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ rows << :separator
eligible = !current && spdx && approved_licenses.include?(license)
rows << ['Eligible', eligible]
puts Terminal::Table.new title: "License: #{license}", rows: rows
puts Terminal::Table.new title: "License: #{license}", rows:
puts
puts "Code search: https://github.com/search?q=#{license}+filename%3ALICENSE&type=Code"

View File

@ -27,7 +27,7 @@ end
def config
SpecHelper.config ||= begin
config = Jekyll::Configuration.new.read_config_file config_file
config = Jekyll::Utils.deep_merge_hashes(config, source: source)
config = Jekyll::Utils.deep_merge_hashes(config, source:)
Jekyll::Utils.deep_merge_hashes(Jekyll::Configuration::DEFAULTS, config)
end
end