lib/hanami/assets/helpers.rb in hanami-assets-1.2.0.rc1 vs lib/hanami/assets/helpers.rb in hanami-assets-1.2.0.rc2
- old
+ new
@@ -9,11 +9,14 @@
# Include this helper in a view
#
# @since 0.1.0
#
# @see http://www.rubydoc.info/gems/hanami-helpers/Hanami/Helpers/HtmlHelper
- module Helpers # rubocop:disable Metrics/ModuleLength
+ #
+ # rubocop:disable Metrics/ModuleLength
+ # rubocop:disable Naming/UncommunicativeMethodParamName
+ module Helpers
# @since 0.1.0
# @api private
NEW_LINE_SEPARATOR = "\n".freeze
# @since 0.1.0
@@ -925,7 +928,9 @@
# @api private
def _append_extension?(source, ext)
source !~ QUERY_STRING_MATCHER && source !~ /#{Regexp.escape(ext)}\z/
end
end
+ # rubocop:enable Naming/UncommunicativeMethodParamName
+ # rubocop:enable Metrics/ModuleLength
end
end