Skip to content

Commit

Permalink
Relax dependency on Faraday, so 2.x versions can be used again (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Souchay committed Aug 22, 2022
1 parent a3c22f2 commit a410067
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## Next

- 2022-07-28 Dashkevych Oleksii (@jesterovskiy) Add option to filter services
* 2022-07-28 Dashkevych Oleksii (@jesterovskiy) Add option to filter services
Pass a `:filter` hash as an option to `Diplomat::Service.get` to filter https://www.consul.io/api-docs/catalog#filtering-1.
* Relax dependency on Faraday, so 2.x versions can be used again (#223)

## 2.6.3

Expand Down
5 changes: 3 additions & 2 deletions diplomat.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Gem::Specification.new 'diplomat', Diplomat::VERSION do |spec|
spec.add_runtime_dependency 'deep_merge', '~> 1.2'

# See https://github.com/WeAreFarmGeek/diplomat/issues/223
# For now, diplomat does not work with faraday 2.x
spec.add_runtime_dependency 'faraday', '>= 0.9', '< 2.0'
# Diplomat does not work with 2.0 of Faraday, but does with 2.0.1+
# See https://github.com/lostisland/faraday/blob/main/CHANGELOG.md#201-2022-01-05
spec.add_runtime_dependency 'faraday', '>= 0.9', '!= 2.0.0', '< 3.0'
end

0 comments on commit a410067

Please sign in to comment.