Skip to content

Commit 71c949b

Browse files
authored
Dropped Reek. (#24)
Signed-off-by: Hermann Mayer <[email protected]>
1 parent a06cd63 commit 71c949b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### next
22

3-
* TODO: Replace this bullet point with an actual description of a change.
3+
* Dropped Reek (#24)
44

55
### 3.0.0 (28 June 2025)
66

lib/grape/jwt/authentication/jwt_handler.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ def inject_token_into_env(env, token)
102102
# interface.
103103
#
104104
# @param env [Hash{String => Mixed}] the Rack environment
105-
# because thats the auth handling core
106-
# :reek:TooManyStatements because reek counts exception
107105
def call(env)
108106
# Unfortunately Grape's middleware stack orders the error
109107
# handling higher than the formatter. So when a error is

spec/grape/jwt/grape_usage_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class API < Grape::API
4242
end
4343

4444
include Grape::Jwt::Authentication
45+
4546
auth :jwt
4647
end
4748
end
@@ -73,6 +74,7 @@ class API < Grape::API
7374
end
7475

7576
include Grape::Jwt::Authentication
77+
7678
auth :jwt, malformed: $custom_malformed_auth_handler,
7779
failed: $custom_failed_auth_handler,
7880
&$custom_authenticator

0 commit comments

Comments
 (0)