From b6de4a7b676ee5090ce732f29963a15031860e35 Mon Sep 17 00:00:00 2001 From: Justin DiRose Date: Wed, 6 Jan 2021 13:36:50 -0600 Subject: [PATCH] DEV: Bump Stripe API gem to 5.29.0 (#38) Bumping the API gem to 5.29.0 and to the latest API version. This takes into account changes in the API over the last few months and also lays the groundwork for some other improvements to the plugin (namely promo codes). --- plugin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.rb b/plugin.rb index f970d4f..8e5f965 100644 --- a/plugin.rb +++ b/plugin.rb @@ -8,7 +8,7 @@ enabled_site_setting :discourse_subscriptions_enabled -gem 'stripe', '5.22.0' +gem 'stripe', '5.29.0' register_asset "stylesheets/common/main.scss" register_asset "stylesheets/common/layout.scss" @@ -44,7 +44,7 @@ load File.expand_path('app/controllers/concerns/stripe.rb', __dir__) load File.expand_path('app/controllers/concerns/group.rb', __dir__) after_initialize do - ::Stripe.api_version = "2019-12-03" + ::Stripe.api_version = "2020-08-27" ::Stripe.set_app_info( 'Discourse Subscriptions',