glebtv-ckeditor 4.4.3.1 → 4.4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c964e635ae782b7641b216e396529b202d4afb10
|
|
4
|
+
data.tar.gz: 1096f22a1517f337345b02d9782a2567084042db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
+
|
data/lib/ckeditor/version.rb
CHANGED
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.
|
|
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-
|
|
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
|