diff --git a/.github/workflows/publish-ruby.yml b/.github/workflows/publish-ruby.yml index 4b3e4de..5fc8604 100644 --- a/.github/workflows/publish-ruby.yml +++ b/.github/workflows/publish-ruby.yml @@ -37,6 +37,14 @@ jobs: needs: test runs-on: ubuntu-20.04 steps: + - uses: actions/checkout@v3 + - name: Set up Ruby for release + # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, + # change this to (see https://github.com/ruby/setup-ruby#versioning): + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1.0' + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Publish to RubyGems run: | mkdir -p $HOME/.gem @@ -48,3 +56,4 @@ jobs: rm $HOME/.gem/credentials env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" + diff --git a/lib/postfinancecheckout-ruby-sdk/api_client.rb b/lib/postfinancecheckout-ruby-sdk/api_client.rb index dbfde00..2ff221a 100644 --- a/lib/postfinancecheckout-ruby-sdk/api_client.rb +++ b/lib/postfinancecheckout-ruby-sdk/api_client.rb @@ -102,7 +102,7 @@ def build_request(http_method, path, opts = {}) http_method = http_method.to_sym.downcase default_headers = { - 'x-meta-sdk-version': "4.3.0", + 'x-meta-sdk-version': "4.4.0", 'x-meta-sdk-language': "ruby", 'x-meta-sdk-provider': "PostFinance Checkout", 'x-meta-sdk-language-version': RUBY_VERSION diff --git a/lib/postfinancecheckout-ruby-sdk/version.rb b/lib/postfinancecheckout-ruby-sdk/version.rb index ee8a34d..bf44861 100644 --- a/lib/postfinancecheckout-ruby-sdk/version.rb +++ b/lib/postfinancecheckout-ruby-sdk/version.rb @@ -16,5 +16,5 @@ =end module PostFinanceCheckout - VERSION = '4.3.0' + VERSION = '4.4.0' end