From 8c18ba746a52ed544bb5054c643feaf42d18efd2 Mon Sep 17 00:00:00 2001 From: Stuart Chinery Date: Tue, 25 Jun 2024 15:24:13 +0100 Subject: [PATCH] Added support for Stripe 12 --- .github/workflows/ci.yml | 1 + Appraisals | 4 ++++ CHANGELOG.md | 2 +- gemfiles/stripe12.gemfile | 7 +++++++ stripe_event.gemspec | 2 +- 5 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 gemfiles/stripe12.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6ae47d..4f4fe1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: - stripe9 - stripe10 - stripe11 + - stripe12 include: - { ruby: "2.3", gemfile: "rails3.2", bundler: "1" } - { ruby: "2.5", gemfile: "rails5.1", bundler: "default" } diff --git a/Appraisals b/Appraisals index 398921b..a2706fa 100644 --- a/Appraisals +++ b/Appraisals @@ -67,6 +67,10 @@ appraise "stripe11" do gem "stripe", "~> 11.0" end +appraise "stripe12" do + gem "stripe", "~> 12.0" +end + appraise "rails_master" do gem "rails", github: "rails" end diff --git a/CHANGELOG.md b/CHANGELOG.md index 45cdfb2..9e9bb7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### [Unreleased] - TBD -- +- Add Stripe 12 support (#167) ### 2.9.0 (Apr 22, 2024) diff --git a/gemfiles/stripe12.gemfile b/gemfiles/stripe12.gemfile new file mode 100644 index 0000000..a9291b0 --- /dev/null +++ b/gemfiles/stripe12.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "stripe", "~> 12.0" + +gemspec path: "../" diff --git a/stripe_event.gemspec b/stripe_event.gemspec index b4ff9d6..73a2422 100644 --- a/stripe_event.gemspec +++ b/stripe_event.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- Appraisals {spec,gemfiles}/*`.split("\n") s.add_dependency "activesupport", ">= 3.1" - s.add_dependency "stripe", [">= 2.8", "< 12"] + s.add_dependency "stripe", [">= 2.8", "< 13"] s.add_development_dependency "appraisal" s.add_development_dependency "rails", [">= 3.1"]