glebtv-ckeditor 4.2.1.3 → 4.2.1.4

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: 73e0b62d98554055a30be50fd43da0ca20317819
4
- data.tar.gz: 8ec69afd99629fb333388551861b6755f8b4b322
3
+ metadata.gz: 2dfeda36417dd95cbab911148d637218f7d4e0c2
4
+ data.tar.gz: 4b6514580e1bdfd2c1b62eb706fa51f03ac141b2
5
5
  SHA512:
6
- metadata.gz: ccf2495141867d2fbd30793dfb8412b45af69e73b7801e985c9c273ef401c7ea5fd76bb4ef35ff6cb46834daf3c7f58e3f2541f94ba5683ab7a5a0bf1d1905e7
7
- data.tar.gz: 0594057b294bb3fb31a3b99af05c22b3c6011b5ce9d5d5c2666e8d3455002062fb6fe93c35faad084090350d8e60634058ab07e638797305730f70319563484c
6
+ metadata.gz: 2f83bee00073a0ab4ce7c96a95a0f80856e62614e1b5b2de473a92e362e80dfab9ad71d5c04f416a18281823ca6b39ed723cc1fca12d3c994e57d14bd91ee7b6
7
+ data.tar.gz: 9fafcc079714c60cd8dbc5a3daedcbef84312f11f231d3f43ca2a68509c4045504f4e939e81457d851fdead247a7ac6f838f1e728c92fd68228878fb89206e89
@@ -1,4 +1,7 @@
1
1
  = javascript_include_tag "ckeditor/init"
2
2
 
3
- = form.cktext_area field.method_name, field.html_attributes.reverse_merge(value: field.form_value )
3
+ - if field.respond_to? :form_value
4
+ = form.cktext_area field.method_name, field.html_attributes.reverse_merge(value: field.form_value )
5
+ - else
6
+ = form.cktext_area field.method_name, field.html_attributes.reverse_merge((hdv = field.html_default_value).nil? ? { :value => field.formatted_value } : { :value => hdv })
4
7
 
@@ -6,7 +6,6 @@ task "assets:precompile" do
6
6
  for file in Dir["public/assets/ckeditor/**/*"]
7
7
  next unless file =~ fingerprint
8
8
  nondigest = file.sub fingerprint, '.'
9
- FileUtils.rm nondigest, force: true
10
9
  FileUtils.cp file, nondigest, verbose: true
11
10
  end
12
11
  end
@@ -1,6 +1,6 @@
1
1
  module Ckeditor
2
2
  module Version
3
- GEM = "4.2.1.3".freeze
3
+ GEM = "4.2.1.4".freeze
4
4
  EDITOR = "4.2.1".freeze
5
5
  end
6
6
  end
@@ -1 +1 @@
1
- require 'ckeditor'
1
+ require 'ckeditor'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv-ckeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1.3
4
+ version: 4.2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-03 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types