kms 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/kms/application.js +1 -0
  3. data/app/assets/javascripts/kms/application/controllers/assets_controller.coffee.erb +14 -4
  4. data/app/assets/javascripts/kms/application/controllers/pages_controller.coffee.erb +12 -2
  5. data/app/assets/javascripts/kms/application/controllers/snippets_controller.coffee.erb +13 -3
  6. data/app/assets/javascripts/kms/application/controllers/templates_controller.coffee.erb +13 -3
  7. data/app/assets/javascripts/kms/application/controllers/users_controller.coffee +5 -5
  8. data/app/assets/javascripts/kms/application/module.coffee +6 -2
  9. data/app/assets/javascripts/kms/application/routes.coffee.erb +10 -0
  10. data/app/assets/javascripts/templates/assets/edit.html.slim +2 -1
  11. data/app/assets/javascripts/templates/assets/form.html.slim +1 -1
  12. data/app/assets/javascripts/templates/pages/edit.html.slim +1 -0
  13. data/app/assets/javascripts/templates/shared/hotkey_notification.html.slim +6 -0
  14. data/app/assets/javascripts/templates/snippets/edit.html.slim +1 -0
  15. data/app/assets/javascripts/templates/templates/edit.html.slim +1 -0
  16. data/app/assets/javascripts/templates/users/edit.html.slim +5 -0
  17. data/app/assets/javascripts/templates/users/form.html.slim +3 -2
  18. data/app/assets/javascripts/templates/users/index.html.slim +2 -1
  19. data/app/assets/stylesheets/kms/custom.css.scss +10 -0
  20. data/app/controllers/kms/assets_controller.rb +6 -3
  21. data/app/controllers/kms/users_controller.rb +14 -0
  22. data/app/services/kms/resource_service.rb +3 -1
  23. data/app/views/layouts/kms/kms.html.erb +1 -1
  24. data/config/initializers/devise.rb +9 -0
  25. data/config/locales/en.yml +12 -0
  26. data/config/locales/ru.yml +12 -0
  27. data/config/routes.rb +1 -1
  28. data/lib/kms/engine.rb +1 -1
  29. data/lib/kms/version.rb +1 -1
  30. data/spec/controllers/kms/assets_controller_spec.rb +28 -10
  31. data/spec/controllers/kms/users_controller_spec.rb +23 -0
  32. data/spec/internal/config/routes.rb +1 -1
  33. data/spec/internal/log/test.log +0 -105823
  34. data/vendor/assets/bower.json +5 -4
  35. data/vendor/assets/bower_components/angular-cookies/angular-cookies.js +22 -18
  36. data/vendor/assets/bower_components/angular-cookies/angular-cookies.min.js +4 -4
  37. data/vendor/assets/bower_components/angular-cookies/angular-cookies.min.js.map +2 -2
  38. data/vendor/assets/bower_components/angular-cookies/bower.json +2 -2
  39. data/vendor/assets/bower_components/angular-cookies/package.json +1 -1
  40. data/vendor/assets/bower_components/angular-hotkeys/Gruntfile.js +118 -0
  41. data/vendor/assets/bower_components/angular-hotkeys/LICENSE +20 -0
  42. data/vendor/assets/bower_components/angular-hotkeys/README.md +248 -0
  43. data/vendor/assets/bower_components/angular-hotkeys/bower.json +19 -0
  44. data/vendor/assets/bower_components/angular-hotkeys/build/hotkeys.css +110 -0
  45. data/vendor/assets/bower_components/angular-hotkeys/build/hotkeys.js +1661 -0
  46. data/vendor/assets/bower_components/angular-hotkeys/build/hotkeys.min.css +1 -0
  47. data/vendor/assets/bower_components/angular-hotkeys/build/hotkeys.min.js +7 -0
  48. data/vendor/assets/bower_components/angular-hotkeys/package.json +45 -0
  49. data/vendor/assets/bower_components/angular-hotkeys/src/hotkeys.css +104 -0
  50. data/vendor/assets/bower_components/angular-hotkeys/src/hotkeys.js +633 -0
  51. data/vendor/assets/bower_components/angular-loading-bar/CHANGELOG.md +33 -0
  52. data/vendor/assets/bower_components/angular-loading-bar/CONTRIBUTING.md +17 -0
  53. data/vendor/assets/bower_components/angular-loading-bar/Gruntfile.js +9 -1
  54. data/vendor/assets/bower_components/angular-loading-bar/ISSUE_TEMPLATE.md +14 -0
  55. data/vendor/assets/bower_components/angular-loading-bar/PULL_REQUEST_TEMPLATE.md +13 -0
  56. data/vendor/assets/bower_components/angular-loading-bar/README.md +30 -3
  57. data/vendor/assets/bower_components/angular-loading-bar/bower.json +11 -6
  58. data/vendor/assets/bower_components/angular-loading-bar/build/loading-bar.css +5 -5
  59. data/vendor/assets/bower_components/angular-loading-bar/build/loading-bar.js +39 -12
  60. data/vendor/assets/bower_components/angular-loading-bar/build/loading-bar.min.css +1 -8
  61. data/vendor/assets/bower_components/angular-loading-bar/build/loading-bar.min.js +3 -3
  62. data/vendor/assets/bower_components/angular-loading-bar/index.js +2 -0
  63. data/vendor/assets/bower_components/angular-loading-bar/package.json +12 -15
  64. data/vendor/assets/bower_components/angular-loading-bar/src/loading-bar.css +3 -3
  65. data/vendor/assets/bower_components/angular-loading-bar/src/loading-bar.js +37 -10
  66. data/vendor/assets/bower_components/angular-sanitize/angular-sanitize.js +504 -386
  67. data/vendor/assets/bower_components/angular-sanitize/angular-sanitize.min.js +13 -12
  68. data/vendor/assets/bower_components/angular-sanitize/angular-sanitize.min.js.map +3 -3
  69. data/vendor/assets/bower_components/angular-sanitize/bower.json +2 -2
  70. data/vendor/assets/bower_components/angular-sanitize/package.json +1 -1
  71. data/vendor/assets/bower_components/angular-ui-router/CHANGELOG.md +1410 -0
  72. data/vendor/assets/bower_components/angular-ui-router/CONTRIBUTING.md +64 -16
  73. data/vendor/assets/bower_components/angular-ui-router/DOCS.md +48 -0
  74. data/vendor/assets/bower_components/angular-ui-router/ISSUE_TEMPLATE.md +53 -0
  75. data/vendor/assets/bower_components/angular-ui-router/LICENSE +1 -1
  76. data/vendor/assets/bower_components/angular-ui-router/README.md +24 -211
  77. data/vendor/assets/bower_components/angular-ui-router/artifacts.json +8 -0
  78. data/vendor/assets/bower_components/angular-ui-router/bower.json +1 -23
  79. data/vendor/assets/bower_components/angular-ui-router/karma.conf.js +105 -0
  80. data/vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.js +9744 -3901
  81. data/vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.js.map +192 -0
  82. data/vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.min.js +9 -4
  83. data/vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.min.js.map +1679 -0
  84. data/vendor/assets/bower_components/angular-ui-router/release/resolveService.js +83 -0
  85. data/vendor/assets/bower_components/angular-ui-router/release/resolveService.js.map +19 -0
  86. data/vendor/assets/bower_components/angular-ui-router/release/resolveService.min.js +8 -0
  87. data/vendor/assets/bower_components/angular-ui-router/release/resolveService.min.js.map +47 -0
  88. data/vendor/assets/bower_components/angular-ui-router/release/stateEvents.js +294 -0
  89. data/vendor/assets/bower_components/angular-ui-router/release/stateEvents.js.map +17 -0
  90. data/vendor/assets/bower_components/angular-ui-router/release/stateEvents.min.js +8 -0
  91. data/vendor/assets/bower_components/angular-ui-router/release/stateEvents.min.js.map +102 -0
  92. data/vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.js +2014 -0
  93. data/vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.js.map +70 -0
  94. data/vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.min.js +9 -0
  95. data/vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.min.js.map +541 -0
  96. data/vendor/assets/bower_components/angular-ui-router/rollup.config.js +116 -0
  97. data/vendor/assets/bower_components/angular-ui-router/tslint.json +60 -0
  98. data/vendor/assets/bower_components/angular-ui-router/yarn.lock +4146 -0
  99. data/vendor/assets/bower_components/angular-ui-tree/yarn.lock +4945 -0
  100. data/vendor/assets/bower_components/angular/angular.js +4019 -2449
  101. data/vendor/assets/bower_components/angular/angular.min.js +331 -319
  102. data/vendor/assets/bower_components/angular/angular.min.js.gzip +0 -0
  103. data/vendor/assets/bower_components/angular/angular.min.js.map +3 -3
  104. data/vendor/assets/bower_components/angular/bower.json +1 -1
  105. data/vendor/assets/bower_components/angular/package.json +1 -1
  106. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/LICENSE +21 -0
  107. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/README.md +14 -14
  108. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/bower.json +25 -12
  109. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/development_index.html +59 -52
  110. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/dist/angularjs-dropdown-multiselect.min.js +1 -1
  111. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/index.html +73 -0
  112. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/package.json +19 -7
  113. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/javascripts/pages/home/ExampleCtrl.js +126 -3
  114. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/javascripts/pages/home/home.html +1262 -852
  115. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/stylesheets/stylesheet.css +10 -5
  116. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/src/angularjs-dropdown-multiselect.js +612 -287
  117. metadata +66 -169
  118. data/spec/internal/config/database.yml +0 -7
  119. data/spec/internal/public/uploads/kms/asset/file/1/avatar.jpg +0 -0
  120. data/spec/internal/public/uploads/kms/asset/file/2/avatar.jpg +0 -0
  121. data/spec/internal/public/uploads/kms/asset/file/2/style.css +0 -1
  122. data/spec/internal/public/uploads/kms/asset/file/3/style.css +0 -1
  123. data/spec/internal/public/uploads/kms/asset/file/4/style.css +0 -1
  124. data/spec/internal/public/uploads/tmp/1500976987-41025-0002-0883/style.css +0 -1
  125. data/spec/internal/public/uploads/tmp/1500977082-41195-0002-6495/style.css +0 -1
  126. data/spec/internal/public/uploads/tmp/1500977109-41364-0002-4518/style.css +0 -1
  127. data/spec/internal/public/uploads/tmp/1500977152-41405-0002-2345/style.css +0 -1
  128. data/spec/internal/public/uploads/tmp/1500977327-41694-0002-5448/style.css +0 -1
  129. data/spec/internal/public/uploads/tmp/1500977376-41732-0002-7916/style.css +0 -1
  130. data/spec/internal/public/uploads/tmp/1500977392-41759-0002-7593/style.css +0 -1
  131. data/spec/internal/public/uploads/tmp/1500977410-42259-0002-7527/style.css +0 -1
  132. data/spec/internal/public/uploads/tmp/1500977429-42306-0002-5937/style.css +0 -1
  133. data/spec/internal/public/uploads/tmp/1500977437-42324-0002-5880/style.css +0 -1
  134. data/spec/internal/public/uploads/tmp/1500983228-53594-0002-4559/style.css +0 -1
  135. data/spec/internal/public/uploads/tmp/1500983284-53632-0002-6590/style.css +0 -1
  136. data/spec/internal/public/uploads/tmp/1500983360-53784-0002-7289/style.css +0 -1
  137. data/spec/internal/public/uploads/tmp/1500983469-54321-0002-0386/avatar.jpg +0 -0
  138. data/spec/internal/public/uploads/tmp/1500983469-54321-0004-5691/style.css +0 -1
  139. data/spec/internal/public/uploads/tmp/1500983511-54352-0002-5720/avatar.jpg +0 -0
  140. data/spec/internal/public/uploads/tmp/1500983511-54352-0004-1399/style.css +0 -1
  141. data/spec/internal/public/uploads/tmp/1500983610-54507-0002-4280/avatar.jpg +0 -0
  142. data/spec/internal/public/uploads/tmp/1500983610-54507-0004-9758/style.css +0 -1
  143. data/spec/internal/public/uploads/tmp/1500984466-57012-0002-4146/avatar.jpg +0 -0
  144. data/spec/internal/public/uploads/tmp/1500984466-57012-0004-5895/style.css +0 -1
  145. data/spec/internal/public/uploads/tmp/1500984509-57158-0002-9657/avatar.jpg +0 -0
  146. data/spec/internal/public/uploads/tmp/1500984509-57158-0004-5003/style.css +0 -1
  147. data/spec/internal/public/uploads/tmp/1500984616-57697-0002-7201/avatar.jpg +0 -0
  148. data/spec/internal/public/uploads/tmp/1500984616-57697-0004-6255/style.css +0 -1
  149. data/spec/internal/public/uploads/tmp/1500985257-58947-0002-3629/avatar.jpg +0 -0
  150. data/spec/internal/public/uploads/tmp/1500985257-58947-0004-5338/style.css +0 -1
  151. data/spec/internal/public/uploads/tmp/1500985407-58947-0006-5929/style.css +0 -1
  152. data/spec/internal/public/uploads/tmp/1500985473-59264-0002-0397/avatar.jpg +0 -0
  153. data/spec/internal/public/uploads/tmp/1500985473-59264-0004-6493/style.css +0 -1
  154. data/spec/internal/public/uploads/tmp/1500985475-59264-0007-8674/style.css +0 -1
  155. data/spec/internal/public/uploads/tmp/1500985538-59468-0002-9206/avatar.jpg +0 -0
  156. data/spec/internal/public/uploads/tmp/1500985538-59468-0004-2586/style.css +0 -1
  157. data/spec/internal/public/uploads/tmp/1500985538-59468-0007-6200/style.css +0 -1
  158. data/spec/internal/public/uploads/tmp/1500988358-65877-0002-4528/avatar.jpg +0 -0
  159. data/spec/internal/public/uploads/tmp/1500988358-65877-0004-5904/style.css +0 -1
  160. data/spec/internal/public/uploads/tmp/1500988358-65877-0007-7320/style.css +0 -1
  161. data/spec/internal/public/uploads/tmp/1500988407-65916-0002-3138/avatar.jpg +0 -0
  162. data/spec/internal/public/uploads/tmp/1500988407-65916-0004-5400/style.css +0 -1
  163. data/spec/internal/public/uploads/tmp/1500988407-65916-0007-1655/style.css +0 -1
  164. data/spec/internal/public/uploads/tmp/1500988421-65950-0002-9415/avatar.jpg +0 -0
  165. data/spec/internal/public/uploads/tmp/1500988421-65950-0004-7130/style.css +0 -1
  166. data/spec/internal/public/uploads/tmp/1500988421-65950-0007-9886/style.css +0 -1
  167. data/spec/internal/public/uploads/tmp/1500988435-65981-0002-3228/avatar.jpg +0 -0
  168. data/spec/internal/public/uploads/tmp/1500988435-65981-0004-3682/style.css +0 -1
  169. data/spec/internal/public/uploads/tmp/1500988435-65981-0007-1582/style.css +0 -1
  170. data/spec/internal/public/uploads/tmp/1500988475-66122-0002-9516/avatar.jpg +0 -0
  171. data/spec/internal/public/uploads/tmp/1500988475-66122-0004-5634/style.css +0 -1
  172. data/spec/internal/public/uploads/tmp/1500988530-66122-0007-2272/style.css +0 -1
  173. data/spec/internal/public/uploads/tmp/1500988554-66315-0002-6262/avatar.jpg +0 -0
  174. data/spec/internal/public/uploads/tmp/1500988554-66315-0004-6099/style.css +0 -1
  175. data/spec/internal/public/uploads/tmp/1500988554-66315-0007-1632/style.css +0 -1
  176. data/spec/internal/public/uploads/tmp/1500991751-73722-0002-9937/avatar.jpg +0 -0
  177. data/spec/internal/public/uploads/tmp/1500991751-73722-0004-8034/style.css +0 -1
  178. data/spec/internal/public/uploads/tmp/1500991751-73722-0007-7763/style.css +0 -1
  179. data/spec/internal/public/uploads/tmp/1501233238-34385-0002-3210/avatar.jpg +0 -0
  180. data/spec/internal/public/uploads/tmp/1501233238-34385-0004-5881/style.css +0 -1
  181. data/spec/internal/public/uploads/tmp/1501233238-34385-0007-6280/style.css +0 -1
  182. data/spec/internal/tmp/cache/assets/test/sprockets/v3.0/1XyAFYlYI0pK7WAgjR4PgXV6BgU6huJSviWmHetdCRs.cache +0 -1
  183. data/vendor/assets/bower_components/angular-ui-router/api/angular-ui-router.d.ts +0 -126
  184. data/vendor/assets/bower_components/angular-ui-router/src/common.js +0 -292
  185. data/vendor/assets/bower_components/angular-ui-router/src/resolve.js +0 -252
  186. data/vendor/assets/bower_components/angular-ui-router/src/state.js +0 -1373
  187. data/vendor/assets/bower_components/angular-ui-router/src/stateDirectives.js +0 -268
  188. data/vendor/assets/bower_components/angular-ui-router/src/stateFilters.js +0 -39
  189. data/vendor/assets/bower_components/angular-ui-router/src/templateFactory.js +0 -110
  190. data/vendor/assets/bower_components/angular-ui-router/src/urlMatcherFactory.js +0 -1036
  191. data/vendor/assets/bower_components/angular-ui-router/src/urlRouter.js +0 -413
  192. data/vendor/assets/bower_components/angular-ui-router/src/view.js +0 -71
  193. data/vendor/assets/bower_components/angular-ui-router/src/viewDirective.js +0 -302
  194. data/vendor/assets/bower_components/angular-ui-router/src/viewScroll.js +0 -52
  195. data/vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/index.html +0 -67
  196. data/vendor/assets/bower_components/bootstrap/Gemfile.lock +0 -43
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Petrov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-05 00:00:00.000000000 Z
12
+ date: 2017-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 1.1.0
104
+ version: 1.2.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 1.1.0
111
+ version: 1.2.0
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: active_model_serializers
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -308,6 +308,7 @@ files:
308
308
  - app/assets/javascripts/templates/pages/index.html.slim
