glebtv-ckeditor 4.4.3.1 → 4.4.3.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
  SHA1:
3
- metadata.gz: 0c8059af0d8248454c8d2e84caeb926c47b129e9
4
- data.tar.gz: e07c5c3b471a43e2d4afb77b43c726a916f5ffe6
3
+ metadata.gz: c964e635ae782b7641b216e396529b202d4afb10
4
+ data.tar.gz: 1096f22a1517f337345b02d9782a2567084042db
5
5
  SHA512:
6
- metadata.gz: b0e434d198360a3e60f3099b5730a72211f4a033a30ac0adfd8008e2af10f653b261c7c6cfd6df9fc6a5010d87a983e0c479d6a7bba4b5f7ff5fffc3d6a9ec67
7
- data.tar.gz: 0cdea1bd9d96d5d0118265a8a85a168514a788f5deacc1452a3a67ba6876d7713b8936e1e15ece1f11f550f2647a3d3aeb56e905dfbb75ef377f62ee5543a60f
6
+ metadata.gz: f68cb70a3f9cd8f2ba757e3914b9033c06593298cbe01f83e0100bcd3d6b6db9471fbde0a32fb1d0a561163a337c470de3c37dc384ba2c6242e9fc48d5fb1843
7
+ data.tar.gz: a5814e1de1c354fbe1f40abf082aa8a496a05b363295c3fabe93b4c16d10e0fb71caaed2787a7941b6eca989b4645a28fcef7f7b9fce98c3eb26cff5a0322278
data/Gemfile CHANGED
@@ -2,39 +2,3 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "rails", "4.0.2"
6
- gem "sass"
7
-
8
- platforms :mri_18 do
9
- group :test do
10
- gem 'ruby-debug'
11
- gem 'SystemTimer'
12
- end
13
- end
14
-
15
- platforms :ruby do
16
- gem "sqlite3"
17
-
18
- group :development do
19
- gem "unicorn", "~> 4.0.1"
20
- end
21
-
22
- group :development, :test do
23
- gem "capybara", ">= 0.4.0"
24
- gem "mynyml-redgreen", "~> 0.7.1", :require => 'redgreen'
25
- end
26
-
27
- group :active_record do
28
- gem "paperclip", "~> 3.0.3"
29
- gem "carrierwave"
30
- gem "dragonfly"
31
- gem "mini_magick"
32
- end
33
-
34
- group :mongoid do
35
- gem "mongoid"
36
- gem "bson_ext"
37
- gem 'mongoid-paperclip', :require => 'mongoid_paperclip'
38
- gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
39
- end
40
- end
@@ -0,0 +1,11 @@
1
+ :ruby
2
+ js_data = {
3
+ :jspath => javascript_path('ckeditor/init'),
4
+ :base_location => '/ckeditor',
5
+ :options => {
6
+ :customConfig => javascript_path('ckeditor/config')
7
+ }
8
+ }
9
+
10
+ = form.text_area field.method_name, field.html_attributes.reverse_merge(:data => { :richtext => 'ckeditor', :options => js_data.to_json }).reverse_merge({ :value => field.form_value })
11
+
@@ -0,0 +1,11 @@
1
+ :ruby
2
+ js_data = {
3
+ :jspath => javascript_path('ckeditor/init'),
4
+ :base_location => '/ckeditor',
5
+ :options => {
6
+ :customConfig => javascript_path('ckeditor/config')
7
+ }
8
+ }
9
+
10
+ = render 'form', form: form, field: field, field_type: :text_area, html_attributes: field.html_attributes.reverse_merge(:data => { :richtext => 'ckeditor', :options => js_data.to_json })
11
+
@@ -1,4 +1,4 @@
1
1
  module Ckeditor
2
- VERSION="4.4.3.1".freeze
2
+ VERSION="4.4.3.2".freeze
3
3
  end
4
4
 
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.4.3.1
4
+ version: 4.4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2014-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -111,6 +111,8 @@ files:
111
111
  - app/views/ckeditor/shared/_asset.html.erb
112
112
  - app/views/ckeditor/shared/_asset_tmpl.html.erb
113
113
  - app/views/layouts/ckeditor/application.html.erb
114
+ - app/views/rails_admin/main/_form_ck_editor.html.haml
115
+ - app/views/rails_admin/main/_form_ck_editorml.html.haml
114
116
  - config/locales/cs.ckeditor.yml
115
117
  - config/locales/de.ckeditor.yml
116
118
  - config/locales/el-GR.cdkeditor.yml