lib/targit/client.rb in targit-2.4.7 vs lib/targit/client.rb in targit-2.4.8
- old
+ new
@@ -1,8 +1,7 @@
require 'octokit'
require 'octoauth'
-require 'faraday/http'
module Targit
##
# Helper module to load a GitHub API client object
module Client
@@ -25,10 +24,9 @@
def middleware
@middleware ||= Faraday::RackBuilder.new do |builder|
builder.use Octokit::Response::RaiseError
builder.request :multipart
- builder.adapter :http
end
end
def octoauth_options
{