309
309
  - app/assets/javascripts/templates/pages/new.html.slim
310
310
  - app/assets/javascripts/templates/settings.html.slim
311
+ - app/assets/javascripts/templates/shared/hotkey_notification.html.slim
311
312
  - app/assets/javascripts/templates/snippets/edit.html.slim
312
313
  - app/assets/javascripts/templates/snippets/form.html.slim
313
314
  - app/assets/javascripts/templates/snippets/index.html.slim
@@ -316,6 +317,7 @@ files:
316
317
  - app/assets/javascripts/templates/templates/form.html.slim
317
318
  - app/assets/javascripts/templates/templates/index.html.slim
318
319
  - app/assets/javascripts/templates/templates/new.html.slim
320
+ - app/assets/javascripts/templates/users/edit.html.slim
319
321
  - app/assets/javascripts/templates/users/form.html.slim
320
322
  - app/assets/javascripts/templates/users/index.html.slim
321
323
  - app/assets/javascripts/templates/users/new.html.slim
@@ -430,7 +432,6 @@ files:
430
432
  - spec/factories/templates.rb
431
433
  - spec/factories/users.rb
432
434
  - spec/internal/Rakefile
433
- - spec/internal/config/database.yml
434
435
  - spec/internal/config/database.yml.travis
435
436
  - spec/internal/config/initializers/devise.rb
436
437
  - spec/internal/config/routes.rb
@@ -440,70 +441,6 @@ files:
440
441
  - spec/internal/public/avatar.jpg
441
442
  - spec/internal/public/favicon.ico
442
443
  - spec/internal/public/style.css
443
- - spec/internal/public/uploads/kms/asset/file/1/avatar.jpg
444
- - spec/internal/public/uploads/kms/asset/file/2/avatar.jpg
445
- - spec/internal/public/uploads/kms/asset/file/2/style.css
446
- - spec/internal/public/uploads/kms/asset/file/3/style.css
447
- - spec/internal/public/uploads/kms/asset/file/4/style.css
448
- - spec/internal/public/uploads/tmp/1500976987-41025-0002-0883/style.css
449
- - spec/internal/public/uploads/tmp/1500977082-41195-0002-6495/style.css
450
- - spec/internal/public/uploads/tmp/1500977109-41364-0002-4518/style.css
451
- - spec/internal/public/uploads/tmp/1500977152-41405-0002-2345/style.css
452
- - spec/internal/public/uploads/tmp/1500977327-41694-0002-5448/style.css
453
- - spec/internal/public/uploads/tmp/1500977376-41732-0002-7916/style.css
454
- - spec/internal/public/uploads/tmp/1500977392-41759-0002-7593/style.css
455
- - spec/internal/public/uploads/tmp/1500977410-42259-0002-7527/style.css
456
- - spec/internal/public/uploads/tmp/1500977429-42306-0002-5937/style.css
457
- - spec/internal/public/uploads/tmp/1500977437-42324-0002-5880/style.css
458
- - spec/internal/public/uploads/tmp/1500983228-53594-0002-4559/style.css
459
- - spec/internal/public/uploads/tmp/1500983284-53632-0002-6590/style.css
460
- - spec/internal/public/uploads/tmp/1500983360-53784-0002-7289/style.css
461
- - spec/internal/public/uploads/tmp/1500983469-54321-0002-0386/avatar.jpg
462
- - spec/internal/public/uploads/tmp/1500983469-54321-0004-5691/style.css
463
- - spec/internal/public/uploads/tmp/1500983511-54352-0002-5720/avatar.jpg
464
- - spec/internal/public/uploads/tmp/1500983511-54352-0004-1399/style.css
465
- - spec/internal/public/uploads/tmp/1500983610-54507-0002-4280/avatar.jpg
466
- - spec/internal/public/uploads/tmp/1500983610-54507-0004-9758/style.css
467
- - spec/internal/public/uploads/tmp/1500984466-57012-0002-4146/avatar.jpg
468
- - spec/internal/public/uploads/tmp/1500984466-57012-0004-5895/style.css
469
- - spec/internal/public/uploads/tmp/1500984509-57158-0002-9657/avatar.jpg
470
- - spec/internal/public/uploads/tmp/1500984509-57158-0004-5003/style.css
471
- - spec/internal/public/uploads/tmp/1500984616-57697-0002-7201/avatar.jpg
472
- - spec/internal/public/uploads/tmp/1500984616-57697-0004-6255/style.css
473
- - spec/internal/public/uploads/tmp/1500985257-58947-0002-3629/avatar.jpg
474
- - spec/internal/public/uploads/tmp/1500985257-58947-0004-5338/style.css
475
- - spec/internal/public/uploads/tmp/1500985407-58947-0006-5929/style.css
476
- - spec/internal/public/uploads/tmp/1500985473-59264-0002-0397/avatar.jpg
477
- - spec/internal/public/uploads/tmp/1500985473-59264-0004-6493/style.css
478
- - spec/internal/public/uploads/tmp/1500985475-59264-0007-8674/style.css
479
- - spec/internal/public/uploads/tmp/1500985538-59468-0002-9206/avatar.jpg
480
- - spec/internal/public/uploads/tmp/1500985538-59468-0004-2586/style.css
481
- - spec/internal/public/uploads/tmp/1500985538-59468-0007-6200/style.css
482
- - spec/internal/public/uploads/tmp/1500988358-65877-0002-4528/avatar.jpg
483
- - spec/internal/public/uploads/tmp/1500988358-65877-0004-5904/style.css
484
- - spec/internal/public/uploads/tmp/1500988358-65877-0007-7320/style.css
485
- - spec/internal/public/uploads/tmp/1500988407-65916-0002-3138/avatar.jpg
486
- - spec/internal/public/uploads/tmp/1500988407-65916-0004-5400/style.css
487
- - spec/internal/public/uploads/tmp/1500988407-65916-0007-1655/style.css
488
- - spec/internal/public/uploads/tmp/1500988421-65950-0002-9415/avatar.jpg
489
- - spec/internal/public/uploads/tmp/1500988421-65950-0004-7130/style.css
490
- - spec/internal/public/uploads/tmp/1500988421-65950-0007-9886/style.css
491
- - spec/internal/public/uploads/tmp/1500988435-65981-0002-3228/avatar.jpg
492
- - spec/internal/public/uploads/tmp/1500988435-65981-0004-3682/style.css
493
- - spec/internal/public/uploads/tmp/1500988435-65981-0007-1582/style.css
494
- - spec/internal/public/uploads/tmp/1500988475-66122-0002-9516/avatar.jpg
495
- - spec/internal/public/uploads/tmp/1500988475-66122-0004-5634/style.css
496
- - spec/internal/public/uploads/tmp/1500988530-66122-0007-2272/style.css
497
- - spec/internal/public/uploads/tmp/1500988554-66315-0002-6262/avatar.jpg
498
- - spec/internal/public/uploads/tmp/1500988554-66315-0004-6099/style.css
499
- - spec/internal/public/uploads/tmp/1500988554-66315-0007-1632/style.css
500
- - spec/internal/public/uploads/tmp/1500991751-73722-0002-9937/avatar.jpg
501
- - spec/internal/public/uploads/tmp/1500991751-73722-0004-8034/style.css
502
- - spec/internal/public/uploads/tmp/1500991751-73722-0007-7763/style.css
503
- - spec/internal/public/uploads/tmp/1501233238-34385-0002-3210/avatar.jpg
504
- - spec/internal/public/uploads/tmp/1501233238-34385-0004-5881/style.css
505
- - spec/internal/public/uploads/tmp/1501233238-34385-0007-6280/style.css
506
- - spec/internal/tmp/cache/assets/test/sprockets/v3.0/1XyAFYlYI0pK7WAgjR4PgXV6BgU6huJSviWmHetdCRs.cache
507
444
  - spec/models/kms/page_spec.rb
