diff --git a/.rubocop.yml b/.rubocop.yml index 69fcfc56..74c8c853 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,3 +6,6 @@ RSpec/ContextWording: RSpec/DescribeClass: Enabled: false + +Discourse/TimeEqMatcher: + Enabled: false diff --git a/lib/custom_wizard/validators/update.rb b/lib/custom_wizard/validators/update.rb index d71bded1..869f7dca 100644 --- a/lib/custom_wizard/validators/update.rb +++ b/lib/custom_wizard/validators/update.rb @@ -128,7 +128,7 @@ class ::CustomWizard::UpdateValidator return @ctx if @ctx @ctx = PrettyText.v8 - PrettyText.ctx_load(@ctx, "#{Rails.root}/vendor/assets/javascripts/moment.js") + @ctx.load("#{Rails.root}/vendor/assets/javascripts/moment.js") @ctx end end diff --git a/plugin.rb b/plugin.rb index ab979af8..d013e49b 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.4.29 +# version: 2.4.30 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech