ckeditor_rails 4.16.1 → 4.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ckeditor-rails/engine.rb +3 -1
- data/lib/ckeditor-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 962b65a400bbc6fa001fdd3804b8ff11fd719a4e82b43a6aa0cd813345797e40
|
4
|
+
data.tar.gz: 4bc7553ac1f7d7fe98de3f0d0d586c50dd94a3bef77f80da85fc209cbdf2ec2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df23a0f24b77bd2072863da7e8fda7fdd5231a23f7155a7d4f7a60d8e52dc00d9290931eabf60a43422f3b666e33b1ce1c3d2dd9dcc23e36236be7b2e9102696
|
7
|
+
data.tar.gz: 0d6ab662a1c275a58553cdcf8992c5d6e5e295a7fd228592c38cc4e734ed8aa105acc1d8fe4cca8d93ba80f2f3d02754f8c6a11d96660a5d0cad61498fc139a1
|
@@ -10,7 +10,9 @@ module Ckeditor
|
|
10
10
|
# Follow sprockets-rails 3.3.0+ to use postprocessor of Sprockets
|
11
11
|
# https://github.com/rails/sprockets-rails/blob/v3.3.0/lib/sprockets/railtie.rb#L121
|
12
12
|
initializer 'ckeditor.asset_url_processor' do |app|
|
13
|
-
|
13
|
+
# Processors of Sprockets 2.x should inherit from Tilt::Template
|
14
|
+
# Processors of Sprockets 3+ should respond to :call
|
15
|
+
if Gem::Version.new(::Sprockets::VERSION) > Gem::Version.new('3')
|
14
16
|
::Sprockets.register_postprocessor 'text/css', ::Ckeditor::Rails::AssetUrlProcessor
|
15
17
|
end
|
16
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ckeditor_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.16.
|
4
|
+
version: 4.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tse-Ching Ho
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|