lib/hanami/routing/http_router.rb in hanami-router-1.2.0 vs lib/hanami/routing/http_router.rb in hanami-router-1.3.0.beta1

- old
+ new

@@ -65,9 +65,13 @@ # @see Hanami::Router#initialize # # @since 0.1.0 # @api private def initialize(options = {}, &blk) + if options[:parsers] + depecration_message = 'Hanami::Router options[:parsers] is deprecated and it will be removed in future versions' + Hanami::Utils::Deprecation.new(depecration_message) + end @compiled = false @uri_parser = URI::Parser.new super(options, &nil) @namespace = options[:namespace] if options[:namespace]