Rubocop: Style/TrailingComma
This commit is contained in:
parent
4c5d77a4b5
commit
13c980c896
|
@ -6,7 +6,7 @@ module Jekyll
|
||||||
PRIORITY_MAP = {
|
PRIORITY_MAP = {
|
||||||
:low => 10,
|
:low => 10,
|
||||||
:normal => 20,
|
:normal => 20,
|
||||||
:high => 30,
|
:high => 30
|
||||||
}.freeze
|
}.freeze
|
||||||
|
|
||||||
# initial empty hooks
|
# initial empty hooks
|
||||||
|
@ -16,26 +16,26 @@ module Jekyll
|
||||||
:post_read => [],
|
:post_read => [],
|
||||||
:pre_render => [],
|
:pre_render => [],
|
||||||
:post_render => [],
|
:post_render => [],
|
||||||
:post_write => [],
|
:post_write => []
|
||||||
},
|
},
|
||||||
:pages => {
|
:pages => {
|
||||||
:post_init => [],
|
:post_init => [],
|
||||||
:pre_render => [],
|
:pre_render => [],
|
||||||
:post_render => [],
|
:post_render => [],
|
||||||
:post_write => [],
|
:post_write => []
|
||||||
},
|
},
|
||||||
:posts => {
|
:posts => {
|
||||||
:post_init => [],
|
:post_init => [],
|
||||||
:pre_render => [],
|
:pre_render => [],
|
||||||
:post_render => [],
|
:post_render => [],
|
||||||
:post_write => [],
|
:post_write => []
|
||||||
},
|
},
|
||||||
:documents => {
|
:documents => {
|
||||||
:post_init => [],
|
:post_init => [],
|
||||||
:pre_render => [],
|
:pre_render => [],
|
||||||
:post_render => [],
|
:post_render => [],
|
||||||
:post_write => [],
|
:post_write => []
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# map of all hooks and their priorities
|
# map of all hooks and their priorities
|
||||||
|
@ -63,7 +63,7 @@ module Jekyll
|
||||||
:post_init => [],
|
:post_init => [],
|
||||||
:pre_render => [],
|
:pre_render => [],
|
||||||
:post_render => [],
|
:post_render => [],
|
||||||
:post_write => [],
|
:post_write => []
|
||||||
}
|
}
|
||||||
|
|
||||||
unless @registry[owner][event]
|
unless @registry[owner][event]
|
||||||
|
|
|
@ -109,7 +109,7 @@ module Jekyll
|
||||||
@collection.relative_directory.size..relative_path.size],
|
@collection.relative_directory.size..relative_path.size],
|
||||||
:output_ext => '',
|
:output_ext => '',
|
||||||
:name => '',
|
:name => '',
|
||||||
:title => '',
|
:title => ''
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ module Jekyll
|
||||||
else
|
else
|
||||||
::Jekyll::URL.new({
|
::Jekyll::URL.new({
|
||||||
:template => @collection.url_template,
|
:template => @collection.url_template,
|
||||||
:placeholders => placeholders,
|
:placeholders => placeholders
|
||||||
})
|
})
|
||||||
end.to_s.gsub(/\/$/, '')
|
end.to_s.gsub(/\/$/, '')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue