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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d976d1a83be8e2ec7d01092ac6f8c891c90a01ad6de4343d938002b77fa8f89
4
- data.tar.gz: 5a3cad8954afd7d11a919006d7daa177f03af3f399694bf482511ace820780c3
3
+ metadata.gz: 962b65a400bbc6fa001fdd3804b8ff11fd719a4e82b43a6aa0cd813345797e40
4
+ data.tar.gz: 4bc7553ac1f7d7fe98de3f0d0d586c50dd94a3bef77f80da85fc209cbdf2ec2e
5
5
  SHA512:
6
- metadata.gz: c0193cf827ab22d322e4c90e89a9a7b225fa30aa80e7b25e73d68931cfc450d536f10b45d148c992e0d5c1d97bd01a347157d9995f4be74f08aff9c8d94853f9
7
- data.tar.gz: c895199a330bb0903f66ef66c3cac3fb5cda1d918a54cb00d1f252a8e1a3d77141d67ba1bfe1cd59beca3d0f71f306d359ebbd9eca6166b7045f36f071c08c0f
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
- if ::Sprockets.respond_to? :register_postprocessor
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
@@ -1,6 +1,6 @@
1
1
  module Ckeditor
2
2
  module Rails
3
- VERSION = '4.16.1'
3
+ VERSION = '4.16.2'
4
4
  EDITOR_VERSION = '4.16.2'
5
5
  end
6
6
  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.1
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-16 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties