ckeditor5 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffcf4f20d7134eefdd8ed70322d880862886c260c5b68295154e5932eb7aed8f
4
- data.tar.gz: 63c20e49867be66eee43e90a0b473e13971648216675927408d82265f483d8b8
3
+ metadata.gz: 1fd62e59f6152397ca06404b956ee4b89452eff91679fd8c87436ab620c511f8
4
+ data.tar.gz: 0b740379678382ab910743ec7041f0b284db0a0c4f377eba52c609eaa705cf4f
5
5
  SHA512:
6
- metadata.gz: f5d9f8eb254a1210c9792ddfea0885f58b4c11c9d049a14ee9e269f753204f7a10e3eacade18f502497becb02544f7440641414f6dd1495798428ef10fa40c47
7
- data.tar.gz: 88fb52bde4a26017c7e122ac71dcaad9568ccbd1a4163f41a55cbf5d9f67ee19a2acdc8f7a37edfde92444fbbc230a34f20bfde005630d95cd7f29b52085b16b
6
+ metadata.gz: 9e359270ad4714fa0a080d70cee7f43ebf874670dddc191c1ee2d6233ea85a0e45e0df975ed89de36fd323d978e371d8751807eee32caf34ff545e04fe41c2ba
7
+ data.tar.gz: 701d19ceae2a64fa455ec46456c6af2d921393606ddb7b2565862f1b20524d9dda58d77800774f300bb294d9c620400506772fcd850309d0078e2abb354f8955
@@ -14,9 +14,11 @@ module CKEditor5::Rails
14
14
  ActiveSupport.on_load(:action_view) { include Helpers }
15
15
  end
16
16
 
17
- initializer 'ckeditor5.simple_form', if: -> { defined?(::SimpleForm) } do
18
- require_relative 'hooks/simple_form'
19
- ::SimpleForm::FormBuilder.map_type :ckeditor5, to: Hooks::SimpleForm::CKEditor5Input
17
+ initializer 'ckeditor5.simple_form', after: :load_config_initializers do
18
+ if defined?(::SimpleForm)
19
+ require_relative 'hooks/simple_form'
20
+ ::SimpleForm::FormBuilder.map_type :ckeditor5, to: Hooks::SimpleForm::CKEditor5Input
21
+ end
20
22
  end
21
23
 
22
24
  initializer 'ckeditor5.form_builder' do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CKEditor5::Rails
4
- VERSION = '1.5.1'
4
+ VERSION = '1.5.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckeditor5
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński