bump and upgrade api

This commit is contained in:
Rimian Perkins 2019-12-05 10:29:26 +11:00
parent 80b721ddd8
commit 42b79fdaaa
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# name: discourse-subscriptions # name: discourse-subscriptions
# about: Integrates Stripe into Discourse to allow visitors to subscribe # about: Integrates Stripe into Discourse to allow visitors to subscribe
# version: 2.5.1 # version: 2.6.0
# url: https://github.com/rimian/discourse-subscriptions # url: https://github.com/rimian/discourse-subscriptions
# authors: Rimian Perkins # authors: Rimian Perkins
@ -40,11 +40,11 @@ Discourse::Application.routes.append do
end end
after_initialize do after_initialize do
::Stripe.api_version = "2019-11-05" ::Stripe.api_version = "2019-12-03"
::Stripe.set_app_info( ::Stripe.set_app_info(
'Discourse Subscriptions', 'Discourse Subscriptions',
version: '2.5.1', version: '2.6.0',
url: 'https://github.com/rimian/discourse-subscriptions' url: 'https://github.com/rimian/discourse-subscriptions'
) )