Hugo Hache

Results 6 issues of Hugo Hache

While debugging an intermittent unlog issue on a mobile app consuming a Rails app powered by devise_token_oauth, we found occurrences of 304 returned to the client whereas the token was...

confirmed

Following my [PR introducing a cop for numbered parameters](https://github.com/rubocop/rubocop/pull/10100), @koic [suggested](https://github.com/rubocop/rubocop/pull/10100#issuecomment-923011088) that choosing the default style required a discussion in the style guide. As a basis, here is what we...

When receiving a 304, the library tries to request the URL of the Location header https://github.com/myfreeweb/httpotion/blob/9172d089cd1d47cdd772d97db750882cc741055f/lib/httpotion.ex#L200-L202 https://github.com/myfreeweb/httpotion/blob/9172d089cd1d47cdd772d97db750882cc741055f/lib/httpotion.ex#L243-L247 As the Location header is not set on a [HTTP 304](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304), `normalize_location` crashes...

Existing injection mechanism allows today to inject operations. I'd like to know what you think about injecting instances. I know dry-transaction brings a lot of greatness from the functional programming...

Started by Gilles Thia. The following things are still missing: * TODO

### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" gem "rails" # If you want to test against edge Rails replace the previous line with...