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 2d7758f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 32 deletions.
40 changes: 11 additions & 29 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,47 +1,29 @@
PATH
remote: .
specs:
omni_exchange (1.9.0)
faraday (< 2)
omni_exchange (2.0.0)
faraday (~> 2)
money (~> 6.13.1)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
coderay (1.1.3)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
diff-lcs (1.5.0)
dotenv (2.8.1)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
i18n (1.14.1)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
i18n (1.14.4)
concurrent-ruby (~> 1.0)
method_source (1.0.0)
money (6.13.8)
i18n (>= 0.6.4, <= 2)
multipart-post (2.3.0)
net-http (0.4.1)
uri
parallel (1.22.1)
parser (3.1.2.1)
ast (~> 2.4.1)
Expand Down Expand Up @@ -77,8 +59,8 @@ GEM
rubocop-ast (1.21.0)
parser (>= 3.1.1.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
unicode-display_width (1.8.0)
uri (0.13.0)
vcr (6.1.0)

PLATFORMS
Expand Down
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 2d7758f

Please sign in to comment.