Rubocop: Style/SpaceInsideHashLiteralBraces

This commit is contained in:
Pat Hawks 2016-01-04 12:07:34 -08:00
parent 04e635b10c
commit c1c8b6dbf7
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ module Jekyll
"slug" => slug,
"ext" => ext
})
merge_data!({"date" => date}) if data['date'].nil? || data['date'].to_i == site.time.to_i
merge_data!({ "date" => date }) if data['date'].nil? || data['date'].to_i == site.time.to_i
data['title'] ||= slug.split('-').select(&:capitalize).join(' ')
end
populate_categories

View File

@ -194,7 +194,7 @@ module Jekyll
input.group_by do |item|
item_property(item, property).to_s
end.inject([]) do |memo, i|
memo << {"name" => i.first, "items" => i.last}
memo << { "name" => i.first, "items" => i.last }
end
else
input