Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Address deprecation warn.
Browse files Browse the repository at this point in the history
Address the following message:

```
WARNING: Unexpected middleware set after the adapter. This won't be supported from Faraday 1.0.
```

Introduced by lostisland/faraday#685
  • Loading branch information
cabello committed May 27, 2019
1 parent 4c4dd58 commit 908af4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rollbar-api/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def execute

def connection
Faraday.new(url: "https://api.rollbar.com") do |faraday|
faraday.use Faraday::Response::RaiseError
faraday.response :logger, RollbarApi.logger, bodies: false
faraday.adapter Faraday.default_adapter
faraday.use Faraday::Response::RaiseError
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/rollbar-api/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RollbarApi
VERSION = "0.3.0"
VERSION = "0.4.0"
end

0 comments on commit 908af4f

Please sign in to comment.