508
445
  - spec/models/kms/settings_spec.rb
509
446
  - spec/models/kms/snippet_spec.rb
@@ -537,6 +474,17 @@ files:
537
474
  - vendor/assets/bower_components/angular-cookies/bower.json
538
475
  - vendor/assets/bower_components/angular-cookies/index.js
539
476
  - vendor/assets/bower_components/angular-cookies/package.json
477
+ - vendor/assets/bower_components/angular-hotkeys/Gruntfile.js
478
+ - vendor/assets/bower_components/angular-hotkeys/LICENSE
479
+ - vendor/assets/bower_components/angular-hotkeys/README.md
480
+ - vendor/assets/bower_components/angular-hotkeys/bower.json
481
+ - vendor/assets/bower_components/angular-hotkeys/build/hotkeys.css
482
+ - vendor/assets/bower_components/angular-hotkeys/build/hotkeys.js
483
+ - vendor/assets/bower_components/angular-hotkeys/build/hotkeys.min.css
484
+ - vendor/assets/bower_components/angular-hotkeys/build/hotkeys.min.js
485
+ - vendor/assets/bower_components/angular-hotkeys/package.json
486
+ - vendor/assets/bower_components/angular-hotkeys/src/hotkeys.css
487
+ - vendor/assets/bower_components/angular-hotkeys/src/hotkeys.js
540
488
  - vendor/assets/bower_components/angular-i18n/README.md
541
489
  - vendor/assets/bower_components/angular-i18n/aa-dj.js
542
490
  - vendor/assets/bower_components/angular-i18n/aa-er.js
@@ -2037,14 +1985,18 @@ files:
2037
1985
  - vendor/assets/bower_components/angular-i18n/zu-za.js
2038
1986
  - vendor/assets/bower_components/angular-i18n/zu.js
2039
1987
  - vendor/assets/bower_components/angular-loading-bar/CHANGELOG.md
1988
+ - vendor/assets/bower_components/angular-loading-bar/CONTRIBUTING.md
2040
1989
  - vendor/assets/bower_components/angular-loading-bar/Gruntfile.js
1990
+ - vendor/assets/bower_components/angular-loading-bar/ISSUE_TEMPLATE.md
2041
1991
  - vendor/assets/bower_components/angular-loading-bar/LICENSE
1992
+ - vendor/assets/bower_components/angular-loading-bar/PULL_REQUEST_TEMPLATE.md
2042
1993
  - vendor/assets/bower_components/angular-loading-bar/README.md
2043
1994
  - vendor/assets/bower_components/angular-loading-bar/bower.json
2044
1995
  - vendor/assets/bower_components/angular-loading-bar/build/loading-bar.css
2045
1996
  - vendor/assets/bower_components/angular-loading-bar/build/loading-bar.js
2046
1997
  - vendor/assets/bower_components/angular-loading-bar/build/loading-bar.min.css
2047
1998
  - vendor/assets/bower_components/angular-loading-bar/build/loading-bar.min.js
1999
+ - vendor/assets/bower_components/angular-loading-bar/index.js
2048
2000
  - vendor/assets/bower_components/angular-loading-bar/package.json
2049
2001
  - vendor/assets/bower_components/angular-loading-bar/src/loading-bar.css
2050
2002
  - vendor/assets/bower_components/angular-loading-bar/src/loading-bar.js
@@ -2070,23 +2022,32 @@ files:
2070
2022
  - vendor/assets/bower_components/angular-ui-codemirror/ui-codemirror.min.js
2071
2023
  - vendor/assets/bower_components/angular-ui-router/CHANGELOG.md
2072
2024
  - vendor/assets/bower_components/angular-ui-router/CONTRIBUTING.md
2025
+ - vendor/assets/bower_components/angular-ui-router/DOCS.md
2026
+ - vendor/assets/bower_components/angular-ui-router/ISSUE_TEMPLATE.md
2073
2027
  - vendor/assets/bower_components/angular-ui-router/LICENSE
2074
2028
  - vendor/assets/bower_components/angular-ui-router/README.md
2075
- - vendor/assets/bower_components/angular-ui-router/api/angular-ui-router.d.ts
2029
+ - vendor/assets/bower_components/angular-ui-router/artifacts.json
2076
2030
  - vendor/assets/bower_components/angular-ui-router/bower.json
2031
+ - vendor/assets/bower_components/angular-ui-router/karma.conf.js
2077
2032
  - vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.js
2033
+ - vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.js.map
2078
2034
  - vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.min.js
2079
- - vendor/assets/bower_components/angular-ui-router/src/common.js
2080
- - vendor/assets/bower_components/angular-ui-router/src/resolve.js
2081
- - vendor/assets/bower_components/angular-ui-router/src/state.js
2082
- - vendor/assets/bower_components/angular-ui-router/src/stateDirectives.js
2083
- - vendor/assets/bower_components/angular-ui-router/src/stateFilters.js
2084
- - vendor/assets/bower_components/angular-ui-router/src/templateFactory.js
2085
- - vendor/assets/bower_components/angular-ui-router/src/urlMatcherFactory.js
2086
- - vendor/assets/bower_components/angular-ui-router/src/urlRouter.js
2087
- - vendor/assets/bower_components/angular-ui-router/src/view.js
2088
- - vendor/assets/bower_components/angular-ui-router/src/viewDirective.js
2089
- - vendor/assets/bower_components/angular-ui-router/src/viewScroll.js
2035
+ - vendor/assets/bower_components/angular-ui-router/release/angular-ui-router.min.js.map
2036
+ - vendor/assets/bower_components/angular-ui-router/release/resolveService.js
2037
+ - vendor/assets/bower_components/angular-ui-router/release/resolveService.js.map
2038
+ - vendor/assets/bower_components/angular-ui-router/release/resolveService.min.js
2039
+ - vendor/assets/bower_components/angular-ui-router/release/resolveService.min.js.map
2040
+ - vendor/assets/bower_components/angular-ui-router/release/stateEvents.js
2041
+ - vendor/assets/bower_components/angular-ui-router/release/stateEvents.js.map
2042
+ - vendor/assets/bower_components/angular-ui-router/release/stateEvents.min.js
2043
+ - vendor/assets/bower_components/angular-ui-router/release/stateEvents.min.js.map
2044
+ - vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.js
2045
+ - vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.js.map
2046
+ - vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.min.js
2047
+ - vendor/assets/bower_components/angular-ui-router/release/ui-router-angularjs.min.js.map
2048
+ - vendor/assets/bower_components/angular-ui-router/rollup.config.js
2049
+ - vendor/assets/bower_components/angular-ui-router/tslint.json
2050
+ - vendor/assets/bower_components/angular-ui-router/yarn.lock
2090
2051
  - vendor/assets/bower_components/angular-ui-select/CHANGELOG.md
2091
2052
  - vendor/assets/bower_components/angular-ui-select/CONTRIBUTING.md
2092
2053
  - vendor/assets/bower_components/angular-ui-select/LICENSE
@@ -2122,6 +2083,7 @@ files:
2122
2083
  - vendor/assets/bower_components/angular-ui-tree/e2e/table-example/table-example.js
2123
2084
  - vendor/assets/bower_components/angular-ui-tree/index.js
2124
2085
  - vendor/assets/bower_components/angular-ui-tree/protractor.conf.js
2086
+ - vendor/assets/bower_components/angular-ui-tree/yarn.lock
2125
2087
  - vendor/assets/bower_components/angular-xeditable/CHANGELOG.txt
2126
2088
  - vendor/assets/bower_components/angular-xeditable/bower.json
2127
2089
  - vendor/assets/bower_components/angular-xeditable/dist/css/xeditable.css
@@ -2141,10 +2103,12 @@ files:
2141
2103
  - vendor/assets/bower_components/angular/package.json
