Commit 756b506
committed
add faraday middleware gem
chef-licensing was failing with a `'lookup_middleware': :json is not registered on Faraday::Request` error that was coming from the get connection method in rest client. faraday_middleware gems seems to be the one responsible to provide this json middleware https://github.com/lostisland/faraday_middleware/wiki/Changes-0.8. pinning faraday_middleware to ~>1.0.
Signed-off-by: Rishi Kumar Chawda <rishichawda@users.noreply.github.com>1 parent e98a83f commit 756b506
File tree
2 files changed
+2
-0
lines changed- components/ruby
- lib/chef-licensing/restful_client
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments