Skip to content

Commit

Permalink
Bump to 2.0.0, using Faraday 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sulami committed Mar 14, 2024
1 parent 2900f47 commit 641d1ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/omni_exchange/providers/xe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def api
api_key = config[:api_key]

Faraday.new(OmniExchange::Xe::ENDPOINT_URL) do |f|
f.request :basic_auth, api_id, api_key
f.set_basic_auth api_id, api_key
f.adapter :net_http
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/omni_exchange/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OmniExchange
VERSION = '1.9.0'
VERSION = '2.0.0'
end
2 changes: 1 addition & 1 deletion omni_exchange.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_dependency 'faraday', '< 2'
spec.add_dependency 'faraday', '~> 2'
spec.add_dependency 'money', '~> 6.13.1'

spec.add_development_dependency 'dotenv'
Expand Down

0 comments on commit 641d1ce

Please sign in to comment.