2142
2104
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/CHANGELOG.md
2143
2105
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/Gruntfile.js
2106
+ - vendor/assets/bower_components/angularjs-dropdown-multiselect/LICENSE
2144
2107
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/README.md
2145
2108
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/bower.json
2146
2109
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/development_index.html
2147
2110
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/dist/angularjs-dropdown-multiselect.min.js
2111
+ - vendor/assets/bower_components/angularjs-dropdown-multiselect/index.html
2148
2112
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/package.json
2149
2113
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/images/body-bg.jpg
2150
2114
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/images/download-button.png
@@ -2152,7 +2116,6 @@ files:
2152
2116
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/images/header-bg.jpg
2153
2117
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/images/highlight-bg.jpg
2154
2118
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/images/sidebar-bg.jpg
2155
- - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/index.html
2156
2119
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/javascripts/app.js
2157
2120
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/javascripts/main.js
2158
2121
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/pages/javascripts/pages/home/ExampleCtrl.js
@@ -2163,7 +2126,6 @@ files:
2163
2126
  - vendor/assets/bower_components/angularjs-dropdown-multiselect/src/angularjs-dropdown-multiselect.js
2164
2127
  - vendor/assets/bower_components/bootstrap/CHANGELOG.md
2165
2128
  - vendor/assets/bower_components/bootstrap/Gemfile
2166
- - vendor/assets/bower_components/bootstrap/Gemfile.lock
2167
2129
  - vendor/assets/bower_components/bootstrap/Gruntfile.js
2168
2130
  - vendor/assets/bower_components/bootstrap/ISSUE_TEMPLATE.md
2169
2131
  - vendor/assets/bower_components/bootstrap/LICENSE
@@ -2887,107 +2849,42 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2887
2849
  version: '0'
2888
2850
  requirements: []
2889
2851
  rubyforge_project:
2890
- rubygems_version: 2.4.5
2852
+ rubygems_version: 2.5.2
2891
2853
  signing_key:
2892
2854
  specification_version: 4
2893
2855
  summary: Kms - Kandidate Master of Sports - Ruby on Rails CMS
2894
2856
  test_files:
2895
- - spec/controllers/kms/assets_controller_spec.rb
2896
- - spec/controllers/kms/pages_controller_spec.rb
2897
- - spec/controllers/kms/public/pages_controller_spec.rb
2898
2857
  - spec/controllers/kms/snippets_controller_spec.rb
2899
- - spec/controllers/kms/templates_controller_spec.rb
2900
2858
  - spec/controllers/kms/users_controller_spec.rb
2901
- - spec/factories/assets.rb
2902
- - spec/factories/kms_settings.rb
2859
+ - spec/controllers/kms/pages_controller_spec.rb
2860
+ - spec/controllers/kms/assets_controller_spec.rb
2861
+ - spec/controllers/kms/templates_controller_spec.rb
2862
+ - spec/controllers/kms/public/pages_controller_spec.rb
2863
+ - spec/models/kms/page_spec.rb
2864
+ - spec/models/kms/snippet_spec.rb
2865
+ - spec/models/kms/template_spec.rb
2866
+ - spec/models/kms/settings_spec.rb
2903
2867
  - spec/factories/pages.rb
2904
- - spec/factories/snippets.rb
2905
2868
  - spec/factories/templates.rb
2869
+ - spec/factories/kms_settings.rb
2870
+ - spec/factories/snippets.rb
2871
+ - spec/factories/assets.rb
2906
2872
  - spec/factories/users.rb
2907
- - spec/internal/config/database.yml
2908
- - spec/internal/config/database.yml.travis
2909
- - spec/internal/config/initializers/devise.rb
2910
- - spec/internal/config/routes.rb
2911
- - spec/internal/db/schema.rb
2912
2873
  - spec/internal/log/test.log
2913
- - spec/internal/public/404.html
2874
+ - spec/internal/db/schema.rb
2875
+ - spec/internal/config/routes.rb
2876
+ - spec/internal/config/initializers/devise.rb
2877
+ - spec/internal/config/database.yml.travis
2878
+ - spec/internal/Rakefile
2914
2879
  - spec/internal/public/avatar.jpg
2915
2880
  - spec/internal/public/favicon.ico
2916
2881
  - spec/internal/public/style.css
