jwysiwyg_rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +98 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/app/assets/images/ajax-loader.gif +0 -0
- data/app/assets/images/jquery.wysiwyg.bg.png +0 -0
- data/app/assets/images/jquery.wysiwyg.gif +0 -0
- data/app/assets/images/jquery.wysiwyg.jpg +0 -0
- data/app/assets/images/jquery.wysiwyg.no-alpha.gif +0 -0
- data/app/assets/images/plugins/fileManager/icon.png +0 -0
- data/app/assets/images/plugins/fileManager/images/application.png +0 -0
- data/app/assets/images/plugins/fileManager/images/code.png +0 -0
- data/app/assets/images/plugins/fileManager/images/css.png +0 -0
- data/app/assets/images/plugins/fileManager/images/db.png +0 -0
- data/app/assets/images/plugins/fileManager/images/directory.png +0 -0
- data/app/assets/images/plugins/fileManager/images/doc.png +0 -0
- data/app/assets/images/plugins/fileManager/images/file.png +0 -0
- data/app/assets/images/plugins/fileManager/images/film.png +0 -0
- data/app/assets/images/plugins/fileManager/images/flash.png +0 -0
- data/app/assets/images/plugins/fileManager/images/folder_open.png +0 -0
- data/app/assets/images/plugins/fileManager/images/html.png +0 -0
- data/app/assets/images/plugins/fileManager/images/java.png +0 -0
- data/app/assets/images/plugins/fileManager/images/linux.png +0 -0
- data/app/assets/images/plugins/fileManager/images/mkdir.png +0 -0
- data/app/assets/images/plugins/fileManager/images/music.png +0 -0
- data/app/assets/images/plugins/fileManager/images/pdf.png +0 -0
- data/app/assets/images/plugins/fileManager/images/php.png +0 -0
- data/app/assets/images/plugins/fileManager/images/picture.png +0 -0
- data/app/assets/images/plugins/fileManager/images/ppt.png +0 -0
- data/app/assets/images/plugins/fileManager/images/prev-directory.png +0 -0
- data/app/assets/images/plugins/fileManager/images/psd.png +0 -0
- data/app/assets/images/plugins/fileManager/images/remove.png +0 -0
- data/app/assets/images/plugins/fileManager/images/rename.png +0 -0
- data/app/assets/images/plugins/fileManager/images/ruby.png +0 -0
- data/app/assets/images/plugins/fileManager/images/script.png +0 -0
- data/app/assets/images/plugins/fileManager/images/txt.png +0 -0
- data/app/assets/images/plugins/fileManager/images/upload.png +0 -0
- data/app/assets/images/plugins/fileManager/images/xls.png +0 -0
- data/app/assets/images/plugins/fileManager/images/zip.png +0 -0
- data/app/assets/javascripts/controls/wysiwyg.colorpicker.js +250 -0
- data/app/assets/javascripts/controls/wysiwyg.cssWrap.js +134 -0
- data/app/assets/javascripts/controls/wysiwyg.image.js +285 -0
- data/app/assets/javascripts/controls/wysiwyg.link.js +249 -0
- data/app/assets/javascripts/controls/wysiwyg.table.js +129 -0
- data/app/assets/javascripts/i18n/lang.cs.js +116 -0
- data/app/assets/javascripts/i18n/lang.de.js +94 -0
- data/app/assets/javascripts/i18n/lang.en.js +117 -0
- data/app/assets/javascripts/i18n/lang.es.js +94 -0
- data/app/assets/javascripts/i18n/lang.fr.js +94 -0
- data/app/assets/javascripts/i18n/lang.he.js +94 -0
- data/app/assets/javascripts/i18n/lang.hr.js +98 -0
- data/app/assets/javascripts/i18n/lang.it.js +94 -0
- data/app/assets/javascripts/i18n/lang.ja.js +95 -0
- data/app/assets/javascripts/i18n/lang.nl.js +94 -0
- data/app/assets/javascripts/i18n/lang.pl.js +94 -0
- data/app/assets/javascripts/i18n/lang.pt_br.js +94 -0
- data/app/assets/javascripts/i18n/lang.ru.js +117 -0
- data/app/assets/javascripts/i18n/lang.se.js +94 -0
- data/app/assets/javascripts/i18n/lang.sl.js +94 -0
- data/app/assets/javascripts/i18n/lang.zh-cn.js +93 -0
- data/app/assets/javascripts/plugins/wysiwyg.autoload.js +61 -0
- data/app/assets/javascripts/plugins/wysiwyg.fileManager.js +572 -0
- data/app/assets/javascripts/plugins/wysiwyg.fullscreen.js +141 -0
- data/app/assets/javascripts/plugins/wysiwyg.i18n.js +99 -0
- data/app/assets/javascripts/plugins/wysiwyg.rmFormat.js +357 -0
- data/app/assets/stylesheets/jquery.wysiwyg.css +95 -0
- data/app/assets/stylesheets/jquery.wysiwyg.modal.css +62 -0
- data/app/assets/stylesheets/jquery.wysiwyg.old-school.css +63 -0
- data/app/assets/stylesheets/jwysiwyg.css +1 -0
- data/app/assets/stylesheets/plugins/fileManager/wysiwyg.fileManager.css +113 -0
- data/jwysiwyg_rails.gemspec +129 -0
- data/lib/engine.rb +8 -0
- data/lib/jwysiwyg_rails.rb +14 -0
- data/test/helper.rb +18 -0
- data/test/test_jwysiwyg_rails.rb +7 -0
- metadata +219 -0
@@ -0,0 +1,113 @@
|
|
1
|
+
/*
|
2
|
+
* Style Sheet for the File Manager plugin for jWYSIWYG
|
3
|
+
*
|
4
|
+
* Yotam Bar-On, 2011
|
5
|
+
*
|
6
|
+
* Uses the Silk Icon Set: http://www.famfamfam.com/lab/icons/silk/
|
7
|
+
* The Silk Icon Set is released under CC-3.0/2.5 and was created by FAMFAMFAM.
|
8
|
+
*/
|
9
|
+
|
10
|
+
div.wysiwyg ul.toolbar li.fileManager, div.wysiwyg-fileManager { background: url('icon.png'); }
|
11
|
+
div.wysiwyg-fileManager { width:16px; height:16px; cursor: pointer; cursor: hand; }
|
12
|
+
|
13
|
+
|
14
|
+
.wysiwyg-files-wrapper { padding:10px; }
|
15
|
+
|
16
|
+
#wysiwyg-files-list-wrapper { min-height:50px; max-height:400px; overflow:auto; }
|
17
|
+
* html #wysiwyg-files-list-wrapper { height: 600px; }
|
18
|
+
|
19
|
+
.wysiwyg-files-ajax { background: url(../../ajax-loader.gif) left top no-repeat; }
|
20
|
+
|
21
|
+
.wysiwyg-files-file-preview { position:absolute; background-position:center center; background-color:#fff; border:solid 1px; padding:2px; min-width:16px; min-height:16px; max-width:300px; z-index:200000; }
|
22
|
+
* html .wysiwyg-files-file-preview { width:90px; }
|
23
|
+
|
24
|
+
/* CSS3 for fun */
|
25
|
+
.wysiwyg-files-wrapper li {
|
26
|
+
-moz-transition: all 0.5s ease-out; /* FF4+ */
|
27
|
+
-o-transition: all 0.5s ease-out; /* Opera 10.5+ */
|
28
|
+
-webkit-transition: all 0.5s ease-out; /* Saf3.2+, Chrome */
|
29
|
+
-ms-transition: all 0.5s ease-out; /* IE10? */
|
30
|
+
transition: all 0.5s ease-out;
|
31
|
+
}
|
32
|
+
|
33
|
+
.wysiwyg-files-wrapper ul { padding:0px; margin:0px; }
|
34
|
+
.wysiwyg-files-wrapper li { list-style:none; padding:0px; padding-left:20px; margin: 2px; }
|
35
|
+
.wysiwyg-files-wrapper li a { display:inline-block; text-decoration:none; cursor: pointer; cursor: hand; }
|
36
|
+
.wysiwyg-files-textfield { width:250px; border:solid 1px !important; }
|
37
|
+
|
38
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-hover { background-color: #BDF !important; }
|
39
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-dir { background: url(images/directory.png) left top no-repeat; }
|
40
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-dir-expanded { background: url(images/folder_open.png) left top no-repeat; }
|
41
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-file { background: url(images/file.png) left top no-repeat; }
|
42
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-dir-prev { background: url(images/prev-directory.png) left top no-repeat; }
|
43
|
+
|
44
|
+
.wysiwyg-files-wrapper li .wysiwyg-files-action { float:right; width:16px; height:16px; margin:2px; cursor: pointer; cursor: hand; }
|
45
|
+
.wysiwyg-files-wrapper li .wysiwyg-files-action-rename { background: url(images/rename.png) left top no-repeat; }
|
46
|
+
.wysiwyg-files-wrapper li .wysiwyg-files-action-remove { background: url(images/remove.png) left top no-repeat; }
|
47
|
+
.wysiwyg-files-wrapper .wysiwyg-files-action-upload, .wysiwyg-files-wrapper .wysiwyg-files-action-mkdir { float:right; width:16px; height:16px; margin:2px; cursor: pointer; cursor: hand; }
|
48
|
+
.wysiwyg-files-wrapper .wysiwyg-files-action-upload { background: url(images/upload.png); }
|
49
|
+
.wysiwyg-files-wrapper .wysiwyg-files-action-mkdir { background: url(images/mkdir.png);}
|
50
|
+
|
51
|
+
/*
|
52
|
+
* Below is the list of file-types classes.
|
53
|
+
*/
|
54
|
+
|
55
|
+
/* This REALLY needs to become a sprite */
|
56
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-3gp { background: url(images/film.png) left top no-repeat; }
|
57
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-afp { background: url(images/code.png) left top no-repeat; }
|
58
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-afpa { background: url(images/code.png) left top no-repeat; }
|
59
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-asp { background: url(images/code.png) left top no-repeat; }
|
60
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-aspx { background: url(images/code.png) left top no-repeat; }
|
61
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-avi { background: url(images/film.png) left top no-repeat; }
|
62
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-bat { background: url(images/application.png) left top no-repeat; }
|
63
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-bmp { background: url(images/picture.png) left top no-repeat; }
|
64
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-c { background: url(images/code.png) left top no-repeat; }
|
65
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-cfm { background: url(images/code.png) left top no-repeat; }
|
66
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-cgi { background: url(images/code.png) left top no-repeat; }
|
67
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-com { background: url(images/application.png) left top no-repeat; }
|
68
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-cpp { background: url(images/code.png) left top no-repeat; }
|
69
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-css { background: url(images/css.png) left top no-repeat; }
|
70
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-doc { background: url(images/doc.png) left top no-repeat; }
|
71
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-exe { background: url(images/application.png) left top no-repeat; }
|
72
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-gif { background: url(images/picture.png) left top no-repeat; }
|
73
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-fla { background: url(images/flash.png) left top no-repeat; }
|
74
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-h { background: url(images/code.png) left top no-repeat; }
|
75
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-htm { background: url(images/html.png) left top no-repeat; }
|
76
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-html { background: url(images/html.png) left top no-repeat; }
|
77
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-jar { background: url(images/java.png) left top no-repeat; }
|
78
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-jpg { background: url(images/picture.png) left top no-repeat; }
|
79
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-jpeg { background: url(images/picture.png) left top no-repeat; }
|
80
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-js { background: url(images/script.png) left top no-repeat; }
|
81
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-lasso { background: url(images/code.png) left top no-repeat; }
|
82
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-log { background: url(images/txt.png) left top no-repeat; }
|
83
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-m4p { background: url(images/music.png) left top no-repeat; }
|
84
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-mov { background: url(images/film.png) left top no-repeat; }
|
85
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-mp3 { background: url(images/music.png) left top no-repeat; }
|
86
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-mp4 { background: url(images/film.png) left top no-repeat; }
|
87
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-mpg { background: url(images/film.png) left top no-repeat; }
|
88
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-mpeg { background: url(images/film.png) left top no-repeat; }
|
89
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-ogg { background: url(images/music.png) left top no-repeat; }
|
90
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-pcx { background: url(images/picture.png) left top no-repeat; }
|
91
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-pdf { background: url(images/pdf.png) left top no-repeat; }
|
92
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-php { background: url(images/php.png) left top no-repeat; }
|
93
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-png { background: url(images/picture.png) left top no-repeat; }
|
94
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-ppt { background: url(images/ppt.png) left top no-repeat; }
|
95
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-psd { background: url(images/psd.png) left top no-repeat; }
|
96
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-pl { background: url(images/script.png) left top no-repeat; }
|
97
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-py { background: url(images/script.png) left top no-repeat; }
|
98
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-rb { background: url(images/ruby.png) left top no-repeat; }
|
99
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-rbx { background: url(images/ruby.png) left top no-repeat; }
|
100
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-rhtml { background: url(images/ruby.png) left top no-repeat; }
|
101
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-rpm { background: url(images/linux.png) left top no-repeat; }
|
102
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-ruby { background: url(images/ruby.png) left top no-repeat; }
|
103
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-sql { background: url(images/db.png) left top no-repeat; }
|
104
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-swf { background: url(images/flash.png) left top no-repeat; }
|
105
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-tif { background: url(images/picture.png) left top no-repeat; }
|
106
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-tiff { background: url(images/picture.png) left top no-repeat; }
|
107
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-txt { background: url(images/txt.png) left top no-repeat; }
|
108
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-vb { background: url(images/code.png) left top no-repeat; }
|
109
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-wav { background: url(images/music.png) left top no-repeat; }
|
110
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-wmv { background: url(images/film.png) left top no-repeat; }
|
111
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-xls { background: url(images/xls.png) left top no-repeat; }
|
112
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-xml { background: url(images/code.png) left top no-repeat; }
|
113
|
+
.wysiwyg-files-wrapper li.wysiwyg-files-zip { background: url(images/zip.png) left top no-repeat; }
|
@@ -0,0 +1,129 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{jwysiwyg_rails}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Jeff Wigal"]
|
12
|
+
s.date = %q{2011-12-10}
|
13
|
+
s.description = %q{Rails 3.1 engine for jwysiwyg}
|
14
|
+
s.email = %q{jeff@assignr.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"app/assets/images/ajax-loader.gif",
|
28
|
+
"app/assets/images/jquery.wysiwyg.bg.png",
|
29
|
+
"app/assets/images/jquery.wysiwyg.gif",
|
30
|
+
"app/assets/images/jquery.wysiwyg.jpg",
|
31
|
+
"app/assets/images/jquery.wysiwyg.no-alpha.gif",
|
32
|
+
"app/assets/images/plugins/fileManager/icon.png",
|
33
|
+
"app/assets/images/plugins/fileManager/images/application.png",
|
34
|
+
"app/assets/images/plugins/fileManager/images/code.png",
|
35
|
+
"app/assets/images/plugins/fileManager/images/css.png",
|
36
|
+
"app/assets/images/plugins/fileManager/images/db.png",
|
37
|
+
"app/assets/images/plugins/fileManager/images/directory.png",
|
38
|
+
"app/assets/images/plugins/fileManager/images/doc.png",
|
39
|
+
"app/assets/images/plugins/fileManager/images/file.png",
|
40
|
+
"app/assets/images/plugins/fileManager/images/film.png",
|
41
|
+
"app/assets/images/plugins/fileManager/images/flash.png",
|
42
|
+
"app/assets/images/plugins/fileManager/images/folder_open.png",
|
43
|
+
"app/assets/images/plugins/fileManager/images/html.png",
|
44
|
+
"app/assets/images/plugins/fileManager/images/java.png",
|
45
|
+
"app/assets/images/plugins/fileManager/images/linux.png",
|
46
|
+
"app/assets/images/plugins/fileManager/images/mkdir.png",
|
47
|
+
"app/assets/images/plugins/fileManager/images/music.png",
|
48
|
+
"app/assets/images/plugins/fileManager/images/pdf.png",
|
49
|
+
"app/assets/images/plugins/fileManager/images/php.png",
|
50
|
+
"app/assets/images/plugins/fileManager/images/picture.png",
|
51
|
+
"app/assets/images/plugins/fileManager/images/ppt.png",
|
52
|
+
"app/assets/images/plugins/fileManager/images/prev-directory.png",
|
53
|
+
"app/assets/images/plugins/fileManager/images/psd.png",
|
54
|
+
"app/assets/images/plugins/fileManager/images/remove.png",
|
55
|
+
"app/assets/images/plugins/fileManager/images/rename.png",
|
56
|
+
"app/assets/images/plugins/fileManager/images/ruby.png",
|
57
|
+
"app/assets/images/plugins/fileManager/images/script.png",
|
58
|
+
"app/assets/images/plugins/fileManager/images/txt.png",
|
59
|
+
"app/assets/images/plugins/fileManager/images/upload.png",
|
60
|
+
"app/assets/images/plugins/fileManager/images/xls.png",
|
61
|
+
"app/assets/images/plugins/fileManager/images/zip.png",
|
62
|
+
"app/assets/javascripts/controls/wysiwyg.colorpicker.js",
|
63
|
+
"app/assets/javascripts/controls/wysiwyg.cssWrap.js",
|
64
|
+
"app/assets/javascripts/controls/wysiwyg.image.js",
|
65
|
+
"app/assets/javascripts/controls/wysiwyg.link.js",
|
66
|
+
"app/assets/javascripts/controls/wysiwyg.table.js",
|
67
|
+
"app/assets/javascripts/i18n/lang.cs.js",
|
68
|
+
"app/assets/javascripts/i18n/lang.de.js",
|
69
|
+
"app/assets/javascripts/i18n/lang.en.js",
|
70
|
+
"app/assets/javascripts/i18n/lang.es.js",
|
71
|
+
"app/assets/javascripts/i18n/lang.fr.js",
|
72
|
+
"app/assets/javascripts/i18n/lang.he.js",
|
73
|
+
"app/assets/javascripts/i18n/lang.hr.js",
|
74
|
+
"app/assets/javascripts/i18n/lang.it.js",
|
75
|
+
"app/assets/javascripts/i18n/lang.ja.js",
|
76
|
+
"app/assets/javascripts/i18n/lang.nl.js",
|
77
|
+
"app/assets/javascripts/i18n/lang.pl.js",
|
78
|
+
"app/assets/javascripts/i18n/lang.pt_br.js",
|
79
|
+
"app/assets/javascripts/i18n/lang.ru.js",
|
80
|
+
"app/assets/javascripts/i18n/lang.se.js",
|
81
|
+
"app/assets/javascripts/i18n/lang.sl.js",
|
82
|
+
"app/assets/javascripts/i18n/lang.zh-cn.js",
|
83
|
+
"app/assets/javascripts/plugins/wysiwyg.autoload.js",
|
84
|
+
"app/assets/javascripts/plugins/wysiwyg.fileManager.js",
|
85
|
+
"app/assets/javascripts/plugins/wysiwyg.fullscreen.js",
|
86
|
+
"app/assets/javascripts/plugins/wysiwyg.i18n.js",
|
87
|
+
"app/assets/javascripts/plugins/wysiwyg.rmFormat.js",
|
88
|
+
"app/assets/stylesheets/jquery.wysiwyg.css",
|
89
|
+
"app/assets/stylesheets/jquery.wysiwyg.modal.css",
|
90
|
+
"app/assets/stylesheets/jquery.wysiwyg.old-school.css",
|
91
|
+
"app/assets/stylesheets/jwysiwyg.css",
|
92
|
+
"app/assets/stylesheets/plugins/fileManager/wysiwyg.fileManager.css",
|
93
|
+
"jwysiwyg_rails.gemspec",
|
94
|
+
"lib/engine.rb",
|
95
|
+
"lib/jwysiwyg_rails.rb",
|
96
|
+
"test/helper.rb",
|
97
|
+
"test/test_jwysiwyg_rails.rb"
|
98
|
+
]
|
99
|
+
s.homepage = %q{http://github.com/jwigal/jwysiwyg_rails}
|
100
|
+
s.licenses = ["MIT"]
|
101
|
+
s.require_paths = ["lib"]
|
102
|
+
s.rubygems_version = %q{1.5.2}
|
103
|
+
s.summary = %q{Rails 3.1 engine for jwysiwyg}
|
104
|
+
|
105
|
+
if s.respond_to? :specification_version then
|
106
|
+
s.specification_version = 3
|
107
|
+
|
108
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
109
|
+
s.add_runtime_dependency(%q<rails>, ["~> 3.1"])
|
110
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
111
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
112
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
113
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
114
|
+
else
|
115
|
+
s.add_dependency(%q<rails>, ["~> 3.1"])
|
116
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
117
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
118
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
119
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
120
|
+
end
|
121
|
+
else
|
122
|
+
s.add_dependency(%q<rails>, ["~> 3.1"])
|
123
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
124
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
125
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
126
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
data/lib/engine.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require "active_support/dependencies"
|
2
|
+
module JwysiwygRails
|
3
|
+
|
4
|
+
# Our host application root path
|
5
|
+
# We set this when the engine is initialized
|
6
|
+
mattr_accessor :app_root
|
7
|
+
|
8
|
+
# Yield self on setup for nice config blocks
|
9
|
+
def self.setup
|
10
|
+
yield self
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
require 'engine'
|
data/test/helper.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'test/unit'
|
11
|
+
require 'shoulda'
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
+
require 'jwysiwyg_rails'
|
16
|
+
|
17
|
+
class Test::Unit::TestCase
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,219 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jwysiwyg_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Jeff Wigal
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-12-10 00:00:00 -05:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rails
|
23
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 5
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 1
|
32
|
+
version: "3.1"
|
33
|
+
prerelease: false
|
34
|
+
type: :runtime
|
35
|
+
requirement: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: shoulda
|
38
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
prerelease: false
|
48
|
+
type: :development
|
49
|
+
requirement: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: bundler
|
52
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 23
|
58
|
+
segments:
|
59
|
+
- 1
|
60
|
+
- 0
|
61
|
+
- 0
|
62
|
+
version: 1.0.0
|
63
|
+
prerelease: false
|
64
|
+
type: :development
|
65
|
+
requirement: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: jeweler
|
68
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 7
|
74
|
+
segments:
|
75
|
+
- 1
|
76
|
+
- 6
|
77
|
+
- 4
|
78
|
+
version: 1.6.4
|
79
|
+
prerelease: false
|
80
|
+
type: :development
|
81
|
+
requirement: *id004
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rcov
|
84
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 3
|
90
|
+
segments:
|
91
|
+
- 0
|
92
|
+
version: "0"
|
93
|
+
prerelease: false
|
94
|
+
type: :development
|
95
|
+
requirement: *id005
|
96
|
+
description: Rails 3.1 engine for jwysiwyg
|
97
|
+
email: jeff@assignr.com
|
98
|
+
executables: []
|
99
|
+
|
100
|
+
extensions: []
|
101
|
+
|
102
|
+
extra_rdoc_files:
|
103
|
+
- LICENSE.txt
|
104
|
+
- README.rdoc
|
105
|
+
files:
|
106
|
+
- .document
|
107
|
+
- Gemfile
|
108
|
+
- Gemfile.lock
|
109
|
+
- LICENSE.txt
|
110
|
+
- README.rdoc
|
111
|
+
- Rakefile
|
112
|
+
- VERSION
|
113
|
+
- app/assets/images/ajax-loader.gif
|
114
|
+
- app/assets/images/jquery.wysiwyg.bg.png
|
115
|
+
- app/assets/images/jquery.wysiwyg.gif
|
116
|
+
- app/assets/images/jquery.wysiwyg.jpg
|
117
|
+
- app/assets/images/jquery.wysiwyg.no-alpha.gif
|
118
|
+
- app/assets/images/plugins/fileManager/icon.png
|
119
|
+
- app/assets/images/plugins/fileManager/images/application.png
|
120
|
+
- app/assets/images/plugins/fileManager/images/code.png
|
121
|
+
- app/assets/images/plugins/fileManager/images/css.png
|
122
|
+
- app/assets/images/plugins/fileManager/images/db.png
|
123
|
+
- app/assets/images/plugins/fileManager/images/directory.png
|
124
|
+
- app/assets/images/plugins/fileManager/images/doc.png
|
125
|
+
- app/assets/images/plugins/fileManager/images/file.png
|
126
|
+
- app/assets/images/plugins/fileManager/images/film.png
|
127
|
+
- app/assets/images/plugins/fileManager/images/flash.png
|
128
|
+
- app/assets/images/plugins/fileManager/images/folder_open.png
|
129
|
+
- app/assets/images/plugins/fileManager/images/html.png
|
130
|
+
- app/assets/images/plugins/fileManager/images/java.png
|
131
|
+
- app/assets/images/plugins/fileManager/images/linux.png
|
132
|
+
- app/assets/images/plugins/fileManager/images/mkdir.png
|
133
|
+
- app/assets/images/plugins/fileManager/images/music.png
|
134
|
+
- app/assets/images/plugins/fileManager/images/pdf.png
|
135
|
+
- app/assets/images/plugins/fileManager/images/php.png
|
136
|
+
- app/assets/images/plugins/fileManager/images/picture.png
|
137
|
+
- app/assets/images/plugins/fileManager/images/ppt.png
|
138
|
+
- app/assets/images/plugins/fileManager/images/prev-directory.png
|
139
|
+
- app/assets/images/plugins/fileManager/images/psd.png
|
140
|
+
- app/assets/images/plugins/fileManager/images/remove.png
|
141
|
+
- app/assets/images/plugins/fileManager/images/rename.png
|
142
|
+
- app/assets/images/plugins/fileManager/images/ruby.png
|
143
|
+
- app/assets/images/plugins/fileManager/images/script.png
|
144
|
+
- app/assets/images/plugins/fileManager/images/txt.png
|
145
|
+
- app/assets/images/plugins/fileManager/images/upload.png
|
146
|
+
- app/assets/images/plugins/fileManager/images/xls.png
|
147
|
+
- app/assets/images/plugins/fileManager/images/zip.png
|
148
|
+
- app/assets/javascripts/controls/wysiwyg.colorpicker.js
|
149
|
+
- app/assets/javascripts/controls/wysiwyg.cssWrap.js
|
150
|
+
- app/assets/javascripts/controls/wysiwyg.image.js
|
151
|
+
- app/assets/javascripts/controls/wysiwyg.link.js
|
152
|
+
- app/assets/javascripts/controls/wysiwyg.table.js
|
153
|
+
- app/assets/javascripts/i18n/lang.cs.js
|
154
|
+
- app/assets/javascripts/i18n/lang.de.js
|
155
|
+
- app/assets/javascripts/i18n/lang.en.js
|
156
|
+
- app/assets/javascripts/i18n/lang.es.js
|
157
|
+
- app/assets/javascripts/i18n/lang.fr.js
|
158
|
+
- app/assets/javascripts/i18n/lang.he.js
|
159
|
+
- app/assets/javascripts/i18n/lang.hr.js
|
160
|
+
- app/assets/javascripts/i18n/lang.it.js
|
161
|
+
- app/assets/javascripts/i18n/lang.ja.js
|
162
|
+
- app/assets/javascripts/i18n/lang.nl.js
|
163
|
+
- app/assets/javascripts/i18n/lang.pl.js
|
164
|
+
- app/assets/javascripts/i18n/lang.pt_br.js
|
165
|
+
- app/assets/javascripts/i18n/lang.ru.js
|
166
|
+
- app/assets/javascripts/i18n/lang.se.js
|
167
|
+
- app/assets/javascripts/i18n/lang.sl.js
|
168
|
+
- app/assets/javascripts/i18n/lang.zh-cn.js
|
169
|
+
- app/assets/javascripts/plugins/wysiwyg.autoload.js
|
170
|
+
- app/assets/javascripts/plugins/wysiwyg.fileManager.js
|
171
|
+
- app/assets/javascripts/plugins/wysiwyg.fullscreen.js
|
172
|
+
- app/assets/javascripts/plugins/wysiwyg.i18n.js
|
173
|
+
- app/assets/javascripts/plugins/wysiwyg.rmFormat.js
|
174
|
+
- app/assets/stylesheets/jquery.wysiwyg.css
|
175
|
+
- app/assets/stylesheets/jquery.wysiwyg.modal.css
|
176
|
+
- app/assets/stylesheets/jquery.wysiwyg.old-school.css
|
177
|
+
- app/assets/stylesheets/jwysiwyg.css
|
178
|
+
- app/assets/stylesheets/plugins/fileManager/wysiwyg.fileManager.css
|
179
|
+
- jwysiwyg_rails.gemspec
|
180
|
+
- lib/engine.rb
|
181
|
+
- lib/jwysiwyg_rails.rb
|
182
|
+
- test/helper.rb
|
183
|
+
- test/test_jwysiwyg_rails.rb
|
184
|
+
has_rdoc: true
|
185
|
+
homepage: http://github.com/jwigal/jwysiwyg_rails
|
186
|
+
licenses:
|
187
|
+
- MIT
|
188
|
+
post_install_message:
|
189
|
+
rdoc_options: []
|
190
|
+
|
191
|
+
require_paths:
|
192
|
+
- lib
|
193
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
hash: 3
|
199
|
+
segments:
|
200
|
+
- 0
|
201
|
+
version: "0"
|
202
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
204
|
+
requirements:
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
hash: 3
|
208
|
+
segments:
|
209
|
+
- 0
|
210
|
+
version: "0"
|
211
|
+
requirements: []
|
212
|
+
|
213
|
+
rubyforge_project:
|
214
|
+
rubygems_version: 1.5.2
|
215
|
+
signing_key:
|
216
|
+
specification_version: 3
|
217
|
+
summary: Rails 3.1 engine for jwysiwyg
|
218
|
+
test_files: []
|
219
|
+
|