rad_kit 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -2
- data/app/controllers/app.rb +5 -0
- data/app/controllers/base.rb +47 -0
- data/app/controllers/base_app.rb +18 -0
- data/app/controllers/comments.rb +49 -0
- data/app/controllers/items.rb +208 -0
- data/app/helpers/kit/authorization.rb +121 -0
- data/app/helpers/kit/captcha.rb +10 -0
- data/app/helpers/kit/controller_helper.rb +76 -0
- data/app/helpers/kit/item_helper.rb +110 -0
- data/app/helpers/kit/navigation_helper.rb +15 -0
- data/app/helpers/kit/pagination.rb +62 -0
- data/app/models/_item/attachments.rb +15 -0
- data/app/models/_item/container.rb +30 -0
- data/app/models/_item/slug.rb +28 -0
- data/app/models/attachment.rb +9 -0
- data/app/models/comment.rb +30 -0
- data/app/models/item.rb +136 -0
- data/app/models/secure_token.rb +45 -0
- data/app/models/tag.rb +71 -0
- data/app/static/kit/highlight.css +48 -0
- data/app/static/kit.css +3 -0
- data/app/static/kit.js +0 -0
- data/app/static/themes/default/objects.less +28 -0
- data/app/views/controllers/comments/_embedded.html.haml +13 -0
- data/app/views/controllers/comments/_form.html.haml +8 -0
- data/app/views/controllers/comments/actions.js.haml +22 -0
- data/app/views/controllers/comments/show.html.haml +11 -0
- data/app/views/controllers/items/_items.html.haml +2 -0
- data/app/views/controllers/items/actions.js.haml +23 -0
- data/app/views/controllers/items/all.html.haml +4 -0
- data/app/views/controllers/items/inherited_action.html.haml +1 -0
- data/app/views/kit/_bottom_panel.html.haml +9 -0
- data/app/views/kit/_debug.html.haml +13 -0
- data/app/views/kit/_messages.html.haml +4 -0
- data/app/views/kit/_navigation.html.haml +19 -0
- data/app/views/kit/_not_found.html.haml +1 -0
- data/app/views/kit/_top_panel.html.haml +19 -0
- data/app/views/kit/_web_analytics.html.erb +14 -0
- data/app/views/kit/aspects/_comments.html.haml +8 -0
- data/app/views/kit/captcha/_action.js.haml +2 -0
- data/app/views/kit/captcha/_form.html.haml +10 -0
- data/app/views/kit/layout.html.haml +22 -0
- data/app/views/kit/layout.js.haml +15 -0
- data/app/views/previews/_line.html.haml +8 -0
- data/app/views/previews/_thumb.html.haml +5 -0
- data/app/views/themes/default/file.html.haml +19 -0
- data/app/views/themes/default/folder.html.haml +15 -0
- data/app/views/themes/default/layout_definitions/default.yml +27 -0
- data/app/views/themes/default/list.html.haml +21 -0
- data/app/views/themes/default/list_item.html.haml +14 -0
- data/app/views/themes/default/page.html.haml +23 -0
- data/app/views/tools/_access.html.haml +12 -0
- data/app/views/tools/_buttons.html.haml +11 -0
- data/app/views/tools/_context_menu.html.haml +12 -0
- data/app/views/tools/_search.html.haml +5 -0
- data/app/views/tools/_tags.html.haml +10 -0
- data/config/locales/en.yml +136 -0
- data/config/locales/ru.yml +142 -0
- data/config/routes.rb +44 -0
- metadata +82 -23
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rad_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-09-22 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &2779950 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2779950
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: redcarpet
|
27
|
-
requirement: &
|
27
|
+
requirement: &2779710 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.17'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2779710
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sanitize
|
38
|
-
requirement: &
|
38
|
+
requirement: &2779470 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.2'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2779470
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: stringex
|
49
|
-
requirement: &
|
49
|
+
requirement: &2779230 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '1.2'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2779230
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: nokogiri
|
60
|
-
requirement: &
|
60
|
+
requirement: &2795370 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '1.4'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2795370
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: recaptcha
|
71
|
-
requirement: &
|
71
|
+
requirement: &2795130 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0.3'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2795130
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: mini_magick
|
82
|
-
requirement: &
|
82
|
+
requirement: &2794890 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '3.2'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2794890
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rad_core
|
93
|
-
requirement: &
|
93
|
+
requirement: &2794650 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2794650
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: rad_common_interface
|
104
|
-
requirement: &
|
104
|
+
requirement: &2794410 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2794410
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: rad_assets
|
115
|
-
requirement: &
|
115
|
+
requirement: &2794170 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2794170
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: mongodb_model
|
126
|
-
requirement: &
|
126
|
+
requirement: &2793930 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,7 +131,7 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2793930
|
135
135
|
description:
|
136
136
|
email:
|
137
137
|
executables: []
|
@@ -227,6 +227,65 @@ files:
|
|
227
227
|
- spec/text_utils/spec_helper.rb
|
228
228
|
- spec/text_utils/text_processor_shared.rb
|
229
229
|
- spec/text_utils/truncate_spec.rb
|
230
|
+
- app/controllers/app.rb
|
231
|
+
- app/controllers/base.rb
|
232
|
+
- app/controllers/base_app.rb
|
233
|
+
- app/controllers/comments.rb
|
234
|
+
- app/controllers/items.rb
|
235
|
+
- app/helpers/kit/authorization.rb
|
236
|
+
- app/helpers/kit/captcha.rb
|
237
|
+
- app/helpers/kit/controller_helper.rb
|
238
|
+
- app/helpers/kit/item_helper.rb
|
239
|
+
- app/helpers/kit/navigation_helper.rb
|
240
|
+
- app/helpers/kit/pagination.rb
|
241
|
+
- app/models/_item/attachments.rb
|
242
|
+
- app/models/_item/container.rb
|
243
|
+
- app/models/_item/slug.rb
|
244
|
+
- app/models/attachment.rb
|
245
|
+
- app/models/comment.rb
|
246
|
+
- app/models/item.rb
|
247
|
+
- app/models/secure_token.rb
|
248
|
+
- app/models/tag.rb
|
249
|
+
- app/static/kit/highlight.css
|
250
|
+
- app/static/kit.css
|
251
|
+
- app/static/kit.js
|
252
|
+
- app/static/themes/default/objects.less
|
253
|
+
- app/views/controllers/comments/_embedded.html.haml
|
254
|
+
- app/views/controllers/comments/_form.html.haml
|
255
|
+
- app/views/controllers/comments/actions.js.haml
|
256
|
+
- app/views/controllers/comments/show.html.haml
|
257
|
+
- app/views/controllers/items/_items.html.haml
|
258
|
+
- app/views/controllers/items/actions.js.haml
|
259
|
+
- app/views/controllers/items/all.html.haml
|
260
|
+
- app/views/controllers/items/inherited_action.html.haml
|
261
|
+
- app/views/kit/_bottom_panel.html.haml
|
262
|
+
- app/views/kit/_debug.html.haml
|
263
|
+
- app/views/kit/_messages.html.haml
|
264
|
+
- app/views/kit/_navigation.html.haml
|
265
|
+
- app/views/kit/_not_found.html.haml
|
266
|
+
- app/views/kit/_top_panel.html.haml
|
267
|
+
- app/views/kit/_web_analytics.html.erb
|
268
|
+
- app/views/kit/aspects/_comments.html.haml
|
269
|
+
- app/views/kit/captcha/_action.js.haml
|
270
|
+
- app/views/kit/captcha/_form.html.haml
|
271
|
+
- app/views/kit/layout.html.haml
|
272
|
+
- app/views/kit/layout.js.haml
|
273
|
+
- app/views/previews/_line.html.haml
|
274
|
+
- app/views/previews/_thumb.html.haml
|
275
|
+
- app/views/themes/default/file.html.haml
|
276
|
+
- app/views/themes/default/folder.html.haml
|
277
|
+
- app/views/themes/default/layout_definitions/default.yml
|
278
|
+
- app/views/themes/default/list.html.haml
|
279
|
+
- app/views/themes/default/list_item.html.haml
|
280
|
+
- app/views/themes/default/page.html.haml
|
281
|
+
- app/views/tools/_access.html.haml
|
282
|
+
- app/views/tools/_buttons.html.haml
|
283
|
+
- app/views/tools/_context_menu.html.haml
|
284
|
+
- app/views/tools/_search.html.haml
|
285
|
+
- app/views/tools/_tags.html.haml
|
286
|
+
- config/locales/en.yml
|
287
|
+
- config/locales/ru.yml
|
288
|
+
- config/routes.rb
|
230
289
|
homepage: http://github.com/alexeypetrushin/rad_kit
|
231
290
|
licenses: []
|
232
291
|
post_install_message:
|