tinymce-rails-imageupload 3.5.6.1 → 3.5.6.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.
- data/CHANGELOG.markdown +5 -0
- data/README.markdown +2 -2
- data/{vendor → app}/assets/javascripts/tinymce/plugins/uploadimage/editor_plugin.js.coffee +0 -0
- data/lib/tasks/tinymce-uploadimage-assets.rake +7 -0
- data/lib/tinymce-rails-imageupload/rails.rb +3 -0
- data/lib/tinymce-rails-imageupload/version.rb +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/pt.js +3 -0
- data/vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/pt_dlg.js +7 -0
- metadata +6 -3
data/CHANGELOG.markdown
CHANGED
data/README.markdown
CHANGED
@@ -16,7 +16,7 @@ The icon used for the button comes from the icon set [Silk by famfamfam](http://
|
|
16
16
|
|
17
17
|
Add the gem to your Gemfile
|
18
18
|
|
19
|
-
gem 'tinymce-rails-imageupload', '~> 3.
|
19
|
+
gem 'tinymce-rails-imageupload', '~> 3.5.6.1'
|
20
20
|
|
21
21
|
Set up TinyMCE as you would normally, but in the call to `.tinymce()`, add
|
22
22
|
|
@@ -50,7 +50,7 @@ If the JSON response contains a `width` and/or `height` key, those will be used
|
|
50
50
|
|
51
51
|
## Internationalization
|
52
52
|
|
53
|
-
I18n is taken care of by `tinymce-rails`. This gem includes strings for English and
|
53
|
+
I18n is taken care of by `tinymce-rails`. This gem includes strings for English, Norwegian and Russian.
|
54
54
|
To add your own language, create the files `<code>.js` and `<code>_dlg.js` in `vendor/assets/javascripts/tinymce/plugins/uploadimage/langs` in your application,
|
55
55
|
or fork the gem and add your own translations there.
|
56
56
|
|
File without changes
|
@@ -0,0 +1,7 @@
|
|
1
|
+
Rake::Task['assets:precompile:primary'].enhance do
|
2
|
+
assets = File.expand_path(File.dirname(__FILE__) + "/../../vendor/assets/javascripts/tinymce")
|
3
|
+
target = File.join(Rails.public_path, Rails.application.config.assets.prefix)
|
4
|
+
|
5
|
+
mkdir_p target
|
6
|
+
cp_r assets, target
|
7
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tinymce-rails-imageupload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.6.
|
4
|
+
version: 3.5.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -88,17 +88,20 @@ files:
|
|
88
88
|
- LICENSE
|
89
89
|
- README.markdown
|
90
90
|
- Rakefile
|
91
|
+
- app/assets/javascripts/tinymce/plugins/uploadimage/editor_plugin.js.coffee
|
92
|
+
- lib/tasks/tinymce-uploadimage-assets.rake
|
91
93
|
- lib/tinymce-rails-imageupload.rb
|
92
94
|
- lib/tinymce-rails-imageupload/rails.rb
|
93
95
|
- lib/tinymce-rails-imageupload/version.rb
|
94
96
|
- tinymce-rails-imageupload.gemspec
|
95
97
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/dialog.html
|
96
|
-
- vendor/assets/javascripts/tinymce/plugins/uploadimage/editor_plugin.js.coffee
|
97
98
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/img/uploadimage.png
|
98
99
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/en.js
|
99
100
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/en_dlg.js
|
100
101
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/nb.js
|
101
102
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/nb_dlg.js
|
103
|
+
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/pt.js
|
104
|
+
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/pt_dlg.js
|
102
105
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/ru.js
|
103
106
|
- vendor/assets/javascripts/tinymce/plugins/uploadimage/langs/ru_dlg.js
|
104
107
|
homepage: http://eastblue.org/oss
|