vision 0.0.1.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +5 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/images/vision/sort-arrows-down.png +0 -0
  5. data/app/assets/images/vision/sort-arrows-up.png +0 -0
  6. data/app/assets/javascripts/redactor-rails/config.js +16 -0
  7. data/app/assets/javascripts/redactor-rails/ru.js +69 -0
  8. data/app/assets/javascripts/vision/application.js +18 -0
  9. data/app/assets/stylesheets/vision/admin.css.less +0 -0
  10. data/app/assets/stylesheets/vision/application.css +24 -0
  11. data/app/assets/stylesheets/vision/bootstrap_and_overrides.css.less +63 -0
  12. data/app/assets/stylesheets/vision/bootstrap_theme/bootstrap-responsive.min.css.less +9 -0
  13. data/app/assets/stylesheets/vision/bootstrap_theme/bootstrap.css.less +5616 -0
  14. data/app/assets/stylesheets/vision/bootstrap_theme/bootswatch.css.less +412 -0
  15. data/app/assets/stylesheets/vision/bootstrap_theme/variables.less +301 -0
  16. data/app/controllers/redactor_rails/pictures_controller.rb +22 -0
  17. data/app/controllers/vision/application_controller.rb +9 -0
  18. data/app/controllers/vision/resource_controller.rb +57 -0
  19. data/app/controllers/vision/responder.rb +4 -0
  20. data/app/helpers/vision/application_helper.rb +42 -0
  21. data/app/helpers/vision/application_helper.rb~ +8 -0
  22. data/app/helpers/vision/resource_helper.rb +10 -0
  23. data/app/helpers/vision/resource_helper.rb~ +10 -0
  24. data/app/models/ability.rb +7 -0
  25. data/app/models/redactor_rails/asset.rb +6 -0
  26. data/app/models/redactor_rails/picture.rb +7 -0
  27. data/app/uploaders/redactor_rails_picture_uploader.rb +53 -0
  28. data/app/views/layouts/vision/application.html.haml +25 -0
  29. data/app/views/shared/_pagination.html.haml +2 -0
  30. data/app/views/vision/application/_user_bar.html.haml +8 -0
  31. data/app/views/vision/resource/_form.html.haml +6 -0
  32. data/app/views/vision/resource/_index.html.haml +16 -0
  33. data/app/views/vision/resource/_search.html.haml +4 -0
  34. data/app/views/vision/resource/edit.html.haml +9 -0
  35. data/app/views/vision/resource/index.html.haml +9 -0
  36. data/app/views/vision/resource/new.html.haml +5 -0
  37. data/app/views/vision/resource/show.html.haml +10 -0
  38. data/config/initializers/simple_form.rb +142 -0
  39. data/config/initializers/simple_form_bootstrap.rb +45 -0
  40. data/config/routes.rb +3 -0
  41. data/lib/generators/install_generator.rb~ +7 -0
  42. data/lib/generators/templates/resource/_form.html.haml +6 -0
  43. data/lib/generators/templates/resource/_index.html.haml +16 -0
  44. data/lib/generators/templates/resource/_search.html.haml +4 -0
  45. data/lib/generators/templates/resource/edit.html.haml +9 -0
  46. data/lib/generators/templates/resource/index.html.haml +9 -0
  47. data/lib/generators/templates/resource/new.html.haml +5 -0
  48. data/lib/generators/templates/resource/show.html.haml +10 -0
  49. data/lib/generators/templates/resource_controller.rb.erb +12 -0
  50. data/lib/generators/templates/vision.rb +2 -0
  51. data/lib/generators/templates/vision_navigation.rb +13 -0
  52. data/lib/generators/vision/install_generator.rb +21 -0
  53. data/lib/generators/vision/install_generator.rb~ +6 -0
  54. data/lib/generators/vision/resource_generator.rb +22 -0
  55. data/lib/generators/vision/views_generator.rb +12 -0
  56. data/lib/tasks/vision_tasks.rake +4 -0
  57. data/lib/vision.rb +33 -0
  58. data/lib/vision/engine.rb +4 -0
  59. data/lib/vision/engine.rb~ +5 -0
  60. data/lib/vision/version.rb +3 -0
  61. data/test/dummy/README.rdoc +261 -0
  62. data/test/dummy/Rakefile +7 -0
  63. data/test/dummy/app/assets/javascripts/application.js +15 -0
  64. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  65. data/test/dummy/app/controllers/application_controller.rb +3 -0
  66. data/test/dummy/app/controllers/vision/users_controller.rb +12 -0
  67. data/test/dummy/app/helpers/application_helper.rb +2 -0
  68. data/test/dummy/app/models/user.rb +11 -0
  69. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  70. data/test/dummy/config.ru +4 -0
  71. data/test/dummy/config/application.rb +59 -0
  72. data/test/dummy/config/boot.rb +10 -0
  73. data/test/dummy/config/database.yml +25 -0
  74. data/test/dummy/config/environment.rb +5 -0
  75. data/test/dummy/config/environments/development.rb +37 -0
  76. data/test/dummy/config/environments/production.rb +67 -0
  77. data/test/dummy/config/environments/test.rb +37 -0
  78. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  79. data/test/dummy/config/initializers/devise.rb +240 -0
  80. data/test/dummy/config/initializers/inflections.rb +15 -0
  81. data/test/dummy/config/initializers/mime_types.rb +5 -0
  82. data/test/dummy/config/initializers/secret_token.rb +7 -0
  83. data/test/dummy/config/initializers/session_store.rb +8 -0
  84. data/test/dummy/config/initializers/vision.rb +2 -0
  85. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  86. data/test/dummy/config/locales/devise.en.yml +59 -0
  87. data/test/dummy/config/locales/en.yml +5 -0
  88. data/test/dummy/config/routes.rb +66 -0
  89. data/test/dummy/config/vision_navigation.rb +13 -0
  90. data/test/dummy/db/development.sqlite3 +0 -0
  91. data/test/dummy/db/migrate/20130211073237_devise_create_users.rb +46 -0
  92. data/test/dummy/db/schema.rb +34 -0
  93. data/test/dummy/db/test.sqlite3 +0 -0
  94. data/test/dummy/log/development.log +1544 -0
  95. data/test/dummy/public/404.html +26 -0
  96. data/test/dummy/public/422.html +26 -0
  97. data/test/dummy/public/500.html +25 -0
  98. data/test/dummy/public/favicon.ico +0 -0
  99. data/test/dummy/script/rails +6 -0
  100. data/test/dummy/test/fixtures/users.yml +11 -0
  101. data/test/dummy/test/unit/user_test.rb +7 -0
  102. data/test/dummy/tmp/cache/assets/BFD/BE0/sprockets%2F7750d34d5ab84713536684084175b777 +0 -0
  103. data/test/dummy/tmp/cache/assets/C0D/930/sprockets%2F57ada54e11211525881db12657063262 +0 -0
  104. data/test/dummy/tmp/cache/assets/C22/760/sprockets%2F01391319c77618e63259d5172da3c087 +0 -0
  105. data/test/dummy/tmp/cache/assets/C61/E30/sprockets%2F7cc7480787c36cb33f8958a018908621 +0 -0
  106. data/test/dummy/tmp/cache/assets/C64/2A0/sprockets%2F134c13b9bd41169120f00f41d229a058 +0 -0
  107. data/test/dummy/tmp/cache/assets/C83/BE0/sprockets%2F07d225b2971966fcc599b7001056e44d +0 -0
  108. data/test/dummy/tmp/cache/assets/CAB/EE0/sprockets%2F93064e70efa31924ce83d518222ba718 +0 -0
  109. data/test/dummy/tmp/cache/assets/CB8/880/sprockets%2F870390941fc4f61d24bc06c257f58a78 +0 -0
  110. data/test/dummy/tmp/cache/assets/CC5/DB0/sprockets%2F185b16e33c6e5952c63fe56e65d80787 +0 -0
  111. data/test/dummy/tmp/cache/assets/CCF/C50/sprockets%2F235f6e18294ffe4e969e1852c84f0893 +0 -0
  112. data/test/dummy/tmp/cache/assets/CD1/B10/sprockets%2F26e034c4229e35b5280e372090ca7acf +0 -0
  113. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  114. data/test/dummy/tmp/cache/assets/CDE/F80/sprockets%2Fab0f6cb3198d15258990f645d46b161a +0 -0
  115. data/test/dummy/tmp/cache/assets/CE0/200/sprockets%2Fa9c2101de170df66d9c80861d89042d6 +0 -0
  116. data/test/dummy/tmp/cache/assets/CE3/4D0/sprockets%2F6381f9fd192014c42dfc274e83c9a650 +0 -0
  117. data/test/dummy/tmp/cache/assets/CEA/6B0/sprockets%2F575d96d2842a1d2deec19fe881033089 +0 -0
  118. data/test/dummy/tmp/cache/assets/CEE/180/sprockets%2Fc5ce9c764b20d7176d70584d76a764e4 +0 -0
  119. data/test/dummy/tmp/cache/assets/CF2/540/sprockets%2F5c1c7a9d6a79855f609fae58f5505513 +0 -0
  120. data/test/dummy/tmp/cache/assets/CF9/8B0/sprockets%2F6580899d8cc41372d92d8a5e8ab78c73 +0 -0
  121. data/test/dummy/tmp/cache/assets/CFB/640/sprockets%2F2a4d6aba04a724d2792087832bd3a0b8 +0 -0
  122. data/test/dummy/tmp/cache/assets/D01/870/sprockets%2F975c929398c5770978a8eb96aac660af +0 -0
  123. data/test/dummy/tmp/cache/assets/D02/B10/sprockets%2F33f4d4d4552a4ae5b172b26c0716c39d +0 -0
  124. data/test/dummy/tmp/cache/assets/D08/980/sprockets%2Fb70493dfb381aae06c270b4965b451f6 +0 -0
  125. data/test/dummy/tmp/cache/assets/D08/9E0/sprockets%2Fbd1b5d382eb7585ef2311f0e8a144185 +0 -0
  126. data/test/dummy/tmp/cache/assets/D12/C80/sprockets%2F6ad24bf08272a07cdd957e174b964b73 +0 -0
  127. data/test/dummy/tmp/cache/assets/D1B/3E0/sprockets%2F77c391e536f4b5060992b74d7fbebc09 +0 -0
  128. data/test/dummy/tmp/cache/assets/D1E/250/sprockets%2Ff976c60140c7662f9d86d9b3048c5dda +0 -0
  129. data/test/dummy/tmp/cache/assets/D21/D90/sprockets%2F976738f91218aa8bfc0e679cf3f3f061 +0 -0
  130. data/test/dummy/tmp/cache/assets/D26/3A0/sprockets%2F89ad96fb04e98d506546aed21b918d79 +0 -0
  131. data/test/dummy/tmp/cache/assets/D30/9A0/sprockets%2F7f9ae14760822ff7b8978a67d6fe36e4 +0 -0
  132. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  133. data/test/dummy/tmp/cache/assets/D3B/5C0/sprockets%2F40ae394bdc18dce154393aed80a27576 +0 -0
  134. data/test/dummy/tmp/cache/assets/D3F/5B0/sprockets%2F6557d14727823bddeba2822eb4fcc951 +0 -0
  135. data/test/dummy/tmp/cache/assets/D45/5A0/sprockets%2Fed747866979a368aef7d8fee884b2789 +0 -0
  136. data/test/dummy/tmp/cache/assets/D4A/880/sprockets%2Fcc23ed71c73788a938e1357d11ca78ef +0 -0
  137. data/test/dummy/tmp/cache/assets/D4D/EF0/sprockets%2F05a24a46916881e9d38ee2e0c8d9f5fb +0 -0
  138. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  139. data/test/dummy/tmp/cache/assets/D50/730/sprockets%2F084ff5f6ea3f368a543911339e9dfe2e +0 -0
  140. data/test/dummy/tmp/cache/assets/D55/740/sprockets%2F6bfb0414e9f0de2e909917674dbe9f95 +0 -0
  141. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  142. data/test/dummy/tmp/cache/assets/D60/8A0/sprockets%2F1aaf8a80a707722d04cd8e53a971b1be +0 -0
  143. data/test/dummy/tmp/cache/assets/D69/DB0/sprockets%2F217c932a66b36e34ed25ced07f9e0be0 +0 -0
  144. data/test/dummy/tmp/cache/assets/D71/370/sprockets%2F19dac330438dea0771e8395b86eddf1c +0 -0
  145. data/test/dummy/tmp/cache/assets/D94/4C0/sprockets%2Fabaa1497cede72926b760ddef110144f +0 -0
  146. data/test/dummy/tmp/cache/assets/DA0/280/sprockets%2Fe2a91fe4ce8ef0c54b515145f44dde82 +0 -0
  147. data/test/dummy/tmp/cache/assets/DA8/F80/sprockets%2F97cf03aa7e0ff76969bab9206da267cd +0 -0
  148. data/test/dummy/tmp/cache/assets/DAC/2F0/sprockets%2Fc630da1a0c4bb5a2529e034ba2c7cdb6 +0 -0
  149. data/test/dummy/tmp/cache/assets/DB3/3A0/sprockets%2F6fce069886bdd665c59c2455edf01efd +0 -0
  150. data/test/dummy/tmp/cache/assets/DBB/030/sprockets%2F3ad40a6ab1a1bd6a4b0efee48168c367 +0 -0
  151. data/test/dummy/tmp/cache/assets/DBC/510/sprockets%2Fc49b6ed55fefd850e586e0f77ac958a7 +0 -0
  152. data/test/dummy/tmp/cache/assets/DCF/000/sprockets%2Fd0dfcf6a2f21043e23cf879aa9b81d9e +0 -0
  153. data/test/dummy/tmp/cache/assets/DCF/EE0/sprockets%2Fb4b66c49e5d32ce05fff1ff1397a50db +0 -0
  154. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  155. data/test/dummy/tmp/cache/assets/DE1/6C0/sprockets%2F6cd864830694d6acbef4f69cd0c88dae +0 -0
  156. data/test/dummy/tmp/cache/assets/DEE/430/sprockets%2Fdfcd51eae6f3a2a51c058c27ee0d750a +0 -0
  157. data/test/dummy/tmp/cache/assets/E02/F00/sprockets%2Fa5845e8c36cf9e160fccfadf0a2db837 +0 -0
  158. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  159. data/test/dummy/tmp/cache/assets/E09/6D0/sprockets%2Fcbdb4fef8b144c0fd37dc8ad96926e64 +0 -0
  160. data/test/dummy/tmp/cache/assets/E0A/210/sprockets%2F05aadb4dc0b849fe9c3dd7788f28c5eb +0 -0
  161. data/test/dummy/tmp/cache/assets/E17/BC0/sprockets%2Ff206319de0be2dd9adcaaa314ecf132f +0 -0
  162. data/test/dummy/tmp/cache/assets/E1A/BD0/sprockets%2F5baeff0d2da03cd0e93a561e71b5aac9 +0 -0
  163. data/test/dummy/tmp/cache/assets/E2D/070/sprockets%2Fc4744f83de73cd2bbd645dabffd16b4c +0 -0
  164. data/test/dummy/tmp/cache/assets/E30/850/sprockets%2Fb6e723da1e4c9dab751ccd5ec295a9fe +0 -0
  165. data/test/integration/navigation_test.rb +10 -0
  166. data/test/test_helper.rb +15 -0
  167. data/test/vision_test.rb +7 -0
  168. metadata +658 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.