ckeditor5 1.15.7 → 1.15.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -5
  3. data/README.md +3 -0
  4. data/lib/ckeditor5/rails/cdn/ckbox_bundle.rb +2 -2
  5. data/lib/ckeditor5/rails/cdn/helpers.rb +6 -0
  6. data/lib/ckeditor5/rails/context/helpers.rb +1 -1
  7. data/lib/ckeditor5/rails/editor/editable_height_normalizer.rb +50 -0
  8. data/lib/ckeditor5/rails/editor/helpers/config_helpers.rb +3 -3
  9. data/lib/ckeditor5/rails/editor/helpers/editor_helpers.rb +5 -4
  10. data/lib/ckeditor5/rails/editor/props.rb +3 -20
  11. data/lib/ckeditor5/rails/plugins/simple_upload_adapter.rb +1 -1
  12. data/lib/ckeditor5/rails/presets/preset_builder.rb +2 -3
  13. data/lib/ckeditor5/rails/version.rb +1 -1
  14. data/lib/ckeditor5/rails/version_detector.rb +6 -0
  15. data/spec/lib/ckeditor5/rails/assets/asset_bundle_hml_serializer_spec.rb +104 -0
  16. data/spec/lib/ckeditor5/rails/assets/assets_bundle_spec.rb +191 -0
  17. data/spec/lib/ckeditor5/rails/cdn/ckbox_bundle_spec.rb +69 -0
  18. data/spec/lib/ckeditor5/rails/cdn/ckeditor_bundle_spec.rb +72 -0
  19. data/spec/lib/ckeditor5/rails/cdn/helpers_spec.rb +217 -0
  20. data/spec/lib/ckeditor5/rails/context/helpers_spec.rb +67 -0
  21. data/spec/lib/ckeditor5/rails/context/props_spec.rb +70 -0
  22. data/spec/lib/ckeditor5/rails/editor/editable_height_normalizer_spec.rb +50 -0
  23. data/spec/lib/ckeditor5/rails/editor/helpers/config_helpers_spec.rb +52 -0
  24. data/spec/lib/ckeditor5/rails/editor/helpers/editor_helpers_spec.rb +192 -0
  25. data/spec/lib/ckeditor5/rails/editor/props_inline_plugin_spec.rb +43 -0
  26. data/spec/lib/ckeditor5/rails/editor/props_plugin_spec.rb +66 -0
  27. data/spec/lib/ckeditor5/rails/editor/props_spec.rb +104 -0
  28. data/spec/lib/ckeditor5/rails/hooks/form_spec.rb +47 -0
  29. data/spec/lib/ckeditor5/rails/presets/manager_spec.rb +100 -0
  30. data/spec/lib/ckeditor5/rails/presets/plugins_builder_spec.rb +98 -0
  31. data/spec/lib/ckeditor5/rails/presets/preset_builder_spec.rb +337 -0
  32. data/spec/lib/ckeditor5/rails/presets/toolbar_builder_spec.rb +70 -0
  33. data/spec/lib/ckeditor5/rails/semver_spec.rb +58 -0
  34. data/spec/lib/ckeditor5/rails/version_detector_spec.rb +131 -0
  35. data/spec/lib/ckeditor5/rails/version_spec.rb +25 -0
  36. data/spec/spec_helper.rb +8 -2
  37. data/spec/support/test_models.rb +6 -0
  38. metadata +44 -1
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.15.7
4
+ version: 1.15.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński
@@ -57,6 +57,7 @@ files:
57
57
  - lib/ckeditor5/rails/cdn/url_generator.rb
58
58
  - lib/ckeditor5/rails/context/helpers.rb
59
59
  - lib/ckeditor5/rails/context/props.rb
60
+ - lib/ckeditor5/rails/editor/editable_height_normalizer.rb
60
61
  - lib/ckeditor5/rails/editor/helpers.rb
61
62
  - lib/ckeditor5/rails/editor/helpers/config_helpers.rb
62
63
  - lib/ckeditor5/rails/editor/helpers/editor_helpers.rb
@@ -75,9 +76,30 @@ files:
75
76
  - lib/ckeditor5/rails/semver.rb
76
77
  - lib/ckeditor5/rails/version.rb
77
78
  - lib/ckeditor5/rails/version_detector.rb
