ckeditor5 1.1.4 → 1.1.5

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: 89a0fa3d794be4e336b4e34cc90c002a8541d9ea9ecfabf60dffa03a3f73a47b
4
- data.tar.gz: aa199b3c554e9edb37f2a024e5879d5d22acaa476737567475adfc9e55f40497
3
+ metadata.gz: d8a3607d5a38c9654f181481a3c84f0b62119bf82aa5821c4e679eb3624323a5
4
+ data.tar.gz: 9c1f3765da1ad876a02c326141645eb4f941db6ecb2f12cb8bc16b04d9ebf965
5
5
  SHA512:
6
- metadata.gz: 300ea7854e40c3c3c0b408c326217c47071a26956bf51ac5b77dd91b74ca7eefc4676554750d7228b03ee3b9a5e71c25f439029caca8d5f9f02cd6465feb8962
7
- data.tar.gz: dd8e4262483b486714caaabd71801444fd9619c2d0e85dbeec2847fd86f0092e9f3bb994a5fa3da7e7d5a8740b2e1347d8c1e5a127b8eb32bd7ca408377eb4da
6
+ metadata.gz: 6372388ead48cef2105d1f5f25fb34e650687bf3a5197f2d3d30a65b27b4197418e53504ecf153c4b373db32a574511da1afda0c59ec4a3d60a84656bbcc4828
7
+ data.tar.gz: fca6e5780732f512f0b0d380777cb6b95a881e714b1a9b91ddfc624391d6ca4d77a555e29eb04eb9d1ecd6e94e9d0796751c481543cfbf24df032ceabe055caf
data/README.md CHANGED
@@ -25,7 +25,7 @@ In your config:
25
25
  ```rb
26
26
  # config/initializers/ckeditor5.rb
27
27
 
28
- CKEditor5::Rails::Engine.configure do |config|
28
+ CKEditor5::Rails.configure do |config|
29
29
  config.presets.override :default do
30
30
  version '43.3.0'
31
31
  end
@@ -102,7 +102,7 @@ You can create your own by defining it in the `config/initializers/ckeditor5.rb`
102
102
  ```rb
103
103
  # config/initializers/ckeditor5.rb
104
104
 
105
- CKEditor5::Rails::Engine.configure do |config|
105
+ CKEditor5::Rails.configure do |config|
106
106
  config.presets.define :custom
107
107
  gpl
108
108
  type :classic
@@ -135,7 +135,7 @@ In order to override existing presets, you can use the `config.presets.override`
135
135
  ```rb
136
136
  # config/initializers/ckeditor5.rb
137
137
 
138
- CKEditor5::Rails::Engine.configure do |config|
138
+ CKEditor5::Rails.configure do |config|
139
139
  config.presets.override :default do
140
140
  menubar visible: false
141
141
 
@@ -511,7 +511,7 @@ Set the version in the `config/initializers/ckeditor5.rb` file:
511
511
  ```rb
512
512
  # config/initializers/ckeditor5.rb
513
513
 
514
- CKEditor5::Rails::Engine.configure do
514
+ CKEditor5::Rails.configure do
515
515
  presets.override :default do
516
516
  version '43.3.0'
517
517
  end
@@ -553,7 +553,7 @@ Keep in mind, that you need to include the translations in the `config/initializ
553
553
  ```rb
554
554
  # config/initializers/ckeditor5.rb
555
555
 
556
- CKEditor5::Rails::Engine.configure do
556
+ CKEditor5::Rails.configure do
557
557
  presets.override :default do
558
558
  language :pl
559
559
  end
@@ -45,4 +45,8 @@ module CKEditor5::Rails
45
45
  yield config.ckeditor5
46
46
  end
47
47
  end
48
+
49
+ def configure(&block)
50
+ Engine.configure(&block)
51
+ end
48
52
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CKEditor5::Rails
4
- VERSION = '1.1.4'
4
+ VERSION = '1.1.5'
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.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński