kuhsaft 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/.gitignore +13 -3
  2. data/.rspec +4 -0
  3. data/.rvmrc +47 -0
  4. data/Gemfile +1 -3
  5. data/Guardfile +25 -0
  6. data/Rakefile +28 -2
  7. data/app/controllers/kuhsaft/admin/assets_controller.rb +41 -0
  8. data/app/controllers/kuhsaft/admin/pages_controller.rb +54 -0
  9. data/app/controllers/kuhsaft/pages_controller.rb +11 -0
  10. data/app/models/kuhsaft/asset.rb +4 -0
  11. data/app/models/kuhsaft/localized_page.rb +19 -0
  12. data/app/models/kuhsaft/page.rb +113 -0
  13. data/app/models/kuhsaft/page_part.rb +12 -0
  14. data/app/models/kuhsaft/page_parts/base.rb +26 -0
  15. data/app/models/kuhsaft/page_parts/content.rb +8 -0
  16. data/app/models/kuhsaft/page_parts/markdown.rb +7 -0
  17. data/app/stylesheets/kuhsaft/admin/ie.sass +0 -0
  18. data/app/stylesheets/kuhsaft/admin/partials/_assets.sass +12 -0
  19. data/app/stylesheets/kuhsaft/admin/partials/_buttons.sass +216 -0
  20. data/app/stylesheets/kuhsaft/admin/partials/_generic.sass +29 -0
  21. data/app/stylesheets/kuhsaft/admin/partials/_pages.sass +38 -0
  22. data/app/stylesheets/kuhsaft/admin/print.sass +0 -0
  23. data/app/stylesheets/kuhsaft/admin/screen.sass +8 -0
  24. data/app/uploaders/kuhsaft/asset_uploader.rb +47 -0
  25. data/app/views/kuhsaft/admin/assets/_form.html.haml +3 -0
  26. data/app/views/kuhsaft/admin/assets/_list.html.haml +7 -0
  27. data/app/views/kuhsaft/admin/assets/edit.html.haml +1 -0
  28. data/app/views/kuhsaft/admin/assets/index.html.haml +3 -0
  29. data/app/views/kuhsaft/admin/assets/new.html.haml +1 -0
  30. data/app/views/kuhsaft/admin/pages/_branch.html.haml +10 -0
  31. data/app/views/kuhsaft/admin/pages/_form.html.haml +11 -0
  32. data/app/views/kuhsaft/admin/pages/edit.html.haml +1 -0
  33. data/app/views/kuhsaft/admin/pages/index.html.haml +17 -0
  34. data/app/views/kuhsaft/admin/pages/new.html.haml +1 -0
  35. data/app/views/kuhsaft/admin/pages/show.html.haml +0 -0
  36. data/app/views/kuhsaft/pages/index.html.haml +0 -0
  37. data/app/views/kuhsaft/pages/show.html.haml +0 -0
  38. data/app/views/layouts/kuhsaft/admin.html.haml +21 -0
  39. data/config/initializers/compass.rb +3 -0
  40. data/config/initializers/generators.rb +7 -0
  41. data/config/locales/kuhsaft.en.yml +20 -0
  42. data/config/routes.rb +9 -0
  43. data/db/migrate/20110302101530_create_kuhsaft_pages.rb +14 -0
  44. data/db/migrate/20110302113020_create_kuhsaft_localized_pages.rb +19 -0
  45. data/db/migrate/20110302125123_create_page_part_contents.rb +14 -0
  46. data/db/migrate/20110307162621_create_assets.rb +12 -0
  47. data/kuhsaft.gemspec +19 -2
  48. data/lib/kuhsaft.rb +3 -1
  49. data/lib/kuhsaft/engine.rb +19 -0
  50. data/lib/kuhsaft/version.rb +1 -1
  51. data/public/images/css3buttons_backgrounds.png +0 -0
  52. data/public/images/css3buttons_icons.png +0 -0
  53. data/public/images/drag-handle.png +0 -0
  54. data/public/javascripts/kuhsaft/admin/jquery-1.4.4.js +7179 -0
  55. data/public/javascripts/kuhsaft/admin/jquery-ui-1.8.10.custom.min.js +110 -0
  56. data/public/javascripts/kuhsaft/admin/rails.js +157 -0
  57. data/spec/controllers/admin_assets_controller_spec.rb +26 -0
  58. data/spec/controllers/admin_pages_controller_spec.rb +33 -0
  59. data/spec/controllers/pages_controller_spec.rb +18 -0
  60. data/spec/dummy/Rakefile +7 -0
  61. data/spec/dummy/app/controllers/application_controller.rb +8 -0
  62. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  63. data/spec/dummy/app/views/layouts/application.html.erb +13 -0
  64. data/spec/dummy/config.ru +4 -0
  65. data/spec/dummy/config/application.rb +45 -0
  66. data/spec/dummy/config/boot.rb +10 -0
  67. data/spec/dummy/config/database.yml +22 -0
  68. data/spec/dummy/config/environment.rb +5 -0
  69. data/spec/dummy/config/environments/development.rb +26 -0
  70. data/spec/dummy/config/environments/production.rb +49 -0
  71. data/spec/dummy/config/environments/test.rb +35 -0
  72. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  73. data/spec/dummy/config/initializers/inflections.rb +10 -0
  74. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  75. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  76. data/spec/dummy/config/initializers/session_store.rb +8 -0
  77. data/spec/dummy/config/locales/en.yml +5 -0
  78. data/spec/dummy/config/routes.rb +58 -0
  79. data/spec/dummy/db/migrate/.gitkeep +0 -0
  80. data/spec/dummy/public/404.html +26 -0
  81. data/spec/dummy/public/422.html +26 -0
  82. data/spec/dummy/public/500.html +26 -0
  83. data/spec/dummy/public/favicon.ico +0 -0
  84. data/spec/dummy/public/images/spec-image.png +0 -0
  85. data/spec/dummy/script/rails +6 -0
  86. data/spec/factories.rb +26 -0
  87. data/spec/integration/navigation_spec.rb +9 -0
  88. data/spec/kuhsaft_spec.rb +7 -0
  89. data/spec/models/asset_spec.rb +23 -0
  90. data/spec/models/localized_page_spec.rb +67 -0
  91. data/spec/models/page_part_content_spec.rb +22 -0
  92. data/spec/models/page_part_spec.rb +17 -0
  93. data/spec/models/page_spec.rb +144 -0
  94. data/spec/routing/assets_routing_spec.rb +56 -0
  95. data/spec/routing/pages_routing_spec.rb +79 -0
  96. data/spec/spec_helper.rb +52 -0
  97. metadata +390 -9

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.