From c711fddca037a300b38cb01d70e129dc45071338 Mon Sep 17 00:00:00 2001 From: Armando Ibarra Date: Tue, 29 Nov 2022 09:05:02 -0600 Subject: [PATCH] Release 1.0.0 This commit represents an effort made by the Checkout team to build a brand new SDK for Ruby. It ships a new instantiation layer that makes easier a less confusing to set up the SDK. From the point of view of usability, the new version follows similar principles, although major clients are now split/duplicated to reference different data schemes which makes it fully compatible with `default` (NAS) and `Previous` (ABC) account structures. This separation is statically forced during instantiation. The SDK supports the following modules: * Tokens (default/previous) * Instruments (default/previous) * Customers (default/previous) * Disputes (default/previous) * Payments (default/previous) * Alternative Payments Clients & Sources (default/previous) * Payments Hosted & Links (default/previous) * Risk (default/previous) * Sessions (default) * Accounts (default) * Forex (default) * Workflows (default) * Transfers (default) * Balances (default) * Reports (default) * Sources (previous) * Events (previous) * Webhooks (previous) * Reconciliation (previous) `README.md` was updated to match the new setup. Code of conduct and licence were reviewed. --- .github/workflows/{build-main.yml => build-master.yml} | 2 +- .github/workflows/build-pull-request.yml | 2 +- .github/workflows/build-release.yml | 6 +++--- lib/checkout_sdk/version.rb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{build-main.yml => build-master.yml} (98%) diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-master.yml similarity index 98% rename from .github/workflows/build-main.yml rename to .github/workflows/build-master.yml index f4b47f4..55ce334 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-master.yml @@ -3,7 +3,7 @@ name: build-master on: push: branches: - - "beta" + - "master" jobs: build: diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index 1f9aaa4..85cfcba 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -3,7 +3,7 @@ name: build-pull-request on: pull_request: branches: - - "beta" + - "master" - "feature/**" jobs: diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 1238f15..ac35363 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -2,13 +2,13 @@ name: build-release on: push: branches: - - beta + - master paths: - lib/checkout_sdk/version.rb jobs: deploy: - if: github.ref == 'refs/heads/beta' + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -51,4 +51,4 @@ jobs: release_name: ${{ env.CURRENT_VERSION }} body: ${{ github.event.head_commit.message }} draft: false - prerelease: false \ No newline at end of file + prerelease: false diff --git a/lib/checkout_sdk/version.rb b/lib/checkout_sdk/version.rb index 69277c0..c811dfd 100644 --- a/lib/checkout_sdk/version.rb +++ b/lib/checkout_sdk/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module CheckoutSdk - VERSION = '1.0.0.beta.3' + VERSION = '1.0.0' end