mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 12:20:10 +01:00
rubocop ruby 3 things
This commit is contained in:
parent
fd5a9ec7fb
commit
8c856288c1
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user