ckeditor5 1.5.1 → 1.5.3

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: 811f72d2b9a3407caa6dcfa4fe37c8e09ad42e80ef988f9bddeba5384ffbed82
4
+ data.tar.gz: 8373dabdbc90d8a0b2d2cd750a326240953d0e505ee7d9fe590e7c30ade0b5e2
5
5
  SHA512:
6
- metadata.gz: f5d9f8eb254a1210c9792ddfea0885f58b4c11c9d049a14ee9e269f753204f7a10e3eacade18f502497becb02544f7440641414f6dd1495798428ef10fa40c47
7
- data.tar.gz: 88fb52bde4a26017c7e122ac71dcaad9568ccbd1a4163f41a55cbf5d9f67ee19a2acdc8f7a37edfde92444fbbc230a34f20bfde005630d95cd7f29b52085b16b
6
+ metadata.gz: e05af1e016fc36c1053338299e63d51263543cdc4492425438b19a7e927ad81338202d99fd6ddce87ee55d007e083ac82cb78a440592ecf727cba5be3bc60175
7
+ data.tar.gz: 241473a7b669ffcd3cda3f2d2cb8d14e5da93cb31c804f0f4177c52148bb7dbc93596ee166fa5024ac7adaf1a5011506eae46517b6d4acae201ed43b144ccbc7
data/Gemfile CHANGED
@@ -6,11 +6,15 @@ gem 'bundler', '~> 2.5', '>= 2.5.21'
6
6
 
7
7
  group :development do
8
8
  gem 'brakeman', '~> 6.1', '>= 6.1.1', require: false
9
+ gem 'rails', '~> 7.0', '>= 7.0.0'
9
10
  gem 'rake', '~> 13.2', '>= 13.2.1'
10
11
  gem 'rspec', '~> 3.13'
12
+ gem 'rspec-expectations', '~> 3.13'
13
+ gem 'rspec-rails', '~> 7.0'
11
14
  gem 'rubocop', '~> 1.66', require: false
12
15
  gem 'rubocop-rails', '~> 2.26', '>= 2.26.2', require: false
13
16
  gem 'rubocop-rails-omakase', '~> 1.0.0', require: false
17
+ gem 'sprockets-rails', '~> 3.2', '>= 3.2.2'
14
18
  end
15
19
 
16
20
  group :test, :development do
data/README.md CHANGED
@@ -980,7 +980,7 @@ The example below shows how to define a custom plugin that allows toggling the h
980
980
  ```rb
981
981
  # config/initializers/ckeditor5.rb
982
982
 
983
- config.presets.define :custom do
983
+ CKEditor5::Rails.configure do
984
984
  # ... other configuration
985
985
 
986
986
  # 1. You can also use "window_name" option to import plugin from window object:
@@ -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,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module CKEditor5::Rails
4
- VERSION = '1.5.1'
3
+ module CKEditor5
4
+ module Rails
5
+ VERSION = '1.5.3'
6
+ end
5
7
  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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-11-05 00:00:00.000000000 Z
12
+ date: 2024-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '6.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '8.0'
23
+ version: '9.0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '6.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '8.0'
33
+ version: '9.0'
34
34
  description:
35
35
  email: cziken58@gmail.com
36
36
  executables: []