imperavi-rails 0.0.4.beta → 0.0.5.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/bg.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/bg_modal.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/close.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/avi.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/csv.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/doc.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/gif.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/html.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/jpg.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/mov.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/other.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/pdf.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/png.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/ppt.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/rar.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/rtf.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/txt.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/xls.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/fileicons/zip.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/hover.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/icons.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/resizer.gif +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/separator.png +0 -0
- data/app/assets/images/{imperavi_rails → imperavi-rails}/imperavi/video_box.png +0 -0
- data/app/assets/javascripts/imperavi-rails/imperavi.js +4 -4
- data/app/assets/stylesheets/imperavi-rails/application.css +0 -3
- data/app/assets/stylesheets/imperavi-rails/imperavi/imperavi-base.css.scss +17 -17
- data/app/assets/stylesheets/imperavi-rails/imperavi/redactor.css.scss +9 -9
- data/lib/imperavi-rails/version.rb +1 -1
- metadata +41 -41
data/README.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//= require
|
2
|
-
//= require
|
3
|
-
//= require
|
4
|
-
//= require
|
1
|
+
//= require imperavi/linkify
|
2
|
+
//= require imperavi/textselect
|
3
|
+
//= require imperavi/dd_upload
|
4
|
+
//= require imperavi/redactor
|
@@ -1,7 +1,4 @@
|
|
1
1
|
/*
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
2
|
*= require_self
|
6
3
|
*= require_tree .
|
7
4
|
*/
|
@@ -108,7 +108,7 @@
|
|
108
108
|
.redactor_video_box {
|
109
109
|
width: 300px;
|
110
110
|
height: 200px;
|
111
|
-
background: asset-url("
|
111
|
+
background: asset-url("imperavi-rails/video_box.png", images) center no-repeat #000 !important;
|
112
112
|
margin: 10px;
|
113
113
|
|
114
114
|
object, embed, iframe {
|
@@ -118,22 +118,22 @@
|
|
118
118
|
|
119
119
|
.redactor_file_link { padding-left: 20px; }
|
120
120
|
|
121
|
-
.redactor_file_ico_avi { background: asset-url("
|
122
|
-
.redactor_file_ico_csv { background: asset-url("
|
123
|
-
.redactor_file_ico_doc { background: asset-url("
|
124
|
-
.redactor_file_ico_gif { background: asset-url("
|
125
|
-
.redactor_file_ico_html { background: asset-url("
|
126
|
-
.redactor_file_ico_jpg { background: asset-url("
|
127
|
-
.redactor_file_ico_mov { background: asset-url("
|
128
|
-
.redactor_file_ico_other { background: asset-url("
|
129
|
-
.redactor_file_ico_pdf { background: asset-url("
|
130
|
-
.redactor_file_ico_png { background: asset-url("
|
131
|
-
.redactor_file_ico_ppt { background: asset-url("
|
132
|
-
.redactor_file_ico_rar { background: asset-url("
|
133
|
-
.redactor_file_ico_rtf { background: asset-url("
|
134
|
-
.redactor_file_ico_txt { background: asset-url("
|
135
|
-
.redactor_file_ico_xls { background: asset-url("
|
136
|
-
.redactor_file_ico_zip { background: asset-url("
|
121
|
+
.redactor_file_ico_avi { background: asset-url("imperavi-rails/imperavi/fileicons/avi.png", images) no-repeat; }
|
122
|
+
.redactor_file_ico_csv { background: asset-url("imperavi-rails/imperavi/fileicons/csv.png", images) no-repeat; }
|
123
|
+
.redactor_file_ico_doc { background: asset-url("imperavi-rails/imperavi/fileicons/doc.png", images) no-repeat; }
|
124
|
+
.redactor_file_ico_gif { background: asset-url("imperavi-rails/imperavi/fileicons/gif.png", images) no-repeat; }
|
125
|
+
.redactor_file_ico_html { background: asset-url("imperavi-rails/imperavi/fileicons/html.png", images) no-repeat; }
|
126
|
+
.redactor_file_ico_jpg { background: asset-url("imperavi-rails/imperavi/fileicons/jpg.png", images) no-repeat; }
|
127
|
+
.redactor_file_ico_mov { background: asset-url("imperavi-rails/imperavi/fileicons/mov.png", images) no-repeat; }
|
128
|
+
.redactor_file_ico_other { background: asset-url("imperavi-rails/imperavi/fileicons/other.png", images) no-repeat; }
|
129
|
+
.redactor_file_ico_pdf { background: asset-url("imperavi-rails/imperavi/fileicons/pdf.png", images) no-repeat; }
|
130
|
+
.redactor_file_ico_png { background: asset-url("imperavi-rails/imperavi/fileicons/png.png", images) no-repeat; }
|
131
|
+
.redactor_file_ico_ppt { background: asset-url("imperavi-rails/imperavi/fileicons/ppt.png", images) no-repeat; }
|
132
|
+
.redactor_file_ico_rar { background: asset-url("imperavi-rails/imperavi/fileicons/rar.png", images) no-repeat; }
|
133
|
+
.redactor_file_ico_rtf { background: asset-url("imperavi-rails/imperavi/fileicons/rtf.png", images) no-repeat; }
|
134
|
+
.redactor_file_ico_txt { background: asset-url("imperavi-rails/imperavi/fileicons/txt.png", images) no-repeat; }
|
135
|
+
.redactor_file_ico_xls { background: asset-url("imperavi-rails/imperavi/fileicons/xls.png", images) no-repeat; }
|
136
|
+
.redactor_file_ico_zip { background: asset-url("imperavi-rails/imperavi/fileicons/zip.png", images) no-repeat; }
|
137
137
|
|
138
138
|
h1, h2, h3, h4, h5 {
|
139
139
|
font-weight: normal;
|
@@ -116,27 +116,27 @@ body .imp_redactor_resize div {
|
|
116
116
|
/* =Skin
|
117
117
|
-----------------------------------------------------------------------------*/
|
118
118
|
body .imp_redactor_box .imp_redactor_toolbar {
|
119
|
-
background: asset-url("
|
119
|
+
background: asset-url("imperavi-rails/imperavi/bg.png", image) repeat-x top #d1d1d1;
|
120
120
|
border-bottom: 1px solid #b2b2b2;
|
121
121
|
}
|
122
122
|
body .imp_redactor_box .imp_redactor_toolbar li.act {
|
123
|
-
background: asset-url("
|
123
|
+
background: asset-url("imperavi-rails/imperavi/hover.png", image) repeat-x;
|
124
124
|
}
|
125
125
|
body .imp_redactor_box .imp_redactor_toolbar li a {
|
126
|
-
background: asset-url("
|
126
|
+
background: asset-url("imperavi-rails/imperavi/icons.png", image) no-repeat;
|
127
127
|
}
|
128
128
|
body .imp_redactor_box .imp_redactor_toolbar li:hover {
|
129
|
-
background: asset-url("
|
129
|
+
background: asset-url("imperavi-rails/imperavi/hover.png", image) repeat-x;
|
130
130
|
}
|
131
131
|
body .imp_redactor_box .imp_redactor_resize {
|
132
132
|
border-top: 1px solid #d7d6d6 !important;
|
133
|
-
background: asset-url("
|
133
|
+
background: asset-url("imperavi-rails/imperavi/bg.png", image) repeat-x !important;
|
134
134
|
}
|
135
135
|
body .imp_redactor_box .imp_redactor_resize div {
|
136
|
-
background: asset-url("
|
136
|
+
background: asset-url("imperavi-rails/imperavi/resizer.gif", image) center no-repeat !important;
|
137
137
|
}
|
138
138
|
body .imp_redactor_box .imp_redactor_toolbar li.separator {
|
139
|
-
background: asset-url("
|
139
|
+
background: asset-url("imperavi-rails/imperavi/separator.png", image) no-repeat right;
|
140
140
|
}
|
141
141
|
|
142
142
|
|
@@ -193,7 +193,7 @@ body .imp_redactor_toolbar li a.imp_btn_format_clean { background-position: -928
|
|
193
193
|
#redactor_imp_modal_overlay[id] { position: fixed; }
|
194
194
|
|
195
195
|
#redactor_imp_modal {
|
196
|
-
background: asset-url("
|
196
|
+
background: asset-url("imperavi-rails/imperavi/bg_modal.png", image) #dbdbda repeat-x top;
|
197
197
|
position: fixed;
|
198
198
|
top: 50%;
|
199
199
|
left: 50%;
|
@@ -222,7 +222,7 @@ body .imp_redactor_toolbar li a.imp_btn_format_clean { background-position: -928
|
|
222
222
|
top: -11px;
|
223
223
|
width: 30px;
|
224
224
|
height: 30px;
|
225
|
-
background: asset-url("
|
225
|
+
background: asset-url("imperavi-rails/imperavi/close.png", image) no-repeat;
|
226
226
|
cursor: pointer;
|
227
227
|
}
|
228
228
|
.redactor_ruler td {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imperavi-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5.beta
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &20441420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *20441420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &20440780 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *20440780
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &20438720 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *20438720
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: shoulda-matchers
|
49
|
-
requirement: &
|
49
|
+
requirement: &20437600 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *20437600
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: capybara
|
60
|
-
requirement: &
|
60
|
+
requirement: &20436680 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *20436680
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: factory_girl_rails
|
71
|
-
requirement: &
|
71
|
+
requirement: &20435400 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *20435400
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: pry
|
82
|
-
requirement: &
|
82
|
+
requirement: &20524840 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *20524840
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: sqlite3
|
93
|
-
requirement: &
|
93
|
+
requirement: &20523560 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *20523560
|
102
102
|
description: Imparavi wysiwyg editor for Rails 3.1+
|
103
103
|
email:
|
104
104
|
- demerest@gmail.com
|
@@ -117,30 +117,30 @@ files:
|
|
117
117
|
- app/views/imperavi_rails/imperavi/video.html.erb
|
118
118
|
- app/views/imperavi_rails/imperavi/toolbar.js.erb
|
119
119
|
- app/views/imperavi_rails/imperavi/image_edit.html.erb
|
120
|
-
- app/assets/images/
|
121
|
-
- app/assets/images/
|
122
|
-
- app/assets/images/
|
123
|
-
- app/assets/images/
|
124
|
-
- app/assets/images/
|
125
|
-
- app/assets/images/
|
126
|
-
- app/assets/images/
|
127
|
-
- app/assets/images/
|
128
|
-
- app/assets/images/
|
129
|
-
- app/assets/images/
|
130
|
-
- app/assets/images/
|
131
|
-
- app/assets/images/
|
132
|
-
- app/assets/images/
|
133
|
-
- app/assets/images/
|
134
|
-
- app/assets/images/
|
135
|
-
- app/assets/images/
|
136
|
-
- app/assets/images/
|
137
|
-
- app/assets/images/
|
138
|
-
- app/assets/images/
|
139
|
-
- app/assets/images/
|
140
|
-
- app/assets/images/
|
141
|
-
- app/assets/images/
|
142
|
-
- app/assets/images/
|
143
|
-
- app/assets/images/
|
120
|
+
- app/assets/images/imperavi-rails/imperavi/video_box.png
|
121
|
+
- app/assets/images/imperavi-rails/imperavi/separator.png
|
122
|
+
- app/assets/images/imperavi-rails/imperavi/icons.png
|
123
|
+
- app/assets/images/imperavi-rails/imperavi/bg_modal.png
|
124
|
+
- app/assets/images/imperavi-rails/imperavi/close.png
|
125
|
+
- app/assets/images/imperavi-rails/imperavi/resizer.gif
|
126
|
+
- app/assets/images/imperavi-rails/imperavi/bg.png
|
127
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/xls.png
|
128
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/rtf.png
|
129
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/csv.png
|
130
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/html.png
|
131
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/jpg.png
|
132
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/png.png
|
133
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/gif.png
|
134
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/rar.png
|
135
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/avi.png
|
136
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/txt.png
|
137
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/zip.png
|
138
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/ppt.png
|
139
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/pdf.png
|
140
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/doc.png
|
141
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/mov.png
|
142
|
+
- app/assets/images/imperavi-rails/imperavi/fileicons/other.png
|
143
|
+
- app/assets/images/imperavi-rails/imperavi/hover.png
|
144
144
|
- app/assets/stylesheets/imperavi-rails/imperavi/wym.css.scss
|
145
145
|
- app/assets/stylesheets/imperavi-rails/imperavi/redactor.css.scss
|
146
146
|
- app/assets/stylesheets/imperavi-rails/imperavi/imperavi-base.css.scss
|