bootstrap-wysihtml5-rails 0.3.1.10 → 0.3.1.11
Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
|
7
7
|
# Only full ruby name is supported here, for short names use:
|
8
8
|
# echo "rvm use 1.9.3" > .rvmrc
|
9
|
-
environment_id="ruby-1.9.3-
|
9
|
+
environment_id="ruby-1.9.3-p327@bootstrap-wysihtml5"
|
10
10
|
|
11
11
|
# Uncomment the following lines if you want to verify rvm version per project
|
12
|
-
# rvmrc_rvm_version="1.
|
12
|
+
# rvmrc_rvm_version="1.17.0 (master)" # 1.10.1 seams as a safe start
|
13
13
|
# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
|
14
14
|
# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
|
15
15
|
# return 1
|
data/Rakefile
CHANGED
@@ -12,7 +12,6 @@ task 'update' do
|
|
12
12
|
system("git clone git://github.com/jhollingworth/bootstrap-wysihtml5.git")
|
13
13
|
|
14
14
|
system("cp #{origin_src_path}/bootstrap-wysihtml5.css #{dest_css_path}/core.css")
|
15
|
-
# system("cp #{origin_src_path}/bootstrap-wysihtml5.js #{dest_javascript_path}/core.js")
|
16
15
|
|
17
16
|
Dir.foreach("bootstrap-wysihtml5/src/locales") do |file|
|
18
17
|
unless file == '.' || file == '..'
|
@@ -23,10 +22,10 @@ task 'update' do
|
|
23
22
|
|
24
23
|
core_file = File.read("#{origin_src_path}/bootstrap-wysihtml5.js")
|
25
24
|
original_string = /stylesheets: \[".\/lib\/css\/wysiwyg-color.css"\]/
|
26
|
-
objective_string = 'stylesheets: ["
|
25
|
+
objective_string = 'stylesheets: ["#{Rails.configuration.assets.prefix}/bootstrap-wysihtml5/wysiwyg-color.css"]'
|
27
26
|
replaced = core_file.gsub(original_string, objective_string)
|
28
27
|
|
29
|
-
File.open("#{dest_javascript_path}/core.js", "w") { |file| file.puts replaced }
|
28
|
+
File.open("#{dest_javascript_path}/core.js.erb", "w") { |file| file.puts replaced }
|
30
29
|
|
31
30
|
system("cp #{origin_lib_path}/js/wysihtml5-0.3.0.js #{dest_javascript_path}/wysihtml5.js")
|
32
31
|
system("cp #{origin_lib_path}/css/wysiwyg-color.css #{dest_css_path}/wysiwyg-color.css")
|
@@ -35,9 +34,13 @@ task 'update' do
|
|
35
34
|
system("git status")
|
36
35
|
end
|
37
36
|
|
38
|
-
desc "
|
39
|
-
task "
|
37
|
+
desc "Build"
|
38
|
+
task "build" do
|
40
39
|
system("gem build bootstrap-wysihtml5-rails.gemspec")
|
40
|
+
end
|
41
|
+
|
42
|
+
desc "Release a new version"
|
43
|
+
task "release" do
|
41
44
|
system("gem push bootstrap-wysihtml5-rails-#{BootstrapWysihtml5Rails::Rails::VERSION}.gem")
|
42
45
|
system("git push")
|
43
46
|
end
|
@@ -414,7 +414,7 @@
|
|
414
414
|
"div": 1
|
415
415
|
}
|
416
416
|
},
|
417
|
-
stylesheets: ["
|
417
|
+
stylesheets: ["#{Rails.configuration.assets.prefix}/bootstrap-wysihtml5/wysiwyg-color.css"], // (path_to_project/lib/css/wysiwyg-color.css)
|
418
418
|
locale: "en"
|
419
419
|
};
|
420
420
|
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Dutch translation for bootstrap-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["nl-NL"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Normale Tekst",
|
8
|
+
h1: "Kop 1",
|
9
|
+
h2: "Kop 2",
|
10
|
+
h3: "Kop 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Vet",
|
14
|
+
italic: "Cursief",
|
15
|
+
underline: "Onderstrepen"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Ongeordende lijst",
|
19
|
+
ordered: "Geordende lijst",
|
20
|
+
outdent: "Inspringen verkleinen",
|
21
|
+
indent: "Inspringen vergroten"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Link invoegen",
|
25
|
+
cancel: "Annuleren"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Afbeelding invoegen",
|
29
|
+
cancel: "Annuleren"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML bewerken"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Zwart",
|
36
|
+
silver: "Zilver",
|
37
|
+
gray: "Grijs",
|
38
|
+
maroon: "Kastanjebruin",
|
39
|
+
red: "Rood",
|
40
|
+
purple: "Paars",
|
41
|
+
green: "Groen",
|
42
|
+
olive: "Olijfgroen",
|
43
|
+
navy: "Donkerblauw",
|
44
|
+
blue: "Blauw",
|
45
|
+
orange: "Oranje"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-wysihtml5-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.1.
|
4
|
+
version: 0.3.1.11
|
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-11-
|
12
|
+
date: 2012-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -146,7 +146,7 @@ files:
|
|
146
146
|
- testapp/vendor/assets/javascripts/.gitkeep
|
147
147
|
- testapp/vendor/assets/stylesheets/.gitkeep
|
148
148
|
- testapp/vendor/plugins/.gitkeep
|
149
|
-
- vendor/assets/javascripts/bootstrap-wysihtml5/core.js
|
149
|
+
- vendor/assets/javascripts/bootstrap-wysihtml5/core.js.erb
|
150
150
|
- vendor/assets/javascripts/bootstrap-wysihtml5/index.js
|
151
151
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/ca-CT.js
|
152
152
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/de-DE.js
|
@@ -160,6 +160,7 @@ files:
|
|
160
160
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/ja-JP.js
|
161
161
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/lt-LT.js
|
162
162
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/mo-MD.js
|
163
|
+
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/nl-NL.js
|
163
164
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/pt-BR.js
|
164
165
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/ru-RU.js
|
165
166
|
- vendor/assets/javascripts/bootstrap-wysihtml5/locales/sv-SE.js
|
@@ -181,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
182
|
version: '0'
|
182
183
|
segments:
|
183
184
|
- 0
|
184
|
-
hash:
|
185
|
+
hash: 638394545329125892
|
185
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
187
|
none: false
|
187
188
|
requirements:
|
@@ -190,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
191
|
version: '0'
|
191
192
|
segments:
|
192
193
|
- 0
|
193
|
-
hash:
|
194
|
+
hash: 638394545329125892
|
194
195
|
requirements: []
|
195
196
|
rubyforge_project:
|
196
197
|
rubygems_version: 1.8.24
|