trusty-cms 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -1
- data/CHANGELOG.md +1 -1
- data/Gemfile +12 -8
- data/Gemfile.lock +141 -82
- data/LICENSE.md +1 -1
- data/README.md +48 -5
- data/Vagrantfile +122 -0
- data/{public → app/assets}/images/admin/add_tab.png +0 -0
- data/app/assets/images/admin/animated-overlay.gif +0 -0
- data/{public → app/assets}/images/admin/avatar_32x32.png +0 -0
- data/{public → app/assets}/images/admin/avatar_64x64.png +0 -0
- data/{public → app/assets}/images/admin/avatar_96x96.png +0 -0
- data/{public → app/assets}/images/admin/brown_bottom_line.gif +0 -0
- data/{public → app/assets}/images/admin/calendar_down.gif +0 -0
- data/{public → app/assets}/images/admin/collapse.png +0 -0
- data/{public/images/admin/expand.png → app/assets/images/admin/collapsed.png} +0 -0
- data/{public → app/assets}/images/admin/draft_page.png +0 -0
- data/{public → app/assets}/images/admin/image.png +0 -0
- data/{public → app/assets}/images/admin/javascript.png +0 -0
- data/{public → app/assets}/images/admin/layout.png +0 -0
- data/{public → app/assets}/images/admin/metadata_toggle.png +0 -0
- data/{public → app/assets}/images/admin/minus.png +0 -0
- data/{public → app/assets}/images/admin/minus_disabled.png +0 -0
- data/{public → app/assets}/images/admin/minus_grey.png +0 -0
- data/{public → app/assets}/images/admin/navigation_secondary_separator.gif +0 -0
- data/{public → app/assets}/images/admin/page.png +0 -0
- data/{public → app/assets}/images/admin/plus.png +0 -0
- data/{public → app/assets}/images/admin/plus_disabled.png +0 -0
- data/{public → app/assets}/images/admin/plus_grey.png +0 -0
- data/{public → app/assets}/images/admin/popup_border_background.png +0 -0
- data/{public → app/assets}/images/admin/popup_border_bottom_left.png +0 -0
- data/{public → app/assets}/images/admin/popup_border_bottom_right.png +0 -0
- data/{public → app/assets}/images/admin/popup_border_top_left.png +0 -0
- data/{public → app/assets}/images/admin/popup_border_top_right.png +0 -0
- data/{public → app/assets}/images/admin/search.png +0 -0
- data/{public → app/assets}/images/admin/single_form_shadow.png +0 -0
- data/{public → app/assets}/images/admin/snippet.png +0 -0
- data/{public → app/assets}/images/admin/spinner.gif +0 -0
- data/{public → app/assets}/images/admin/status_background.png +0 -0
- data/{public → app/assets}/images/admin/status_bottom_left.png +0 -0
- data/{public → app/assets}/images/admin/status_bottom_right.png +0 -0
- data/{public → app/assets}/images/admin/status_spinner.gif +0 -0
- data/{public → app/assets}/images/admin/status_top_left.png +0 -0
- data/{public → app/assets}/images/admin/status_top_right.png +0 -0
- data/{public → app/assets}/images/admin/stylesheet.png +0 -0
- data/{public → app/assets}/images/admin/tab_close.png +0 -0
- data/app/assets/images/admin/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/admin/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/admin/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/admin/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/admin/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/admin/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/admin/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/admin/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/admin/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/admin/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/admin/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/admin/ui-icons_cd0a0a_256x240.png +0 -0
- data/{public → app/assets}/images/admin/upload.png +0 -0
- data/{public → app/assets}/images/admin/virtual_page.png +0 -0
- data/{public → app/assets}/images/radiant/radiant-badge-color.png +0 -0
- data/app/assets/javascripts/admin.js +35 -0
- data/app/assets/javascripts/admin/autopopulate-breadcrumb.js +35 -0
- data/{public → app/assets}/javascripts/admin/cookie.js +13 -13
- data/app/assets/javascripts/admin/datecheck.js +7 -0
- data/app/assets/javascripts/admin/dropdown.js +26 -0
- data/app/assets/javascripts/admin/jquery-ui.js +2371 -0
- data/app/assets/javascripts/admin/jquery.treetable.js +629 -0
- data/app/assets/javascripts/admin/jquery.validate.min.js +4 -0
- data/app/assets/javascripts/admin/modernizr.js +409 -0
- data/app/assets/javascripts/admin/more-or-less.js +38 -0
- data/app/assets/javascripts/admin/page-edit.js +51 -0
- data/app/assets/javascripts/admin/pagefield.js +35 -0
- data/app/assets/javascripts/admin/persist.min.js +31 -0
- data/app/assets/javascripts/admin/popup.js +40 -0
- data/app/assets/javascripts/admin/preview.js +40 -0
- data/app/assets/javascripts/admin/tabcontrol.js.erb +81 -0
- data/app/assets/javascripts/admin/tags.js +41 -0
- data/app/assets/javascripts/admin/treetable.js +50 -0
- data/app/assets/javascripts/admin/utilities.js +5 -0
- data/app/assets/javascripts/admin/validation.js +7 -0
- data/app/assets/javascripts/admin/validations/user_validations.js +21 -0
- data/app/assets/javascripts/ckeditor/config.js +10 -0
- data/{config/initializers/configuration_extensions.rb → app/assets/javascripts/ckeditor/contents.css} +0 -0
- data/app/assets/javascripts/notes.md +40 -0
- data/app/assets/stylesheets/admin/_base.scss +17 -0
- data/app/assets/stylesheets/admin/main.scss +34 -0
- data/app/assets/stylesheets/admin/modules/_boxes.scss +7 -0
- data/app/assets/stylesheets/admin/modules/_gradients.scss +5 -0
- data/app/assets/stylesheets/admin/modules/_links.scss +24 -0
- data/app/assets/stylesheets/admin/partials/_actions.scss +118 -0
- data/app/assets/stylesheets/admin/partials/_avatars.scss +12 -0
- data/app/assets/stylesheets/admin/partials/_content.scss +74 -0
- data/app/assets/stylesheets/admin/partials/_dateinput.scss +71 -0
- data/app/assets/stylesheets/admin/partials/_deprecated.scss +65 -0
- data/app/assets/stylesheets/admin/partials/_dropdown.scss +34 -0
- data/app/assets/stylesheets/admin/partials/_footer.scss +14 -0
- data/app/assets/stylesheets/admin/partials/_forms.scss +419 -0
- data/app/assets/stylesheets/admin/partials/_header.scss +135 -0
- data/app/assets/stylesheets/admin/partials/_index.scss +198 -0
- data/app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss +258 -0
- data/app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss +410 -0
- data/app/assets/stylesheets/admin/partials/_jquery-ui.scss +650 -0
- data/app/assets/stylesheets/admin/partials/_layout.scss +14 -0
- data/app/assets/stylesheets/admin/partials/_messages.scss +13 -0
- data/app/assets/stylesheets/admin/partials/_popup.scss +263 -0
- data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +94 -0
- data/app/assets/stylesheets/admin/partials/_toolbar.scss +40 -0
- data/app/assets/stylesheets/admin/partials/_treetable.scss +120 -0
- data/app/assets/stylesheets/admin/partials/_typography.scss +77 -0
- data/app/assets/stylesheets/admin/partials/_validations.scss +22 -0
- data/app/controllers/admin/configuration_controller.rb +9 -9
- data/app/controllers/admin/extensions_controller.rb +1 -1
- data/app/controllers/admin/page_parts_controller.rb +1 -1
- data/app/controllers/admin/pages_controller.rb +8 -5
- data/app/controllers/admin/preferences_controller.rb +8 -25
- data/app/controllers/admin/resource_controller.rb +19 -20
- data/app/controllers/admin/users_controller.rb +7 -7
- data/app/controllers/admin/welcome_controller.rb +9 -9
- data/app/controllers/application_controller.rb +13 -24
- data/app/controllers/site_controller.rb +2 -1
- data/app/helpers/admin/configuration_helper.rb +20 -19
- data/app/helpers/admin/extensions_helper.rb +1 -1
- data/app/helpers/admin/layouts_helper.rb +1 -19
- data/app/helpers/admin/node_helper.rb +21 -7
- data/app/helpers/admin/pages_helper.rb +4 -92
- data/app/helpers/admin/preferences_helper.rb +1 -1
- data/app/helpers/admin/regions_helper.rb +5 -4
- data/app/helpers/application_helper.rb +62 -64
- data/app/models/deprecated_tags.rb +1 -21
- data/app/models/file_not_found_page.rb +8 -8
- data/app/models/layout.rb +3 -2
- data/app/models/menu_renderer.rb +7 -7
- data/app/models/page.rb +8 -7
- data/app/models/page_context.rb +10 -10
- data/app/models/page_field.rb +1 -0
- data/app/models/page_part.rb +5 -5
- data/app/models/standard_tags.rb +95 -75
- data/app/models/status.rb +8 -8
- data/app/models/text_filter.rb +5 -5
- data/app/models/trusty_cms/config.rb +36 -42
- data/app/models/trusty_cms/page_response_cache_director.rb +2 -1
- data/app/models/user.rb +1 -10
- data/app/models/user_action_observer.rb +5 -5
- data/app/views/admin/configuration/edit.html.haml +5 -5
- data/app/views/admin/configuration/show.html.haml +11 -11
- data/app/views/admin/extensions/index.html.haml +4 -4
- data/app/views/admin/layouts/_form.html.haml +6 -7
- data/app/views/admin/layouts/_popups.html.haml +4 -0
- data/app/views/admin/layouts/edit.html.haml +4 -2
- data/app/views/admin/layouts/new.html.haml +1 -1
- data/app/views/admin/layouts/remove.html.haml +3 -3
- data/app/views/admin/page_fields/_page_field.html.haml +3 -2
- data/app/views/admin/page_parts/_page_part.html.haml +4 -5
- data/app/views/admin/pages/_fields.html.haml +2 -3
- data/app/views/admin/pages/_meta_row.html.haml +2 -2
- data/app/views/admin/pages/_node.html.haml +4 -9
- data/app/views/admin/pages/_popups.html.haml +9 -5
- data/app/views/admin/pages/children.html.haml +5 -1
- data/app/views/admin/pages/edit.html.haml +1 -3
- data/app/views/admin/pages/index.html.haml +2 -2
- data/app/views/admin/pages/new.html.haml +2 -4
- data/app/views/admin/pages/remove.html.haml +8 -7
- data/app/views/admin/preferences/edit.html.haml +14 -14
- data/app/views/admin/references/_tag_reference.haml +1 -1
- data/app/views/admin/references/filters.haml +1 -1
- data/app/views/admin/references/tags.haml +9 -27
- data/app/views/admin/users/_avatar.html.haml +2 -2
- data/app/views/admin/users/_form.html.haml +16 -16
- data/app/views/admin/users/_password_fields.html.haml +3 -3
- data/app/views/admin/users/edit.html.haml +1 -1
- data/app/views/admin/users/new.html.haml +2 -2
- data/app/views/admin/users/remove.html.haml +4 -4
- data/app/views/admin/welcome/login.html.haml +6 -6
- data/app/views/layouts/application.html.haml +22 -11
- data/app/views/site/not_found.html.haml +1 -1
- data/app/views/site/show_page.html.haml +1 -0
- data/bin/ci/before_script +0 -5
- data/config.ru +4 -0
- data/config/application.rb +118 -108
- data/config/boot.rb +1 -1
- data/config/database.mysql.yml +3 -6
- data/config/environments/development.rb +17 -5
- data/config/environments/production.rb +20 -3
- data/config/environments/test.rb +17 -0
- data/config/initializers/active_record_extensions.rb +1 -1
- data/config/initializers/haml.rb +1 -1
- data/config/initializers/rails_patch.rb +1 -1
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/string_extensions.rb +1 -1
- data/config/initializers/symbol_extensions.rb +1 -1
- data/config/initializers/{radiant_config.rb → trusty_cms_config.rb} +2 -2
- data/config/locales/en.yml +33 -33
- data/config/locales/en_available_tags.yml +62 -62
- data/config/routes.rb +18 -10
- data/db/migrate/001_create_radiant_tables.rb +3 -3
- data/db/migrate/002_insert_initial_data.rb +2 -2
- data/db/migrate/005_add_virtual_column_to_page.rb +1 -1
- data/db/migrate/006_integer_columns_to_boolean.rb +9 -9
- data/db/migrate/007_remove_virtual_column_from_page.rb +1 -1
- data/db/migrate/008_add_virtual_column_to_page_again.rb +1 -1
- data/db/migrate/010_merge_behaviors_and_pages.rb +6 -6
- data/db/migrate/014_rename_config_default_parts_key.rb +3 -3
- data/db/migrate/015_add_optimistic_locking.rb +2 -2
- data/db/migrate/020_add_session_info_to_users.rb +1 -1
- data/db/migrate/20081203140407_add_indexes.rb +2 -2
- data/db/migrate/20090226140109_add_user_language.rb +2 -2
- data/db/migrate/20100805155020_convert_page_metas.rb +1 -1
- data/db/migrate/20110902203823_add_allowed_children_cache_to_pages.rb +1 -1
- data/db/migrate/20111016150725_extend_page_part_content_limit.rb +1 -1
- data/db/migrate/20120209231801_change_pages_allowed_children_cache_to_text.rb +3 -4
- data/db/schema.rb +0 -6
- data/lib/active_record_extensions/active_record_extensions.rb +3 -3
- data/lib/annotatable.rb +3 -3
- data/lib/configuration_extensions/configuration_extensions.rb +7 -42
- data/lib/generators/extension/extension_generator.rb +11 -11
- data/lib/generators/extension/templates/README.md +1 -1
- data/lib/generators/extension/templates/cucumber.yml +1 -1
- data/lib/generators/extension/templates/cucumber_env.rb +2 -2
- data/lib/generators/extension/templates/cucumber_paths.rb +7 -7
- data/lib/generators/extension/templates/en.yml +1 -1
- data/lib/generators/extension/templates/functional_test.rb +3 -3
- data/lib/generators/extension/templates/migration.rb +4 -4
- data/lib/generators/extension/templates/routes.rb +1 -1
- data/lib/generators/extension/templates/spec_helper.rb +1 -1
- data/lib/generators/extension/templates/tasks.rake +5 -5
- data/lib/generators/extension/templates/test_helper.rb +5 -5
- data/lib/generators/extension_controller/extension_controller_generator.rb +11 -11
- data/lib/generators/extension_controller/templates/helper.rb +1 -1
- data/lib/generators/extension_controller/templates/helper_spec.rb +2 -2
- data/lib/generators/extension_controller/templates/view.html.erb +1 -1
- data/lib/generators/extension_controller/templates/view_spec.rb +1 -1
- data/lib/generators/extension_mailer/extension_mailer_generator.rb +10 -10
- data/lib/generators/extension_mailer/templates/mailer.rb +2 -2
- data/lib/generators/extension_migration/extension_migration_generator.rb +5 -5
- data/lib/generators/extension_model/extension_model_generator.rb +10 -10
- data/lib/generators/generator_base_extension.rb +1 -1
- data/lib/generators/instance/instance_generator.rb +14 -14
- data/lib/generators/instance/templates/databases/db2.yml +3 -3
- data/lib/generators/instance/templates/databases/mysql.yml +2 -2
- data/lib/generators/instance/templates/instance_boot.rb +4 -4
- data/lib/generators/instance/templates/instance_environment.rb +13 -3
- data/lib/generators/instance/templates/instance_radiant_config.rb +2 -2
- data/lib/generators/language_extension/language_extension_generator.rb +14 -14
- data/lib/generators/language_extension/templates/available_tags.yml +91 -91
- data/lib/generators/language_extension/templates/cucumber.yml +1 -1
- data/lib/generators/language_extension/templates/cucumber_env.rb +3 -3
- data/lib/generators/language_extension/templates/cucumber_paths.rb +4 -4
- data/lib/generators/language_extension/templates/extension.rb +1 -1
- data/lib/generators/language_extension/templates/functional_test.rb +3 -3
- data/lib/generators/language_extension/templates/lang.yml +39 -39
- data/lib/generators/language_extension/templates/spec_helper.rb +1 -1
- data/lib/generators/language_extension/templates/tasks.rake +3 -3
- data/lib/generators/language_extension/templates/test_helper.rb +5 -5
- data/lib/inheritable_class_attributes.rb +11 -11
- data/lib/local_time.rb +2 -2
- data/lib/login_system.rb +5 -6
- data/lib/method_observer.rb +9 -9
- data/lib/simpleton.rb +7 -7
- data/lib/string_extensions/string_extensions.rb +5 -5
- data/lib/symbol_extensions/symbol_extensions.rb +1 -1
- data/lib/tasks/database.rake +17 -20
- data/lib/tasks/extensions.rake +2 -2
- data/lib/tasks/framework.rake +13 -13
- data/lib/tasks/instance.rake +1 -1
- data/lib/tasks/radiant_config.rake +3 -3
- data/lib/tasks/translate.rake +10 -10
- data/lib/tasks/undefine.rake +1 -5
- data/lib/translation_support.rb +7 -7
- data/lib/trusty_cms.rb +1 -1
- data/lib/trusty_cms/admin_ui.rb +34 -34
- data/lib/trusty_cms/admin_ui/region_partials.rb +3 -3
- data/lib/trusty_cms/admin_ui/region_set.rb +5 -5
- data/lib/trusty_cms/available_locales.rb +1 -1
- data/lib/trusty_cms/config/definition.rb +21 -21
- data/lib/trusty_cms/engine.rb +4 -7
- data/lib/trusty_cms/extension.rb +15 -15
- data/lib/trusty_cms/extension/script.rb +7 -7
- data/lib/trusty_cms/extension_loader.rb +23 -11
- data/lib/trusty_cms/extension_migrator.rb +9 -9
- data/lib/trusty_cms/extension_path.rb +23 -23
- data/lib/trusty_cms/initializer.rb +33 -15
- data/lib/trusty_cms/pagination/link_renderer.rb +3 -3
- data/lib/trusty_cms/resource_responses.rb +15 -15
- data/lib/trusty_cms/setup.rb +35 -33
- data/lib/trusty_cms/taggable.rb +18 -18
- data/public/404.html +1 -1
- data/public/500.html +1 -1
- data/public/loading-iframe.html +1 -1
- data/public/robots.txt +1 -1
- data/script/rails +0 -0
- data/spec/features/admin_login_spec.rb +92 -0
- data/spec/features/config_spec.rb +34 -0
- data/spec/features/javascript_smoke_spec.rb +59 -0
- data/spec/features/layouts_spec.rb +49 -0
- data/spec/features/pages_spec.rb +55 -0
- data/spec/fixtures/users.yml +16 -0
- data/spec/helpers/regions_helper_spec.rb +16 -0
- data/spec/rails_helper.rb +74 -0
- data/spec/spec_helper.rb +78 -0
- data/spec/support/custom_actions.rb +9 -0
- data/trusty_cms.gemspec +22 -25
- metadata +393 -242
- checksums.yaml +0 -15
- data/config/compass.config +0 -15
- data/config/database.db2.yml +0 -20
- data/config/database.postgresql.yml +0 -25
- data/config/database.sqlite.yml +0 -16
- data/config/database.sqlserver.yml +0 -20
- data/config/initializers/object_extensions.rb +0 -1
- data/config/preinitializer.rb +0 -18
- data/lib/object_extensions/object_extensions.rb +0 -5
- data/lib/tasks/prototype.rake +0 -31
- data/lib/tasks/release.rake +0 -131
- data/lib/trusty_cms/cache.rb +0 -100
- data/public/javascripts/admin/application.js +0 -94
- data/public/javascripts/admin/codearea.js +0 -165
- data/public/javascripts/admin/controls.js +0 -965
- data/public/javascripts/admin/dateinput.js +0 -402
- data/public/javascripts/admin/dragdrop.js +0 -974
- data/public/javascripts/admin/dropdown.js +0 -216
- data/public/javascripts/admin/effects.js +0 -1122
- data/public/javascripts/admin/lowpro.js +0 -340
- data/public/javascripts/admin/overrides.js +0 -1
- data/public/javascripts/admin/page_preview.js +0 -41
- data/public/javascripts/admin/pagefield.js +0 -54
- data/public/javascripts/admin/pagestatus.js +0 -17
- data/public/javascripts/admin/popup.js +0 -339
- data/public/javascripts/admin/prototype.js +0 -4874
- data/public/javascripts/admin/ruledtable.js +0 -13
- data/public/javascripts/admin/shortcuts.js +0 -33
- data/public/javascripts/admin/sitemap.js +0 -149
- data/public/javascripts/admin/status.js +0 -233
- data/public/javascripts/admin/tabcontrol.js +0 -123
- data/public/javascripts/admin/toggle.js +0 -430
- data/public/javascripts/admin/utility.js +0 -53
- data/public/javascripts/admin/validationerror.js +0 -18
- data/public/stylesheets/sass/admin/_base.sass +0 -18
- data/public/stylesheets/sass/admin/main.sass +0 -27
- data/public/stylesheets/sass/admin/modules/_boxes.sass +0 -6
- data/public/stylesheets/sass/admin/modules/_gradients.sass +0 -4
- data/public/stylesheets/sass/admin/modules/_links.sass +0 -18
- data/public/stylesheets/sass/admin/overrides.sass +0 -2
- data/public/stylesheets/sass/admin/partials/_actions.sass +0 -96
- data/public/stylesheets/sass/admin/partials/_avatars.sass +0 -10
- data/public/stylesheets/sass/admin/partials/_content.sass +0 -58
- data/public/stylesheets/sass/admin/partials/_dateinput.sass +0 -62
- data/public/stylesheets/sass/admin/partials/_deprecated.sass +0 -55
- data/public/stylesheets/sass/admin/partials/_dropdown.sass +0 -28
- data/public/stylesheets/sass/admin/partials/_footer.sass +0 -12
- data/public/stylesheets/sass/admin/partials/_forms.sass +0 -322
- data/public/stylesheets/sass/admin/partials/_header.sass +0 -114
- data/public/stylesheets/sass/admin/partials/_index.sass +0 -147
- data/public/stylesheets/sass/admin/partials/_layout.sass +0 -10
- data/public/stylesheets/sass/admin/partials/_messages.sass +0 -10
- data/public/stylesheets/sass/admin/partials/_popup.sass +0 -213
- data/public/stylesheets/sass/admin/partials/_tabcontrol.sass +0 -72
- data/public/stylesheets/sass/admin/partials/_toolbar.sass +0 -31
- data/public/stylesheets/sass/admin/partials/_typography.sass +0 -60
- data/public/stylesheets/sass/admin/partials/_validations.sass +0 -19
- data/rails/init.rb +0 -1
- data/script/about +0 -4
- data/script/breakpointer +0 -3
- data/script/console +0 -3
- data/script/dbconsole +0 -3
- data/script/destroy +0 -3
- data/script/generate +0 -3
- data/script/performance/benchmarker +0 -3
- data/script/performance/profiler +0 -3
- data/script/performance/request +0 -3
- data/script/plugin +0 -3
- data/script/process/inspector +0 -3
- data/script/process/reaper +0 -3
- data/script/process/spawner +0 -3
- data/script/process/spinner +0 -3
- data/script/runner +0 -3
- data/script/server +0 -3
- data/script/version +0 -5
- data/spec/ci/database.postgresql.yml +0 -4
- data/spec/ci/database.sqlite.yml +0 -3
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
describe Admin::RegionsHelper do
|
4
|
+
|
5
|
+
describe "#render_region" do
|
6
|
+
|
7
|
+
before :each do
|
8
|
+
allow(controller).to receive(:controller_name).and_return("page")
|
9
|
+
allow(controller).to receive(:template_name).and_return("index")
|
10
|
+
end
|
11
|
+
|
12
|
+
it "outputs html_safe string" do
|
13
|
+
expect(helper.render_region :foo).to be_html_safe
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require 'spec_helper'
|
4
|
+
require File.expand_path("../../config/environment", __FILE__)
|
5
|
+
require 'rspec/rails'
|
6
|
+
|
7
|
+
require 'capybara/poltergeist'
|
8
|
+
Capybara.javascript_driver = :poltergeist
|
9
|
+
|
10
|
+
Capybara.register_driver :poltergeist do |app|
|
11
|
+
Capybara::Poltergeist::Driver.new(app, timeout: 30)
|
12
|
+
end
|
13
|
+
|
14
|
+
require 'database_cleaner'
|
15
|
+
DatabaseCleaner.strategy = :truncation, {except: %w[config]}
|
16
|
+
|
17
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
18
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
19
|
+
# run as spec files by default. This means that files in spec/support that end
|
20
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
21
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
22
|
+
# end with _spec.rb. You can configure this pattern with with the --pattern
|
23
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
24
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
25
|
+
|
26
|
+
RSpec.configure do |config|
|
27
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
28
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
29
|
+
|
30
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
31
|
+
# examples within a transaction, remove the following line or assign false
|
32
|
+
# instead of true.
|
33
|
+
config.use_transactional_fixtures = false
|
34
|
+
|
35
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
36
|
+
# based on their file location, for example enabling you to call `get` and
|
37
|
+
# `post` in specs under `spec/controllers`.
|
38
|
+
#
|
39
|
+
# You can disable this behaviour by removing the line below, and instead
|
40
|
+
# explicitly tag your specs with their type, e.g.:
|
41
|
+
#
|
42
|
+
# RSpec.describe UsersController, :type => :controller do
|
43
|
+
# # ...
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
# The different available types are documented in the features, such as in
|
47
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
48
|
+
config.infer_spec_type_from_file_location!
|
49
|
+
|
50
|
+
config.before(:suite) do
|
51
|
+
TrustyCms::Config.initialize_cache
|
52
|
+
|
53
|
+
configs = [
|
54
|
+
['admin.title', 'TrustyCMS'],
|
55
|
+
['admin.subtitle', 'Publishing for Small Teams'],
|
56
|
+
['defaults.page.parts', 'body, extended'],
|
57
|
+
['defaults.page.status', 'Draft'],
|
58
|
+
['defaults.page.filter', nil],
|
59
|
+
['defaults.page.fields', 'Keywords, Description'],
|
60
|
+
['defaults.snippet.filter', nil],
|
61
|
+
['session_timeout', '1209600'], # 2.weeks.to_s ????
|
62
|
+
['default_locale', 'en'],
|
63
|
+
]
|
64
|
+
configs.each do |key, value|
|
65
|
+
c = TrustyCms::Config.find_or_initialize_by_key(key)
|
66
|
+
c.value = value
|
67
|
+
c.save
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
config.after(:each) do
|
72
|
+
DatabaseCleaner.clean
|
73
|
+
end
|
74
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
4
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
5
|
+
#
|
6
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
7
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
8
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
9
|
+
# individual file that may not need all of that loaded. Instead, make a
|
10
|
+
# separate helper file that requires this one and then use it only in the specs
|
11
|
+
# that actually need it.
|
12
|
+
#
|
13
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
14
|
+
# users commonly want.
|
15
|
+
#
|
16
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
17
|
+
RSpec.configure do |config|
|
18
|
+
# The settings below are suggested to provide a good initial experience
|
19
|
+
# with RSpec, but feel free to customize to your heart's content.
|
20
|
+
=begin
|
21
|
+
# These two settings work together to allow you to limit a spec run
|
22
|
+
# to individual examples or groups you care about by tagging them with
|
23
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
24
|
+
# get run.
|
25
|
+
config.filter_run :focus
|
26
|
+
config.run_all_when_everything_filtered = true
|
27
|
+
|
28
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
29
|
+
# file, and it's useful to allow more verbose output when running an
|
30
|
+
# individual spec file.
|
31
|
+
if config.files_to_run.one?
|
32
|
+
# Use the documentation formatter for detailed output,
|
33
|
+
# unless a formatter has already been configured
|
34
|
+
# (e.g. via a command-line flag).
|
35
|
+
config.default_formatter = 'doc'
|
36
|
+
end
|
37
|
+
|
38
|
+
# Print the 10 slowest examples and example groups at the
|
39
|
+
# end of the spec run, to help surface which specs are running
|
40
|
+
# particularly slow.
|
41
|
+
config.profile_examples = 10
|
42
|
+
|
43
|
+
# Run specs in random order to surface order dependencies. If you find an
|
44
|
+
# order dependency and want to debug it, you can fix the order by providing
|
45
|
+
# the seed, which is printed after each run.
|
46
|
+
# --seed 1234
|
47
|
+
config.order = :random
|
48
|
+
|
49
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
50
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
51
|
+
# test failures related to randomization by passing the same `--seed` value
|
52
|
+
# as the one that triggered the failure.
|
53
|
+
Kernel.srand config.seed
|
54
|
+
|
55
|
+
# rspec-expectations config goes here. You can use an alternate
|
56
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
57
|
+
# assertions if you prefer.
|
58
|
+
config.expect_with :rspec do |expectations|
|
59
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
60
|
+
# For more details, see:
|
61
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
62
|
+
expectations.syntax = :expect
|
63
|
+
end
|
64
|
+
|
65
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
66
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
67
|
+
config.mock_with :rspec do |mocks|
|
68
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
69
|
+
# For more details, see:
|
70
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
71
|
+
mocks.syntax = :expect
|
72
|
+
|
73
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
74
|
+
# a real object. This is generally recommended.
|
75
|
+
mocks.verify_partial_doubles = true
|
76
|
+
end
|
77
|
+
=end
|
78
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Commonly occurring user actions in tests.
|
2
|
+
|
3
|
+
# This takes a username and by default assumes the password is 'password'.
|
4
|
+
def log_in_as(login, plaintext_password = 'password')
|
5
|
+
visit '/'
|
6
|
+
fill_in 'username_or_email', with: login
|
7
|
+
fill_in 'password', with: plaintext_password
|
8
|
+
click_on 'Login'
|
9
|
+
end
|
data/trusty_cms.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["TrustyCms CMS dev team"]
|
10
|
-
s.default_executable = %q{
|
10
|
+
s.default_executable = %q{trusty_cms}
|
11
11
|
s.description = %q{TrustyCms is a simple and powerful publishing system designed for small teams.
|
12
12
|
It is built with Rails and is similar to Textpattern or MovableType, but is
|
13
13
|
a general purpose content managment system--not merely a blogging engine.}
|
@@ -19,32 +19,29 @@ a general purpose content managment system--not merely a blogging engine.}
|
|
19
19
|
s.homepage = %q{https://github.com/pgharts/trusty-cms}
|
20
20
|
s.rdoc_options = ["--title", "TrustyCms -- Publishing for Small Teams", "--line-numbers", "--main", "README", "--exclude", "app", "--exclude", "bin", "--exclude", "config", "--exclude", "db", "--exclude", "features", "--exclude", "lib", "--exclude", "log", "--exclude", "pkg", "--exclude", "public", "--exclude", "script", "--exclude", "spec", "--exclude", "test", "--exclude", "tmp", "--exclude", "vendor"]
|
21
21
|
s.require_paths = ["lib"]
|
22
|
-
s.rubyforge_project = %q{radiant}
|
23
22
|
s.rubygems_version = %q{1.3.7}
|
24
23
|
s.summary = %q{A no-fluff content management system designed for small teams.}
|
25
24
|
s.license = %q{MIT}
|
26
25
|
|
27
|
-
s.add_dependency "tzinfo",
|
28
|
-
s.add_dependency "rails",
|
29
|
-
s.add_dependency "
|
30
|
-
s.add_dependency "
|
31
|
-
s.add_dependency "
|
32
|
-
s.add_dependency "
|
33
|
-
s.add_dependency "compass-rails",
|
34
|
-
s.add_dependency "
|
35
|
-
s.add_dependency "
|
36
|
-
s.add_dependency "
|
37
|
-
s.add_dependency "
|
38
|
-
s.add_dependency "
|
39
|
-
s.add_dependency "
|
40
|
-
s.add_dependency "
|
41
|
-
s.add_dependency "
|
42
|
-
s.add_dependency "
|
43
|
-
s.add_dependency "
|
44
|
-
|
45
|
-
s.
|
46
|
-
s.
|
47
|
-
s.
|
48
|
-
s.add_development_dependency "rspec-rails", '~> 2.14.2'
|
49
|
-
s.add_development_dependency "test-unit", '~> 2.5.5'
|
26
|
+
s.add_dependency "tzinfo", "~> 0.3.31"
|
27
|
+
s.add_dependency "rails", "~> 3.2.18"
|
28
|
+
s.add_dependency "jquery-rails", "~> 3.1.0"
|
29
|
+
s.add_dependency "rdoc", "~> 3.9"
|
30
|
+
s.add_dependency "acts_as_tree", "~> 0.1.1"
|
31
|
+
s.add_dependency "bundler", ">= 1.0.0"
|
32
|
+
s.add_dependency "compass-rails", "~> 2.0.1"
|
33
|
+
s.add_dependency "sprockets-rails", "~> 2.0.0.backport1"
|
34
|
+
s.add_dependency "delocalize", "~> 0.2.3"
|
35
|
+
s.add_dependency "haml", "~> 4.0.5"
|
36
|
+
s.add_dependency "haml-rails", ">= 0.4", "< 0.5" # 0.5 is rails 4+ only
|
37
|
+
s.add_dependency "highline", "~> 1.6.10"
|
38
|
+
s.add_dependency "mysql", "~> 2.9.1"
|
39
|
+
s.add_dependency "rack", "~> 1.4.5"
|
40
|
+
s.add_dependency "rack-cache", "~> 1.2"
|
41
|
+
s.add_dependency "rake", ">= 0.8.7"
|
42
|
+
s.add_dependency "radius", "~> 0.7.3"
|
43
|
+
s.add_dependency "RedCloth", "~> 4.2.0"
|
44
|
+
s.add_dependency "will_paginate", "~> 3.0"
|
45
|
+
s.add_dependency "stringex", "~> 1.3.0"
|
46
|
+
s.add_dependency "ckeditor", "~> 4.1.0"
|
50
47
|
end
|
metadata
CHANGED
@@ -1,323 +1,358 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- TrustyCms CMS dev team
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
|
15
|
+
name: tzinfo
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
15
18
|
requirements:
|
16
19
|
- - ~>
|
17
20
|
- !ruby/object:Gem::Version
|
18
21
|
version: 0.3.31
|
19
|
-
name: tzinfo
|
20
22
|
type: :runtime
|
21
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
22
26
|
requirements:
|
23
27
|
- - ~>
|
24
28
|
- !ruby/object:Gem::Version
|
25
29
|
version: 0.3.31
|
26
|
-
prerelease: false
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
|
-
|
31
|
+
name: rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
31
36
|
- !ruby/object:Gem::Version
|
32
37
|
version: 3.2.18
|
33
|
-
name: rails
|
34
38
|
type: :runtime
|
35
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
36
42
|
requirements:
|
37
43
|
- - ~>
|
38
44
|
- !ruby/object:Gem::Version
|
39
45
|
version: 3.2.18
|
40
|
-
prerelease: false
|
41
46
|
- !ruby/object:Gem::Dependency
|
47
|
+
name: jquery-rails
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 3.1.0
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
42
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
43
58
|
requirements:
|
44
59
|
- - ~>
|
45
60
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
61
|
+
version: 3.1.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
47
63
|
name: rdoc
|
48
|
-
type: :runtime
|
49
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
50
66
|
requirements:
|
51
67
|
- - ~>
|
52
68
|
- !ruby/object:Gem::Version
|
53
69
|
version: '3.9'
|
70
|
+
type: :runtime
|
54
71
|
prerelease: false
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
57
74
|
requirements:
|
58
75
|
- - ~>
|
59
76
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
77
|
+
version: '3.9'
|
78
|
+
- !ruby/object:Gem::Dependency
|
61
79
|
name: acts_as_tree
|
62
|
-
type: :runtime
|
63
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
64
82
|
requirements:
|
65
83
|
- - ~>
|
66
84
|
- !ruby/object:Gem::Version
|
67
85
|
version: 0.1.1
|
86
|
+
type: :runtime
|
68
87
|
prerelease: false
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
71
90
|
requirements:
|
72
|
-
- -
|
91
|
+
- - ~>
|
73
92
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.
|
93
|
+
version: 0.1.1
|
94
|
+
- !ruby/object:Gem::Dependency
|
75
95
|
name: bundler
|
76
|
-
type: :runtime
|
77
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
78
98
|
requirements:
|
79
99
|
- - ! '>='
|
80
100
|
- !ruby/object:Gem::Version
|
81
101
|
version: 1.0.0
|
102
|
+
type: :runtime
|
82
103
|
prerelease: false
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
85
106
|
requirements:
|
86
|
-
- -
|
107
|
+
- - ! '>='
|
87
108
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.
|
89
|
-
|
90
|
-
|
109
|
+
version: 1.0.0
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: compass-rails
|
91
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
92
114
|
requirements:
|
93
115
|
- - ~>
|
94
116
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
117
|
+
version: 2.0.1
|
118
|
+
type: :runtime
|
96
119
|
prerelease: false
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
99
122
|
requirements:
|
100
123
|
- - ~>
|
101
124
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
103
|
-
|
104
|
-
|
125
|
+
version: 2.0.1
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: sprockets-rails
|
105
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
106
130
|
requirements:
|
107
131
|
- - ~>
|
108
132
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
133
|
+
version: 2.0.0.backport1
|
134
|
+
type: :runtime
|
110
135
|
prerelease: false
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
113
138
|
requirements:
|
114
139
|
- - ~>
|
115
140
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0.
|
141
|
+
version: 2.0.0.backport1
|
142
|
+
- !ruby/object:Gem::Dependency
|
117
143
|
name: delocalize
|
118
|
-
type: :runtime
|
119
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
120
146
|
requirements:
|
121
147
|
- - ~>
|
122
148
|
- !ruby/object:Gem::Version
|
123
149
|
version: 0.2.3
|
150
|
+
type: :runtime
|
124
151
|
prerelease: false
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
127
154
|
requirements:
|
128
155
|
- - ~>
|
129
156
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
157
|
+
version: 0.2.3
|
158
|
+
- !ruby/object:Gem::Dependency
|
131
159
|
name: haml
|
132
|
-
type: :runtime
|
133
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
134
162
|
requirements:
|
135
163
|
- - ~>
|
136
164
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
165
|
+
version: 4.0.5
|
166
|
+
type: :runtime
|
138
167
|
prerelease: false
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
141
170
|
requirements:
|
142
171
|
- - ~>
|
143
172
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
145
|
-
|
173
|
+
version: 4.0.5
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: haml-rails
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0.4'
|
182
|
+
- - <
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0.5'
|
146
185
|
type: :runtime
|
186
|
+
prerelease: false
|
187
|
+
version_requirements: !ruby/object:Gem::Requirement
|
188
|
+
none: false
|
189
|
+
requirements:
|
190
|
+
- - ! '>='
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0.4'
|
193
|
+
- - <
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0.5'
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: highline
|
147
198
|
requirement: !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
148
200
|
requirements:
|
149
201
|
- - ~>
|
150
202
|
- !ruby/object:Gem::Version
|
151
203
|
version: 1.6.10
|
204
|
+
type: :runtime
|
152
205
|
prerelease: false
|
206
|
+
version_requirements: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
208
|
+
requirements:
|
209
|
+
- - ~>
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: 1.6.10
|
153
212
|
- !ruby/object:Gem::Dependency
|
213
|
+
name: mysql
|
214
|
+
requirement: !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
216
|
+
requirements:
|
217
|
+
- - ~>
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: 2.9.1
|
220
|
+
type: :runtime
|
221
|
+
prerelease: false
|
154
222
|
version_requirements: !ruby/object:Gem::Requirement
|
223
|
+
none: false
|
155
224
|
requirements:
|
156
225
|
- - ~>
|
157
226
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
227
|
+
version: 2.9.1
|
228
|
+
- !ruby/object:Gem::Dependency
|
159
229
|
name: rack
|
160
|
-
type: :runtime
|
161
230
|
requirement: !ruby/object:Gem::Requirement
|
231
|
+
none: false
|
162
232
|
requirements:
|
163
233
|
- - ~>
|
164
234
|
- !ruby/object:Gem::Version
|
165
235
|
version: 1.4.5
|
236
|
+
type: :runtime
|
166
237
|
prerelease: false
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
238
|
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
none: false
|
169
240
|
requirements:
|
170
241
|
- - ~>
|
171
242
|
- !ruby/object:Gem::Version
|
172
|
-
version:
|
243
|
+
version: 1.4.5
|
244
|
+
- !ruby/object:Gem::Dependency
|
173
245
|
name: rack-cache
|
174
|
-
type: :runtime
|
175
246
|
requirement: !ruby/object:Gem::Requirement
|
247
|
+
none: false
|
176
248
|
requirements:
|
177
249
|
- - ~>
|
178
250
|
- !ruby/object:Gem::Version
|
179
251
|
version: '1.2'
|
252
|
+
type: :runtime
|
180
253
|
prerelease: false
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
254
|
version_requirements: !ruby/object:Gem::Requirement
|
255
|
+
none: false
|
183
256
|
requirements:
|
184
|
-
- -
|
257
|
+
- - ~>
|
185
258
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
259
|
+
version: '1.2'
|
260
|
+
- !ruby/object:Gem::Dependency
|
187
261
|
name: rake
|
188
|
-
type: :runtime
|
189
262
|
requirement: !ruby/object:Gem::Requirement
|
263
|
+
none: false
|
190
264
|
requirements:
|
191
265
|
- - ! '>='
|
192
266
|
- !ruby/object:Gem::Version
|
193
267
|
version: 0.8.7
|
268
|
+
type: :runtime
|
194
269
|
prerelease: false
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
270
|
version_requirements: !ruby/object:Gem::Requirement
|
271
|
+
none: false
|
197
272
|
requirements:
|
198
|
-
- -
|
273
|
+
- - ! '>='
|
199
274
|
- !ruby/object:Gem::Version
|
200
|
-
version: 0.7
|
275
|
+
version: 0.8.7
|
276
|
+
- !ruby/object:Gem::Dependency
|
201
277
|
name: radius
|
202
|
-
type: :runtime
|
203
278
|
requirement: !ruby/object:Gem::Requirement
|
279
|
+
none: false
|
204
280
|
requirements:
|
205
281
|
- - ~>
|
206
282
|
- !ruby/object:Gem::Version
|
207
283
|
version: 0.7.3
|
284
|
+
type: :runtime
|
208
285
|
prerelease: false
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
286
|
version_requirements: !ruby/object:Gem::Requirement
|
287
|
+
none: false
|
211
288
|
requirements:
|
212
289
|
- - ~>
|
213
290
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
291
|
+
version: 0.7.3
|
292
|
+
- !ruby/object:Gem::Dependency
|
215
293
|
name: RedCloth
|
216
|
-
type: :runtime
|
217
294
|
requirement: !ruby/object:Gem::Requirement
|
295
|
+
none: false
|
218
296
|
requirements:
|
219
297
|
- - ~>
|
220
298
|
- !ruby/object:Gem::Version
|
221
299
|
version: 4.2.0
|
300
|
+
type: :runtime
|
222
301
|
prerelease: false
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
none: false
|
225
304
|
requirements:
|
226
305
|
- - ~>
|
227
306
|
- !ruby/object:Gem::Version
|
228
|
-
version:
|
307
|
+
version: 4.2.0
|
308
|
+
- !ruby/object:Gem::Dependency
|
229
309
|
name: will_paginate
|
230
|
-
type: :runtime
|
231
310
|
requirement: !ruby/object:Gem::Requirement
|
311
|
+
none: false
|
232
312
|
requirements:
|
233
313
|
- - ~>
|
234
314
|
- !ruby/object:Gem::Version
|
235
315
|
version: '3.0'
|
236
|
-
prerelease: false
|
237
|
-
- !ruby/object:Gem::Dependency
|
238
|
-
version_requirements: !ruby/object:Gem::Requirement
|
239
|
-
requirements:
|
240
|
-
- - ~>
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: 1.3.0
|
243
|
-
name: stringex
|
244
316
|
type: :runtime
|
245
|
-
requirement: !ruby/object:Gem::Requirement
|
246
|
-
requirements:
|
247
|
-
- - ~>
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
version: 1.3.0
|
250
317
|
prerelease: false
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
318
|
version_requirements: !ruby/object:Gem::Requirement
|
319
|
+
none: false
|
253
320
|
requirements:
|
254
321
|
- - ~>
|
255
322
|
- !ruby/object:Gem::Version
|
256
|
-
version:
|
257
|
-
name: cucumber-rails
|
258
|
-
type: :development
|
259
|
-
requirement: !ruby/object:Gem::Requirement
|
260
|
-
requirements:
|
261
|
-
- - ~>
|
262
|
-
- !ruby/object:Gem::Version
|
263
|
-
version: 1.4.1
|
264
|
-
prerelease: false
|
323
|
+
version: '3.0'
|
265
324
|
- !ruby/object:Gem::Dependency
|
266
|
-
|
267
|
-
requirements:
|
268
|
-
- - ~>
|
269
|
-
- !ruby/object:Gem::Version
|
270
|
-
version: 0.6.5
|
271
|
-
name: database_cleaner
|
272
|
-
type: :development
|
325
|
+
name: stringex
|
273
326
|
requirement: !ruby/object:Gem::Requirement
|
327
|
+
none: false
|
274
328
|
requirements:
|
275
329
|
- - ~>
|
276
330
|
- !ruby/object:Gem::Version
|
277
|
-
version:
|
331
|
+
version: 1.3.0
|
332
|
+
type: :runtime
|
278
333
|
prerelease: false
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
334
|
version_requirements: !ruby/object:Gem::Requirement
|
335
|
+
none: false
|
281
336
|
requirements:
|
282
337
|
- - ~>
|
283
338
|
- !ruby/object:Gem::Version
|
284
|
-
version: 1.
|
285
|
-
name: nokogiri
|
286
|
-
type: :development
|
287
|
-
requirement: !ruby/object:Gem::Requirement
|
288
|
-
requirements:
|
289
|
-
- - ~>
|
290
|
-
- !ruby/object:Gem::Version
|
291
|
-
version: 1.5.10
|
292
|
-
prerelease: false
|
339
|
+
version: 1.3.0
|
293
340
|
- !ruby/object:Gem::Dependency
|
294
|
-
|
295
|
-
requirements:
|
296
|
-
- - ~>
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
version: 2.14.2
|
299
|
-
name: rspec-rails
|
300
|
-
type: :development
|
341
|
+
name: ckeditor
|
301
342
|
requirement: !ruby/object:Gem::Requirement
|
343
|
+
none: false
|
302
344
|
requirements:
|
303
345
|
- - ~>
|
304
346
|
- !ruby/object:Gem::Version
|
305
|
-
version:
|
347
|
+
version: 4.1.0
|
348
|
+
type: :runtime
|
306
349
|
prerelease: false
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
350
|
version_requirements: !ruby/object:Gem::Requirement
|
351
|
+
none: false
|
309
352
|
requirements:
|
310
353
|
- - ~>
|
311
354
|
- !ruby/object:Gem::Version
|
312
|
-
version:
|
313
|
-
name: test-unit
|
314
|
-
type: :development
|
315
|
-
requirement: !ruby/object:Gem::Requirement
|
316
|
-
requirements:
|
317
|
-
- - ~>
|
318
|
-
- !ruby/object:Gem::Version
|
319
|
-
version: 2.5.5
|
320
|
-
prerelease: false
|
355
|
+
version: 4.1.0
|
321
356
|
description: ! 'TrustyCms is a simple and powerful publishing system designed for
|
322
357
|
small teams.
|
323
358
|
|
@@ -335,6 +370,110 @@ extra_rdoc_files:
|
|
335
370
|
- INSTALL.md
|
336
371
|
- LICENSE.md
|
337
372
|
files:
|
373
|
+
- app/assets/images/admin/add_tab.png
|
374
|
+
- app/assets/images/admin/animated-overlay.gif
|
375
|
+
- app/assets/images/admin/avatar_32x32.png
|
376
|
+
- app/assets/images/admin/avatar_64x64.png
|
377
|
+
- app/assets/images/admin/avatar_96x96.png
|
378
|
+
- app/assets/images/admin/brown_bottom_line.gif
|
379
|
+
- app/assets/images/admin/calendar_down.gif
|
380
|
+
- app/assets/images/admin/collapse.png
|
381
|
+
- app/assets/images/admin/collapsed.png
|
382
|
+
- app/assets/images/admin/draft_page.png
|
383
|
+
- app/assets/images/admin/image.png
|
384
|
+
- app/assets/images/admin/javascript.png
|
385
|
+
- app/assets/images/admin/layout.png
|
386
|
+
- app/assets/images/admin/metadata_toggle.png
|
387
|
+
- app/assets/images/admin/minus.png
|
388
|
+
- app/assets/images/admin/minus_disabled.png
|
389
|
+
- app/assets/images/admin/minus_grey.png
|
390
|
+
- app/assets/images/admin/navigation_secondary_separator.gif
|
391
|
+
- app/assets/images/admin/page.png
|
392
|
+
- app/assets/images/admin/plus.png
|
393
|
+
- app/assets/images/admin/plus_disabled.png
|
394
|
+
- app/assets/images/admin/plus_grey.png
|
395
|
+
- app/assets/images/admin/popup_border_background.png
|
396
|
+
- app/assets/images/admin/popup_border_bottom_left.png
|
397
|
+
- app/assets/images/admin/popup_border_bottom_right.png
|
398
|
+
- app/assets/images/admin/popup_border_top_left.png
|
399
|
+
- app/assets/images/admin/popup_border_top_right.png
|
400
|
+
- app/assets/images/admin/search.png
|
401
|
+
- app/assets/images/admin/single_form_shadow.png
|
402
|
+
- app/assets/images/admin/snippet.png
|
403
|
+
- app/assets/images/admin/spinner.gif
|
404
|
+
- app/assets/images/admin/status_background.png
|
405
|
+
- app/assets/images/admin/status_bottom_left.png
|
406
|
+
- app/assets/images/admin/status_bottom_right.png
|
407
|
+
- app/assets/images/admin/status_spinner.gif
|
408
|
+
- app/assets/images/admin/status_top_left.png
|
409
|
+
- app/assets/images/admin/status_top_right.png
|
410
|
+
- app/assets/images/admin/stylesheet.png
|
411
|
+
- app/assets/images/admin/tab_close.png
|
412
|
+
- app/assets/images/admin/ui-bg_flat_75_ffffff_40x100.png
|
413
|
+
- app/assets/images/admin/ui-bg_glass_55_fbf9ee_1x400.png
|
414
|
+
- app/assets/images/admin/ui-bg_glass_65_ffffff_1x400.png
|
415
|
+
- app/assets/images/admin/ui-bg_glass_75_dadada_1x400.png
|
416
|
+
- app/assets/images/admin/ui-bg_glass_75_e6e6e6_1x400.png
|
417
|
+
- app/assets/images/admin/ui-bg_glass_95_fef1ec_1x400.png
|
418
|
+
- app/assets/images/admin/ui-bg_highlight-soft_75_cccccc_1x100.png
|
419
|
+
- app/assets/images/admin/ui-icons_222222_256x240.png
|
420
|
+
- app/assets/images/admin/ui-icons_2e83ff_256x240.png
|
421
|
+
- app/assets/images/admin/ui-icons_454545_256x240.png
|
422
|
+
- app/assets/images/admin/ui-icons_888888_256x240.png
|
423
|
+
- app/assets/images/admin/ui-icons_cd0a0a_256x240.png
|
424
|
+
- app/assets/images/admin/upload.png
|
425
|
+
- app/assets/images/admin/virtual_page.png
|
426
|
+
- app/assets/images/radiant/radiant-badge-color.png
|
427
|
+
- app/assets/javascripts/admin/autopopulate-breadcrumb.js
|
428
|
+
- app/assets/javascripts/admin/cookie.js
|
429
|
+
- app/assets/javascripts/admin/datecheck.js
|
430
|
+
- app/assets/javascripts/admin/dropdown.js
|
431
|
+
- app/assets/javascripts/admin/jquery-ui.js
|
432
|
+
- app/assets/javascripts/admin/jquery.treetable.js
|
433
|
+
- app/assets/javascripts/admin/jquery.validate.min.js
|
434
|
+
- app/assets/javascripts/admin/modernizr.js
|
435
|
+
- app/assets/javascripts/admin/more-or-less.js
|
436
|
+
- app/assets/javascripts/admin/page-edit.js
|
437
|
+
- app/assets/javascripts/admin/pagefield.js
|
438
|
+
- app/assets/javascripts/admin/persist.min.js
|
439
|
+
- app/assets/javascripts/admin/popup.js
|
440
|
+
- app/assets/javascripts/admin/preview.js
|
441
|
+
- app/assets/javascripts/admin/tabcontrol.js.erb
|
442
|
+
- app/assets/javascripts/admin/tags.js
|
443
|
+
- app/assets/javascripts/admin/treetable.js
|
444
|
+
- app/assets/javascripts/admin/utilities.js
|
445
|
+
- app/assets/javascripts/admin/validation.js
|
446
|
+
- app/assets/javascripts/admin/validations/user_validations.js
|
447
|
+
- app/assets/javascripts/admin.js
|
448
|
+
- app/assets/javascripts/ckeditor/config.js
|
449
|
+
- app/assets/javascripts/ckeditor/contents.css
|
450
|
+
- app/assets/javascripts/notes.md
|
451
|
+
- app/assets/stylesheets/admin/_base.scss
|
452
|
+
- app/assets/stylesheets/admin/main.scss
|
453
|
+
- app/assets/stylesheets/admin/modules/_boxes.scss
|
454
|
+
- app/assets/stylesheets/admin/modules/_gradients.scss
|
455
|
+
- app/assets/stylesheets/admin/modules/_links.scss
|
456
|
+
- app/assets/stylesheets/admin/partials/_actions.scss
|
457
|
+
- app/assets/stylesheets/admin/partials/_avatars.scss
|
458
|
+
- app/assets/stylesheets/admin/partials/_content.scss
|
459
|
+
- app/assets/stylesheets/admin/partials/_dateinput.scss
|
460
|
+
- app/assets/stylesheets/admin/partials/_deprecated.scss
|
461
|
+
- app/assets/stylesheets/admin/partials/_dropdown.scss
|
462
|
+
- app/assets/stylesheets/admin/partials/_footer.scss
|
463
|
+
- app/assets/stylesheets/admin/partials/_forms.scss
|
464
|
+
- app/assets/stylesheets/admin/partials/_header.scss
|
465
|
+
- app/assets/stylesheets/admin/partials/_index.scss
|
466
|
+
- app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss
|
467
|
+
- app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss
|
468
|
+
- app/assets/stylesheets/admin/partials/_jquery-ui.scss
|
469
|
+
- app/assets/stylesheets/admin/partials/_layout.scss
|
470
|
+
- app/assets/stylesheets/admin/partials/_messages.scss
|
471
|
+
- app/assets/stylesheets/admin/partials/_popup.scss
|
472
|
+
- app/assets/stylesheets/admin/partials/_tabcontrol.scss
|
473
|
+
- app/assets/stylesheets/admin/partials/_toolbar.scss
|
474
|
+
- app/assets/stylesheets/admin/partials/_treetable.scss
|
475
|
+
- app/assets/stylesheets/admin/partials/_typography.scss
|
476
|
+
- app/assets/stylesheets/admin/partials/_validations.scss
|
338
477
|
- app/controllers/admin/configuration_controller.rb
|
339
478
|
- app/controllers/admin/extensions_controller.rb
|
340
479
|
- app/controllers/admin/layouts_controller.rb
|
@@ -347,6 +486,7 @@ files:
|
|
347
486
|
- app/controllers/admin/users_controller.rb
|
348
487
|
- app/controllers/admin/welcome_controller.rb
|
349
488
|
- app/controllers/application_controller.rb
|
489
|
+
- app/controllers/application_controller.rb.rails2
|
350
490
|
- app/controllers/site_controller.rb
|
351
491
|
- app/helpers/admin/configuration_helper.rb
|
352
492
|
- app/helpers/admin/export_helper.rb
|
@@ -361,6 +501,7 @@ files:
|
|
361
501
|
- app/helpers/admin/users_helper.rb
|
362
502
|
- app/helpers/admin/welcome_helper.rb
|
363
503
|
- app/helpers/application_helper.rb
|
504
|
+
- app/helpers/application_helper.rb.rails2
|
364
505
|
- app/helpers/site_helper.rb
|
365
506
|
- app/models/deprecated_tags.rb
|
366
507
|
- app/models/file_not_found_page.rb
|
@@ -381,6 +522,7 @@ files:
|
|
381
522
|
- app/views/admin/configuration/show.html.haml
|
382
523
|
- app/views/admin/extensions/index.html.haml
|
383
524
|
- app/views/admin/layouts/_form.html.haml
|
525
|
+
- app/views/admin/layouts/_popups.html.haml
|
384
526
|
- app/views/admin/layouts/edit.html.haml
|
385
527
|
- app/views/admin/layouts/index.html.haml
|
386
528
|
- app/views/admin/layouts/new.html.haml
|
@@ -410,35 +552,35 @@ files:
|
|
410
552
|
- app/views/admin/welcome/login.html.haml
|
411
553
|
- app/views/layouts/application.html.haml
|
412
554
|
- app/views/site/not_found.html.haml
|
555
|
+
- app/views/site/show_page.html.haml
|
413
556
|
- bin/ci/before_script
|
414
557
|
- bin/trusty_cms
|
415
558
|
- CHANGELOG.md
|
416
559
|
- config/application.rb
|
417
560
|
- config/boot.rb
|
418
|
-
- config/compass.config
|
419
|
-
- config/database.db2.yml
|
420
561
|
- config/database.mysql.yml
|
421
|
-
- config/database.
|
422
|
-
- config/database.sqlite.yml
|
423
|
-
- config/database.sqlserver.yml
|
562
|
+
- config/database.yml.rails2
|
424
563
|
- config/environment.rb
|
564
|
+
- config/environment.rb.rails2
|
425
565
|
- config/environments/development.rb
|
566
|
+
- config/environments/development.rb.rails2
|
426
567
|
- config/environments/production.rb
|
568
|
+
- config/environments/production.rb.rails2
|
427
569
|
- config/environments/test.rb
|
428
570
|
- config/initializers/active_record_extensions.rb
|
429
|
-
- config/initializers/configuration_extensions.rb
|
430
571
|
- config/initializers/haml.rb
|
431
|
-
- config/initializers/object_extensions.rb
|
432
|
-
- config/initializers/radiant_config.rb
|
433
572
|
- config/initializers/rails_patch.rb
|
434
573
|
- config/initializers/response_cache_timeout.rb
|
574
|
+
- config/initializers/secret_token.rb
|
435
575
|
- config/initializers/string_extensions.rb
|
436
576
|
- config/initializers/symbol_extensions.rb
|
437
577
|
- config/initializers/tmp.rb
|
578
|
+
- config/initializers/trusty_cms_config.rb
|
438
579
|
- config/locales/en.yml
|
439
580
|
- config/locales/en_available_tags.yml
|
440
|
-
- config/preinitializer.rb
|
441
581
|
- config/routes.rb
|
582
|
+
- config/routes.rb.rails2
|
583
|
+
- config.ru
|
442
584
|
- CONTRIBUTORS.md
|
443
585
|
- db/migrate/001_create_radiant_tables.rb
|
444
586
|
- db/migrate/002_insert_initial_data.rb
|
@@ -561,7 +703,6 @@ files:
|
|
561
703
|
- lib/local_time.rb
|
562
704
|
- lib/login_system.rb
|
563
705
|
- lib/method_observer.rb
|
564
|
-
- lib/object_extensions/object_extensions.rb
|
565
706
|
- lib/simpleton.rb
|
566
707
|
- lib/string_extensions/string_extensions.rb
|
567
708
|
- lib/symbol_extensions/symbol_extensions.rb
|
@@ -570,9 +711,7 @@ files:
|
|
570
711
|
- lib/tasks/extensions.rake
|
571
712
|
- lib/tasks/framework.rake
|
572
713
|
- lib/tasks/instance.rake
|
573
|
-
- lib/tasks/prototype.rake
|
574
714
|
- lib/tasks/radiant_config.rake
|
575
|
-
- lib/tasks/release.rake
|
576
715
|
- lib/tasks/translate.rake
|
577
716
|
- lib/tasks/undefine.rake
|
578
717
|
- lib/translation_support.rb
|
@@ -580,7 +719,6 @@ files:
|
|
580
719
|
- lib/trusty_cms/admin_ui/region_set.rb
|
581
720
|
- lib/trusty_cms/admin_ui.rb
|
582
721
|
- lib/trusty_cms/available_locales.rb
|
583
|
-
- lib/trusty_cms/cache.rb
|
584
722
|
- lib/trusty_cms/config/definition.rb
|
585
723
|
- lib/trusty_cms/engine.rb
|
586
724
|
- lib/trusty_cms/extension/script.rb
|
@@ -603,128 +741,139 @@ files:
|
|
603
741
|
- public/dispatch.fcgi
|
604
742
|
- public/dispatch.rb
|
605
743
|
- public/favicon.ico
|
606
|
-
- public/images/admin/add_tab.png
|
607
|
-
- public/images/admin/avatar_32x32.png
|
608
|
-
- public/images/admin/avatar_64x64.png
|
609
|
-
- public/images/admin/avatar_96x96.png
|
610
|
-
- public/images/admin/brown_bottom_line.gif
|
611
|
-
- public/images/admin/calendar_down.gif
|
612
|
-
- public/images/admin/collapse.png
|
613
|
-
- public/images/admin/draft_page.png
|
614
|
-
- public/images/admin/expand.png
|
615
|
-
- public/images/admin/image.png
|
616
|
-
- public/images/admin/javascript.png
|
617
|
-
- public/images/admin/layout.png
|
618
|
-
- public/images/admin/metadata_toggle.png
|
619
|
-
- public/images/admin/minus.png
|
620
|
-
- public/images/admin/minus_disabled.png
|
621
|
-
- public/images/admin/minus_grey.png
|
622
|
-
- public/images/admin/navigation_secondary_separator.gif
|
623
|
-
- public/images/admin/page.png
|
624
|
-
- public/images/admin/plus.png
|
625
|
-
- public/images/admin/plus_disabled.png
|
626
|
-
- public/images/admin/plus_grey.png
|
627
|
-
- public/images/admin/popup_border_background.png
|
628
|
-
- public/images/admin/popup_border_bottom_left.png
|
629
|
-
- public/images/admin/popup_border_bottom_right.png
|
630
|
-
- public/images/admin/popup_border_top_left.png
|
631
|
-
- public/images/admin/popup_border_top_right.png
|
632
|
-
- public/images/admin/search.png
|
633
|
-
- public/images/admin/single_form_shadow.png
|
634
|
-
- public/images/admin/snippet.png
|
635
|
-
- public/images/admin/spinner.gif
|
636
|
-
- public/images/admin/status_background.png
|
637
|
-
- public/images/admin/status_bottom_left.png
|
638
|
-
- public/images/admin/status_bottom_right.png
|
639
|
-
- public/images/admin/status_spinner.gif
|
640
|
-
- public/images/admin/status_top_left.png
|
641
|
-
- public/images/admin/status_top_right.png
|
642
|
-
- public/images/admin/stylesheet.png
|
643
|
-
- public/images/admin/tab_close.png
|
644
|
-
- public/images/admin/upload.png
|
645
|
-
- public/images/admin/virtual_page.png
|
646
|
-
- public/images/radiant/radiant-badge-color.png
|
647
|
-
- public/javascripts/admin/application.js
|
648
|
-
- public/javascripts/admin/codearea.js
|
649
|
-
- public/javascripts/admin/controls.js
|
650
|
-
- public/javascripts/admin/cookie.js
|
651
|
-
- public/javascripts/admin/dateinput.js
|
652
|
-
- public/javascripts/admin/dragdrop.js
|
653
|
-
- public/javascripts/admin/dropdown.js
|
654
|
-
- public/javascripts/admin/effects.js
|
655
|
-
- public/javascripts/admin/lowpro.js
|
656
|
-
- public/javascripts/admin/overrides.js
|
657
|
-
- public/javascripts/admin/page_preview.js
|
658
|
-
- public/javascripts/admin/pagefield.js
|
659
|
-
- public/javascripts/admin/pagestatus.js
|
660
|
-
- public/javascripts/admin/popup.js
|
661
|
-
- public/javascripts/admin/prototype.js
|
662
|
-
- public/javascripts/admin/ruledtable.js
|
663
|
-
- public/javascripts/admin/shortcuts.js
|
664
|
-
- public/javascripts/admin/sitemap.js
|
665
|
-
- public/javascripts/admin/status.js
|
666
|
-
- public/javascripts/admin/tabcontrol.js
|
667
|
-
- public/javascripts/admin/toggle.js
|
668
|
-
- public/javascripts/admin/utility.js
|
669
|
-
- public/javascripts/admin/validationerror.js
|
670
744
|
- public/loading-iframe.html
|
671
745
|
- public/robots.txt
|
672
|
-
- public/stylesheets/
|
673
|
-
- public/stylesheets/
|
674
|
-
- public/stylesheets/sass/admin/modules/_boxes.sass
|
675
|
-
- public/stylesheets/sass/admin/modules/_gradients.sass
|
676
|
-
- public/stylesheets/sass/admin/modules/_links.sass
|
677
|
-
- public/stylesheets/sass/admin/overrides.sass
|
678
|
-
- public/stylesheets/sass/admin/partials/_actions.sass
|
679
|
-
- public/stylesheets/sass/admin/partials/_avatars.sass
|
680
|
-
- public/stylesheets/sass/admin/partials/_content.sass
|
681
|
-
- public/stylesheets/sass/admin/partials/_dateinput.sass
|
682
|
-
- public/stylesheets/sass/admin/partials/_deprecated.sass
|
683
|
-
- public/stylesheets/sass/admin/partials/_dropdown.sass
|
684
|
-
- public/stylesheets/sass/admin/partials/_footer.sass
|
685
|
-
- public/stylesheets/sass/admin/partials/_forms.sass
|
686
|
-
- public/stylesheets/sass/admin/partials/_header.sass
|
687
|
-
- public/stylesheets/sass/admin/partials/_index.sass
|
688
|
-
- public/stylesheets/sass/admin/partials/_layout.sass
|
689
|
-
- public/stylesheets/sass/admin/partials/_messages.sass
|
690
|
-
- public/stylesheets/sass/admin/partials/_popup.sass
|
691
|
-
- public/stylesheets/sass/admin/partials/_tabcontrol.sass
|
692
|
-
- public/stylesheets/sass/admin/partials/_toolbar.sass
|
693
|
-
- public/stylesheets/sass/admin/partials/_typography.sass
|
694
|
-
- public/stylesheets/sass/admin/partials/_validations.sass
|
695
|
-
- rails/init.rb
|
746
|
+
- public/stylesheets/admin/main.css
|
747
|
+
- public/stylesheets/admin/overrides.css
|
696
748
|
- Rakefile
|
697
749
|
- README.md
|
698
|
-
- script/about
|
699
|
-
- script/breakpointer
|
700
|
-
- script/console
|
701
|
-
- script/dbconsole
|
702
|
-
- script/destroy
|
703
750
|
- script/extension
|
704
|
-
- script/generate
|
705
|
-
- script/performance/benchmarker
|
706
|
-
- script/performance/profiler
|
707
|
-
- script/performance/request
|
708
|
-
- script/plugin
|
709
|
-
- script/process/inspector
|
710
|
-
- script/process/reaper
|
711
|
-
- script/process/spawner
|
712
|
-
- script/process/spinner
|
713
751
|
- script/rails
|
714
|
-
- script/runner
|
715
|
-
- script/server
|
716
|
-
- script/version
|
717
752
|
- spec/ci/database.mysql.yml
|
718
|
-
- spec/
|
719
|
-
- spec/
|
753
|
+
- spec/features/admin_login_spec.rb
|
754
|
+
- spec/features/config_spec.rb
|
755
|
+
- spec/features/javascript_smoke_spec.rb
|
756
|
+
- spec/features/layouts_spec.rb
|
757
|
+
- spec/features/pages_spec.rb
|
758
|
+
- spec/fixtures/users.yml
|
759
|
+
- spec/helpers/regions_helper_spec.rb
|
760
|
+
- spec/rails_helper.rb
|
761
|
+
- spec/spec_helper.rb
|
762
|
+
- spec/support/custom_actions.rb
|
763
|
+
- test/test_helper.rb.rails2
|
764
|
+
- tmp/cache/747/A70/TrustyCms%3A%3AConfig
|
765
|
+
- tmp/cache/85C/FA0/TrustyCms.cache_mtime
|
766
|
+
- tmp/cache_files_test/a.txt
|
767
|
+
- tmp/cache_files_test/all.txt
|
768
|
+
- tmp/cache_files_test/b.txt
|
769
|
+
- tmp/config/radiant_config.yml
|
770
|
+
- tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_boxes.sassc
|
771
|
+
- tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_gradients.sassc
|
772
|
+
- tmp/sass-cache/1a137f46a4706893cc07b2aa949a92cf851d936f/_links.sassc
|
773
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_appearance.scssc
|
774
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-clip.scssc
|
775
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-origin.scssc
|
776
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_background-size.scssc
|
777
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_border-radius.scssc
|
778
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box-shadow.scssc
|
779
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box-sizing.scssc
|
780
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_box.scssc
|
781
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_columns.scssc
|
782
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_filter.scssc
|
783
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_font-face.scssc
|
784
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_hyphenation.scssc
|
785
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_images.scssc
|
786
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_inline-block.scssc
|
787
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_opacity.scssc
|
788
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_regions.scssc
|
789
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_shared.scssc
|
790
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_text-shadow.scssc
|
791
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_transform.scssc
|
792
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_transition.scssc
|
793
|
+
- tmp/sass-cache/28de5f95620abb7d2385166aed681f8b13104764/_user-interface.scssc
|
794
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_actions.sassc
|
795
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_avatars.sassc
|
796
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_content.sassc
|
797
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_dateinput.sassc
|
798
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_deprecated.sassc
|
799
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_dropdown.sassc
|
800
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_footer.sassc
|
801
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_forms.sassc
|
802
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_header.sassc
|
803
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_index.sassc
|
804
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_layout.sassc
|
805
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_messages.sassc
|
806
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_popup.sassc
|
807
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_tabcontrol.sassc
|
808
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_toolbar.sassc
|
809
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_typography.sassc
|
810
|
+
- tmp/sass-cache/2f4278d4f2cc4f21f31aa67430e462fbca6b47a0/_validations.sassc
|
811
|
+
- tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_color.scssc
|
812
|
+
- tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_general.scssc
|
813
|
+
- tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_sprites.scssc
|
814
|
+
- tmp/sass-cache/33c9f77b54ab77293741bf5159eedff124a39fc1/_tables.scssc
|
815
|
+
- tmp/sass-cache/5683573556a6b271b3ffade55f4ff32a60e7c0f0/_base.scssc
|
816
|
+
- tmp/sass-cache/5683573556a6b271b3ffade55f4ff32a60e7c0f0/_sprite-img.scssc
|
817
|
+
- tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_alternating-rows-and-columns.scssc
|
818
|
+
- tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_borders.scssc
|
819
|
+
- tmp/sass-cache/6159fdf943b5ffc54b901a34cdfcfc7e6f736834/_scaffolding.scssc
|
820
|
+
- tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_links.scssc
|
821
|
+
- tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_lists.scssc
|
822
|
+
- tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_text.scssc
|
823
|
+
- tmp/sass-cache/81fb0626d3f9dbbcc1f43df416db1c97b6ad512a/_vertical_rhythm.scssc
|
824
|
+
- tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_hover-link.scssc
|
825
|
+
- tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_link-colors.scssc
|
826
|
+
- tmp/sass-cache/87c1de4edf14dc5f527f65e2080e0faa325354aa/_unstyled-link.scssc
|
827
|
+
- tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_css3.scssc
|
828
|
+
- tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_support.scssc
|
829
|
+
- tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_typography.scssc
|
830
|
+
- tmp/sass-cache/8b412a89f899813981285eadb5f08e52b94dfb65/_utilities.scssc
|
831
|
+
- tmp/sass-cache/92844cd19a320f87ef960171cea4f33d1a07339c/_contrast.scssc
|
832
|
+
- tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_ellipsis.scssc
|
833
|
+
- tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_force-wrap.scssc
|
834
|
+
- tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_nowrap.scssc
|
835
|
+
- tmp/sass-cache/a97de1041408f914478b9e7943c5c6c2d221d4c0/_replacement.scssc
|
836
|
+
- tmp/sass-cache/b3d80baefd48593d8c08815ba2d83e209f5dad6f/_grid-background.scssc
|
837
|
+
- tmp/sass-cache/b92bfc773efa04d930ffa0b3331244a1f378caa7/_compass.scssc
|
838
|
+
- tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_clearfix.scssc
|
839
|
+
- tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_float.scssc
|
840
|
+
- tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_hacks.scssc
|
841
|
+
- tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_min.scssc
|
842
|
+
- tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_reset.scssc
|
843
|
+
- tmp/sass-cache/c055a2360b102aff9247707235d9dce9214f6c4f/_tag-cloud.scssc
|
844
|
+
- tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/_base.sassc
|
845
|
+
- tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/main.sassc
|
846
|
+
- tmp/sass-cache/c3fa060b99d9ed1d9740af472ecc747182e2ea93/overrides.sassc
|
847
|
+
- tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_bullets.scssc
|
848
|
+
- tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_horizontal-list.scssc
|
849
|
+
- tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_inline-block-list.scssc
|
850
|
+
- tmp/sass-cache/d2bf234de18cb20fe8238c9224b9863ed5d268c6/_inline-list.scssc
|
851
|
+
- tmp/sass-cache/dc9647e96d50c02214aff50e88308a74bf56d1d7/_utilities.scssc
|
720
852
|
- trusty_cms.gemspec
|
853
|
+
- Vagrantfile
|
854
|
+
- vendor/plugins/rails_upgrade/init.rb
|
855
|
+
- vendor/plugins/rails_upgrade/install.rb
|
856
|
+
- vendor/plugins/rails_upgrade/lib/application_checker.rb
|
857
|
+
- vendor/plugins/rails_upgrade/lib/gemfile_generator.rb
|
858
|
+
- vendor/plugins/rails_upgrade/lib/new_configuration_generator.rb
|
859
|
+
- vendor/plugins/rails_upgrade/lib/rails_upgrade.rb
|
860
|
+
- vendor/plugins/rails_upgrade/lib/routes_upgrader.rb
|
861
|
+
- vendor/plugins/rails_upgrade/lib/tasks/rails_upgrade_tasks.rake
|
862
|
+
- vendor/plugins/rails_upgrade/MIT-LICENSE
|
863
|
+
- vendor/plugins/rails_upgrade/Rakefile
|
864
|
+
- vendor/plugins/rails_upgrade/README.rdoc
|
865
|
+
- vendor/plugins/rails_upgrade/test/application_checker_test.rb
|
866
|
+
- vendor/plugins/rails_upgrade/test/gemfile_generator_test.rb
|
867
|
+
- vendor/plugins/rails_upgrade/test/new_configuration_generator_test.rb
|
868
|
+
- vendor/plugins/rails_upgrade/test/routes_upgrader_test.rb
|
869
|
+
- vendor/plugins/rails_upgrade/test/test_helper.rb
|
870
|
+
- vendor/plugins/rails_upgrade/uninstall.rb
|
721
871
|
- .gitignore
|
722
872
|
- public/.htaccess
|
723
873
|
- log/.keep
|
724
874
|
homepage: https://github.com/pgharts/trusty-cms
|
725
875
|
licenses:
|
726
876
|
- MIT
|
727
|
-
metadata: {}
|
728
877
|
post_install_message:
|
729
878
|
rdoc_options:
|
730
879
|
- --title
|
@@ -763,19 +912,21 @@ rdoc_options:
|
|
763
912
|
require_paths:
|
764
913
|
- lib
|
765
914
|
required_ruby_version: !ruby/object:Gem::Requirement
|
915
|
+
none: false
|
766
916
|
requirements:
|
767
917
|
- - ! '>='
|
768
918
|
- !ruby/object:Gem::Version
|
769
919
|
version: '0'
|
770
920
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
921
|
+
none: false
|
771
922
|
requirements:
|
772
923
|
- - ! '>'
|
773
924
|
- !ruby/object:Gem::Version
|
774
925
|
version: 1.3.1
|
775
926
|
requirements: []
|
776
|
-
rubyforge_project:
|
777
|
-
rubygems_version:
|
927
|
+
rubyforge_project:
|
928
|
+
rubygems_version: 1.8.29
|
778
929
|
signing_key:
|
779
|
-
specification_version:
|
930
|
+
specification_version: 3
|
780
931
|
summary: A no-fluff content management system designed for small teams.
|
781
932
|
test_files: []
|