2917
- - spec/internal/public/uploads/kms/asset/file/1/avatar.jpg
2918
- - spec/internal/public/uploads/kms/asset/file/2/avatar.jpg
2919
- - spec/internal/public/uploads/kms/asset/file/2/style.css
2920
- - spec/internal/public/uploads/kms/asset/file/3/style.css
2921
- - spec/internal/public/uploads/kms/asset/file/4/style.css
2922
- - spec/internal/public/uploads/tmp/1500976987-41025-0002-0883/style.css
2923
- - spec/internal/public/uploads/tmp/1500977082-41195-0002-6495/style.css
2924
- - spec/internal/public/uploads/tmp/1500977109-41364-0002-4518/style.css
2925
- - spec/internal/public/uploads/tmp/1500977152-41405-0002-2345/style.css
2926
- - spec/internal/public/uploads/tmp/1500977327-41694-0002-5448/style.css
2927
- - spec/internal/public/uploads/tmp/1500977376-41732-0002-7916/style.css
2928
- - spec/internal/public/uploads/tmp/1500977392-41759-0002-7593/style.css
2929
- - spec/internal/public/uploads/tmp/1500977410-42259-0002-7527/style.css
2930
- - spec/internal/public/uploads/tmp/1500977429-42306-0002-5937/style.css
2931
- - spec/internal/public/uploads/tmp/1500977437-42324-0002-5880/style.css
2932
- - spec/internal/public/uploads/tmp/1500983228-53594-0002-4559/style.css
2933
- - spec/internal/public/uploads/tmp/1500983284-53632-0002-6590/style.css
2934
- - spec/internal/public/uploads/tmp/1500983360-53784-0002-7289/style.css
2935
- - spec/internal/public/uploads/tmp/1500983469-54321-0002-0386/avatar.jpg
2936
- - spec/internal/public/uploads/tmp/1500983469-54321-0004-5691/style.css
2937
- - spec/internal/public/uploads/tmp/1500983511-54352-0002-5720/avatar.jpg
2938
- - spec/internal/public/uploads/tmp/1500983511-54352-0004-1399/style.css
2939
- - spec/internal/public/uploads/tmp/1500983610-54507-0002-4280/avatar.jpg
2940
- - spec/internal/public/uploads/tmp/1500983610-54507-0004-9758/style.css
2941
- - spec/internal/public/uploads/tmp/1500984466-57012-0002-4146/avatar.jpg
2942
- - spec/internal/public/uploads/tmp/1500984466-57012-0004-5895/style.css
2943
- - spec/internal/public/uploads/tmp/1500984509-57158-0002-9657/avatar.jpg
2944
- - spec/internal/public/uploads/tmp/1500984509-57158-0004-5003/style.css
2945
- - spec/internal/public/uploads/tmp/1500984616-57697-0002-7201/avatar.jpg
2946
- - spec/internal/public/uploads/tmp/1500984616-57697-0004-6255/style.css
2947
- - spec/internal/public/uploads/tmp/1500985257-58947-0002-3629/avatar.jpg
2948
- - spec/internal/public/uploads/tmp/1500985257-58947-0004-5338/style.css
2949
- - spec/internal/public/uploads/tmp/1500985407-58947-0006-5929/style.css
2950
- - spec/internal/public/uploads/tmp/1500985473-59264-0002-0397/avatar.jpg
2951
- - spec/internal/public/uploads/tmp/1500985473-59264-0004-6493/style.css
2952
- - spec/internal/public/uploads/tmp/1500985475-59264-0007-8674/style.css
2953
- - spec/internal/public/uploads/tmp/1500985538-59468-0002-9206/avatar.jpg
2954
- - spec/internal/public/uploads/tmp/1500985538-59468-0004-2586/style.css
2955
- - spec/internal/public/uploads/tmp/1500985538-59468-0007-6200/style.css
2956
- - spec/internal/public/uploads/tmp/1500988358-65877-0002-4528/avatar.jpg
2957
- - spec/internal/public/uploads/tmp/1500988358-65877-0004-5904/style.css
2958
- - spec/internal/public/uploads/tmp/1500988358-65877-0007-7320/style.css
2959
- - spec/internal/public/uploads/tmp/1500988407-65916-0002-3138/avatar.jpg
2960
- - spec/internal/public/uploads/tmp/1500988407-65916-0004-5400/style.css
2961
- - spec/internal/public/uploads/tmp/1500988407-65916-0007-1655/style.css
2962
- - spec/internal/public/uploads/tmp/1500988421-65950-0002-9415/avatar.jpg
2963
- - spec/internal/public/uploads/tmp/1500988421-65950-0004-7130/style.css
2964
- - spec/internal/public/uploads/tmp/1500988421-65950-0007-9886/style.css
2965
- - spec/internal/public/uploads/tmp/1500988435-65981-0002-3228/avatar.jpg
2966
- - spec/internal/public/uploads/tmp/1500988435-65981-0004-3682/style.css
2967
- - spec/internal/public/uploads/tmp/1500988435-65981-0007-1582/style.css
2968
- - spec/internal/public/uploads/tmp/1500988475-66122-0002-9516/avatar.jpg
2969
- - spec/internal/public/uploads/tmp/1500988475-66122-0004-5634/style.css
2970
- - spec/internal/public/uploads/tmp/1500988530-66122-0007-2272/style.css
2971
- - spec/internal/public/uploads/tmp/1500988554-66315-0002-6262/avatar.jpg
2972
- - spec/internal/public/uploads/tmp/1500988554-66315-0004-6099/style.css
2973
- - spec/internal/public/uploads/tmp/1500988554-66315-0007-1632/style.css
2974
- - spec/internal/public/uploads/tmp/1500991751-73722-0002-9937/avatar.jpg
2975
- - spec/internal/public/uploads/tmp/1500991751-73722-0004-8034/style.css
2976
- - spec/internal/public/uploads/tmp/1500991751-73722-0007-7763/style.css
2977
- - spec/internal/public/uploads/tmp/1501233238-34385-0002-3210/avatar.jpg
2978
- - spec/internal/public/uploads/tmp/1501233238-34385-0004-5881/style.css
2979
- - spec/internal/public/uploads/tmp/1501233238-34385-0007-6280/style.css
2980
- - spec/internal/Rakefile
2981
- - spec/internal/tmp/cache/assets/test/sprockets/v3.0/1XyAFYlYI0pK7WAgjR4PgXV6BgU6huJSviWmHetdCRs.cache
2982
- - spec/models/kms/page_spec.rb
2983
- - spec/models/kms/settings_spec.rb
2984
- - spec/models/kms/snippet_spec.rb
2985
- - spec/models/kms/template_spec.rb
2882
+ - spec/internal/public/404.html
2883
+ - spec/spec_helper.rb
2884
+ - spec/services/kms/search_service_spec.rb
2986
2885
  - spec/services/kms/functions_registry_spec.rb
2987
2886
  - spec/services/kms/help_service_spec.rb
2988
- - spec/services/kms/page_fetcher_spec.rb
2989
- - spec/services/kms/search_service_spec.rb
2990
2887
  - spec/services/kms/template_processor_spec.rb
2991
- - spec/spec_helper.rb
2888
+ - spec/services/kms/page_fetcher_spec.rb
2992
2889
  - spec/support/controller_macros.rb
2993
2890
  - spec/support/request_helpers.rb
@@ -1,7 +0,0 @@
1
- test:
2
- adapter: postgresql
3
- database: kms_test
4
- username: postgres
5
- password: shokooth
6
- encoding: utf-8
7
- host: localhost