lib/githu3/connection.rb in githu3-0.0.7 vs lib/githu3/connection.rb in githu3-0.0.8

- old
+ new

@@ -10,10 +10,10 @@ def initialize opts={} @conn = Faraday.new({ :url => Githu3::Client::BaseUrl }) @conn.adapter opts[:adapter] if opts[:adapter] - @conn.use Faraday::Response::ParseJson + @conn.use FaradayMiddleware::ParseJson @conn.use Faraday::Response::RaiseGithu3Error if opts[:cache] cache_klass = Githu3::Cache.const_get(opts[:cache].to_s.camelize) @cache = cache_klass.new(opts[:cache_config]) \ No newline at end of file