From 47ab25906c6a2c1c7f4681f7ccfc1ee08b045a93 Mon Sep 17 00:00:00 2001 From: Tomasz Strzeszewski Date: Mon, 16 Feb 2026 11:13:10 +0100 Subject: [PATCH 1/2] Update README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8d0e19d..c34ecd4 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ **Spree-spl** is a plugin that provides a promotion switcher for Spree, enabling enhanced loyalty program functionality. +## Compatibility +### Versions <= 1.7.x +Are compatible with Spree ~> 4.x and Rails <= 7.2 +### Versions > 1.7 (current master branch, check current state) +Is compatible with Spree ~> 5.2, and Rails >= 7.0, < 8.3 ## Installation Add spree-spl to your Gemfile and run bundle install: From b059c9b3213071d98fdfe4217aadbe75eff10008 Mon Sep 17 00:00:00 2001 From: Tomasz Strzeszewski Date: Mon, 16 Feb 2026 11:44:11 +0100 Subject: [PATCH 2/2] Add spec to github workflow --- .github/workflows/rails.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/rails.yml b/.github/workflows/rails.yml index e15f1fe..f98f4a1 100644 --- a/.github/workflows/rails.yml +++ b/.github/workflows/rails.yml @@ -40,3 +40,20 @@ jobs: - name: Run Brakeman run: bundle exec brakeman + specs: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3.3 + bundler-cache: true + + - name: Generate dummy app + run: bundle exec rake test_app + + - name: Run RSpec + run: bundle exec rspec \ No newline at end of file