Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 5 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Showing with 6 additions and 5 deletions.
  1. +3 −3 instapaper_full.gemspec
  2. +3 −2 lib/instapaper_full.rb
View
6 instapaper_full.gemspec
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_dependency("faraday", "~> 0.7.5")
- s.add_dependency("faraday_middleware", "~> 0.7.0")
+ s.add_dependency("faraday")
+ s.add_dependency("faraday_middleware")
s.add_dependency("simple_oauth", "~> 0.1")
- s.add_dependency("multi_json", "~> 1.0.4")
+ s.add_dependency("multi_json")
s.add_dependency("yajl-ruby", "~> 1.1.0")
s.add_development_dependency("rake")
View
5 lib/instapaper_full.rb
@@ -1,7 +1,7 @@
require 'errors'
require 'json'
-require 'faraday/request/oauth'
-require 'faraday/response/parse_json'
+require 'faraday'
+require 'faraday_middleware'
module InstapaperFull
class API
@@ -28,6 +28,7 @@ def connection(options = {})
end
Faraday.new(options) do |builder|
+ builder.use Faraday::Request::Multipart
builder.use Faraday::Request::OAuth, oauth_params
builder.use Faraday::Request::UrlEncoded
builder.adapter Faraday.default_adapter

No commit comments for this range

Something went wrong with that request. Please try again.