exo_cms 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +34 -0
- data/app/assets/images/exo/admin/favicon.ico +0 -0
- data/app/assets/images/exo/admin/logo.png +0 -0
- data/app/assets/images/exo/admin/logo_mini.png +0 -0
- data/app/assets/javascripts/exo/admin/application.js +77 -0
- data/app/assets/javascripts/exo/admin/ckeditor_init.js +7 -0
- data/app/assets/javascripts/exo/admin/ckeditor_path.js.erb +6 -0
- data/app/assets/javascripts/exo/admin/editor_overrides.js.coffee +40 -0
- data/app/assets/javascripts/exo/admin/epiceditor.js +2947 -0
- data/app/assets/javascripts/exo/admin/responsive-tables.js +67 -0
- data/app/assets/javascripts/exo/delayed_foundation.js +7 -0
- data/app/assets/stylesheets/exo/admin/application.sass +68 -0
- data/app/assets/stylesheets/exo/admin/components/colorize.sass +9 -0
- data/app/assets/stylesheets/exo/admin/components/content.sass +28 -0
- data/app/assets/stylesheets/exo/admin/components/header.sass +8 -0
- data/app/assets/stylesheets/exo/admin/components/sidebar.sass +19 -0
- data/app/assets/stylesheets/exo/admin/components/tables.sass +14 -0
- data/app/assets/stylesheets/exo/admin/components/wrapper.sass +15 -0
- data/app/assets/stylesheets/exo/admin/epiceditor/epic-light.css +12 -0
- data/app/assets/stylesheets/exo/admin/epiceditor/epiceditor.css +70 -0
- data/app/assets/stylesheets/exo/admin/epiceditor/github.css +368 -0
- data/app/assets/stylesheets/exo/admin/foundation_and_overrides.scss +1003 -0
- data/app/assets/stylesheets/exo/admin/mercury.css +36 -0
- data/app/assets/stylesheets/exo/admin/mercury_overrides.css +17 -0
- data/app/assets/stylesheets/exo/admin/responsive-tables.css +38 -0
- data/app/assets/stylesheets/exo/foundation_and_overrides copy.scss +993 -0
- data/app/controllers/concerns/exo/admin/site_slug_id_filter.rb +25 -0
- data/app/controllers/concerns/exo/host_filter.rb +22 -0
- data/app/controllers/concerns/exo/route_filter.rb +19 -0
- data/app/controllers/exo/admin/application_controller.rb +12 -0
- data/app/controllers/exo/admin/assets_controller.rb +41 -0
- data/app/controllers/exo/admin/ckeditor_assets_controller.rb +29 -0
- data/app/controllers/exo/admin/ckeditor_blocks_controller.rb +23 -0
- data/app/controllers/exo/admin/contributors_controller.rb +5 -0
- data/app/controllers/exo/admin/items_controller.rb +80 -0
- data/app/controllers/exo/admin/pages_controller.rb +23 -0
- data/app/controllers/exo/admin/resources_controller.rb +5 -0
- data/app/controllers/exo/admin/routes_controller.rb +11 -0
- data/app/controllers/exo/admin/sessions_controller.rb +6 -0
- data/app/controllers/exo/admin/settings_controller.rb +66 -0
- data/app/controllers/exo/admin/site_controller.rb +4 -0
- data/app/controllers/exo/application_controller.rb +6 -0
- data/app/controllers/exo/gridfs_controller.rb +32 -0
- data/app/controllers/exo/pages_controller.rb +24 -0
- data/app/exceptions/exo/route/unknow_path_error.rb +13 -0
- data/app/exceptions/exo/site/unknow_host_error.rb +12 -0
- data/app/helpers/application_helper.rb +2 -0
- data/app/helpers/exo/block_helper.rb +21 -0
- data/app/helpers/exo/pagination_helper.rb +21 -0
- data/app/helpers/exo/resources_helper.rb +65 -0
- data/app/models/concerns/exo/document.rb +8 -0
- data/app/models/exo/asset.rb +32 -0
- data/app/models/exo/block.rb +13 -0
- data/app/models/exo/contributor.rb +42 -0
- data/app/models/exo/resource/item/abstract_relation.rb +21 -0
- data/app/models/exo/resource/item/abstract_value.rb +35 -0
- data/app/models/exo/resource/item/asset_value.rb +17 -0
- data/app/models/exo/resource/item/belongs_to_value.rb +26 -0
- data/app/models/exo/resource/item/has_many_value.rb +24 -0
- data/app/models/exo/resource/item/list_value.rb +23 -0
- data/app/models/exo/resource/item/markdown_value.rb +52 -0
- data/app/models/exo/resource/item/simple_value.rb +15 -0
- data/app/models/exo/resource/item.rb +169 -0
- data/app/models/exo/resource/item_asset.rb +20 -0
- data/app/models/exo/resource/meta_errors.rb +24 -0
- data/app/models/exo/resource/meta_field.rb +20 -0
- data/app/models/exo/resource/meta_relation.rb +25 -0
- data/app/models/exo/resource/meta_value.rb +60 -0
- data/app/models/exo/resource.rb +40 -0
- data/app/models/exo/route/page.rb +11 -0
- data/app/models/exo/route/redirection.rb +8 -0
- data/app/models/exo/route.rb +38 -0
- data/app/models/exo/service.rb +13 -0
- data/app/models/exo/setting.rb +31 -0
- data/app/models/exo/site.rb +63 -0
- data/app/presenters/exo/item_presenter.rb +19 -0
- data/app/presenters/exo/resource_presenter.rb +25 -0
- data/app/presenters/exo/route_presenter.rb +33 -0
- data/app/presenters/exo/scope_wraper.rb +58 -0
- data/app/presenters/exo/site_presenter.rb +35 -0
- data/app/resources/templates/application.html.haml +11 -0
- data/app/resources/templates/page.html.haml +3 -0
- data/app/services/ckeditor_railser.rb +78 -0
- data/app/services/exo/config.rb +138 -0
- data/app/services/exo/generator.rb +59 -0
- data/app/services/exo/item_builder.rb +39 -0
- data/app/services/exo/mongoid.rb +1 -0
- data/app/services/exo/path_matcher.rb +55 -0
- data/app/services/exo/tick.rb +36 -0
- data/app/services/exo/view_generator.rb +74 -0
- data/app/uploaders/exo/asset_uploader.rb +62 -0
- data/app/uploaders/exo/item_asset_uploader.rb +71 -0
- data/app/uploaders/exo/upload_versions.rb +58 -0
- data/app/views/contributors/confirmations/new.html.haml +9 -0
- data/app/views/contributors/mailer/confirmation_instructions.html.haml +4 -0
- data/app/views/contributors/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/contributors/mailer/unlock_instructions.html.haml +5 -0
- data/app/views/contributors/passwords/edit.html.haml +11 -0
- data/app/views/contributors/passwords/new.html.haml +9 -0
- data/app/views/contributors/registrations/edit.html.haml +18 -0
- data/app/views/contributors/registrations/new.html.haml +10 -0
- data/app/views/contributors/sessions/new.html.haml +10 -0
- data/app/views/contributors/shared/_links.haml +19 -0
- data/app/views/contributors/unlocks/new.html.haml +9 -0
- data/app/views/exo/admin/application/_bheader.html.haml +27 -0
- data/app/views/exo/admin/application/_editor_header.html.haml +12 -0
- data/app/views/exo/admin/application/_header.html.haml +40 -0
- data/app/views/exo/admin/application/_meta_errors.html.haml +5 -0
- data/app/views/exo/admin/application/_sidebar.html.haml +22 -0
- data/app/views/exo/admin/application/_sidenav.html.haml +48 -0
- data/app/views/exo/admin/application/fields/_image.html.haml +3 -0
- data/app/views/exo/admin/application/fields/_markdown.html.haml +3 -0
- data/app/views/exo/admin/assets/_form.html.haml +11 -0
- data/app/views/exo/admin/assets/edit.html.haml +7 -0
- data/app/views/exo/admin/assets/index.html.haml +15 -0
- data/app/views/exo/admin/assets/new.html.haml +5 -0
- data/app/views/exo/admin/assets/show.html.haml +14 -0
- data/app/views/exo/admin/ckeditor_assets/create.html.erb +8 -0
- data/app/views/exo/admin/contributors/index.html.haml +21 -0
- data/app/views/exo/admin/contributors/show.html.haml +26 -0
- data/app/views/exo/admin/items/_form.html.haml +20 -0
- data/app/views/exo/admin/items/edit.html.haml +16 -0
- data/app/views/exo/admin/items/new.html.haml +8 -0
- data/app/views/exo/admin/items/show.html.haml +44 -0
- data/app/views/exo/admin/resources/index.html.haml +13 -0
- data/app/views/exo/admin/resources/show.html.haml +36 -0
- data/app/views/exo/admin/routes/edit.html.haml +1 -0
- data/app/views/exo/admin/routes/index.html.haml +22 -0
- data/app/views/exo/admin/routes/show.html.haml +39 -0
- data/app/views/exo/admin/settings/_form.html.haml +21 -0
- data/app/views/exo/admin/settings/edit.html.haml +22 -0
- data/app/views/exo/admin/settings/index.html.haml +33 -0
- data/app/views/exo/admin/settings/new.html.haml +11 -0
- data/app/views/exo/admin/site/show.html.haml +0 -0
- data/app/views/exo/errors/_unknow_host.html.haml +2 -0
- data/app/views/exo/errors/_unknow_path.html.haml +2 -0
- data/app/views/layouts/application.html.erb +19 -0
- data/app/views/layouts/devise.html.haml +18 -0
- data/app/views/layouts/exo/admin/application.html.haml +22 -0
- data/app/views/layouts/exo/admin/editor.html.haml +11 -0
- data/app/views/layouts/exo/error.html.haml +1 -0
- data/config/initializers/carrier_wave.rb +35 -0
- data/config/initializers/devise.rb +246 -0
- data/config/initializers/simple_form_foundation.rb +27 -0
- data/config/routes.rb +42 -0
- data/lib/exo/engine.rb +7 -0
- data/lib/exo/regexp.rb +6 -0
- data/lib/exo/version.rb +3 -0
- data/lib/exo.rb +30 -0
- data/lib/tasks/ckeditor.rake +9 -0
- data/lib/tasks/contributor.rake +11 -0
- data/lib/tasks/exo_engine_tasks.rake +4 -0
- data/lib/tasks/generate.rake +8 -0
- data/lib/tasks/migration.rake +13 -0
- data/lib/tasks/seed.rake +7 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/exo/admin/customs_controller.rb +7 -0
- data/spec/dummy/app/controllers/my_app/site_customs_controller.rb +10 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/a_sierra_theme/a_page.html.haml +1 -0
- data/spec/dummy/app/views/a_sierra_theme/a_page_with_block.html.haml +3 -0
- data/spec/dummy/app/views/demo/home.html.haml +3 -0
- data/spec/dummy/app/views/demo/posts/show.html.haml +3 -0
- data/spec/dummy/app/views/exo/admin/customs/index.html.haml +1 -0
- data/spec/dummy/app/views/layouts/a_sierra_theme/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/demo/application.html.haml +11 -0
- data/spec/dummy/app/views/my_app/site_customs/index.html.haml +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +27 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/exo/demo.yml +13 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/exo.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/mongoid.yml +78 -0
- data/spec/dummy/config/routes.rb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/log/development.log +16106 -0
- data/spec/dummy/log/test.log +0 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/colorize.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/content.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/header.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/sidebar.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/tables.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/colorize.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/content.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/header.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/sidebar.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/tables.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/wrapper.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_accordion.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_alert-boxes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_block-grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_clearing.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_dropdown-buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_dropdown.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_flex-video.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_global.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_inline-lists.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_joyride.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_keystrokes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_magellan.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_offcanvas.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_orbit.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_pricing-tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_reveal.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_side-nav.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_split-buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_sub-nav.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_switch.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_tabs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_thumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_tooltips.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_top-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/54bc91a8b995104fa44ba264c53dbd8d0a6ce1eb/font-awesome.css.erbc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/868bdcd3c8e6bd73d750879e972f235f451b00af/application.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/868bdcd3c8e6bd73d750879e972f235f451b00af/foundation_and_overrides.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/868bdcd3c8e6bd73d750879e972f235f451b00af/responsive-tables.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/8b743f22fdd8d5759b06979128c44050617d3f73/_functions.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/e0f19c3e3433ffd972f6483c2c2cebc0799332b3/application.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/e0f19c3e3433ffd972f6483c2c2cebc0799332b3/foundation_and_overrides.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/e0f19c3e3433ffd972f6483c2c2cebc0799332b3/responsive-tables.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f3df6673492a24d914db00517c65da0ef5b69493/foundation.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0123c70bd5e30312ff515d82eb213b31 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/017471d0ab6ff8d09517b238fe3e7c74 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/01abbc5a8fe11302981249d2cba594c0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/06d7650b175d7850bc0819d0411e6c0d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0b8cbd6c43ff11ed3ab96976a2e98e2b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0d6d0302ec5d1661cb20ead3e3cfe729 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0e0e73dbc12f68468bc9813d331495fb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/12134b245bdcf4dfc47cdd9b2fd05f85 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/142b7b2297d55a50c6d15fd20457cd59 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/183ad03b62e09a44e33c6a89e49be502 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/18c44637348179373a9122410e9dd97f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1cca26710c02dc6d0fa2b562b7fd4402 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1cf836008e16cfe5e1057d9f8eda6957 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/23dd3f3a5bc3511847dbe6fc5c7a2baf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/24b1f3579f65df49c0801f4abd62b0ea +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/24cee8f6e43f5162d55fd1dcb8387207 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/25909c1bc6f6dc8570bba1f681a299f3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/262d063e267800f380425e714dfb7377 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/27cec58cf4ba029687152cedc2fb4f31 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2868201e7752aa2d76c04d6807493e17 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2bd6f962abf45ed50b78d14ba0904581 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2d93710bc1b018dbbf68607d1b862b19 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3176c16477eed7502d9646e03412a047 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3360fbdb00ed8ef59706becb7dbb41e4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/34f82b1703cb8350ca18f16392967779 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3cde31b62e801f1864e3566e83c43dfc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3f13b6783888bfdb18d8c58b24f62606 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3f2f49fd9b6431526dee6aaf69dc8dc0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/447161da5ee42f4d3b0702a328975499 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/44920eab3d362e37f9841d9e5adb59f9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4887510ef9b27d0f87d2fcdad555fa2c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4c363b6936cf63c23770ad8490f24dca +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4cef1887720ac882dcc3c407779b5cc6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4f53b61a3cb95e2cbe41669c8e52a6e9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/59f85eee3687eb4ed457a687daec4864 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5e3f3fcd99b13708971f707016d43020 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5e9e6e4b1c4bb6da2f89517e17fdca8b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5ea76ce82eaf44306e67d57bd758126e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/65602f2f2646ac35105f3ee8fe0bb8c3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/676293868de93b34edf64d211de01c51 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6aa2f8ad895ab9c85a6adaa546654be7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6df5499acca0edd86677d5beec5c2b18 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7124dbdd12afd3bc07d58a0ec3dddc65 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/727bcd360e44edbb990ea53347896a64 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/76d85daa1c4000f529bf26504ebde8d9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7a776312a5e143757ba6fddbc33d3569 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7b2ab31b2e6b523c32133b2ccd942519 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7f3979d7c79893750db9cc673b603964 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7fd0671e74c96f97acc46cf12b97d34f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/808539184f4890b8bc0cd62ddaae16f5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/818cac0ff4010d81cb9e6a2c5a17f494 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/892ddb9c90db88e3c27b9bcdf13cc874 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8995a544bd8d9493c79f811452bc53c1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8c37b2f2c33ead52769fac2c7aed8483 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/911cbd3125fce783b8020caeb73c3d63 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9125c95d28b56e41a01d40a3ac95b3a1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/916fb1d316cf3a47b5fb8750981d020d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9a65689623c3096b82dd97819ef02b79 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9fb3b25a6094ba7546ef5d57ff154168 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a96fdd6e9cbae9c2f20789797d959cec +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aaf89432055b14102caf4b80b7119d89 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ab360497106ba942135a8adee9a5d590 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ad82812e3dc354abb67d844dd84bf3cc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/afb9268b0a27b448fa720fbbc0bb9628 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/afec8da62e80022371c6a4bd3b0b8f9c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b0d34688aa81dc13171af7ebc2f6dda8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b1ffcbb1bdbbfb46264e1f4b71d5dcf4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b30e4385f999fefded784baa3436ecd3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b4306f0aa05caff091d0998f73413207 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b682063a22ac7898fb5fab4c62304705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b9df96c25252b82da00791df6d017199 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bab9d2b1312356b02c042aa46731369e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bc2974a23dfae3959d75891cba8e32f0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bdebcd2a8dbc156cff64abc02cd9e669 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c08bb167930ddaf0637f6bb96a02f85f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c097d88a1c22b3559f635ed573e4f48f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c4a4a83aca2e4e9e987ec76930c664e7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c4fcfae26eaf97324dd20db9b9e6e259 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c5b02654a71cc6e5646941d266964c8a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ca6ae3b0212906e203a675ad02a7729e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d081c4fcdb728213519ed45cd995eb11 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d0dd43eb5157bf58a581d451b38b381b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d15ce5f6879e59975286ede4318a248e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d340ed6abb07538c8a7f5628f96a321c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dbd4c6c705c6eef71f281c5f10aa1c12 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e3efb6f18e9d6f7f1f7a2bfdb4a616d3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e868832c39075b1130b5eb600824cabf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e94c184030f553c4dba8000a3112597c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/efdfaf9c072c61f54f6fe482990d4901 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f3a1c84ec35a01045bb6b638d1fd975f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f444a8ac8dfe6e3fecd2ee1b3eb660d2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f5cb53dda9311da5c302df8dde1b98f0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f873fbedb1dd78144b7a2d9203979b73 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f94211d95775b7b113ff83fbab9d96e5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fd421c922607b7e36737167c1d5f12f4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fde03b35c3de27e23e356c238f398a51 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fe26af7b1d422e2d98a6f52452bc8576 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fe2acad4ddcdce6fe73b2deba6fc235d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/colorize.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/content.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/header.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/sidebar.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/02ac2db4c4233a0290d18f376407059bb8c9d43c/tables.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/colorize.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/content.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/header.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/sidebar.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/1117950fc1adf8b31294376d9067eb7feadc7de0/tables.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_accordion.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_alert-boxes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_block-grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_clearing.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_dropdown-buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_dropdown.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_flex-video.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_global.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_inline-lists.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_joyride.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_keystrokes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_magellan.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_offcanvas.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_orbit.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_pricing-tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_reveal.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_side-nav.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_split-buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_sub-nav.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_switch.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_tabs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_thumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_tooltips.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_top-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/4d2c02410fd2c7d987069b7a4033b725cb831f1f/_visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/54bc91a8b995104fa44ba264c53dbd8d0a6ce1eb/font-awesome.css.erbc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/868bdcd3c8e6bd73d750879e972f235f451b00af/application.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/868bdcd3c8e6bd73d750879e972f235f451b00af/foundation_and_overrides.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/868bdcd3c8e6bd73d750879e972f235f451b00af/responsive-tables.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/8b743f22fdd8d5759b06979128c44050617d3f73/_functions.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/e0f19c3e3433ffd972f6483c2c2cebc0799332b3/application.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/e0f19c3e3433ffd972f6483c2c2cebc0799332b3/foundation_and_overrides.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/e0f19c3e3433ffd972f6483c2c2cebc0799332b3/responsive-tables.cssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/f3df6673492a24d914db00517c65da0ef5b69493/foundation.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0123c70bd5e30312ff515d82eb213b31 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/017471d0ab6ff8d09517b238fe3e7c74 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/01abbc5a8fe11302981249d2cba594c0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0436b299d86917aa132d8d63a5d974b8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0b8cbd6c43ff11ed3ab96976a2e98e2b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0d6d0302ec5d1661cb20ead3e3cfe729 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0e0e73dbc12f68468bc9813d331495fb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/12134b245bdcf4dfc47cdd9b2fd05f85 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/183ad03b62e09a44e33c6a89e49be502 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/18c44637348179373a9122410e9dd97f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1cca26710c02dc6d0fa2b562b7fd4402 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1cf836008e16cfe5e1057d9f8eda6957 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/24b1f3579f65df49c0801f4abd62b0ea +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/24cee8f6e43f5162d55fd1dcb8387207 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/25909c1bc6f6dc8570bba1f681a299f3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/262d063e267800f380425e714dfb7377 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/26df301c0de83087195edeb5e88bde36 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/27cec58cf4ba029687152cedc2fb4f31 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2868201e7752aa2d76c04d6807493e17 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2bd6f962abf45ed50b78d14ba0904581 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2d93710bc1b018dbbf68607d1b862b19 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3360fbdb00ed8ef59706becb7dbb41e4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/34f82b1703cb8350ca18f16392967779 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3cde31b62e801f1864e3566e83c43dfc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3f2f49fd9b6431526dee6aaf69dc8dc0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/447161da5ee42f4d3b0702a328975499 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/44920eab3d362e37f9841d9e5adb59f9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4887510ef9b27d0f87d2fcdad555fa2c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4c363b6936cf63c23770ad8490f24dca +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4cef1887720ac882dcc3c407779b5cc6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4f53b61a3cb95e2cbe41669c8e52a6e9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/59f85eee3687eb4ed457a687daec4864 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5e3f3fcd99b13708971f707016d43020 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5e9e6e4b1c4bb6da2f89517e17fdca8b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/65602f2f2646ac35105f3ee8fe0bb8c3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/676293868de93b34edf64d211de01c51 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6aa2f8ad895ab9c85a6adaa546654be7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6df5499acca0edd86677d5beec5c2b18 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7124dbdd12afd3bc07d58a0ec3dddc65 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/76d85daa1c4000f529bf26504ebde8d9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7a776312a5e143757ba6fddbc33d3569 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7f3979d7c79893750db9cc673b603964 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7fd0671e74c96f97acc46cf12b97d34f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/808539184f4890b8bc0cd62ddaae16f5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/892ddb9c90db88e3c27b9bcdf13cc874 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8995a544bd8d9493c79f811452bc53c1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8c37b2f2c33ead52769fac2c7aed8483 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/911cbd3125fce783b8020caeb73c3d63 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9125c95d28b56e41a01d40a3ac95b3a1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/916fb1d316cf3a47b5fb8750981d020d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9a65689623c3096b82dd97819ef02b79 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9fb3b25a6094ba7546ef5d57ff154168 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ad82812e3dc354abb67d844dd84bf3cc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/afec8da62e80022371c6a4bd3b0b8f9c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b1ffcbb1bdbbfb46264e1f4b71d5dcf4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b30e4385f999fefded784baa3436ecd3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b682063a22ac7898fb5fab4c62304705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b9df96c25252b82da00791df6d017199 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bab9d2b1312356b02c042aa46731369e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bc2974a23dfae3959d75891cba8e32f0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bdebcd2a8dbc156cff64abc02cd9e669 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c4a4a83aca2e4e9e987ec76930c664e7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c4fcfae26eaf97324dd20db9b9e6e259 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ca6ae3b0212906e203a675ad02a7729e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ccf123d21b7729fcc4a32f35152ad7ea +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d081c4fcdb728213519ed45cd995eb11 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d15ce5f6879e59975286ede4318a248e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dbd4c6c705c6eef71f281c5f10aa1c12 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e3efb6f18e9d6f7f1f7a2bfdb4a616d3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e868832c39075b1130b5eb600824cabf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f3a1c84ec35a01045bb6b638d1fd975f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f444a8ac8dfe6e3fecd2ee1b3eb660d2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f5cb53dda9311da5c302df8dde1b98f0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f94211d95775b7b113ff83fbab9d96e5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fd421c922607b7e36737167c1d5f12f4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fde03b35c3de27e23e356c238f398a51 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fe26af7b1d422e2d98a6f52452bc8576 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/features/admin/collaborators/sign_in_spec.rb +17 -0
- data/spec/features/admin/custom/global_service_controller_spec.rb +22 -0
- data/spec/features/admin/custom/sidebar_services_spec.rb +29 -0
- data/spec/features/admin/custom/site_service_controller_spec.rb +37 -0
- data/spec/features/admin/domains/domian_routing_spec.rb +34 -0
- data/spec/features/admin/routes/details_spec.rb +24 -0
- data/spec/features/front/domain_routing_spec.rb +34 -0
- data/spec/features/front/page_blocks/defined_spec.rb +30 -0
- data/spec/features/front/page_blocks/undefined_spec.rb +19 -0
- data/spec/features/front/routes/page_spec.rb +18 -0
- data/spec/features/front/routes/redirection_spec.rb +19 -0
- data/spec/models/sierra/contributor_spec.rb +7 -0
- data/spec/models/sierra/site_spec.rb +37 -0
- data/spec/spec_helper.rb +56 -0
- data/spec/support/contributor_support.rb +75 -0
- data/spec/support/factories/block_factory.rb +10 -0
- data/spec/support/factories/contributor_factory.rb +8 -0
- data/spec/support/factories/route_factory.rb +18 -0
- data/spec/support/factories/service_factory.rb +6 -0
- data/spec/support/factories/site_factory.rb +9 -0
- metadata +1583 -0
@@ -0,0 +1,246 @@
|
|
1
|
+
# Use this hook to configure devise mailer, warden hooks and so forth.
|
2
|
+
# Many of these configuration options can be set straight in your model.
|
3
|
+
Devise.setup do |config|
|
4
|
+
# ==> Mailer Configuration
|
5
|
+
# Configure the e-mail address which will be shown in Devise::Mailer,
|
6
|
+
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
|
7
|
+
config.mailer_sender = "please-change-me-at-config-initializers-devise@example.com"
|
8
|
+
|
9
|
+
# Configure the class responsible to send e-mails.
|
10
|
+
# config.mailer = "Devise::Mailer"
|
11
|
+
|
12
|
+
# ==> ORM configuration
|
13
|
+
# Load and configure the ORM. Supports :active_record (default) and
|
14
|
+
# :mongoid (bson_ext recommended) by default. Other ORMs may be
|
15
|
+
# available as additional gems.
|
16
|
+
require 'devise/orm/mongoid'
|
17
|
+
|
18
|
+
# ==> Configuration for any authentication mechanism
|
19
|
+
# Configure which keys are used when authenticating a user. The default is
|
20
|
+
# just :email. You can configure it to use [:username, :subdomain], so for
|
21
|
+
# authenticating a user, both parameters are required. Remember that those
|
22
|
+
# parameters are used only when authenticating and not when retrieving from
|
23
|
+
# session. If you need permissions, you should implement that in a before filter.
|
24
|
+
# You can also supply a hash where the value is a boolean determining whether
|
25
|
+
# or not authentication should be aborted when the value is not present.
|
26
|
+
# config.authentication_keys = [ :email ]
|
27
|
+
|
28
|
+
# Configure parameters from the request object used for authentication. Each entry
|
29
|
+
# given should be a request method and it will automatically be passed to the
|
30
|
+
# find_for_authentication method and considered in your model lookup. For instance,
|
31
|
+
# if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
|
32
|
+
# The same considerations mentioned for authentication_keys also apply to request_keys.
|
33
|
+
# config.request_keys = []
|
34
|
+
|
35
|
+
# Configure which authentication keys should be case-insensitive.
|
36
|
+
# These keys will be downcased upon creating or modifying a user and when used
|
37
|
+
# to authenticate or find a user. Default is :email.
|
38
|
+
config.case_insensitive_keys = [ :email ]
|
39
|
+
|
40
|
+
# Configure which authentication keys should have whitespace stripped.
|
41
|
+
# These keys will have whitespace before and after removed upon creating or
|
42
|
+
# modifying a user and when used to authenticate or find a user. Default is :email.
|
43
|
+
config.strip_whitespace_keys = [ :email ]
|
44
|
+
|
45
|
+
# Tell if authentication through request.params is enabled. True by default.
|
46
|
+
# It can be set to an array that will enable params authentication only for the
|
47
|
+
# given strategies, for example, `config.params_authenticatable = [:database]` will
|
48
|
+
# enable it only for database (email + password) authentication.
|
49
|
+
# config.params_authenticatable = true
|
50
|
+
|
51
|
+
# Tell if authentication through HTTP Auth is enabled. False by default.
|
52
|
+
# It can be set to an array that will enable http authentication only for the
|
53
|
+
# given strategies, for example, `config.http_authenticatable = [:token]` will
|
54
|
+
# enable it only for token authentication. The supported strategies are:
|
55
|
+
# :database = Support basic authentication with authentication key + password
|
56
|
+
# :token = Support basic authentication with token authentication key
|
57
|
+
# :token_options = Support token authentication with options as defined in
|
58
|
+
# http://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Token.html
|
59
|
+
# config.http_authenticatable = false
|
60
|
+
|
61
|
+
# If http headers should be returned for AJAX requests. True by default.
|
62
|
+
# config.http_authenticatable_on_xhr = true
|
63
|
+
|
64
|
+
# The realm used in Http Basic Authentication. "Application" by default.
|
65
|
+
# config.http_authentication_realm = "Application"
|
66
|
+
|
67
|
+
# It will change confirmation, password recovery and other workflows
|
68
|
+
# to behave the same regardless if the e-mail provided was right or wrong.
|
69
|
+
# Does not affect registerable.
|
70
|
+
# config.paranoid = true
|
71
|
+
|
72
|
+
# By default Devise will store the user in session. You can skip storage for
|
73
|
+
# :http_auth and :token_auth by adding those symbols to the array below.
|
74
|
+
# Notice that if you are skipping storage for all authentication paths, you
|
75
|
+
# may want to disable generating routes to Devise's sessions controller by
|
76
|
+
# passing :skip => :sessions to `devise_for` in your config/routes.rb
|
77
|
+
config.skip_session_storage = [:http_auth]
|
78
|
+
|
79
|
+
# ==> Configuration for :database_authenticatable
|
80
|
+
# For bcrypt, this is the cost for hashing the password and defaults to 10. If
|
81
|
+
# using other encryptors, it sets how many times you want the password re-encrypted.
|
82
|
+
#
|
83
|
+
# Limiting the stretches to just one in testing will increase the performance of
|
84
|
+
# your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
|
85
|
+
# a value less than 10 in other environments.
|
86
|
+
config.stretches = Rails.env.test? ? 1 : 10
|
87
|
+
|
88
|
+
# Setup a pepper to generate the encrypted password.
|
89
|
+
# config.pepper = "7a1fcf3fd46453f90d050173e084ef1712f5962f06d1724ff9d6c7e667a6abaa634bad7c553da2e61fca916d97f1d64336952f8ea5366c05b00b41f422bceb44"
|
90
|
+
|
91
|
+
# ==> Configuration for :confirmable
|
92
|
+
# A period that the user is allowed to access the website even without
|
93
|
+
# confirming his account. For instance, if set to 2.days, the user will be
|
94
|
+
# able to access the website for two days without confirming his account,
|
95
|
+
# access will be blocked just in the third day. Default is 0.days, meaning
|
96
|
+
# the user cannot access the website without confirming his account.
|
97
|
+
# config.allow_unconfirmed_access_for = 2.days
|
98
|
+
|
99
|
+
# A period that the user is allowed to confirm their account before their
|
100
|
+
# token becomes invalid. For example, if set to 3.days, the user can confirm
|
101
|
+
# their account within 3 days after the mail was sent, but on the fourth day
|
102
|
+
# their account can't be confirmed with the token any more.
|
103
|
+
# Default is nil, meaning there is no restriction on how long a user can take
|
104
|
+
# before confirming their account.
|
105
|
+
# config.confirm_within = 3.days
|
106
|
+
|
107
|
+
# If true, requires any email changes to be confirmed (exactly the same way as
|
108
|
+
# initial account confirmation) to be applied. Requires additional unconfirmed_email
|
109
|
+
# db field (see migrations). Until confirmed new email is stored in
|
110
|
+
# unconfirmed email column, and copied to email column on successful confirmation.
|
111
|
+
config.reconfirmable = true
|
112
|
+
|
113
|
+
# Defines which key will be used when confirming an account
|
114
|
+
# config.confirmation_keys = [ :email ]
|
115
|
+
|
116
|
+
# ==> Configuration for :rememberable
|
117
|
+
# The time the user will be remembered without asking for credentials again.
|
118
|
+
# config.remember_for = 2.weeks
|
119
|
+
|
120
|
+
# If true, extends the user's remember period when remembered via cookie.
|
121
|
+
# config.extend_remember_period = false
|
122
|
+
|
123
|
+
# Options to be passed to the created cookie. For instance, you can set
|
124
|
+
# :secure => true in order to force SSL only cookies.
|
125
|
+
# config.rememberable_options = {}
|
126
|
+
|
127
|
+
# ==> Configuration for :validatable
|
128
|
+
# Range for password length. Default is 8..128.
|
129
|
+
config.password_length = 8..128
|
130
|
+
|
131
|
+
# Email regex used to validate email formats. It simply asserts that
|
132
|
+
# one (and only one) @ exists in the given string. This is mainly
|
133
|
+
# to give user feedback and not to assert the e-mail validity.
|
134
|
+
# config.email_regexp = /\A[^@]+@[^@]+\z/
|
135
|
+
|
136
|
+
# ==> Configuration for :timeoutable
|
137
|
+
# The time you want to timeout the user session without activity. After this
|
138
|
+
# time the user will be asked for credentials again. Default is 30 minutes.
|
139
|
+
# config.timeout_in = 30.minutes
|
140
|
+
|
141
|
+
# If true, expires auth token on session timeout.
|
142
|
+
# config.expire_auth_token_on_timeout = false
|
143
|
+
|
144
|
+
# ==> Configuration for :lockable
|
145
|
+
# Defines which strategy will be used to lock an account.
|
146
|
+
# :failed_attempts = Locks an account after a number of failed attempts to sign in.
|
147
|
+
# :none = No lock strategy. You should handle locking by yourself.
|
148
|
+
# config.lock_strategy = :failed_attempts
|
149
|
+
|
150
|
+
# Defines which key will be used when locking and unlocking an account
|
151
|
+
# config.unlock_keys = [ :email ]
|
152
|
+
|
153
|
+
# Defines which strategy will be used to unlock an account.
|
154
|
+
# :email = Sends an unlock link to the user email
|
155
|
+
# :time = Re-enables login after a certain amount of time (see :unlock_in below)
|
156
|
+
# :both = Enables both strategies
|
157
|
+
# :none = No unlock strategy. You should handle unlocking by yourself.
|
158
|
+
# config.unlock_strategy = :both
|
159
|
+
|
160
|
+
# Number of authentication tries before locking an account if lock_strategy
|
161
|
+
# is failed attempts.
|
162
|
+
# config.maximum_attempts = 20
|
163
|
+
|
164
|
+
# Time interval to unlock the account if :time is enabled as unlock_strategy.
|
165
|
+
# config.unlock_in = 1.hour
|
166
|
+
|
167
|
+
# ==> Configuration for :recoverable
|
168
|
+
#
|
169
|
+
# Defines which key will be used when recovering the password for an account
|
170
|
+
# config.reset_password_keys = [ :email ]
|
171
|
+
|
172
|
+
# Time interval you can reset your password with a reset password key.
|
173
|
+
# Don't put a too small interval or your users won't have the time to
|
174
|
+
# change their passwords.
|
175
|
+
config.reset_password_within = 6.hours
|
176
|
+
|
177
|
+
# ==> Configuration for :encryptable
|
178
|
+
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
|
179
|
+
# :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,
|
180
|
+
# :authlogic_sha512 (then you should set stretches above to 20 for default behavior)
|
181
|
+
# and :restful_authentication_sha1 (then you should set stretches to 10, and copy
|
182
|
+
# REST_AUTH_SITE_KEY to pepper).
|
183
|
+
#
|
184
|
+
# Require the `devise-encryptable` gem when using anything other than bcrypt
|
185
|
+
# config.encryptor = :sha512
|
186
|
+
|
187
|
+
# ==> Configuration for :token_authenticatable
|
188
|
+
# Defines name of the authentication token params key
|
189
|
+
# config.token_authentication_key = :auth_token
|
190
|
+
|
191
|
+
# ==> Scopes configuration
|
192
|
+
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
193
|
+
# "users/sessions/new". It's turned off by default because it's slower if you
|
194
|
+
# are using only default views.
|
195
|
+
config.scoped_views = true
|
196
|
+
|
197
|
+
# Configure the default scope given to Warden. By default it's the first
|
198
|
+
# devise role declared in your routes (usually :user).
|
199
|
+
# config.default_scope = :user
|
200
|
+
|
201
|
+
# Set this configuration to false if you want /users/sign_out to sign out
|
202
|
+
# only the current scope. By default, Devise signs out all scopes.
|
203
|
+
# config.sign_out_all_scopes = true
|
204
|
+
|
205
|
+
# ==> Navigation configuration
|
206
|
+
# Lists the formats that should be treated as navigational. Formats like
|
207
|
+
# :html, should redirect to the sign in page when the user does not have
|
208
|
+
# access, but formats like :xml or :json, should return 401.
|
209
|
+
#
|
210
|
+
# If you have any extra navigational formats, like :iphone or :mobile, you
|
211
|
+
# should add them to the navigational formats lists.
|
212
|
+
#
|
213
|
+
# The "*/*" below is required to match Internet Explorer requests.
|
214
|
+
# config.navigational_formats = ["*/*", :html]
|
215
|
+
|
216
|
+
# The default HTTP method used to sign out a resource. Default is :delete.
|
217
|
+
config.sign_out_via = :delete
|
218
|
+
|
219
|
+
# ==> OmniAuth
|
220
|
+
# Add a new OmniAuth provider. Check the wiki for more information on setting
|
221
|
+
# up on your models and hooks.
|
222
|
+
# config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
|
223
|
+
|
224
|
+
# ==> Warden configuration
|
225
|
+
# If you want to use other strategies, that are not supported by Devise, or
|
226
|
+
# change the failure app, you can configure them inside the config.warden block.
|
227
|
+
#
|
228
|
+
# config.warden do |manager|
|
229
|
+
# manager.intercept_401 = false
|
230
|
+
# manager.default_strategies(:scope => :user).unshift :some_external_strategy
|
231
|
+
# end
|
232
|
+
|
233
|
+
# ==> Mountable engine configurations
|
234
|
+
# When using Devise inside an engine, let's call it `MyEngine`, and this engine
|
235
|
+
# is mountable, there are some extra configurations to be taken into account.
|
236
|
+
# The following options are available, assuming the engine is mounted as:
|
237
|
+
#
|
238
|
+
# mount MyEngine, at: "/my_engine"
|
239
|
+
#
|
240
|
+
# The router that invoked `devise_for`, in the example above, would be:
|
241
|
+
config.router_name = :exo
|
242
|
+
#
|
243
|
+
# When using omniauth, Devise cannot automatically set Omniauth path,
|
244
|
+
# so you need to do it manually. For the users scope, it would be:
|
245
|
+
# config.omniauth_path_prefix = "/my_engine/users/auth"
|
246
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'simple_form'
|
2
|
+
# Use this setup block to configure all options available in SimpleForm.
|
3
|
+
SimpleForm.setup do |config|
|
4
|
+
config.wrappers :foundation, class: :input, hint_class: :field_with_hint, error_class: :error do |b|
|
5
|
+
b.use :html5
|
6
|
+
b.use :placeholder
|
7
|
+
b.optional :maxlength
|
8
|
+
b.optional :pattern
|
9
|
+
b.optional :min_max
|
10
|
+
b.optional :readonly
|
11
|
+
b.use :label_input
|
12
|
+
b.use :error, wrap_with: { tag: :small }
|
13
|
+
|
14
|
+
# Uncomment the following line to enable hints. The line is commented out by default since Foundation
|
15
|
+
# does't provide styles for hints. You will need to provide your own CSS styles for hints.
|
16
|
+
# b.use :hint, wrap_with: { tag: :span, class: :hint }
|
17
|
+
end
|
18
|
+
|
19
|
+
# CSS class for buttons
|
20
|
+
config.button_class = 'button'
|
21
|
+
|
22
|
+
# CSS class to add for error notification helper.
|
23
|
+
config.error_notification_class = 'alert-box alert'
|
24
|
+
|
25
|
+
# The default wrapper to be used by the FormBuilder.
|
26
|
+
config.default_wrapper = :foundation
|
27
|
+
end
|
data/config/routes.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
Exo::Engine.routes.draw do
|
2
|
+
if ['development', 'test'].include?(Rails.env)
|
3
|
+
_site_grid_fs_path = '/grid_fs/exo/:site_slug_id/'
|
4
|
+
get "#{_site_grid_fs_path}/resources/:resource_slug_id/:item_slug_id/:field_slug_id/*file_name", to: 'gridfs#item_asset'
|
5
|
+
get "#{_site_grid_fs_path}/:id/*file_name", to: 'gridfs#asset'
|
6
|
+
end
|
7
|
+
|
8
|
+
root 'pages#serve_page', route_path: '/'
|
9
|
+
|
10
|
+
# get '/admin', to: 'admin/site#show', as: 'contributor_root'
|
11
|
+
#
|
12
|
+
# get '/admin', to: 'admin/site#show', as: 'admin_contributor_root'
|
13
|
+
|
14
|
+
put '/admin/pages/blocks', to: 'admin/ckeditor_blocks#update'
|
15
|
+
|
16
|
+
devise_for(
|
17
|
+
:contributors,
|
18
|
+
class_name: "Exo::Contributor", module: :devise, :path => '/admin',
|
19
|
+
controllers: {
|
20
|
+
sessions: "exo/admin/sessions"
|
21
|
+
}
|
22
|
+
)
|
23
|
+
|
24
|
+
namespace :admin, module: 'admin' do
|
25
|
+
root 'site#show', route_path: '/'
|
26
|
+
# put '/pages/blocks', to: 'ckeditor_blocks#update'
|
27
|
+
#devise_for :contributors, class_name: "Exo::Contributor", module: :devise, :path => '/'
|
28
|
+
|
29
|
+
resources :contributors
|
30
|
+
resources :settings
|
31
|
+
resources :assets
|
32
|
+
resources :routes, only: [:index, :show, :edit, :picture] do
|
33
|
+
resources :settings
|
34
|
+
end
|
35
|
+
resources :resources, only: [:index, :show] do
|
36
|
+
resources :items, except: :index
|
37
|
+
end
|
38
|
+
resources :ckeditor_assets, only: :create
|
39
|
+
end
|
40
|
+
|
41
|
+
get '/*route_path' => 'pages#serve_page'
|
42
|
+
end
|
data/lib/exo/engine.rb
ADDED
data/lib/exo/regexp.rb
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
module Exo::Regexp
|
2
|
+
HOST = /\A([a-z0-9-]+\.)*[a-z0-9-]+\.[a-z]{2,4}\z/
|
3
|
+
REL_PATH = /\A[a-z0-9_]+(\/[a-z0-9_]+)*\z/
|
4
|
+
ABSOLUTE_PATH = /\A\/([a-z0-9_]+\/)*([a-z0-9_]+(\.[a-z0-9_]+)?)?\z/
|
5
|
+
ROUTING_PATH = /\A\/((:|\*)?[a-z0-9_]+\/)*((:|\*)?[a-z0-9_]+(\.[a-z0-9_]+)?)?\z/
|
6
|
+
end
|
data/lib/exo/version.rb
ADDED
data/lib/exo.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require "exo/engine"
|
2
|
+
|
3
|
+
class Exo
|
4
|
+
include Singleton
|
5
|
+
|
6
|
+
def self.config &block
|
7
|
+
block.call self.instance
|
8
|
+
end
|
9
|
+
|
10
|
+
attr_accessor :services
|
11
|
+
|
12
|
+
def initialize
|
13
|
+
self.services = {}
|
14
|
+
end
|
15
|
+
|
16
|
+
def register_services hash
|
17
|
+
self.services = hash
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
# Exo.config do |s|
|
22
|
+
# s.generic_services(
|
23
|
+
# 'Messages' => '/somepath'
|
24
|
+
# )
|
25
|
+
#
|
26
|
+
# s.register_models(
|
27
|
+
# SomeNamespace::AModel,
|
28
|
+
# SomeNamespace::AnotherModel
|
29
|
+
# )
|
30
|
+
# end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
namespace :exo do
|
2
|
+
desc "Migrate values to _values"
|
3
|
+
task value_migration: :environment do |t, args|
|
4
|
+
Exo::Resource::Item.each do |i|
|
5
|
+
begin
|
6
|
+
i.migrate_values!
|
7
|
+
rescue Exception => e
|
8
|
+
puts "=> #{i.inspect}\n#{e.message}\n#{e.backtrace}"
|
9
|
+
raise e
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/tasks/seed.rake
ADDED
data/spec/dummy/Rakefile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require_tree .
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
#a_page
|
@@ -0,0 +1 @@
|
|
1
|
+
%h1#customs_index Customs
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
6
|
+
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
!!!
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
%title= @page_name || tick.site.slug_id
|
5
|
+
%meta{'http-equiv' => "content-language", :content => 'fr'}
|
6
|
+
%meta{'http-equiv' => "Content-Type", :content => "text/html; charset=ISO-8859-1"}
|
7
|
+
= stylesheet_link_tag tick.site.nest_path(:application), media: "all", "data-turbolinks-track" => true
|
8
|
+
= javascript_include_tag tick.site.nest_path(:application), "data-turbolinks-track" => true
|
9
|
+
= csrf_meta_tags
|
10
|
+
%body
|
11
|
+
= yield
|
@@ -0,0 +1 @@
|
|
1
|
+
%h1#site_customs Site customs
|
data/spec/dummy/bin/rake
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
#require 'rails/all'
|
4
|
+
require "action_controller/railtie"
|
5
|
+
require "action_mailer/railtie"
|
6
|
+
#require "active_resource/railtie"
|
7
|
+
require "rails/test_unit/railtie"
|
8
|
+
|
9
|
+
Bundler.require(*Rails.groups)
|
10
|
+
require "exo"
|
11
|
+
|
12
|
+
module Dummy
|
13
|
+
class Application < Rails::Application
|
14
|
+
# Settings in config/environments/* take precedence over those specified here.
|
15
|
+
# Application configuration should go into files in config/initializers
|
16
|
+
# -- all .rb files in that directory are automatically loaded.
|
17
|
+
|
18
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
19
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
20
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
21
|
+
|
22
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
23
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
24
|
+
# config.i18n.default_locale = :de
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
development:
|
7
|
+
adapter: sqlite3
|
8
|
+
database: db/development.sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
13
|
+
# re-generated from your development database when you run "rake".
|
14
|
+
# Do not set this db to the same as development or production.
|
15
|
+
test:
|
16
|
+
adapter: sqlite3
|
17
|
+
database: db/test.sqlite3
|
18
|
+
pool: 5
|
19
|
+
timeout: 5000
|
20
|
+
|
21
|
+
production:
|
22
|
+
adapter: sqlite3
|
23
|
+
database: db/production.sqlite3
|
24
|
+
pool: 5
|
25
|
+
timeout: 5000
|