kms 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +30 -0
  4. data/app/assets/fonts/casper-webfont.eot +0 -0
  5. data/app/assets/fonts/casper-webfont.svg +278 -0
  6. data/app/assets/fonts/casper-webfont.ttf +0 -0
  7. data/app/assets/fonts/casper-webfont.woff +0 -0
  8. data/app/assets/fonts/casper-webfont.woff2 +0 -0
  9. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  10. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  11. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  12. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  13. data/app/assets/javascripts/kms/application.js +49 -0
  14. data/app/assets/javascripts/kms/application/controllers/assets_controller.coffee +70 -0
  15. data/app/assets/javascripts/kms/application/controllers/help_controller.coffee +12 -0
  16. data/app/assets/javascripts/kms/application/controllers/pages_controller.coffee +95 -0
  17. data/app/assets/javascripts/kms/application/controllers/settings_controller.coffee +21 -0
  18. data/app/assets/javascripts/kms/application/controllers/sidebar_controller.coffee +26 -0
  19. data/app/assets/javascripts/kms/application/controllers/snippets_controller.coffee +44 -0
  20. data/app/assets/javascripts/kms/application/controllers/templates_controller.coffee +46 -0
  21. data/app/assets/javascripts/kms/application/controllers/users_controller.coffee +31 -0
  22. data/app/assets/javascripts/kms/application/module.coffee +24 -0
  23. data/app/assets/javascripts/kms/application/routes.coffee.erb +171 -0
  24. data/app/assets/javascripts/kms/application/services/errors_service.coffee +8 -0
  25. data/app/assets/javascripts/templates/assets/edit.html.slim +10 -0
  26. data/app/assets/javascripts/templates/assets/index.html.slim +31 -0
  27. data/app/assets/javascripts/templates/assets/new.html.slim +16 -0
  28. data/app/assets/javascripts/templates/help.html.slim +172 -0
  29. data/app/assets/javascripts/templates/help/filters.html.slim +51 -0
  30. data/app/assets/javascripts/templates/help/variables.html.slim +96 -0
  31. data/app/assets/javascripts/templates/pages/edit.html.slim +7 -0
  32. data/app/assets/javascripts/templates/pages/form.html.slim +32 -0
  33. data/app/assets/javascripts/templates/pages/index.html.slim +33 -0
  34. data/app/assets/javascripts/templates/pages/new.html.slim +5 -0
  35. data/app/assets/javascripts/templates/settings.html.slim +20 -0
  36. data/app/assets/javascripts/templates/snippets/edit.html.slim +5 -0
  37. data/app/assets/javascripts/templates/snippets/form.html.slim +10 -0
  38. data/app/assets/javascripts/templates/snippets/index.html.slim +22 -0
  39. data/app/assets/javascripts/templates/snippets/new.html.slim +5 -0
  40. data/app/assets/javascripts/templates/templates/edit.html.slim +7 -0
  41. data/app/assets/javascripts/templates/templates/form.html.slim +7 -0
  42. data/app/assets/javascripts/templates/templates/index.html.slim +22 -0
  43. data/app/assets/javascripts/templates/templates/new.html.slim +5 -0
  44. data/app/assets/javascripts/templates/users/form.html.slim +14 -0
  45. data/app/assets/javascripts/templates/users/index.html.slim +21 -0
  46. data/app/assets/javascripts/templates/users/new.html.slim +5 -0
  47. data/app/assets/stylesheets/kms/application.css +57 -0
  48. data/app/assets/stylesheets/kms/custom.css.scss +67 -0
  49. data/app/assets/stylesheets/kms/responsive_dashboard.css.less +9 -0
  50. data/app/controllers/kms/application_controller.rb +24 -0
  51. data/app/controllers/kms/assets_controller.rb +58 -0
  52. data/app/controllers/kms/kms_controller.rb +8 -0
  53. data/app/controllers/kms/pages_controller.rb +67 -0
  54. data/app/controllers/kms/public/pages_controller.rb +27 -0
  55. data/app/controllers/kms/public/search_controller.rb +18 -0
  56. data/app/controllers/kms/resources_controller.rb +9 -0
  57. data/app/controllers/kms/settings_controller.rb +24 -0
  58. data/app/controllers/kms/snippets_controller.rb +37 -0
  59. data/app/controllers/kms/templates_controller.rb +43 -0
  60. data/app/controllers/kms/users_controller.rb +36 -0
  61. data/app/controllers/users/confirmations_controller.rb +28 -0
  62. data/app/controllers/users/omniauth_callbacks_controller.rb +28 -0
  63. data/app/controllers/users/passwords_controller.rb +32 -0
  64. data/app/controllers/users/registrations_controller.rb +70 -0
  65. data/app/controllers/users/sessions_controller.rb +25 -0
  66. data/app/controllers/users/unlocks_controller.rb +28 -0
  67. data/app/helpers/kms/application_helper.rb +4 -0
  68. data/app/models/ability.rb +38 -0
  69. data/app/models/concerns/kms/compile_templates.rb +39 -0
  70. data/app/models/concerns/kms/permalinkable.rb +13 -0
  71. data/app/models/concerns/kms/update_stylesheets_text.rb +20 -0
  72. data/app/models/kms/asset.rb +83 -0
  73. data/app/models/kms/page.rb +61 -0
  74. data/app/models/kms/settings.rb +7 -0
  75. data/app/models/kms/snippet.rb +11 -0
  76. data/app/models/kms/template.rb +11 -0
  77. data/app/models/kms/user.rb +18 -0
  78. data/app/serializers/kms/settings_serializer.rb +5 -0
  79. data/app/serializers/kms/snippet_serializer.rb +5 -0
  80. data/app/services/kms/ability_service.rb +11 -0
  81. data/app/services/kms/externals_registry.rb +11 -0
  82. data/app/services/kms/form_customization_service.rb +14 -0
  83. data/app/services/kms/help_service.rb +13 -0
  84. data/app/services/kms/resource_service.rb +22 -0
  85. data/app/services/kms/search_service.rb +11 -0
  86. data/app/services/kms/settings_service.rb +13 -0
  87. data/app/uploaders/kms/asset_uploader.rb +61 -0
  88. data/app/views/devise/registrations/new.html.erb +21 -0
  89. data/app/views/devise/sessions/new.html.erb +17 -0
  90. data/app/views/devise/shared/_links.html.erb +25 -0
  91. data/app/views/layouts/kms/devise.html.erb +35 -0
  92. data/app/views/layouts/kms/kms.html.erb +139 -0
  93. data/config/initializers/bower_rails.rb +16 -0
  94. data/config/initializers/devise.rb +15 -0
  95. data/config/initializers/externals.rb +42 -0
  96. data/config/initializers/help.rb +1 -0
  97. data/config/initializers/liquor.rb +49 -0
  98. data/config/initializers/resources.rb +5 -0
  99. data/config/locales/devise.en.yml +59 -0
  100. data/config/locales/devise.ru.yml +63 -0
  101. data/config/locales/en.yml +172 -0
  102. data/config/locales/ru.yml +172 -0
  103. data/config/routes.rb +31 -0
  104. data/db/migrate/20141027065341_create_pages.rb +12 -0
  105. data/db/migrate/20141027083603_create_templates.rb +10 -0
  106. data/db/migrate/20141027083633_add_template_id_to_pages.rb +6 -0
  107. data/db/migrate/20141029145253_create_assets.rb +10 -0
  108. data/db/migrate/20141031125758_add_ancestry_to_pages.rb +6 -0
  109. data/db/migrate/20141031140308_devise_create_users.rb +42 -0
  110. data/db/migrate/20141119084306_add_fullpath_to_pages.rb +5 -0
  111. data/db/migrate/20141121112652_add_role_to_users.rb +5 -0
  112. data/db/migrate/20141127073902_add_templatable_fields_to_pages.rb +6 -0
  113. data/db/migrate/20141209132901_add_hidden_to_page.rb +5 -0
  114. data/db/migrate/20150209120632_add_position_to_kms_pages.rb +5 -0
  115. data/db/migrate/20160129100437_create_kms_snippets.rb +11 -0
  116. data/db/migrate/20160712094512_create_kms_settings.rb +9 -0
  117. data/lib/generators/kms/install/install_generator.rb +34 -0
  118. data/lib/generators/kms/install/templates/devise.rb +257 -0
  119. data/lib/generators/kms/install/templates/dragonfly.rb +35 -0
  120. data/lib/kms.rb +6 -0
  121. data/lib/kms/dependencies.rb +15 -0
  122. data/lib/kms/drops/page_drop.rb +24 -0
  123. data/lib/kms/drops/search_item_drop.rb +5 -0
  124. data/lib/kms/engine.rb +65 -0
  125. data/lib/kms/externals/bigdecimal.rb +5 -0
  126. data/lib/kms/externals/request.rb +4 -0
  127. data/lib/kms/functions/assets.rb +40 -0
  128. data/lib/kms/functions/currency.rb +21 -0
  129. data/lib/kms/search_item.rb +28 -0
  130. data/lib/kms/version.rb +3 -0
  131. data/lib/tasks/kms_tasks.rake +4 -0
  132. data/lib/tasks/precompile_hook.rake +42 -0
  133. data/spec/controllers/kms/snippets_controller_spec.rb +74 -0
  134. data/spec/factories/kms_settings.rb +6 -0
  135. data/spec/factories/snippets.rb +10 -0
  136. data/spec/factories/users.rb +7 -0
  137. data/spec/internal/Rakefile +2 -0
  138. data/spec/internal/config/database.yml +7 -0
  139. data/spec/internal/config/initializers/devise.rb +257 -0
  140. data/spec/internal/config/routes.rb +7 -0
  141. data/spec/internal/db/schema.rb +69 -0
  142. data/spec/internal/log/test.log +14998 -0
  143. data/spec/internal/public/favicon.ico +0 -0
  144. data/spec/internal/tmp/cache/assets/test/sprockets/v3.0/1XyAFYlYI0pK7WAgjR4PgXV6BgU6huJSviWmHetdCRs.cache +1 -0
  145. data/spec/models/kms/setting_spec.rb +7 -0
  146. data/spec/models/kms/snippet_spec.rb +14 -0
  147. data/spec/services/kms/help_service_spec.rb +8 -0
  148. data/spec/spec_helper.rb +27 -0
  149. data/spec/support/controller_macros.rb +11 -0
  150. data/spec/support/request_helpers.rb +7 -0
  151. metadata +521 -0
File without changes
@@ -0,0 +1 @@
1
+ "%_�|�`e����@��<�ݴ8<�g�%����
@@ -0,0 +1,7 @@
1
+ require 'rails_helper'
2
+
3
+ module Kms
4
+ RSpec.describe Setting, type: :model do
5
+ pending "add some examples to (or delete) #{__FILE__}"
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+
3
+ module Kms
4
+ RSpec.describe Kms::Snippet, type: :model do
5
+ it "should be registered via ResourceService" do
6
+ expect(Kms::ResourceService.resources[:content_management][Kms::Snippet]).to_not be_nil
7
+ end
8
+
9
+ it "should be registered as Liquor partial" do
10
+ snippet = FactoryGirl.create(:snippet)
11
+ expect(Kms.template_manager.fetch_partial(snippet.register_id)).to_not be nil
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ describe Kms::HelpService, type: :service do
4
+ it "should register help partials" do
5
+ Kms::HelpService.register_templates Kms::Engine, 'kms_help.html'
6
+ expect(Kms::HelpService.templates[Kms::Engine]).to include 'kms_help.html'
7
+ end
8
+ end
@@ -0,0 +1,27 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'byebug'
4
+
5
+ require 'combustion'
6
+
7
+ Combustion.initialize! :all
8
+
9
+ require 'rspec/rails'
10
+ require 'factory_girl_rails'
11
+ require 'devise'
12
+ # require 'airborne'
13
+
14
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ RSpec.configure do |config|
17
+ config.include Devise::TestHelpers, type: :controller
18
+ config.extend ControllerMacros, type: :controller
19
+ config.include Requests::JsonHelpers, type: :controller
20
+ config.color = true
21
+ config.mock_with :rspec
22
+ config.use_transactional_fixtures = true
23
+ config.infer_base_class_for_anonymous_controllers = false
24
+ end
25
+ # Airborne.configure do |config|
26
+ # config.base_url = 'http://localhost:3000/kms'
27
+ # end
@@ -0,0 +1,11 @@
1
+ module ControllerMacros
2
+
3
+ def login_user
4
+ before(:each) do
5
+ @request.env["devise.mapping"] = Devise.mappings[:kms_user]
6
+ user = FactoryGirl.create(:user)
7
+ # user.confirm! # or set a confirmed_at inside the factory. Only necessary if you are using the "confirmable" module
8
+ sign_in user
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ module Requests
2
+ module JsonHelpers
3
+ def json
4
+ JSON.parse(response.body)
5
+ end
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,521 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kms
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.0
5
+ platform: ruby
6
+ authors:
7
+ - Igor Petrov
8
+ - Alexander Nigomatulin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2016-08-05 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.1'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '4.1'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bower-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 0.9.1
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 0.9.1
42
+ - !ruby/object:Gem::Dependency
43
+ name: slim-rails
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: less-rails
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: russian
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: therubyracer
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: angular-rails-templates
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '='
103
+ - !ruby/object:Gem::Version
104
+ version: 0.1.3
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '='
110
+ - !ruby/object:Gem::Version
111
+ version: 0.1.3
112
+ - !ruby/object:Gem::Dependency
113
+ name: liquor
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :runtime
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: carrierwave
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :runtime
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: active_model_serializers
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
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: ancestry
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :runtime
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: devise
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ type: :runtime
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: evil-front
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ type: :runtime
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: cancancan
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '1.9'
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '1.9'
210
+ - !ruby/object:Gem::Dependency
211
+ name: dragonfly
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - "~>"
215
+ - !ruby/object:Gem::Version
216
+ version: 1.0.7
217
+ type: :runtime
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: 1.0.7
224
+ - !ruby/object:Gem::Dependency
225
+ name: pg
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :runtime
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: textacular
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - "~>"
243
+ - !ruby/object:Gem::Version
244
+ version: '3.0'
245
+ type: :runtime
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: '3.0'
252
+ - !ruby/object:Gem::Dependency
253
+ name: combustion
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: 0.5.4
259
+ type: :development
260
+ prerelease: false
261
+ version_requirements: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: 0.5.4
266
+ - !ruby/object:Gem::Dependency
267
+ name: factory_girl_rails
268
+ requirement: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
273
+ type: :development
274
+ prerelease: false
275
+ version_requirements: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - ">="
278
+ - !ruby/object:Gem::Version
279
+ version: '0'
280
+ - !ruby/object:Gem::Dependency
281
+ name: rspec-rails
282
+ requirement: !ruby/object:Gem::Requirement
283
+ requirements:
284
+ - - ">="
285
+ - !ruby/object:Gem::Version
286
+ version: '0'
287
+ type: :development
288
+ prerelease: false
289
+ version_requirements: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - ">="
292
+ - !ruby/object:Gem::Version
293
+ version: '0'
294
+ - !ruby/object:Gem::Dependency
295
+ name: airborne
296
+ requirement: !ruby/object:Gem::Requirement
297
+ requirements:
298
+ - - ">="
299
+ - !ruby/object:Gem::Version
300
+ version: '0'
301
+ type: :development
302
+ prerelease: false
303
+ version_requirements: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - ">="
306
+ - !ruby/object:Gem::Version
307
+ version: '0'
308
+ - !ruby/object:Gem::Dependency
309
+ name: byebug
310
+ requirement: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - ">="
313
+ - !ruby/object:Gem::Version
314
+ version: '0'
315
+ type: :development
316
+ prerelease: false
317
+ version_requirements: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - ">="
320
+ - !ruby/object:Gem::Version
321
+ version: '0'
322
+ description: Kms - Kandidate Master of Sports - Ruby on Rails CMS
323
+ email:
324
+ - info@webgradus.ru
325
+ executables: []
326
+ extensions: []
327
+ extra_rdoc_files: []
328
+ files:
329
+ - MIT-LICENSE
330
+ - Rakefile
331
+ - app/assets/fonts/casper-webfont.eot
332
+ - app/assets/fonts/casper-webfont.svg
333
+ - app/assets/fonts/casper-webfont.ttf
334
+ - app/assets/fonts/casper-webfont.woff
335
+ - app/assets/fonts/casper-webfont.woff2
336
+ - app/assets/fonts/glyphicons-halflings-regular.eot
337
+ - app/assets/fonts/glyphicons-halflings-regular.svg
338
+ - app/assets/fonts/glyphicons-halflings-regular.ttf
339
+ - app/assets/fonts/glyphicons-halflings-regular.woff
340
+ - app/assets/javascripts/kms/application.js
341
+ - app/assets/javascripts/kms/application/controllers/assets_controller.coffee
342
+ - app/assets/javascripts/kms/application/controllers/help_controller.coffee
343
+ - app/assets/javascripts/kms/application/controllers/pages_controller.coffee
344
+ - app/assets/javascripts/kms/application/controllers/settings_controller.coffee
345
+ - app/assets/javascripts/kms/application/controllers/sidebar_controller.coffee
346
+ - app/assets/javascripts/kms/application/controllers/snippets_controller.coffee
347
+ - app/assets/javascripts/kms/application/controllers/templates_controller.coffee
348
+ - app/assets/javascripts/kms/application/controllers/users_controller.coffee
349
+ - app/assets/javascripts/kms/application/module.coffee
350
+ - app/assets/javascripts/kms/application/routes.coffee.erb
351
+ - app/assets/javascripts/kms/application/services/errors_service.coffee
352
+ - app/assets/javascripts/templates/assets/edit.html.slim
353
+ - app/assets/javascripts/templates/assets/index.html.slim
354
+ - app/assets/javascripts/templates/assets/new.html.slim
355
+ - app/assets/javascripts/templates/help.html.slim
356
+ - app/assets/javascripts/templates/help/filters.html.slim
357
+ - app/assets/javascripts/templates/help/variables.html.slim
358
+ - app/assets/javascripts/templates/pages/edit.html.slim
359
+ - app/assets/javascripts/templates/pages/form.html.slim
360
+ - app/assets/javascripts/templates/pages/index.html.slim
361
+ - app/assets/javascripts/templates/pages/new.html.slim
362
+ - app/assets/javascripts/templates/settings.html.slim
363
+ - app/assets/javascripts/templates/snippets/edit.html.slim
364
+ - app/assets/javascripts/templates/snippets/form.html.slim
365
+ - app/assets/javascripts/templates/snippets/index.html.slim
366
+ - app/assets/javascripts/templates/snippets/new.html.slim
367
+ - app/assets/javascripts/templates/templates/edit.html.slim
368
+ - app/assets/javascripts/templates/templates/form.html.slim
369
+ - app/assets/javascripts/templates/templates/index.html.slim
370
+ - app/assets/javascripts/templates/templates/new.html.slim
371
+ - app/assets/javascripts/templates/users/form.html.slim
372
+ - app/assets/javascripts/templates/users/index.html.slim
373
+ - app/assets/javascripts/templates/users/new.html.slim
374
+ - app/assets/stylesheets/kms/application.css
375
+ - app/assets/stylesheets/kms/custom.css.scss
376
+ - app/assets/stylesheets/kms/responsive_dashboard.css.less
377
+ - app/controllers/kms/application_controller.rb
378
+ - app/controllers/kms/assets_controller.rb
379
+ - app/controllers/kms/kms_controller.rb
380
+ - app/controllers/kms/pages_controller.rb
381
+ - app/controllers/kms/public/pages_controller.rb
382
+ - app/controllers/kms/public/search_controller.rb
383
+ - app/controllers/kms/resources_controller.rb
384
+ - app/controllers/kms/settings_controller.rb
385
+ - app/controllers/kms/snippets_controller.rb
386
+ - app/controllers/kms/templates_controller.rb
387
+ - app/controllers/kms/users_controller.rb
388
+ - app/controllers/users/confirmations_controller.rb
389
+ - app/controllers/users/omniauth_callbacks_controller.rb
390
+ - app/controllers/users/passwords_controller.rb
391
+ - app/controllers/users/registrations_controller.rb
392
+ - app/controllers/users/sessions_controller.rb
393
+ - app/controllers/users/unlocks_controller.rb
394
+ - app/helpers/kms/application_helper.rb
395
+ - app/models/ability.rb
396
+ - app/models/concerns/kms/compile_templates.rb
397
+ - app/models/concerns/kms/permalinkable.rb
398
+ - app/models/concerns/kms/update_stylesheets_text.rb
399
+ - app/models/kms/asset.rb
400
+ - app/models/kms/page.rb
401
+ - app/models/kms/settings.rb
402
+ - app/models/kms/snippet.rb
403
+ - app/models/kms/template.rb
404
+ - app/models/kms/user.rb
405
+ - app/serializers/kms/settings_serializer.rb
406
+ - app/serializers/kms/snippet_serializer.rb
407
+ - app/services/kms/ability_service.rb
408
+ - app/services/kms/externals_registry.rb
409
+ - app/services/kms/form_customization_service.rb
410
+ - app/services/kms/help_service.rb
411
+ - app/services/kms/resource_service.rb
412
+ - app/services/kms/search_service.rb
413
+ - app/services/kms/settings_service.rb
414
+ - app/uploaders/kms/asset_uploader.rb
415
+ - app/views/devise/registrations/new.html.erb
416
+ - app/views/devise/sessions/new.html.erb
417
+ - app/views/devise/shared/_links.html.erb
418
+ - app/views/layouts/kms/devise.html.erb
419
+ - app/views/layouts/kms/kms.html.erb
420
+ - config/initializers/bower_rails.rb
421
+ - config/initializers/devise.rb
422
+ - config/initializers/externals.rb
423
+ - config/initializers/help.rb
424
+ - config/initializers/liquor.rb
425
+ - config/initializers/resources.rb
426
+ - config/locales/devise.en.yml
427
+ - config/locales/devise.ru.yml
428
+ - config/locales/en.yml
429
+ - config/locales/ru.yml
430
+ - config/routes.rb
431
+ - db/migrate/20141027065341_create_pages.rb
432
+ - db/migrate/20141027083603_create_templates.rb
433
+ - db/migrate/20141027083633_add_template_id_to_pages.rb
434
+ - db/migrate/20141029145253_create_assets.rb
435
+ - db/migrate/20141031125758_add_ancestry_to_pages.rb
436
+ - db/migrate/20141031140308_devise_create_users.rb
437
+ - db/migrate/20141119084306_add_fullpath_to_pages.rb
438
+ - db/migrate/20141121112652_add_role_to_users.rb
439
+ - db/migrate/20141127073902_add_templatable_fields_to_pages.rb
440
+ - db/migrate/20141209132901_add_hidden_to_page.rb
441
+ - db/migrate/20150209120632_add_position_to_kms_pages.rb
442
+ - db/migrate/20160129100437_create_kms_snippets.rb
443
+ - db/migrate/20160712094512_create_kms_settings.rb
444
+ - lib/generators/kms/install/install_generator.rb
445
+ - lib/generators/kms/install/templates/devise.rb
446
+ - lib/generators/kms/install/templates/dragonfly.rb
447
+ - lib/kms.rb
448
+ - lib/kms/dependencies.rb
449
+ - lib/kms/drops/page_drop.rb
450
+ - lib/kms/drops/search_item_drop.rb
451
+ - lib/kms/engine.rb
452
+ - lib/kms/externals/bigdecimal.rb
453
+ - lib/kms/externals/request.rb
454
+ - lib/kms/functions/assets.rb
455
+ - lib/kms/functions/currency.rb
456
+ - lib/kms/search_item.rb
457
+ - lib/kms/version.rb
458
+ - lib/tasks/kms_tasks.rake
459
+ - lib/tasks/precompile_hook.rake
460
+ - spec/controllers/kms/snippets_controller_spec.rb
461
+ - spec/factories/kms_settings.rb
462
+ - spec/factories/snippets.rb
463
+ - spec/factories/users.rb
464
+ - spec/internal/Rakefile
465
+ - spec/internal/config/database.yml
466
+ - spec/internal/config/initializers/devise.rb
467
+ - spec/internal/config/routes.rb
468
+ - spec/internal/db/schema.rb
469
+ - spec/internal/log/test.log
470
+ - spec/internal/public/favicon.ico
471
+ - spec/internal/tmp/cache/assets/test/sprockets/v3.0/1XyAFYlYI0pK7WAgjR4PgXV6BgU6huJSviWmHetdCRs.cache
472
+ - spec/models/kms/setting_spec.rb
473
+ - spec/models/kms/snippet_spec.rb
474
+ - spec/services/kms/help_service_spec.rb
475
+ - spec/spec_helper.rb
476
+ - spec/support/controller_macros.rb
477
+ - spec/support/request_helpers.rb
478
+ homepage: http://webgradus.ru
479
+ licenses:
480
+ - MIT
481
+ metadata: {}
482
+ post_install_message:
483
+ rdoc_options: []
484
+ require_paths:
485
+ - lib
486
+ required_ruby_version: !ruby/object:Gem::Requirement
487
+ requirements:
488
+ - - ">="
489
+ - !ruby/object:Gem::Version
490
+ version: '0'
491
+ required_rubygems_version: !ruby/object:Gem::Requirement
492
+ requirements:
493
+ - - ">="
494
+ - !ruby/object:Gem::Version
495
+ version: '0'
496
+ requirements: []
497
+ rubyforge_project:
498
+ rubygems_version: 2.4.5
499
+ signing_key:
500
+ specification_version: 4
501
+ summary: Kms - Kandidate Master of Sports - Ruby on Rails CMS
502
+ test_files:
503
+ - spec/controllers/kms/snippets_controller_spec.rb
504
+ - spec/factories/kms_settings.rb
505
+ - spec/factories/snippets.rb
506
+ - spec/factories/users.rb
507
+ - spec/internal/config/database.yml
508
+ - spec/internal/config/initializers/devise.rb
509
+ - spec/internal/config/routes.rb
510
+ - spec/internal/db/schema.rb
511
+ - spec/internal/log/test.log
512
+ - spec/internal/public/favicon.ico
513
+ - spec/internal/Rakefile
514
+ - spec/internal/tmp/cache/assets/test/sprockets/v3.0/1XyAFYlYI0pK7WAgjR4PgXV6BgU6huJSviWmHetdCRs.cache
515
+ - spec/models/kms/setting_spec.rb
516
+ - spec/models/kms/snippet_spec.rb
517
+ - spec/services/kms/help_service_spec.rb
518
+ - spec/spec_helper.rb
519
+ - spec/support/controller_macros.rb
520
+ - spec/support/request_helpers.rb
521
+ has_rdoc: