effective_ckeditor 1.7.9 → 1.7.10

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
  SHA1:
3
- metadata.gz: b044e5b84981393696874f8238a5942b6c332d2f
4
- data.tar.gz: cc2d5a70c7b0617277278437a1a122ebae7db704
3
+ metadata.gz: 6c3a83667fcb0bedac69630f7c1edba3c9551a5b
4
+ data.tar.gz: 12ba678d839b2f69ff3cf2109968019fc7f14fe1
5
5
  SHA512:
6
- metadata.gz: 9d2e1cb5e13fbcf2b9180d514f279affbf45c95f588bc88b1b9843b726d17caa773530296db019590fbb3e4e3089b89c0c7e7a7b03f106c923bebafac47373f0
7
- data.tar.gz: 102769d3449c3edba0ba80f1c7ad52ac75c2849ebb354ae136e986e5ac33224e157fd4d5394e9a6061cdf096a6d7714073b30595570d3f722a010b60e467c82f
6
+ metadata.gz: 9ed029060209beb495057ee5a80bdb0dc4a26feedc4bd278d95b642d1282c24362c13a531e3434858c49962831f08dde319ba42d5b3ec9528237a055f0f6b0bc
7
+ data.tar.gz: 2054f2a78075fe91e42e88d46805d44dbc0ec54a33d5021e162715c499f396093f1cb560e160bb17e781a40326b2b02fcfbc49ef86758e1c7c371a6899ad94b2
@@ -1,11 +1,9 @@
1
1
  window['CKEDITOR_BASEPATH'] = "/assets/ckeditor/";
2
2
 
3
3
  window.CKEDITOR_ASSETS_MAPPING = {
4
- <% if Rails.application.assets.present? %>
5
- <% Rails.application.assets.each_logical_path(->(path, _){ (path.include?('ckeditor/plugins/') || path.include?('ckeditor/skins/') || path.include?('effective/snippets/') || path.include?('effective/templates/') || path.include?('ckeditor/contents.css')) && !path.include?('effective_ckeditor')}) do |asset| %>
4
+ <% (Rails.application.assets || environment).each_logical_path(->(path, _) { (path.include?('ckeditor/plugins/') || path.include?('ckeditor/skins/') || path.include?('effective/snippets/') || path.include?('effective/templates/') || path.include?('ckeditor/contents.css')) && !path.include?('effective_ckeditor')}) do |asset| %>
6
5
  "<%= asset %>": "<%= asset_path(asset) %>",
7
6
  <% end %>
8
- <% end %>
9
7
  }
10
8
 
11
9
  window.CKEDITOR_GETURL = function( resource ) {
@@ -1,3 +1,3 @@
1
1
  module EffectiveCkeditor
2
- VERSION = '1.7.9'.freeze
2
+ VERSION = '1.7.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.9
4
+ version: 1.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect