Skip to content

Commit

Permalink
Require Faraday >= 0.9.0 in gemspec
Browse files Browse the repository at this point in the history
In #115 we started configuring Faraday to use the FlatParamsEncoder to
avoid an issue with dropped parameters when building a request url.

Unfortunately, as FlatParamsEncoder was only added on Faraday 0.9.0
we should require that version as a minimum, otherwise clients may get
confusing error messages after upgrading to the latest hyperclient
version.

Fixes #117
  • Loading branch information
ivoanjo committed May 16, 2017
1 parent 4afc115 commit 947232f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 0.8.4 (Next)

* [#117](https://github.com/codegram/hyperclient/issues/117): Require Faraday >= 0.9.0 in gemspec - [@ivoanjo](https://github.com/ivoanjo).
* Your contribution here.

### 0.8.3 (March 30, 2017)
Expand Down
2 changes: 1 addition & 1 deletion hyperclient.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.version = Hyperclient::VERSION

gem.add_dependency 'faraday'
gem.add_dependency 'faraday', '>= 0.9.0'
gem.add_dependency 'futuroscope'
gem.add_dependency 'faraday_middleware'
gem.add_dependency 'faraday_hal_middleware'
Expand Down

0 comments on commit 947232f

Please sign in to comment.