lib/roda.rb in roda-3.46.0 vs lib/roda.rb in roda-3.47.0
- old
+ new
@@ -211,10 +211,10 @@
if @middleware.empty? && use_new_dispatch_api?
plugin :direct_call
end
- if ([:on, :is, :_verb, :_match_class_String, :_match_class_Integer, :_match_string, :_match_regexp, :empty_path?]).all?{|m| self::RodaRequest.instance_method(m).owner == RequestMethods}
+ if ([:on, :is, :_verb, :_match_class_String, :_match_class_Integer, :_match_string, :_match_regexp, :empty_path?, :if_match, :match, :_match_class]).all?{|m| self::RodaRequest.instance_method(m).owner == RequestMethods}
plugin :_optimized_matching
end
end
build_rack_app