kuhsaft 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +13 -3
- data/.rspec +4 -0
- data/.rvmrc +47 -0
- data/Gemfile +1 -3
- data/Guardfile +25 -0
- data/Rakefile +28 -2
- data/app/controllers/kuhsaft/admin/assets_controller.rb +41 -0
- data/app/controllers/kuhsaft/admin/pages_controller.rb +54 -0
- data/app/controllers/kuhsaft/pages_controller.rb +11 -0
- data/app/models/kuhsaft/asset.rb +4 -0
- data/app/models/kuhsaft/localized_page.rb +19 -0
- data/app/models/kuhsaft/page.rb +113 -0
- data/app/models/kuhsaft/page_part.rb +12 -0
- data/app/models/kuhsaft/page_parts/base.rb +26 -0
- data/app/models/kuhsaft/page_parts/content.rb +8 -0
- data/app/models/kuhsaft/page_parts/markdown.rb +7 -0
- data/app/stylesheets/kuhsaft/admin/ie.sass +0 -0
- data/app/stylesheets/kuhsaft/admin/partials/_assets.sass +12 -0
- data/app/stylesheets/kuhsaft/admin/partials/_buttons.sass +216 -0
- data/app/stylesheets/kuhsaft/admin/partials/_generic.sass +29 -0
- data/app/stylesheets/kuhsaft/admin/partials/_pages.sass +38 -0
- data/app/stylesheets/kuhsaft/admin/print.sass +0 -0
- data/app/stylesheets/kuhsaft/admin/screen.sass +8 -0
- data/app/uploaders/kuhsaft/asset_uploader.rb +47 -0
- data/app/views/kuhsaft/admin/assets/_form.html.haml +3 -0
- data/app/views/kuhsaft/admin/assets/_list.html.haml +7 -0
- data/app/views/kuhsaft/admin/assets/edit.html.haml +1 -0
- data/app/views/kuhsaft/admin/assets/index.html.haml +3 -0
- data/app/views/kuhsaft/admin/assets/new.html.haml +1 -0
- data/app/views/kuhsaft/admin/pages/_branch.html.haml +10 -0
- data/app/views/kuhsaft/admin/pages/_form.html.haml +11 -0
- data/app/views/kuhsaft/admin/pages/edit.html.haml +1 -0
- data/app/views/kuhsaft/admin/pages/index.html.haml +17 -0
- data/app/views/kuhsaft/admin/pages/new.html.haml +1 -0
- data/app/views/kuhsaft/admin/pages/show.html.haml +0 -0
- data/app/views/kuhsaft/pages/index.html.haml +0 -0
- data/app/views/kuhsaft/pages/show.html.haml +0 -0
- data/app/views/layouts/kuhsaft/admin.html.haml +21 -0
- data/config/initializers/compass.rb +3 -0
- data/config/initializers/generators.rb +7 -0
- data/config/locales/kuhsaft.en.yml +20 -0
- data/config/routes.rb +9 -0
- data/db/migrate/20110302101530_create_kuhsaft_pages.rb +14 -0
- data/db/migrate/20110302113020_create_kuhsaft_localized_pages.rb +19 -0
- data/db/migrate/20110302125123_create_page_part_contents.rb +14 -0
- data/db/migrate/20110307162621_create_assets.rb +12 -0
- data/kuhsaft.gemspec +19 -2
- data/lib/kuhsaft.rb +3 -1
- data/lib/kuhsaft/engine.rb +19 -0
- data/lib/kuhsaft/version.rb +1 -1
- data/public/images/css3buttons_backgrounds.png +0 -0
- data/public/images/css3buttons_icons.png +0 -0
- data/public/images/drag-handle.png +0 -0
- data/public/javascripts/kuhsaft/admin/jquery-1.4.4.js +7179 -0
- data/public/javascripts/kuhsaft/admin/jquery-ui-1.8.10.custom.min.js +110 -0
- data/public/javascripts/kuhsaft/admin/rails.js +157 -0
- data/spec/controllers/admin_assets_controller_spec.rb +26 -0
- data/spec/controllers/admin_pages_controller_spec.rb +33 -0
- data/spec/controllers/pages_controller_spec.rb +18 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +13 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +22 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +26 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +35 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/db/migrate/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/images/spec-image.png +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories.rb +26 -0
- data/spec/integration/navigation_spec.rb +9 -0
- data/spec/kuhsaft_spec.rb +7 -0
- data/spec/models/asset_spec.rb +23 -0
- data/spec/models/localized_page_spec.rb +67 -0
- data/spec/models/page_part_content_spec.rb +22 -0
- data/spec/models/page_part_spec.rb +17 -0
- data/spec/models/page_spec.rb +144 -0
- data/spec/routing/assets_routing_spec.rb +56 -0
- data/spec/routing/pages_routing_spec.rb +79 -0
- data/spec/spec_helper.rb +52 -0
- 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.