redditor 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +27 -0
- data/.rspec +1 -0
- data/.travis.yml +8 -0
- data/Gemfile +23 -0
- data/Guardfile +24 -0
- data/MIT-LICENSE +20 -0
- data/README.md +16 -0
- data/Rakefile +23 -0
- data/app/assets/images/redditor/.keep +0 -0
- data/app/assets/images/redditor/add_photo.png +0 -0
- data/app/assets/images/redditor/add_photo_big.png +0 -0
- data/app/assets/images/redditor/add_slider.png +0 -0
- data/app/assets/images/redditor/add_slider_big.png +0 -0
- data/app/assets/images/redditor/add_txt.png +0 -0
- data/app/assets/images/redditor/add_txt_big.png +0 -0
- data/app/assets/images/redditor/add_video.png +0 -0
- data/app/assets/images/redditor/add_video_big.png +0 -0
- data/app/assets/images/redditor/destroy_block_text.png +0 -0
- data/app/assets/images/redditor/move_handler.png +0 -0
- data/app/assets/images/redditor/no_format_text.png +0 -0
- data/app/assets/images/redditor/trash.png +0 -0
- data/app/assets/javascripts/fileapi/FileAPI.exif.js +59 -0
- data/app/assets/javascripts/fileapi/FileAPI.flash.image.swf +0 -0
- data/app/assets/javascripts/fileapi/FileAPI.flash.swf +0 -0
- data/app/assets/javascripts/fileapi/FileAPI.id3.js +67 -0
- data/app/assets/javascripts/fileapi/FileAPI.min.js +73 -0
- data/app/assets/javascripts/fileapi/fileapi.js.coffee.erb +12 -0
- data/app/assets/javascripts/fileapi/tmpl.js +35 -0
- data/app/assets/javascripts/fileapi/uploader.coffee +139 -0
- data/app/assets/javascripts/jquery-ui.min.js +12 -0
- data/app/assets/javascripts/redditor/application.js +14 -0
- data/app/assets/javascripts/redditor/fileapi/FileAPI.exif.js +59 -0
- data/app/assets/javascripts/redditor/fileapi/FileAPI.flash.image.swf +0 -0
- data/app/assets/javascripts/redditor/fileapi/FileAPI.flash.swf +0 -0
- data/app/assets/javascripts/redditor/fileapi/FileAPI.id3.js +67 -0
- data/app/assets/javascripts/redditor/fileapi/FileAPI.min.js +72 -0
- data/app/assets/javascripts/redditor/fileapi/README.md +724 -0
- data/app/assets/javascripts/redditor/fileapi/config.js.coffee.erb +5 -0
- data/app/assets/javascripts/redditor/fileapi/crossdomain.xml +19 -0
- data/app/assets/javascripts/redditor/fileapi/example.userpic.html +212 -0
- data/app/assets/javascripts/redditor/fileapi/index.html +548 -0
- data/app/assets/javascripts/redditor/fileapi/mailru.js +6 -0
- data/app/assets/javascripts/redditor/fileapi/mailru_front.js.coffee +143 -0
- data/app/assets/javascripts/redditor/fileapi/tmpl.js +35 -0
- data/app/assets/javascripts/redditor/fileapi/uploader.coffee +139 -0
- data/app/assets/javascripts/redditor/redditor.coffee +148 -0
- data/app/assets/stylesheets/redditor/application.css.scss +47 -0
- data/app/assets/stylesheets/redditor/fileapi/fileapi.css.scss +174 -0
- data/app/assets/stylesheets/redditor/fileapi/fileapi_front.css.scss +175 -0
- data/app/assets/stylesheets/redditor/redditor.css.scss +108 -0
- data/app/controllers/redditor/admin/base_controller.rb +18 -0
- data/app/controllers/redditor/admin/image_blocks_controller.rb +37 -0
- data/app/controllers/redditor/admin/images_controller.rb +33 -0
- data/app/controllers/redditor/admin/pages_controller.rb +15 -0
- data/app/controllers/redditor/admin/slider_blocks_controller.rb +32 -0
- data/app/controllers/redditor/admin/text_blocks_controller.rb +31 -0
- data/app/controllers/redditor/admin/video_blocks_controller.rb +31 -0
- data/app/controllers/redditor/application_controller.rb +4 -0
- data/app/helpers/redditor/application_helper.rb +4 -0
- data/app/helpers/redditor/fileapi_helper.rb +17 -0
- data/app/helpers/redditor/pages_helper.rb +24 -0
- data/app/models/redditor/content_block.rb +24 -0
- data/app/models/redditor/image.rb +29 -0
- data/app/models/redditor/page.rb +28 -0
- data/app/models/redditor/slider_block.rb +17 -0
- data/app/models/redditor/text_block.rb +20 -0
- data/app/models/redditor/video_block.rb +27 -0
- data/app/uploaders/redditor_uploader.rb +57 -0
- data/app/views/layouts/redditor/application.html.erb +15 -0
- data/app/views/redditor/admin/pages/_content_block.haml +16 -0
- data/app/views/redditor/admin/pages/_fileapi.erb +199 -0
- data/app/views/redditor/admin/pages/_image.haml +18 -0
- data/app/views/redditor/admin/pages/_page.haml +13 -0
- data/app/views/redditor/admin/pages/_slider_block.haml +16 -0
- data/app/views/redditor/admin/pages/_slider_block_image.haml +3 -0
- data/app/views/redditor/admin/pages/_text_block.haml +5 -0
- data/app/views/redditor/admin/pages/_validate.haml +4 -0
- data/app/views/redditor/admin/pages/_video_block.haml +19 -0
- data/app/views/redditor/admin/pages/_wrap_dd.haml +1 -0
- data/app/views/redditor/admin/pages/_wrapper.haml +3 -0
- data/app/views/redditor/admin/pages/new.js.coffee +7 -0
- data/app/views/redditor/admin/pages/new.js.erb +7 -0
- data/app/views/redditor/admin/pages/slider_block_image.js.coffee +2 -0
- data/app/views/redditor/admin/pages/wrapper.js.coffee +6 -0
- data/app/views/redditor/pages/_page.html.haml +1 -0
- data/app/views/redditor/slider_blocks/_slider_block.html.haml +2 -0
- data/app/views/redditor/slider_blocks/_slider_block_image.html.erb +3 -0
- data/app/views/redditor/text_blocks/_text_block.html.haml +1 -0
- data/app/views/redditor/video_blocks/_video_block.html.haml +2 -0
- data/bin/rails +8 -0
- data/config/locales/redditor.en.yml +20 -0
- data/config/locales/redditor.ru.yml +20 -0
- data/config/routes.rb +17 -0
- data/db/migrate/20130916155124_create_redditor_images.rb +15 -0
- data/db/migrate/20130916155156_create_redditor_pages.rb +12 -0
- data/db/migrate/20130916155219_create_redditor_slider_blocks.rb +11 -0
- data/db/migrate/20130916155239_create_redditor_text_blocks.rb +12 -0
- data/db/migrate/20130916155301_create_redditor_video_blocks.rb +14 -0
- data/lib/generators/redditor/views/views_generator.rb +17 -0
- data/lib/redditor/engine.rb +12 -0
- data/lib/redditor/has_redditor.rb +17 -0
- data/lib/redditor/version.rb +3 -0
- data/lib/redditor.rb +9 -0
- data/lib/tasks/redditor_tasks.rake +4 -0
- data/redditor.gemspec +38 -0
- data/spec/dummy/.rspec +1 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +17 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/admin/articles_controller.rb +23 -0
- data/spec/dummy/app/controllers/admin/base_controller.rb +6 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/article.rb +7 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/admin/articles/edit.html.haml +15 -0
- data/spec/dummy/app/views/articles/show.html.haml +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +31 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +10 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20130908123351_create_articles.rb +9 -0
- data/spec/dummy/db/schema.rb +76 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/articles_factory.rb +27 -0
- data/spec/factories/redditor/images_factory.rb +9 -0
- data/spec/factories/redditor/pages_factory.rb +37 -0
- data/spec/factories/redditor/sliders_factory.rb +9 -0
- data/spec/factories/redditor/texts_factory.rb +5 -0
- data/spec/factories/redditor/videos_factories.rb +7 -0
- data/spec/features/text_spec.rb +52 -0
- data/spec/features/video_spec.rb +52 -0
- data/spec/fixtures/test.jpg +0 -0
- data/spec/generators/views_generator_spec.rb +20 -0
- data/spec/models/article_spec.rb +40 -0
- data/spec/spec_helper.rb +67 -0
- data/spec/views/article/show_spec.rb +22 -0
- metadata +480 -0
metadata
ADDED
@@ -0,0 +1,480 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redditor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Oleg Bovykin
|
8
|
+
- Konstantin Gorozhankin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-10-07 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 4.0.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 4.0.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: haml
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: carrierwave
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rmagick
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: coffee-rails
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: jquery-rails
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: jquery-rails
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: capybara
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: poltergeist
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - '>='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: haml-rails
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: sqlite3
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - '>='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - '>='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: rspec-rails
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: guard-rspec
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - '>='
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: generator_spec
|
198
|
+
requirement: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - '>='
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '0'
|
203
|
+
type: :development
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: factory_girl_rails
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - '>='
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
type: :development
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - '>='
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
description: Advanced page editor from redde
|
225
|
+
email:
|
226
|
+
- oleg.bovykin@gmail.com
|
227
|
+
- konstantin.gorozhankin@gmail.com
|
228
|
+
executables:
|
229
|
+
- rails
|
230
|
+
extensions: []
|
231
|
+
extra_rdoc_files: []
|
232
|
+
files:
|
233
|
+
- .gitignore
|
234
|
+
- .rspec
|
235
|
+
- .travis.yml
|
236
|
+
- Gemfile
|
237
|
+
- Guardfile
|
238
|
+
- MIT-LICENSE
|
239
|
+
- README.md
|
240
|
+
- Rakefile
|
241
|
+
- app/assets/images/redditor/.keep
|
242
|
+
- app/assets/images/redditor/add_photo.png
|
243
|
+
- app/assets/images/redditor/add_photo_big.png
|
244
|
+
- app/assets/images/redditor/add_slider.png
|
245
|
+
- app/assets/images/redditor/add_slider_big.png
|
246
|
+
- app/assets/images/redditor/add_txt.png
|
247
|
+
- app/assets/images/redditor/add_txt_big.png
|
248
|
+
- app/assets/images/redditor/add_video.png
|
249
|
+
- app/assets/images/redditor/add_video_big.png
|
250
|
+
- app/assets/images/redditor/destroy_block_text.png
|
251
|
+
- app/assets/images/redditor/move_handler.png
|
252
|
+
- app/assets/images/redditor/no_format_text.png
|
253
|
+
- app/assets/images/redditor/trash.png
|
254
|
+
- app/assets/javascripts/fileapi/FileAPI.exif.js
|
255
|
+
- app/assets/javascripts/fileapi/FileAPI.flash.image.swf
|
256
|
+
- app/assets/javascripts/fileapi/FileAPI.flash.swf
|
257
|
+
- app/assets/javascripts/fileapi/FileAPI.id3.js
|
258
|
+
- app/assets/javascripts/fileapi/FileAPI.min.js
|
259
|
+
- app/assets/javascripts/fileapi/fileapi.js.coffee.erb
|
260
|
+
- app/assets/javascripts/fileapi/tmpl.js
|
261
|
+
- app/assets/javascripts/fileapi/uploader.coffee
|
262
|
+
- app/assets/javascripts/jquery-ui.min.js
|
263
|
+
- app/assets/javascripts/redditor/application.js
|
264
|
+
- app/assets/javascripts/redditor/fileapi/FileAPI.exif.js
|
265
|
+
- app/assets/javascripts/redditor/fileapi/FileAPI.flash.image.swf
|
266
|
+
- app/assets/javascripts/redditor/fileapi/FileAPI.flash.swf
|
267
|
+
- app/assets/javascripts/redditor/fileapi/FileAPI.id3.js
|
268
|
+
- app/assets/javascripts/redditor/fileapi/FileAPI.min.js
|
269
|
+
- app/assets/javascripts/redditor/fileapi/README.md
|
270
|
+
- app/assets/javascripts/redditor/fileapi/config.js.coffee.erb
|
271
|
+
- app/assets/javascripts/redditor/fileapi/crossdomain.xml
|
272
|
+
- app/assets/javascripts/redditor/fileapi/example.userpic.html
|
273
|
+
- app/assets/javascripts/redditor/fileapi/index.html
|
274
|
+
- app/assets/javascripts/redditor/fileapi/mailru.js
|
275
|
+
- app/assets/javascripts/redditor/fileapi/mailru_front.js.coffee
|
276
|
+
- app/assets/javascripts/redditor/fileapi/tmpl.js
|
277
|
+
- app/assets/javascripts/redditor/fileapi/uploader.coffee
|
278
|
+
- app/assets/javascripts/redditor/redditor.coffee
|
279
|
+
- app/assets/stylesheets/redditor/application.css.scss
|
280
|
+
- app/assets/stylesheets/redditor/fileapi/fileapi.css.scss
|
281
|
+
- app/assets/stylesheets/redditor/fileapi/fileapi_front.css.scss
|
282
|
+
- app/assets/stylesheets/redditor/redditor.css.scss
|
283
|
+
- app/controllers/redditor/admin/base_controller.rb
|
284
|
+
- app/controllers/redditor/admin/image_blocks_controller.rb
|
285
|
+
- app/controllers/redditor/admin/images_controller.rb
|
286
|
+
- app/controllers/redditor/admin/pages_controller.rb
|
287
|
+
- app/controllers/redditor/admin/slider_blocks_controller.rb
|
288
|
+
- app/controllers/redditor/admin/text_blocks_controller.rb
|
289
|
+
- app/controllers/redditor/admin/video_blocks_controller.rb
|
290
|
+
- app/controllers/redditor/application_controller.rb
|
291
|
+
- app/helpers/redditor/application_helper.rb
|
292
|
+
- app/helpers/redditor/fileapi_helper.rb
|
293
|
+
- app/helpers/redditor/pages_helper.rb
|
294
|
+
- app/models/redditor/content_block.rb
|
295
|
+
- app/models/redditor/image.rb
|
296
|
+
- app/models/redditor/page.rb
|
297
|
+
- app/models/redditor/slider_block.rb
|
298
|
+
- app/models/redditor/text_block.rb
|
299
|
+
- app/models/redditor/video_block.rb
|
300
|
+
- app/uploaders/redditor_uploader.rb
|
301
|
+
- app/views/layouts/redditor/application.html.erb
|
302
|
+
- app/views/redditor/admin/pages/_content_block.haml
|
303
|
+
- app/views/redditor/admin/pages/_fileapi.erb
|
304
|
+
- app/views/redditor/admin/pages/_image.haml
|
305
|
+
- app/views/redditor/admin/pages/_page.haml
|
306
|
+
- app/views/redditor/admin/pages/_slider_block.haml
|
307
|
+
- app/views/redditor/admin/pages/_slider_block_image.haml
|
308
|
+
- app/views/redditor/admin/pages/_text_block.haml
|
309
|
+
- app/views/redditor/admin/pages/_validate.haml
|
310
|
+
- app/views/redditor/admin/pages/_video_block.haml
|
311
|
+
- app/views/redditor/admin/pages/_wrap_dd.haml
|
312
|
+
- app/views/redditor/admin/pages/_wrapper.haml
|
313
|
+
- app/views/redditor/admin/pages/new.js.coffee
|
314
|
+
- app/views/redditor/admin/pages/new.js.erb
|
315
|
+
- app/views/redditor/admin/pages/slider_block_image.js.coffee
|
316
|
+
- app/views/redditor/admin/pages/wrapper.js.coffee
|
317
|
+
- app/views/redditor/pages/_page.html.haml
|
318
|
+
- app/views/redditor/slider_blocks/_slider_block.html.haml
|
319
|
+
- app/views/redditor/slider_blocks/_slider_block_image.html.erb
|
320
|
+
- app/views/redditor/text_blocks/_text_block.html.haml
|
321
|
+
- app/views/redditor/video_blocks/_video_block.html.haml
|
322
|
+
- bin/rails
|
323
|
+
- config/locales/redditor.en.yml
|
324
|
+
- config/locales/redditor.ru.yml
|
325
|
+
- config/routes.rb
|
326
|
+
- db/migrate/20130916155124_create_redditor_images.rb
|
327
|
+
- db/migrate/20130916155156_create_redditor_pages.rb
|
328
|
+
- db/migrate/20130916155219_create_redditor_slider_blocks.rb
|
329
|
+
- db/migrate/20130916155239_create_redditor_text_blocks.rb
|
330
|
+
- db/migrate/20130916155301_create_redditor_video_blocks.rb
|
331
|
+
- lib/generators/redditor/views/views_generator.rb
|
332
|
+
- lib/redditor.rb
|
333
|
+
- lib/redditor/engine.rb
|
334
|
+
- lib/redditor/has_redditor.rb
|
335
|
+
- lib/redditor/version.rb
|
336
|
+
- lib/tasks/redditor_tasks.rake
|
337
|
+
- redditor.gemspec
|
338
|
+
- spec/dummy/.rspec
|
339
|
+
- spec/dummy/README.rdoc
|
340
|
+
- spec/dummy/Rakefile
|
341
|
+
- spec/dummy/app/assets/images/.keep
|
342
|
+
- spec/dummy/app/assets/javascripts/application.js
|
343
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
344
|
+
- spec/dummy/app/controllers/admin/articles_controller.rb
|
345
|
+
- spec/dummy/app/controllers/admin/base_controller.rb
|
346
|
+
- spec/dummy/app/controllers/application_controller.rb
|
347
|
+
- spec/dummy/app/controllers/concerns/.keep
|
348
|
+
- spec/dummy/app/helpers/application_helper.rb
|
349
|
+
- spec/dummy/app/mailers/.keep
|
350
|
+
- spec/dummy/app/models/.keep
|
351
|
+
- spec/dummy/app/models/article.rb
|
352
|
+
- spec/dummy/app/models/concerns/.keep
|
353
|
+
- spec/dummy/app/views/admin/articles/edit.html.haml
|
354
|
+
- spec/dummy/app/views/articles/show.html.haml
|
355
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
356
|
+
- spec/dummy/bin/bundle
|
357
|
+
- spec/dummy/bin/rails
|
358
|
+
- spec/dummy/bin/rake
|
359
|
+
- spec/dummy/config.ru
|
360
|
+
- spec/dummy/config/application.rb
|
361
|
+
- spec/dummy/config/boot.rb
|
362
|
+
- spec/dummy/config/database.yml
|
363
|
+
- spec/dummy/config/environment.rb
|
364
|
+
- spec/dummy/config/environments/development.rb
|
365
|
+
- spec/dummy/config/environments/production.rb
|
366
|
+
- spec/dummy/config/environments/test.rb
|
367
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
368
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
369
|
+
- spec/dummy/config/initializers/inflections.rb
|
370
|
+
- spec/dummy/config/initializers/mime_types.rb
|
371
|
+
- spec/dummy/config/initializers/secret_token.rb
|
372
|
+
- spec/dummy/config/initializers/session_store.rb
|
373
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
374
|
+
- spec/dummy/config/locales/en.yml
|
375
|
+
- spec/dummy/config/routes.rb
|
376
|
+
- spec/dummy/db/migrate/20130908123351_create_articles.rb
|
377
|
+
- spec/dummy/db/schema.rb
|
378
|
+
- spec/dummy/lib/assets/.keep
|
379
|
+
- spec/dummy/log/.keep
|
380
|
+
- spec/dummy/public/404.html
|
381
|
+
- spec/dummy/public/422.html
|
382
|
+
- spec/dummy/public/500.html
|
383
|
+
- spec/dummy/public/favicon.ico
|
384
|
+
- spec/factories/articles_factory.rb
|
385
|
+
- spec/factories/redditor/images_factory.rb
|
386
|
+
- spec/factories/redditor/pages_factory.rb
|
387
|
+
- spec/factories/redditor/sliders_factory.rb
|
388
|
+
- spec/factories/redditor/texts_factory.rb
|
389
|
+
- spec/factories/redditor/videos_factories.rb
|
390
|
+
- spec/features/text_spec.rb
|
391
|
+
- spec/features/video_spec.rb
|
392
|
+
- spec/fixtures/test.jpg
|
393
|
+
- spec/generators/views_generator_spec.rb
|
394
|
+
- spec/models/article_spec.rb
|
395
|
+
- spec/spec_helper.rb
|
396
|
+
- spec/views/article/show_spec.rb
|
397
|
+
homepage: http://github.com/redde/redditor
|
398
|
+
licenses:
|
399
|
+
- MIT
|
400
|
+
metadata: {}
|
401
|
+
post_install_message:
|
402
|
+
rdoc_options: []
|
403
|
+
require_paths:
|
404
|
+
- lib
|
405
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
406
|
+
requirements:
|
407
|
+
- - '>='
|
408
|
+
- !ruby/object:Gem::Version
|
409
|
+
version: '0'
|
410
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
411
|
+
requirements:
|
412
|
+
- - '>='
|
413
|
+
- !ruby/object:Gem::Version
|
414
|
+
version: '0'
|
415
|
+
requirements: []
|
416
|
+
rubyforge_project:
|
417
|
+
rubygems_version: 2.0.6
|
418
|
+
signing_key:
|
419
|
+
specification_version: 4
|
420
|
+
summary: Page editor
|
421
|
+
test_files:
|
422
|
+
- spec/dummy/.rspec
|
423
|
+
- spec/dummy/README.rdoc
|
424
|
+
- spec/dummy/Rakefile
|
425
|
+
- spec/dummy/app/assets/images/.keep
|
426
|
+
- spec/dummy/app/assets/javascripts/application.js
|
427
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
428
|
+
- spec/dummy/app/controllers/admin/articles_controller.rb
|
429
|
+
- spec/dummy/app/controllers/admin/base_controller.rb
|
430
|
+
- spec/dummy/app/controllers/application_controller.rb
|
431
|
+
- spec/dummy/app/controllers/concerns/.keep
|
432
|
+
- spec/dummy/app/helpers/application_helper.rb
|
433
|
+
- spec/dummy/app/mailers/.keep
|
434
|
+
- spec/dummy/app/models/.keep
|
435
|
+
- spec/dummy/app/models/article.rb
|
436
|
+
- spec/dummy/app/models/concerns/.keep
|
437
|
+
- spec/dummy/app/views/admin/articles/edit.html.haml
|
438
|
+
- spec/dummy/app/views/articles/show.html.haml
|
439
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
440
|
+
- spec/dummy/bin/bundle
|
441
|
+
- spec/dummy/bin/rails
|
442
|
+
- spec/dummy/bin/rake
|
443
|
+
- spec/dummy/config.ru
|
444
|
+
- spec/dummy/config/application.rb
|
445
|
+
- spec/dummy/config/boot.rb
|
446
|
+
- spec/dummy/config/database.yml
|
447
|
+
- spec/dummy/config/environment.rb
|
448
|
+
- spec/dummy/config/environments/development.rb
|
449
|
+
- spec/dummy/config/environments/production.rb
|
450
|
+
- spec/dummy/config/environments/test.rb
|
451
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
452
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
453
|
+
- spec/dummy/config/initializers/inflections.rb
|
454
|
+
- spec/dummy/config/initializers/mime_types.rb
|
455
|
+
- spec/dummy/config/initializers/secret_token.rb
|
456
|
+
- spec/dummy/config/initializers/session_store.rb
|
457
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
458
|
+
- spec/dummy/config/locales/en.yml
|
459
|
+
- spec/dummy/config/routes.rb
|
460
|
+
- spec/dummy/db/migrate/20130908123351_create_articles.rb
|
461
|
+
- spec/dummy/db/schema.rb
|
462
|
+
- spec/dummy/lib/assets/.keep
|
463
|
+
- spec/dummy/log/.keep
|
464
|
+
- spec/dummy/public/404.html
|
465
|
+
- spec/dummy/public/422.html
|
466
|
+
- spec/dummy/public/500.html
|
467
|
+
- spec/dummy/public/favicon.ico
|
468
|
+
- spec/factories/articles_factory.rb
|
469
|
+
- spec/factories/redditor/images_factory.rb
|
470
|
+
- spec/factories/redditor/pages_factory.rb
|
471
|
+
- spec/factories/redditor/sliders_factory.rb
|
472
|
+
- spec/factories/redditor/texts_factory.rb
|
473
|
+
- spec/factories/redditor/videos_factories.rb
|
474
|
+
- spec/features/text_spec.rb
|
475
|
+
- spec/features/video_spec.rb
|
476
|
+
- spec/fixtures/test.jpg
|
477
|
+
- spec/generators/views_generator_spec.rb
|
478
|
+
- spec/models/article_spec.rb
|
479
|
+
- spec/spec_helper.rb
|
480
|
+
- spec/views/article/show_spec.rb
|