redactor-rails-paperclip 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/Gemfile +24 -0
- data/MIT-LICENSE +22 -0
- data/README.md +106 -0
- data/Rakefile +3 -0
- data/app/controller/redactor_rails/base_controller.rb +27 -0
- data/app/controller/redactor_rails/documents_controller.rb +3 -0
- data/app/controller/redactor_rails/pictures_controller.rb +3 -0
- data/config/routes.rb +4 -0
- data/lib/generators/redactor/config_generator.rb +17 -0
- data/lib/generators/redactor/install_generator.rb +67 -0
- data/lib/generators/redactor/templates/active_record/carrierwave/migration.rb +25 -0
- data/lib/generators/redactor/templates/active_record/carrierwave/redactor/asset.rb +5 -0
- data/lib/generators/redactor/templates/active_record/carrierwave/redactor/document.rb +11 -0
- data/lib/generators/redactor/templates/active_record/carrierwave/redactor/picture.rb +7 -0
- data/lib/generators/redactor/templates/active_record/paperclip/migration.rb +26 -0
- data/lib/generators/redactor/templates/active_record/paperclip/redactor/asset.rb +4 -0
- data/lib/generators/redactor/templates/active_record/paperclip/redactor/document.rb +13 -0
- data/lib/generators/redactor/templates/active_record/paperclip/redactor/picture.rb +13 -0
- data/lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_document_uploader.rb +15 -0
- data/lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_picture_uploader.rb +53 -0
- data/lib/generators/redactor/templates/config.js +17 -0
- data/lib/generators/redactor/templates/mongoid/carrierwave/redactor/asset.rb +9 -0
- data/lib/generators/redactor/templates/mongoid/carrierwave/redactor/document.rb +14 -0
- data/lib/generators/redactor/templates/mongoid/carrierwave/redactor/picture.rb +7 -0
- data/lib/redactor-rails.rb +34 -0
- data/lib/redactor-rails/backend/carrierwave.rb +64 -0
- data/lib/redactor-rails/backend/paperclip.rb +56 -0
- data/lib/redactor-rails/engine.rb +10 -0
- data/lib/redactor-rails/helper.rb +19 -0
- data/lib/redactor-rails/http.rb +89 -0
- data/lib/redactor-rails/orm/active_record.rb +24 -0
- data/lib/redactor-rails/orm/base.rb +38 -0
- data/lib/redactor-rails/orm/mongoid.rb +37 -0
- data/lib/redactor-rails/version.rb +3 -0
- data/redactor-rails.gemspec +20 -0
- data/vendor/assets/javascripts/redactor-rails/config.js +15 -0
- data/vendor/assets/javascripts/redactor-rails/css/docstyle.css +139 -0
- data/vendor/assets/javascripts/redactor-rails/css/style.css +26 -0
- data/vendor/assets/javascripts/redactor-rails/css/wym.css +151 -0
- data/vendor/assets/javascripts/redactor-rails/index.js +2 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ar.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ba.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/bg.js +67 -0
- data/vendor/assets/javascripts/redactor-rails/langs/by.js +65 -0
- data/vendor/assets/javascripts/redactor-rails/langs/cs.js +77 -0
- data/vendor/assets/javascripts/redactor-rails/langs/da.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/de.js +70 -0
- data/vendor/assets/javascripts/redactor-rails/langs/en.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/eo.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/es.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/fa.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/fi.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/fr.js +76 -0
- data/vendor/assets/javascripts/redactor-rails/langs/hr.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/hu.js +67 -0
- data/vendor/assets/javascripts/redactor-rails/langs/id.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/it.js +68 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ja.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ko.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/lv.js +65 -0
- data/vendor/assets/javascripts/redactor-rails/langs/nl.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/pl.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/pt_br.js +72 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ro.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ru.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/sk.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/sq.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/sr-cir.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/sr-lat.js +69 -0
- data/vendor/assets/javascripts/redactor-rails/langs/sv.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/tr.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/langs/ua.js +67 -0
- data/vendor/assets/javascripts/redactor-rails/langs/vi.js +65 -0
- data/vendor/assets/javascripts/redactor-rails/langs/zh_cn.js +70 -0
- data/vendor/assets/javascripts/redactor-rails/langs/zh_tw.js +66 -0
- data/vendor/assets/javascripts/redactor-rails/redactor.js +4210 -0
- data/vendor/assets/javascripts/redactor-rails/redactor.min.js +12 -0
- data/vendor/assets/stylesheets/redactor-rails/css/redactor.css +692 -0
- data/vendor/assets/stylesheets/redactor-rails/css/style.css +26 -0
- data/vendor/assets/stylesheets/redactor-rails/index.css +1 -0
- metadata +161 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
html, body {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
}
|
5
|
+
|
6
|
+
|
7
|
+
/* =Typography
|
8
|
+
-----------------------------------------------------------------------------*/
|
9
|
+
body {
|
10
|
+
font-family: Helvetica, Arial, sans-serif;
|
11
|
+
font-size: 14px;
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
/* =Layout
|
16
|
+
-----------------------------------------------------------------------------*/
|
17
|
+
#page {
|
18
|
+
width: 940px;
|
19
|
+
margin: 50px auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* =Misc
|
23
|
+
-----------------------------------------------------------------------------*/
|
24
|
+
.list li {
|
25
|
+
margin: 10px 0;
|
26
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require ./css/redactor
|
metadata
ADDED
@@ -0,0 +1,161 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redactor-rails-paperclip
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Sammy
|
9
|
+
- Serge
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: mime-types
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: orm_adapter
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
description: The redactor-rails gem integrates the Redactor editor without devise
|
48
|
+
and with paperclip backend support
|
49
|
+
email:
|
50
|
+
- sammylintw@gmail.com
|
51
|
+
- sergeg1990@gmail.com
|
52
|
+
executables: []
|
53
|
+
extensions: []
|
54
|
+
extra_rdoc_files: []
|
55
|
+
files:
|
56
|
+
- .gitignore
|
57
|
+
- Gemfile
|
58
|
+
- MIT-LICENSE
|
59
|
+
- README.md
|
60
|
+
- Rakefile
|
61
|
+
- app/controller/redactor_rails/base_controller.rb
|
62
|
+
- app/controller/redactor_rails/documents_controller.rb
|
63
|
+
- app/controller/redactor_rails/pictures_controller.rb
|
64
|
+
- config/routes.rb
|
65
|
+
- lib/generators/redactor/config_generator.rb
|
66
|
+
- lib/generators/redactor/install_generator.rb
|
67
|
+
- lib/generators/redactor/templates/active_record/carrierwave/migration.rb
|
68
|
+
- lib/generators/redactor/templates/active_record/carrierwave/redactor/asset.rb
|
69
|
+
- lib/generators/redactor/templates/active_record/carrierwave/redactor/document.rb
|
70
|
+
- lib/generators/redactor/templates/active_record/carrierwave/redactor/picture.rb
|
71
|
+
- lib/generators/redactor/templates/active_record/paperclip/migration.rb
|
72
|
+
- lib/generators/redactor/templates/active_record/paperclip/redactor/asset.rb
|
73
|
+
- lib/generators/redactor/templates/active_record/paperclip/redactor/document.rb
|
74
|
+
- lib/generators/redactor/templates/active_record/paperclip/redactor/picture.rb
|
75
|
+
- lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_document_uploader.rb
|
76
|
+
- lib/generators/redactor/templates/base/carrierwave/uploaders/redactor_rails_picture_uploader.rb
|
77
|
+
- lib/generators/redactor/templates/config.js
|
78
|
+
- lib/generators/redactor/templates/mongoid/carrierwave/redactor/asset.rb
|
79
|
+
- lib/generators/redactor/templates/mongoid/carrierwave/redactor/document.rb
|
80
|
+
- lib/generators/redactor/templates/mongoid/carrierwave/redactor/picture.rb
|
81
|
+
- lib/redactor-rails.rb
|
82
|
+
- lib/redactor-rails/backend/carrierwave.rb
|
83
|
+
- lib/redactor-rails/backend/paperclip.rb
|
84
|
+
- lib/redactor-rails/engine.rb
|
85
|
+
- lib/redactor-rails/helper.rb
|
86
|
+
- lib/redactor-rails/http.rb
|
87
|
+
- lib/redactor-rails/orm/active_record.rb
|
88
|
+
- lib/redactor-rails/orm/base.rb
|
89
|
+
- lib/redactor-rails/orm/mongoid.rb
|
90
|
+
- lib/redactor-rails/version.rb
|
91
|
+
- redactor-rails.gemspec
|
92
|
+
- vendor/assets/javascripts/redactor-rails/config.js
|
93
|
+
- vendor/assets/javascripts/redactor-rails/css/docstyle.css
|
94
|
+
- vendor/assets/javascripts/redactor-rails/css/style.css
|
95
|
+
- vendor/assets/javascripts/redactor-rails/css/wym.css
|
96
|
+
- vendor/assets/javascripts/redactor-rails/index.js
|
97
|
+
- vendor/assets/javascripts/redactor-rails/langs/ar.js
|
98
|
+
- vendor/assets/javascripts/redactor-rails/langs/ba.js
|
99
|
+
- vendor/assets/javascripts/redactor-rails/langs/bg.js
|
100
|
+
- vendor/assets/javascripts/redactor-rails/langs/by.js
|
101
|
+
- vendor/assets/javascripts/redactor-rails/langs/cs.js
|
102
|
+
- vendor/assets/javascripts/redactor-rails/langs/da.js
|
103
|
+
- vendor/assets/javascripts/redactor-rails/langs/de.js
|
104
|
+
- vendor/assets/javascripts/redactor-rails/langs/en.js
|
105
|
+
- vendor/assets/javascripts/redactor-rails/langs/eo.js
|
106
|
+
- vendor/assets/javascripts/redactor-rails/langs/es.js
|
107
|
+
- vendor/assets/javascripts/redactor-rails/langs/fa.js
|
108
|
+
- vendor/assets/javascripts/redactor-rails/langs/fi.js
|
109
|
+
- vendor/assets/javascripts/redactor-rails/langs/fr.js
|
110
|
+
- vendor/assets/javascripts/redactor-rails/langs/hr.js
|
111
|
+
- vendor/assets/javascripts/redactor-rails/langs/hu.js
|
112
|
+
- vendor/assets/javascripts/redactor-rails/langs/id.js
|
113
|
+
- vendor/assets/javascripts/redactor-rails/langs/it.js
|
114
|
+
- vendor/assets/javascripts/redactor-rails/langs/ja.js
|
115
|
+
- vendor/assets/javascripts/redactor-rails/langs/ko.js
|
116
|
+
- vendor/assets/javascripts/redactor-rails/langs/lv.js
|
117
|
+
- vendor/assets/javascripts/redactor-rails/langs/nl.js
|
118
|
+
- vendor/assets/javascripts/redactor-rails/langs/pl.js
|
119
|
+
- vendor/assets/javascripts/redactor-rails/langs/pt_br.js
|
120
|
+
- vendor/assets/javascripts/redactor-rails/langs/ro.js
|
121
|
+
- vendor/assets/javascripts/redactor-rails/langs/ru.js
|
122
|
+
- vendor/assets/javascripts/redactor-rails/langs/sk.js
|
123
|
+
- vendor/assets/javascripts/redactor-rails/langs/sq.js
|
124
|
+
- vendor/assets/javascripts/redactor-rails/langs/sr-cir.js
|
125
|
+
- vendor/assets/javascripts/redactor-rails/langs/sr-lat.js
|
126
|
+
- vendor/assets/javascripts/redactor-rails/langs/sv.js
|
127
|
+
- vendor/assets/javascripts/redactor-rails/langs/tr.js
|
128
|
+
- vendor/assets/javascripts/redactor-rails/langs/ua.js
|
129
|
+
- vendor/assets/javascripts/redactor-rails/langs/vi.js
|
130
|
+
- vendor/assets/javascripts/redactor-rails/langs/zh_cn.js
|
131
|
+
- vendor/assets/javascripts/redactor-rails/langs/zh_tw.js
|
132
|
+
- vendor/assets/javascripts/redactor-rails/redactor.js
|
133
|
+
- vendor/assets/javascripts/redactor-rails/redactor.min.js
|
134
|
+
- vendor/assets/stylesheets/redactor-rails/css/redactor.css
|
135
|
+
- vendor/assets/stylesheets/redactor-rails/css/style.css
|
136
|
+
- vendor/assets/stylesheets/redactor-rails/index.css
|
137
|
+
homepage: https://github.com/sergio1990/redactor-rails/tree/paperclip
|
138
|
+
licenses: []
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ! '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ! '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
requirements: []
|
156
|
+
rubyforge_project:
|
157
|
+
rubygems_version: 1.8.25
|
158
|
+
signing_key:
|
159
|
+
specification_version: 3
|
160
|
+
summary: ''
|
161
|
+
test_files: []
|