79
+ - spec/lib/ckeditor5/rails/assets/asset_bundle_hml_serializer_spec.rb
80
+ - spec/lib/ckeditor5/rails/assets/assets_bundle_spec.rb
81
+ - spec/lib/ckeditor5/rails/cdn/ckbox_bundle_spec.rb
82
+ - spec/lib/ckeditor5/rails/cdn/ckeditor_bundle_spec.rb
83
+ - spec/lib/ckeditor5/rails/cdn/helpers_spec.rb
78
84
  - spec/lib/ckeditor5/rails/cdn/url_generator_spec.rb
85
+ - spec/lib/ckeditor5/rails/context/helpers_spec.rb
86
+ - spec/lib/ckeditor5/rails/context/props_spec.rb
87
+ - spec/lib/ckeditor5/rails/editor/editable_height_normalizer_spec.rb
88
+ - spec/lib/ckeditor5/rails/editor/helpers/config_helpers_spec.rb
89
+ - spec/lib/ckeditor5/rails/editor/helpers/editor_helpers_spec.rb
90
+ - spec/lib/ckeditor5/rails/editor/props_inline_plugin_spec.rb
91
+ - spec/lib/ckeditor5/rails/editor/props_plugin_spec.rb
92
+ - spec/lib/ckeditor5/rails/editor/props_spec.rb
93
+ - spec/lib/ckeditor5/rails/hooks/form_spec.rb
94
+ - spec/lib/ckeditor5/rails/presets/manager_spec.rb
95
+ - spec/lib/ckeditor5/rails/presets/plugins_builder_spec.rb
96
+ - spec/lib/ckeditor5/rails/presets/preset_builder_spec.rb
97
+ - spec/lib/ckeditor5/rails/presets/toolbar_builder_spec.rb
79
98
  - spec/lib/ckeditor5/rails/semver_spec.rb
99
+ - spec/lib/ckeditor5/rails/version_detector_spec.rb
100
+ - spec/lib/ckeditor5/rails/version_spec.rb
80
101
  - spec/spec_helper.rb
102
+ - spec/support/test_models.rb
81
103
  homepage: https://github.com/Mati365/ckeditor5-rails
82
104
  licenses:
83
105
  - GPL-2.0
@@ -102,6 +124,27 @@ signing_key:
102
124
  specification_version: 4
103
125
  summary: CKEditor 5 for Rails
104
126
  test_files:
127
+ - spec/lib/ckeditor5/rails/assets/asset_bundle_hml_serializer_spec.rb
128
+ - spec/lib/ckeditor5/rails/assets/assets_bundle_spec.rb
129
+ - spec/lib/ckeditor5/rails/cdn/ckbox_bundle_spec.rb
130
+ - spec/lib/ckeditor5/rails/cdn/ckeditor_bundle_spec.rb
131
+ - spec/lib/ckeditor5/rails/cdn/helpers_spec.rb
105
132
  - spec/lib/ckeditor5/rails/cdn/url_generator_spec.rb
133
+ - spec/lib/ckeditor5/rails/context/helpers_spec.rb
134
+ - spec/lib/ckeditor5/rails/context/props_spec.rb
135
+ - spec/lib/ckeditor5/rails/editor/editable_height_normalizer_spec.rb
136
+ - spec/lib/ckeditor5/rails/editor/helpers/config_helpers_spec.rb
137
+ - spec/lib/ckeditor5/rails/editor/helpers/editor_helpers_spec.rb
138
+ - spec/lib/ckeditor5/rails/editor/props_inline_plugin_spec.rb
139
+ - spec/lib/ckeditor5/rails/editor/props_plugin_spec.rb
140
+ - spec/lib/ckeditor5/rails/editor/props_spec.rb
141
+ - spec/lib/ckeditor5/rails/hooks/form_spec.rb
142
+ - spec/lib/ckeditor5/rails/presets/manager_spec.rb
143
+ - spec/lib/ckeditor5/rails/presets/plugins_builder_spec.rb
144
+ - spec/lib/ckeditor5/rails/presets/preset_builder_spec.rb
145
+ - spec/lib/ckeditor5/rails/presets/toolbar_builder_spec.rb
106
146
  - spec/lib/ckeditor5/rails/semver_spec.rb
147
+ - spec/lib/ckeditor5/rails/version_detector_spec.rb
148
+ - spec/lib/ckeditor5/rails/version_spec.rb
107
149
  - spec/spec_helper.rb
150
+ - spec/support/test_models.rb