tinymce-rails-imageupload 4.0.17.beta → 4.0.17.beta.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71ba56606735cceb914a1edff0b48f2cd7c6c309
|
4
|
+
data.tar.gz: 87a7a533c8ffb8f5bb6a0e4bc59eab23308390d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0666a00d6a0f7e76320c3cdd4ed1f8e7492c3f99feaf65c52927bf195f87ce94c97053a1f55101e7d87da40711ee9246d0bf28d12e396395be3c622b5d1b0265
|
7
|
+
data.tar.gz: 09d668ae3c87ea44c767e22dac1f61718bea523f0bead4754601b7b3ceed6ce585e1e74b66347ac566ef4f9abfd7a5e6270b4c918192658cbc1f140e8ab3fb10
|
@@ -0,0 +1,11 @@
|
|
1
|
+
tinyMCE.addI18n('pt_PT', {
|
2
|
+
'Insert an image from your computer': 'Inserir uma imagem do seu computador',
|
3
|
+
'Insert image': 'Inserir imagem',
|
4
|
+
'Choose an image': "Escolher uma imagem",
|
5
|
+
'You must choose a file': "É necessário seleccionar um ficheiro",
|
6
|
+
'Got a bad response from the server': "Resposta inesperada do servidor",
|
7
|
+
"Didn't get a response from the server": "Não foi obtida uma resposta do servidor",
|
8
|
+
'Insert': "Inserir",
|
9
|
+
'Cancel': "Cancelar",
|
10
|
+
'Image description': "Descrição da imagem",
|
11
|
+
});
|
@@ -12,7 +12,7 @@
|
|
12
12
|
function showDialog() {
|
13
13
|
win = editor.windowManager.open({
|
14
14
|
title: ed.translate('Insert an image from your computer'),
|
15
|
-
width:
|
15
|
+
width: 520 + parseInt(editor.getLang('uploadimage.delta_width', 0), 10),
|
16
16
|
height: 180 + parseInt(editor.getLang('uploadimage.delta_height', 0), 10),
|
17
17
|
body: [
|
18
18
|
{type: 'iframe', url: 'javascript:void(0)'},
|
@@ -3,12 +3,14 @@ assets_task = Rake::Task.task_defined?('assets:precompile:primary') ? 'assets:pr
|
|
3
3
|
Rake::Task[assets_task].enhance do
|
4
4
|
require "tinymce/rails/asset_installer"
|
5
5
|
|
6
|
+
assets = Pathname.new(File.expand_path(File.dirname(__FILE__) + "/../../vendor/assets/javascripts/tinymce"))
|
7
|
+
|
6
8
|
config = Rails.application.config
|
7
9
|
target = File.join(Rails.public_path, config.assets.prefix)
|
8
10
|
manifest = config.assets.manifest
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
end
|
11
|
+
|
12
|
+
installer = TinyMCE::Rails::AssetInstaller.new(assets, target, manifest)
|
13
|
+
installer.log_level = Logger::INFO
|
14
|
+
installer.strategy = config.tinymce.install
|
15
|
+
installer.install
|
16
|
+
end
|
metadata
CHANGED
@@ -1,75 +1,75 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tinymce-rails-imageupload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.17.beta
|
4
|
+
version: 4.0.17.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Per Christian B. Viken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.2'
|
20
|
-
- - <
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '6'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '3.2'
|
30
|
-
- - <
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '6'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: tinymce-rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ~>
|
37
|
+
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '4.0'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - ~>
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '4.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - ~>
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '1.0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - ~>
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rails
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- -
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '3.1'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '3.1'
|
75
75
|
description: TinyMCE plugin for taking image uploads in Rails >= 3.2. Image storage
|
@@ -80,6 +80,9 @@ executables: []
|
|
80
80
|
extensions: []
|
81
81
|
extra_rdoc_files: []
|
82
82
|
files:
|
83
|
+
- CHANGELOG.md
|
84
|
+
- LICENSE
|
85
|
+
- README.md
|
83
86
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/de.js
|
84
87
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/en.js
|
85
88
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/es.js
|
@@ -89,17 +92,15 @@ files:
|
|
89
92
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/pl.js
|
90
93
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/pt.js
|
91
94
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/pt_BR.js
|
95
|
+
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/pt_PT.js
|
92
96
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/ru.js
|
93
97
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/zh-cn.js
|
94
98
|
- app/assets/javascripts/tinymce/plugins/uploadimage/langs/zh_TW.js
|
95
99
|
- app/assets/javascripts/tinymce/plugins/uploadimage/plugin.js
|
100
|
+
- lib/tasks/tinymce-uploadimage-assets.rake
|
101
|
+
- lib/tinymce-rails-imageupload.rb
|
96
102
|
- lib/tinymce-rails-imageupload/rails.rb
|
97
103
|
- lib/tinymce-rails-imageupload/version.rb
|
98
|
-
- lib/tinymce-rails-imageupload.rb
|
99
|
-
- lib/tasks/tinymce-uploadimage-assets.rake
|
100
|
-
- CHANGELOG.md
|
101
|
-
- LICENSE
|
102
|
-
- README.md
|
103
104
|
homepage: http://eastblue.org/oss
|
104
105
|
licenses:
|
105
106
|
- MIT
|
@@ -110,17 +111,17 @@ require_paths:
|
|
110
111
|
- lib
|
111
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
113
|
requirements:
|
113
|
-
- -
|
114
|
+
- - ">="
|
114
115
|
- !ruby/object:Gem::Version
|
115
116
|
version: '0'
|
116
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
118
|
requirements:
|
118
|
-
- -
|
119
|
+
- - ">"
|
119
120
|
- !ruby/object:Gem::Version
|
120
121
|
version: 1.3.1
|
121
122
|
requirements: []
|
122
123
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.5.1
|
124
125
|
signing_key:
|
125
126
|
specification_version: 4
|
126
127
|
summary: TinyMCE plugin for taking image uploads in Rails >= 3.2
|