diff --git a/.github/workflows/gem-push.yml b/.github/workflows/gem-push.yml index 00b09ea..d7372a2 100644 --- a/.github/workflows/gem-push.yml +++ b/.github/workflows/gem-push.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Ruby 2.7 + - name: Set up Ruby 3.3 uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.3.0 - name: Publish to RubyGems run: | diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 648c690..19f573b 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.0', '3.1', '3.2'] + ruby-version: ['3.0', '3.1', '3.2', '3.3'] steps: - uses: actions/checkout@v3 diff --git a/Gemfile b/Gemfile index e9c49a7..28ab5cb 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' # Specify your gem's dependencies in we_ship_client.gemspec gemspec -gem 'loogi_http', '~> 1.0' +gem 'loogi_http', '~> 2.0' gem 'rake', '~> 12.0' gem 'rspec', '~> 3.0' gem 'dotenv', '~> 2.7' diff --git a/Gemfile.lock b/Gemfile.lock index bce5385..1528bf5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,11 @@ PATH remote: . specs: - we_ship_client (1.1.1) + we_ship_client (1.2.0) activesupport dry-struct (~> 1.4) dry-types - loogi_http (~> 1.0) + loogi_http (~> 2.0) GEM remote: https://rubygems.org/ @@ -29,8 +29,7 @@ GEM crack (0.4.5) rexml diff-lcs (1.5.1) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20240107) dotenv (2.7.6) drb (2.2.1) dry-core (1.0.0) @@ -52,23 +51,44 @@ GEM dry-inflector (~> 1.0) dry-logic (~> 1.4) zeitwerk (~> 2.6) - faraday (1.0.1) - multipart-post (>= 1.2, < 3) + 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-cookie_jar (0.0.7) faraday (>= 0.8.0) http-cookie (~> 1.0.0) - faraday_middleware (1.0.0) + 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) + faraday_middleware (1.2.0) faraday (~> 1.0) hashdiff (1.0.1) - http-cookie (1.0.4) + http-cookie (1.0.5) domain_name (~> 0.5) i18n (1.14.4) concurrent-ruby (~> 1.0) ice_nine (0.11.2) - loogi_http (1.0.0) - faraday (~> 1.0.1) + loogi_http (2.0.0) + faraday (~> 1.0) faraday-cookie_jar (~> 0.0.6) - faraday_middleware (~> 1.0.0) + faraday_middleware (~> 1.0) minitest (5.22.3) multipart-post (2.1.1) mutex_m (0.2.0) @@ -88,13 +108,11 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) + ruby2_keywords (0.0.5) stub_env (1.0.4) rspec (>= 2.0, < 4.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8) vcr (6.0.0) webmock (3.14.0) addressable (>= 2.8.0) @@ -112,7 +130,7 @@ PLATFORMS DEPENDENCIES dotenv (~> 2.7) - loogi_http (~> 1.0) + loogi_http (~> 2.0) rake (~> 12.0) rspec (~> 3.0) stub_env diff --git a/lib/we_ship_client/version.rb b/lib/we_ship_client/version.rb index 2accbf7..9c28875 100644 --- a/lib/we_ship_client/version.rb +++ b/lib/we_ship_client/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module WeShipClient - VERSION = '1.1.1' + VERSION = '1.2.0' end diff --git a/we_ship_client.gemspec b/we_ship_client.gemspec index d7d38c9..3759fee 100644 --- a/we_ship_client.gemspec +++ b/we_ship_client.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'activesupport' spec.add_dependency 'dry-struct', '~> 1.4' spec.add_dependency 'dry-types' - spec.add_dependency 'loogi_http', '~> 1.0' + spec.add_dependency 'loogi_http', '~> 2.0' spec.add_development_dependency 'stub_env' spec.add_development_dependency 'vcr'