lib/rack/bearer_auth/middleware.rb in rack-bearer_auth-0.1.1 vs lib/rack/bearer_auth/middleware.rb in rack-bearer_auth-1.0.0
- old
+ new
@@ -30,10 +30,10 @@
@match_patterns << MatchPattern.new(path, via, token)
end
private
- def handle(req)
+ def handle(req) # rubocop:disable Metrics/MethodLength
@match_patterns.each do |pattern|
case pattern.match(req)
when :skip
next
when :ok