waiting-for-dev / warden-jwt_auth

JWT token authentication with warden
MIT License
113 stars 56 forks source link

Setting nil PATH_INFO env variable to empty string #10

Closed mikefogg closed 6 years ago

mikefogg commented 6 years ago

Fixing issue referenced in https://github.com/waiting-for-dev/warden-jwt_auth/pull/8.

Request specs don't pass through a PATH_INFO environment variable which is causing an issue when attempting to call match on nil.

mikefogg commented 6 years ago

@waiting-for-dev tried to figure it out, but I've never used Reek before. Any idea what's causing that failure? Seems like a pretty crappy error log :)

waiting-for-dev commented 6 years ago

Thanks for your work @mikefogg ! I have fixed reek issues myfelf. It is released in 0.2.1.