Skip to content

Commit

Permalink
Remove Addressable::URI query hack
Browse files Browse the repository at this point in the history
  • Loading branch information
sdogruyol committed Jan 21, 2019
1 parent 43ea829 commit 1ff0f1f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
bundler_args: --without development
language: ruby
before_install: gem install bundler
before_install: gem install bundler -v '<2'
rvm:
- 1.9.3
- 2.0
Expand Down
20 changes: 0 additions & 20 deletions lib/faraday_middleware/addressable_patch.rb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/faraday_middleware/response/caching.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require 'faraday'
require 'forwardable'
require 'digest/sha1'
# fixes normalizing query strings:
require 'faraday_middleware/addressable_patch' if defined? ::Addressable::URI

module FaradayMiddleware
# Public: Caches GET responses and pulls subsequent ones from the cache.
Expand Down

0 comments on commit 1ff0f1f

Please sign in to comment.