upgrade stripe api and gem

This commit is contained in:
Rimian Perkins 2019-11-07 15:25:00 +11:00
parent 7e5d92e0e8
commit 4743f1a159
1 changed files with 4 additions and 4 deletions

View File

@ -2,13 +2,13 @@
# name: discourse-patrons # name: discourse-patrons
# about: Integrates Stripe into Discourse to allow visitors to make payments # about: Integrates Stripe into Discourse to allow visitors to make payments
# version: 1.3.0 # version: 1.3.1
# url: https://github.com/rimian/discourse-patrons # url: https://github.com/rimian/discourse-patrons
# authors: Rimian Perkins # authors: Rimian Perkins
enabled_site_setting :discourse_patrons_enabled enabled_site_setting :discourse_patrons_enabled
gem 'stripe', '5.7.1' gem 'stripe', '5.8.0'
register_asset "stylesheets/common/discourse-patrons.scss" register_asset "stylesheets/common/discourse-patrons.scss"
register_asset "stylesheets/mobile/discourse-patrons.scss" register_asset "stylesheets/mobile/discourse-patrons.scss"
@ -28,8 +28,8 @@ Discourse::Application.routes.append do
end end
after_initialize do after_initialize do
::Stripe.api_version = "2019-10-08" ::Stripe.api_version = "2019-11-05"
::Stripe.set_app_info('Discourse Patrons', version: '1.3.0', url: 'https://github.com/rimian/discourse-patrons') ::Stripe.set_app_info('Discourse Patrons', version: '1.3.1', url: 'https://github.com/rimian/discourse-patrons')
[ [
"../lib/discourse_patrons/engine", "../lib/discourse_patrons/engine",