Skip to content

Commit 0461c1f

Browse files
committed
Merge pull request #32 from joeworkman/master
Fixed deprecation warning with Faraday
2 parents 3a55570 + 67ae207 commit 0461c1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bitbucket_rest_api/connection.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ def caching?
7575
def stack(options={}, &block)
7676
@stack ||= begin
7777
if block_given?
78-
Faraday::Builder.new(&block)
78+
Faraday::RackBuilder.new(&block)
7979
else
80-
Faraday::Builder.new(&default_middleware(options))
80+
Faraday::RackBuilder.new(&default_middleware(options))
8181
end
8282
end
8383
end

0 commit comments

Comments
 (0)