atrium 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +9 -1
- data/.rspec +2 -0
- data/.rvmrc +1 -1
- data/CONTRIBUTING.md +73 -0
- data/Gemfile +27 -2
- data/Gemfile.lock +122 -246
- data/Guardfile +40 -10
- data/LICENSE +14 -0
- data/README.mkd +23 -39
- data/ROADMAP.mkd +41 -9
- data/Rakefile +39 -4
- data/app/assets/images/atrium/remove.png +0 -0
- data/app/assets/images/atrium/white-arrow.png +0 -0
- data/app/assets/javascripts/{atrium/atrium.js → atrium.js} +8 -153
- data/app/assets/stylesheets/{atrium/atrium.css → atrium.css} +110 -37
- data/app/assets/stylesheets/atrium/collections.css +4 -0
- data/app/assets/stylesheets/atrium/descriptions.css +4 -0
- data/app/assets/stylesheets/atrium/exhibits.css +4 -0
- data/app/assets/stylesheets/atrium/reset.css +69 -0
- data/app/assets/stylesheets/atrium/showcases.css +4 -0
- data/app/assets/stylesheets/atrium/theme.css +248 -0
- data/app/controllers/atrium/application_controller.rb +12 -0
- data/app/controllers/atrium/browse_levels_controller.rb +22 -0
- data/app/controllers/atrium/collections_controller.rb +42 -138
- data/app/controllers/atrium/descriptions_controller.rb +27 -146
- data/app/controllers/atrium/exhibits_controller.rb +51 -77
- data/app/controllers/atrium/order_controller.rb +74 -0
- data/app/controllers/atrium/showcases_controller.rb +96 -117
- data/app/helpers/atrium/application_helper.rb +8 -0
- data/app/helpers/atrium/collections_helper.rb +44 -0
- data/app/helpers/atrium/descriptions_helper.rb +4 -0
- data/app/helpers/atrium/exhibits_helper.rb +4 -0
- data/app/helpers/atrium/showcases_helper.rb +34 -0
- data/app/models/atrium/browse_level.rb +21 -11
- data/app/models/atrium/collection.rb +70 -36
- data/app/models/atrium/configuration.rb +66 -0
- data/app/models/atrium/description.rb +39 -88
- data/app/models/atrium/essay.rb +4 -5
- data/app/models/atrium/exhibit.rb +28 -19
- data/app/models/atrium/is_showcased_mixin.rb +34 -0
- data/app/models/atrium/query_param_mixin.rb +105 -0
- data/app/models/atrium/search/facet.rb +14 -25
- data/app/models/atrium/search/facet_selection.rb +10 -12
- data/app/models/atrium/showcase.rb +105 -95
- data/app/models/atrium/showcase/facet_selection.rb +18 -18
- data/app/models/atrium/showcase/featured_selection.rb +15 -0
- data/app/services/browse_level_evaluation_service.rb +131 -0
- data/app/services/current_filter_query_params_extraction_service.rb +91 -0
- data/app/services/navigation_tree.rb +13 -0
- data/app/services/params_adaptor_for_filter.rb +18 -0
- data/app/views/atrium/collections/_form.html.erb +149 -72
- data/app/views/atrium/collections/_head.html.erb +3 -0
- data/app/views/atrium/collections/edit.html.erb +1 -4
- data/app/views/atrium/collections/index.html.erb +14 -0
- data/app/views/atrium/collections/new.html.erb +2 -5
- data/app/views/atrium/collections/show.html.erb +11 -29
- data/app/views/atrium/descriptions/_form.html.erb +47 -49
- data/app/views/atrium/descriptions/edit.html.erb +1 -2
- data/app/views/atrium/descriptions/index.html.erb +2 -8
- data/app/views/atrium/descriptions/new.html.erb +2 -1
- data/app/views/atrium/descriptions/show.html.erb +2 -20
- data/app/views/atrium/exhibits/_exhibit.html.erb +1 -0
- data/app/views/atrium/exhibits/_form.html.erb +143 -96
- data/app/views/atrium/exhibits/edit.html.erb +1 -8
- data/app/views/atrium/exhibits/index.html.erb +2 -0
- data/app/views/atrium/exhibits/new.html.erb +0 -5
- data/app/views/atrium/exhibits/show.html.erb +2 -34
- data/app/views/atrium/showcases/_configure_menu.html.erb +55 -0
- data/app/views/atrium/showcases/_form.html.erb +40 -0
- data/app/views/atrium/showcases/edit.html.erb +3 -0
- data/app/views/atrium/showcases/index.html.erb +32 -0
- data/app/views/atrium/showcases/new.html.erb +3 -0
- data/app/views/atrium/showcases/show.html.erb +2 -1
- data/app/views/layouts/atrium.html.erb +16 -24
- data/app/views/layouts/atrium/application.html.erb +49 -0
- data/app/views/layouts/atrium/themes/default.html.erb +15 -0
- data/app/views/shared/_list_searchs.html.erb +4 -0
- data/app/views/shared/_navigation.html.erb +19 -0
- data/atrium.gemspec +31 -64
- data/config/routes.rb +40 -10
- data/{lib/generators/atrium/templates/migrations/create_atrium_collections.rb → db/migrate/20120730170406_create_atrium_collections.rb} +2 -1
- data/{lib/generators/atrium/templates/migrations/create_atrium_showcases.rb → db/migrate/20120731134846_create_atrium_showcases.rb} +3 -4
- data/{lib/generators/atrium/templates/migrations/create_atrium_exhibits.rb → db/migrate/20120731134856_create_atrium_exhibits.rb} +2 -1
- data/{lib/generators/atrium/templates/migrations/create_atrium_descriptions.rb → db/migrate/20120731134904_create_atrium_descriptions.rb} +2 -1
- data/{lib/generators/atrium/templates/migrations/create_atrium_essays.rb → db/migrate/20120731135534_create_atrium_essays.rb} +3 -2
- data/{lib/generators/atrium/templates/migrations/create_atrium_search_facets.rb → db/migrate/20120731135721_create_atrium_search_facets.rb} +1 -1
- data/{lib/generators/atrium/templates/migrations/create_atrium_showcase_facet_selections.rb → db/migrate/20120731140621_create_atrium_showcase_facet_selections.rb} +6 -2
- data/{lib/generators/atrium/templates/migrations/create_atrium_browse_levels.rb → db/migrate/20120801145241_create_atrium_browse_levels.rb} +1 -1
- data/db/migrate/20120820183808_create_selected_items.rb +16 -0
- data/db/migrate/20120823135716_update_atrium_collection_indices.rb +13 -0
- data/db/migrate/20120823143315_add_lookup_indices_as_required.rb +11 -0
- data/lib/atrium.rb +40 -36
- data/lib/atrium/engine.rb +4 -8
- data/lib/atrium/exceptions.rb +10 -0
- data/lib/atrium/version.rb +2 -2
- data/lib/generators/atrium/install/USAGE +8 -0
- data/lib/generators/atrium/install/install_generator.rb +86 -0
- data/lib/generators/atrium/install/templates/atrium_initializer.rb +21 -0
- data/lib/generators/atrium/install/templates/controllers/atrium_base_controller.rb +18 -0
- data/lib/generators/atrium/install/templates/controllers/collections_controller.rb +40 -0
- data/lib/generators/atrium/install/templates/controllers/descriptions_controller.rb +36 -0
- data/lib/generators/atrium/install/templates/controllers/exhibits_controller.rb +47 -0
- data/lib/generators/atrium/install/templates/controllers/selected_items_controller.rb +26 -0
- data/lib/generators/atrium/install/templates/helpers/application_helper.rb +42 -0
- data/lib/generators/atrium/install/templates/helpers/collections_helper.rb +15 -0
- data/lib/generators/atrium/install/templates/helpers/navigation_helper.rb +62 -0
- data/lib/generators/atrium/install/templates/helpers/solr_helper.rb +138 -0
- data/lib/generators/atrium/install/templates/models/selected_item.rb +7 -0
- data/lib/generators/atrium/install/templates/views/collections/_document.html.erb +19 -0
- data/lib/generators/atrium/install/templates/views/collections/_exhibits.html.erb +3 -0
- data/lib/generators/atrium/install/templates/views/collections/_pagination.html.erb +6 -0
- data/lib/generators/atrium/install/templates/views/collections/browse.html.erb +16 -0
- data/lib/generators/atrium/install/templates/views/collections/show.html.erb +19 -0
- data/lib/generators/atrium/install/templates/views/descriptions/show.html.erb +8 -0
- data/lib/generators/atrium/install/templates/views/exhibits/_document.html.erb +19 -0
- data/lib/generators/atrium/install/templates/views/exhibits/_pagination.html.erb +6 -0
- data/lib/generators/atrium/install/templates/views/exhibits/show.html.erb +28 -0
- data/lib/generators/atrium/install/templates/views/folder/_selected_items_form.html.erb +8 -0
- data/lib/generators/atrium/install/templates/views/folder/index.html.erb +45 -0
- data/lib/generators/atrium/install/templates/views/shared/_document_list.html.erb +14 -0
- data/lib/generators/atrium/install/templates/views/shared/_featured_sources.html.erb +19 -0
- data/lib/generators/atrium/install/templates/views/shared/_list_descriptions.html.erb +25 -0
- data/lib/generators/atrium/install/templates/views/shared/_masthead.html.erb +19 -0
- data/lib/generators/atrium/install/templates/views/shared/_navigation_browse_level.html.erb +34 -0
- data/lib/generators/atrium/install/templates/views/shared/_showcases.html.erb +12 -0
- data/lib/generators/atrium/install/templates/views/shared/_side_bar_navigation.html.erb +20 -0
- data/lib/generators/atrium/service/USAGE +9 -0
- data/lib/generators/atrium/service/service_generator.rb +16 -0
- data/lib/generators/atrium/service/templates/service.rb.erb +2 -0
- data/lib/generators/atrium/service/templates/service_spec.rb.erb +4 -0
- data/lib/generators/atrium/theme/USAGE +8 -0
- data/lib/generators/atrium/theme/templates/theme.html.erb +14 -0
- data/lib/generators/atrium/theme/theme_generator.rb +11 -0
- data/lib/tasks/atrium_tasks.rake +4 -0
- data/script/rails +10 -0
- data/spec/atrium_spec.rb +10 -0
- data/spec/controllers/atrium/application_controller_spec.rb +7 -0
- data/spec/controllers/atrium/collections_controller_spec.rb +125 -0
- data/spec/controllers/atrium/descriptions_controller_spec.rb +142 -0
- data/spec/controllers/atrium/exhibits_controller_spec.rb +102 -0
- data/spec/controllers/atrium/order_controller_spec.rb +100 -0
- data/spec/controllers/atrium/showcases_controller_spec.rb +217 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/collection.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/db/schema.rb +124 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/test/fixtures/collections.yml +11 -0
- data/spec/dummy/test/unit/collection_test.rb +7 -0
- data/spec/factories/atrium_collections.rb +8 -0
- data/spec/factories/atrium_exhibits.rb +9 -0
- data/spec/factories/atrium_search_facets.rb +8 -0
- data/spec/factories/atrium_showcases.rb +25 -0
- data/spec/helpers/atrium/collections_helper_spec.rb +57 -0
- data/spec/helpers/atrium/showcases_helper_spec.rb +56 -0
- data/spec/models/atrium/browse_level_spec.rb +56 -0
- data/spec/models/atrium/collection_spec.rb +76 -0
- data/spec/models/atrium/configuration_spec.rb +114 -0
- data/spec/models/atrium/description_spec.rb +56 -0
- data/spec/models/atrium/essay_spec.rb +16 -0
- data/spec/models/atrium/exhibit_spec.rb +90 -0
- data/spec/models/atrium/search/facet_selection_spec.rb +23 -0
- data/{test_support/spec → spec}/models/atrium/search/facet_spec.rb +2 -4
- data/{test_support/spec → spec}/models/atrium/showcase/facet_selection_spec.rb +5 -5
- data/spec/models/atrium/showcase/featured_selection_spec.rb +18 -0
- data/spec/models/atrium/showcase_spec.rb +97 -0
- data/spec/services/browse_level_evaluation_service_spec.rb +33 -0
- data/spec/services/current_filter_query_params_extraction_service_spec.rb +34 -0
- data/spec/services/navigation_tree_spec.rb +18 -0
- data/spec/services/params_adaptor_for_filter_spec.rb +8 -0
- data/spec/spec_helper.rb +39 -0
- data/spec/support/accept_nested_attributes_for.rb +39 -0
- data/{test_support/spec → spec}/support/be_accessible_matcher.rb +0 -0
- data/{test_support/spec → spec}/support/be_routed_mixin.rb +0 -0
- data/spec/support/controller_hacks.rb +35 -0
- data/spec/support/routes.rb +5 -0
- data/spec/support/shared_examples/is_showcased_mixin.rb +20 -0
- data/spec/support/shared_examples/query_param_mixin.rb +179 -0
- data/{app/assets/stylesheets/atrium → vendor/assets/images}/chosen-sprite.png +0 -0
- data/{app → vendor}/assets/javascripts/chosen.jquery.js +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor.warning.js +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/config.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/jquery.generateId.js +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/jquery.jeditable.ckeditor.js +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/application_link.png +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/dialogs/linkItem.js +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/ui_toolbar_pencil.png +0 -0
- data/vendor/assets/javascripts/jquery-ui-1.8.23.custom.min.js +41 -0
- data/vendor/assets/javascripts/jquery-ui-build.txt +8 -0
- data/{app → vendor}/assets/javascripts/jquery.jeditable.js +0 -0
- data/{app/assets/stylesheets/atrium → vendor/assets/stylesheets}/chosen.css +4 -4
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/stylesheets/ui-lightness/jquery-ui-1.8.23.custom.css +334 -0
- metadata +431 -949
- data/GETTING_STARTED.textile +0 -102
- data/app/assets/images/atrium/ajax-loader.gif +0 -0
- data/app/assets/images/atrium/lightbox-ico-loading.gif +0 -0
- data/app/assets/images/atrium/logo.png +0 -0
- data/app/assets/javascripts/jquery.colorbox.js +0 -864
- data/app/assets/stylesheets/colorbox.css +0 -42
- data/app/assets/stylesheets/controls.png +0 -0
- data/app/assets/stylesheets/loading.gif +0 -0
- data/app/controllers/atrium/base_controller.rb +0 -25
- data/app/controllers/atrium/collection_exhibit_order_controller.rb +0 -21
- data/app/controllers/atrium/customization_controller.rb +0 -41
- data/app/controllers/atrium/exhibit_facet_order_controller.rb +0 -19
- data/app/helpers/atrium/base_helper.rb +0 -6
- data/app/models/ability.rb +0 -14
- data/app/models/atrium/showcase/item.rb +0 -19
- data/app/models/role_mapper.rb +0 -23
- data/app/views/_user_util_links.html.erb +0 -25
- data/app/views/atrium/collections/_bookmark_control.html.erb +0 -25
- data/app/views/atrium/collections/_browse_index.html.erb +0 -20
- data/app/views/atrium/collections/_collection_items_index.html.erb +0 -10
- data/app/views/atrium/collections/_document.html.erb +0 -24
- data/app/views/atrium/collections/_document_list.html.erb +0 -6
- data/app/views/atrium/collections/_edit_navigation.html.erb +0 -20
- data/app/views/atrium/collections/_folder_control.html.erb +0 -12
- data/app/views/atrium/collections/_listing.html.erb +0 -18
- data/app/views/atrium/collections/_navigation.html.erb +0 -50
- data/app/views/atrium/collections/_results_pagination.html.erb +0 -9
- data/app/views/atrium/collections/_sort_and_per_page.html.erb +0 -23
- data/app/views/atrium/exhibits/_bookmark_control.html.erb +0 -25
- data/app/views/atrium/exhibits/_folder_control.html.erb +0 -12
- data/app/views/atrium/exhibits/_navigation.html.erb +0 -30
- data/app/views/atrium/showcases/_showcase_navigation.html.erb +0 -23
- data/app/views/catalog/_collection_home_text.html.erb +0 -6
- data/app/views/catalog/_constraints.html.erb +0 -9
- data/app/views/catalog/_default_collection_text.html.erb +0 -18
- data/app/views/catalog/_default_home_text.html.erb +0 -6
- data/app/views/catalog/_home_text.html.erb +0 -6
- data/app/views/catalog/_index_partials/_description.html.erb +0 -8
- data/app/views/catalog/_search_form.html.erb +0 -66
- data/app/views/catalog/_show_partials/_description.html.erb +0 -15
- data/app/views/catalog/browse_show.html.erb +0 -18
- data/app/views/catalog/index.html.erb +0 -41
- data/app/views/catalog/list_description.html.erb +0 -24
- data/app/views/catalog/list_item.html.erb +0 -3
- data/app/views/layouts/atrium_themes/default.html.erb +0 -4
- data/app/views/layouts/item_listing.html.erb +0 -36
- data/app/views/listing/_document.html.erb +0 -27
- data/app/views/listing/_document_list.html.erb +0 -3
- data/app/views/listing/_item_search.html.erb +0 -27
- data/app/views/shared/_banner.html.erb +0 -5
- data/app/views/shared/_collection_complete_list.html.erb +0 -33
- data/app/views/shared/_collection_search_form.html.erb +0 -12
- data/app/views/shared/_collection_title_header.html.erb +0 -3
- data/app/views/shared/_featured_sources.html.erb +0 -23
- data/app/views/shared/_list_descriptions.html.erb +0 -39
- data/app/views/shared/_navigation_browse_levels.html.erb +0 -34
- data/app/views/shared/_showcase_configure_menu.html.erb +0 -22
- data/app/views/shared/_top_navigation.html.erb +0 -9
- data/init.rb +0 -3
- data/lib/application_controller.rb +0 -24
- data/lib/atrium/application_helper.rb +0 -24
- data/lib/atrium/atrium_helper_behavior.rb +0 -159
- data/lib/atrium/catalog.rb +0 -203
- data/lib/atrium/collections_helper.rb +0 -172
- data/lib/atrium/controller.rb +0 -10
- data/lib/atrium/descriptions_helper.rb +0 -27
- data/lib/atrium/layout_helper.rb +0 -13
- data/lib/atrium/routes.rb +0 -100
- data/lib/atrium/solr_helper.rb +0 -440
- data/lib/generators/atrium/assets_generator.rb +0 -44
- data/lib/generators/atrium/atrium_generator.rb +0 -149
- data/lib/generators/atrium/cucumber_support_generator.rb +0 -29
- data/lib/generators/atrium/templates/config/role_map_cucumber.yml +0 -2
- data/lib/generators/atrium/templates/config/role_map_development.yml +0 -2
- data/lib/generators/atrium/templates/config/role_map_production.yml +0 -2
- data/lib/generators/atrium/templates/config/role_map_test.yml +0 -2
- data/lib/generators/atrium/templates/config/solr.yml +0 -10
- data/lib/generators/atrium/templates/db/seeds.rb +0 -87
- data/lib/generators/atrium/templates/migrations/create_atrium_showcase_items.rb +0 -17
- data/lib/generators/atrium/templates/themes/example.html.erb +0 -21
- data/lib/railties/all_tests.rake +0 -23
- data/lib/railties/atrium_cucumber.rake +0 -121
- data/lib/railties/index.rake +0 -37
- data/tasks/atrium.rake +0 -268
- data/tasks/atrium_rspec.rake +0 -91
- data/test_support/etc/Gemfile +0 -33
- data/test_support/etc/bundle_config +0 -3
- data/test_support/etc/rvmrc +0 -32
- data/test_support/features/atrium_collections.feature +0 -162
- data/test_support/features/atrium_exhibits.feature +0 -164
- data/test_support/features/step_definitions/atrium_collection_steps.rb +0 -102
- data/test_support/features/step_definitions/atrium_exhibit_steps.rb +0 -53
- data/test_support/features/step_definitions/bookmarks_steps.rb +0 -6
- data/test_support/features/step_definitions/error_steps.rb +0 -5
- data/test_support/features/step_definitions/folder_steps.rb +0 -27
- data/test_support/features/step_definitions/general_steps.rb +0 -50
- data/test_support/features/step_definitions/record_view_steps.rb +0 -12
- data/test_support/features/step_definitions/saved_searches_steps.rb +0 -22
- data/test_support/features/step_definitions/search_facets_steps.rb +0 -29
- data/test_support/features/step_definitions/search_history_steps.rb +0 -9
- data/test_support/features/step_definitions/search_result_steps.rb +0 -114
- data/test_support/features/step_definitions/search_steps.rb +0 -103
- data/test_support/features/step_definitions/user_steps.rb +0 -5
- data/test_support/features/step_definitions/web_steps.rb +0 -213
- data/test_support/features/support/env.rb +0 -67
- data/test_support/features/support/paths.rb +0 -76
- data/test_support/features/support/selectors.rb +0 -40
- data/test_support/fixtures/atrium_exhibits.yml +0 -3
- data/test_support/spec/controllers/atrium/base_controller_spec.rb +0 -13
- data/test_support/spec/controllers/atrium/collection_exhibit_order_controller_spec.rb +0 -29
- data/test_support/spec/controllers/atrium/collections_controller_spec.rb +0 -185
- data/test_support/spec/controllers/atrium/customization_controller_spec.rb +0 -38
- data/test_support/spec/controllers/atrium/descriptions_controller_spec.rb +0 -150
- data/test_support/spec/controllers/atrium/exhibit_facet_order_controller_spec.rb +0 -36
- data/test_support/spec/controllers/atrium/exhibits_controller_spec.rb +0 -192
- data/test_support/spec/controllers/atrium/showcases_controller_spec.rb +0 -219
- data/test_support/spec/helpers/atrium_collections_helper_spec.rb +0 -147
- data/test_support/spec/helpers/atrium_description_helper_spec.rb +0 -47
- data/test_support/spec/helpers/atrium_solr_helper_spec.rb +0 -522
- data/test_support/spec/models/atrium/browse_level_spec.rb +0 -31
- data/test_support/spec/models/atrium/collection_spec.rb +0 -30
- data/test_support/spec/models/atrium/description_spec.rb +0 -67
- data/test_support/spec/models/atrium/essay_spec.rb +0 -12
- data/test_support/spec/models/atrium/exhibit_spec.rb +0 -76
- data/test_support/spec/models/atrium/search/facet_selection_spec.rb +0 -24
- data/test_support/spec/models/atrium/search_facet_spec.rb +0 -54
- data/test_support/spec/models/atrium/showcase/item_spec.rb +0 -12
- data/test_support/spec/models/atrium/showcase_facet_selection_spec.rb +0 -65
- data/test_support/spec/models/atrium/showcase_spec.rb +0 -134
- data/test_support/spec/rcov.opts +0 -3
- data/test_support/spec/routing/atrium/collections_routing_spec.rb +0 -33
- data/test_support/spec/spec.opts +0 -4
- data/test_support/spec/spec_helper.rb +0 -47
- data/test_support/tmp/step_definitions/catalog_index_steps.rb +0 -14
- data/test_support/tmp/step_definitions/edit_document_steps.rb +0 -67
- data/test_support/tmp/step_definitions/hydra_metadata_steps.rb +0 -3
- data/test_support/tmp/step_definitions/hydra_steps.rb +0 -8
- data/test_support/tmp/step_definitions/search_steps.rb +0 -86
- data/test_support/tmp/step_definitions/searching_steps.rb +0 -22
- data/test_support/tmp/step_definitions/select_steps.rb +0 -8
- data/test_support/tmp/step_definitions/show_document_steps.rb +0 -73
- data/test_support/tmp/step_definitions/user_steps.rb +0 -15
- data/test_support/tmp/step_definitions/web_steps.rb +0 -273
- data/test_support/tmp/support/env.rb +0 -54
- data/test_support/tmp/support/paths.rb +0 -57
@@ -1,9 +1,2 @@
|
|
1
|
-
<h1>
|
2
|
-
|
1
|
+
<h1>Editing Exhibit</h1>
|
3
2
|
<%= render :partial => "form" %>
|
4
|
-
|
5
|
-
<% if @exhibit %>
|
6
|
-
<p class="exhibit-destroy-controls">
|
7
|
-
<%= button_to "Delete this Exhibit", atrium_exhibit_path(@exhibit[:id]), :method=>:delete, :class=>:destroy, :confirm=>"Are you really want to delete this exhibit?", :class => 'button' %>
|
8
|
-
</p>
|
9
|
-
<% end %>
|
@@ -1,34 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<%= render :partial => 'atrium/showcases/showcase_navigation' %>
|
4
|
-
<% else %>
|
5
|
-
<%= render :partial => 'shared/collection_search_form' %>
|
6
|
-
<%= render :partial => 'navigation' %>
|
7
|
-
<% end %>
|
8
|
-
<% end %>
|
9
|
-
<h2>
|
10
|
-
<div class="<%= params[:edit_showcase] && (can? :create, Atrium::Exhibit) ? "edit-text": "no-edit"%>" id="div_1" data-column-name="atrium_exhibit[label]" data-update-uri=<%=atrium_exhibit_path(@exhibit)%>>
|
11
|
-
<%= @exhibit.pretty_title %>
|
12
|
-
</div>
|
13
|
-
</h2>
|
14
|
-
|
15
|
-
<div id="show-description">
|
16
|
-
<%- if @atrium_showcase && @atrium_showcase.descriptions-%>
|
17
|
-
<%= render :partial=>'shared/list_descriptions', :locals=>{:descriptions=>@atrium_showcase.descriptions} %>
|
18
|
-
<%- end -%>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div id="show-selected">
|
22
|
-
<%- if !@featured_documents.blank? && @featured_documents.any? -%>
|
23
|
-
<%= render :partial=>'shared/featured_sources', :locals=>{:showcase_id=>@atrium_showcase.id}%>
|
24
|
-
<%- end -%>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<h3 class="list-heading">Complete Sources</h3>
|
28
|
-
<div id="complete-sources">
|
29
|
-
<%- if !@collection_items_documents.blank? -%>
|
30
|
-
<%= render :partial=>'atrium/collections/collection_items_index' %>
|
31
|
-
<%- else -%>
|
32
|
-
<%= render :partial=>'atrium/collections/browse_index'%>
|
33
|
-
<%- end -%>
|
34
|
-
</div>
|
1
|
+
<h1>Exhibits#show</h1>
|
2
|
+
<p>Find me in app/views/atrium/exhibits/show.html.erb</p>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<% unless @showcase.new_record? %>
|
2
|
+
<hr />
|
3
|
+
<h3>Featured Items</h3>
|
4
|
+
<%= form_for([@parent, @showcase], :html => {:class => "atrium"}) do |f| %>
|
5
|
+
<fieldset>
|
6
|
+
<legend>Manage Featured Items</legend>
|
7
|
+
<ol>
|
8
|
+
<li>
|
9
|
+
<%= f.label :showcase_items, 'Featured Items:' %>
|
10
|
+
<%= f.collection_select(
|
11
|
+
:showcase_items,
|
12
|
+
get_saved_items.map{|item| Atrium::Showcase::FeaturedSelection.new(item)},
|
13
|
+
:solr_id,
|
14
|
+
:title,
|
15
|
+
{},
|
16
|
+
:multiple => true,
|
17
|
+
:class => 'chosen',
|
18
|
+
:'data-placeholder' => 'Select desired items from the list'
|
19
|
+
)%>
|
20
|
+
<small>Choose from your bookmarked items.</small>
|
21
|
+
</li>
|
22
|
+
</ol>
|
23
|
+
</fieldset>
|
24
|
+
<p><%= f.submit 'Update Featured Items List', :class => 'button' %></p>
|
25
|
+
<% end %>
|
26
|
+
|
27
|
+
<hr />
|
28
|
+
<h3>Descriptions</h3>
|
29
|
+
<% if @showcase.descriptions.any? %>
|
30
|
+
<ol data-resource="<%# update_atrium_collection_exhibit_order_path %>" class="exhibit-listing sortable">
|
31
|
+
<% @showcase.descriptions.each do |desc| %>
|
32
|
+
<li data-id="<%= desc.id %>" data-order="<%#sequence %>" class="ui-state-default">
|
33
|
+
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
|
34
|
+
<%= desc.pretty_title %>
|
35
|
+
<span class="controls">
|
36
|
+
<%= link_to(
|
37
|
+
'Configure',
|
38
|
+
edit_showcase_description_path(@showcase, desc)
|
39
|
+
)%>
|
40
|
+
<%= link_to(
|
41
|
+
'Delete',
|
42
|
+
showcase_description_path(@showcase, desc),
|
43
|
+
:method => :delete,
|
44
|
+
:class => :destroy,
|
45
|
+
:confirm=>"Are you really want to delete this description?"
|
46
|
+
)%>
|
47
|
+
</span>
|
48
|
+
</li>
|
49
|
+
<% end %>
|
50
|
+
</ol>
|
51
|
+
<% else %>
|
52
|
+
<p><em>There are no descriptions in this showcase.</em></p>
|
53
|
+
<% end %>
|
54
|
+
<%= link_to 'Add New Description', new_showcase_description_path(@showcase), :class => 'button' %>
|
55
|
+
<% end %>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<% if @showcase %>
|
2
|
+
<%= form_for([@parent, @showcase], :html => {:class => 'atrium'}) do |f| %>
|
3
|
+
<% if @showcase.errors.any? %>
|
4
|
+
<ul class="errors">
|
5
|
+
<% @showcase.errors.full_messages.each do |msg| %>
|
6
|
+
<li><%= msg %></li>
|
7
|
+
<% end %>
|
8
|
+
</ul>
|
9
|
+
<% end %>
|
10
|
+
<fieldset>
|
11
|
+
<legend>Rendering Options</legend>
|
12
|
+
<ol>
|
13
|
+
<li>
|
14
|
+
<%= f.label :label, 'Tag:' %>
|
15
|
+
<%= f.text_field :tag %>
|
16
|
+
</li>
|
17
|
+
<li>
|
18
|
+
<%= f.label :sequence, 'Sequence:' %>
|
19
|
+
<%= f.text_field :sequence %>
|
20
|
+
</li>
|
21
|
+
</ol>
|
22
|
+
</fieldset>
|
23
|
+
<p class="showcase-controls">
|
24
|
+
<% if @showcase.new_record? %>
|
25
|
+
<%= f.submit 'Create Showcase', :class => 'button' %>
|
26
|
+
<% else %>
|
27
|
+
<%= f.submit 'Update Showcase', :class => 'button' %>
|
28
|
+
<% end %>
|
29
|
+
</p>
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
32
|
+
|
33
|
+
<%= render 'configure_menu' %>
|
34
|
+
|
35
|
+
<% content_for :atrium_side_bar do %>
|
36
|
+
<%= render :partial => 'shared/navigation' %>
|
37
|
+
<%= link_to "Delete this showcase", showcase_path(@showcase), :method=>:delete, :class=>:destroy, :confirm=>"Are you really want to delete this showcase?" unless @showcase.new_record?%>
|
38
|
+
<hr>
|
39
|
+
<%= link_to "View this showcase within #{@showcase.parent_title}", get_parent_path(@showcase) %>
|
40
|
+
<% end %>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<h1>Showcases for <%= @parent.pretty_title%></h1>
|
2
|
+
|
3
|
+
<% if @showcases.any? %>
|
4
|
+
<table>
|
5
|
+
<thead>
|
6
|
+
<tr>
|
7
|
+
<th> </th>
|
8
|
+
<th> </th>
|
9
|
+
<th>Tag</th>
|
10
|
+
<th>Belongs To</th>
|
11
|
+
<th> </th>
|
12
|
+
<th> </th>
|
13
|
+
</tr>
|
14
|
+
</thead>
|
15
|
+
<tbody data-resource="<%# update_atrium_exhibit_facet_order_path %>" data-primary-label="Group By:" data-secondary-label="Then By:" class="sortable">
|
16
|
+
<% @showcases.each_with_index do |showcase,index| %>
|
17
|
+
<tr data-id="<%= showcase[:id] %>" data-order="<%= showcase.sequence %>" class="ui-state-default">
|
18
|
+
<td><span class="ui-icon ui-icon-arrowthick-2-n-s"></span></td>
|
19
|
+
<td class="label"><%= showcase.pretty_title %></td>
|
20
|
+
<td> <%= showcase.tag %></td>
|
21
|
+
<td><div> <%=render_showcase_facet_selection(showcase) %> </div></td>
|
22
|
+
<td> <%= link_to 'Configure', get_showcase_parent_edit_path(showcase) %> </td>
|
23
|
+
<td><%= link_to "Delete", get_showcase_parent_show_path(showcase), :method=>:delete, :class=>:destroy, :confirm=>"Do you really want to delete this showcase?"%></td>
|
24
|
+
</tr>
|
25
|
+
<% end %>
|
26
|
+
</tbody>
|
27
|
+
</table>
|
28
|
+
<% end %>
|
29
|
+
|
30
|
+
<% content_for :atrium_side_bar do %>
|
31
|
+
<%= render :partial => 'shared/navigation' %>
|
32
|
+
<% end %>
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
<h1>Showcases#show</h1>
|
2
|
+
<p>Find me in app/views/atrium/showcases/show.html.erb</p>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
3
|
<head>
|
4
|
+
<!-- TODO: Review how this relates to the latest blacklight view -->
|
4
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
6
|
<title><%= h(@page_title || application_name) %></title>
|
6
7
|
<link href="<%= opensearch_catalog_path(:format => 'xml', :only_path => false) %>" title="<%= application_name%>" type="application/opensearchdescription+xml" rel="search"/>
|
@@ -8,55 +9,46 @@
|
|
8
9
|
<%= stylesheet_link_tag "application" %>
|
9
10
|
<%= javascript_include_tag "application" %>
|
10
11
|
<%= csrf_meta_tags %>
|
11
|
-
<%= raw(render_head_content) %>
|
12
12
|
<%= yield :theme_styles %>
|
13
13
|
</head>
|
14
|
-
<% if params[:q].to_s.empty? and params[:f].to_s.empty? and params[:id].nil? %>
|
15
|
-
<body onload="$('input#q').focus();" class="<%= render_body_class.html_safe %>">
|
16
|
-
<% else %>
|
17
14
|
<body class="<%= render_body_class.html_safe %>">
|
18
|
-
<% end %>
|
19
|
-
<%= render :partial => 'shared/banner' %>
|
20
15
|
<div id="page">
|
21
16
|
<div id="hd">
|
22
17
|
<div id="logo">
|
23
18
|
<% if content_for? :main_header %>
|
24
19
|
<%= yield :main_header %>
|
25
20
|
<% else %>
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
<% else %>
|
30
|
-
<h1 class="site_title">
|
31
|
-
<%= link_to application_name, "/" %>
|
32
|
-
</h1>
|
33
|
-
<% end %>
|
21
|
+
<h1 class="site_title">
|
22
|
+
<%= link_to application_name, "/" %>
|
23
|
+
</h1>
|
34
24
|
<% end %>
|
35
25
|
</div>
|
36
|
-
<div id="user_util_links">
|
37
|
-
|
26
|
+
<div id="user_util_links" class="collapsed">
|
27
|
+
<% if content_for? :user_util_links %>
|
28
|
+
<%= yield :user_util_links %>
|
29
|
+
<% else %>
|
30
|
+
<%= render :partial=>'/user_util_links' %>
|
31
|
+
<%- end -%>
|
38
32
|
</div>
|
39
33
|
</div>
|
40
34
|
<div id="bd">
|
41
35
|
<div id="main">
|
42
36
|
<div id="main_container">
|
43
|
-
|
37
|
+
<% if content_for? :flash_msg %>
|
38
|
+
<%= yield :flash_msg %>
|
39
|
+
<% else %>
|
40
|
+
<%= render :partial=>'/flash_msg' %>
|
41
|
+
<% end %>
|
44
42
|
<%= yield %>
|
45
43
|
</div>
|
46
44
|
</div>
|
47
45
|
<div id="sidebar">
|
48
|
-
|
49
|
-
<%= yield :atrium_side_bar %>
|
50
|
-
<% end %>
|
51
|
-
<%= sidebar_items.join('').html_safe %>
|
46
|
+
<%= yield :atrium_side_bar %>
|
52
47
|
</div>
|
53
|
-
<%= emission_items.join('').html_safe %>
|
54
48
|
</div>
|
55
49
|
<div id="ft">
|
56
50
|
<%= yield :footer %>
|
57
|
-
<%= raw(@footer) %>
|
58
51
|
</div>
|
59
52
|
</div>
|
60
|
-
|
61
53
|
</body>
|
62
54
|
</html>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
+
<title><%= h(@page_title || application_name) %></title>
|
6
|
+
<%# favicon_link_tag asset_path('favicon.ico') %>
|
7
|
+
<%= stylesheet_link_tag 'atrium', :media => 'all' %>
|
8
|
+
<%= javascript_include_tag 'atrium' %>
|
9
|
+
<%= csrf_meta_tags %>
|
10
|
+
<%= yield :theme_styles %>
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<div id="page">
|
14
|
+
<div id="hd">
|
15
|
+
<div id="logo">
|
16
|
+
<% if content_for? :main_header %>
|
17
|
+
<%= yield :main_header %>
|
18
|
+
<% else %>
|
19
|
+
<%# NOTE: There shouldn't be a new collection object hanging around here but one is present in the root catalog page when logged in. %>
|
20
|
+
<% if @atrium_collection && !@atrium_collection.new_record? %>
|
21
|
+
<h3><%= link_to @atrium_collection.title, atrium_collection_home_path(@atrium_collection) %></h3>
|
22
|
+
<% else %>
|
23
|
+
<h1 class="site_title">
|
24
|
+
<%= link_to application_name, "/" %>
|
25
|
+
</h1>
|
26
|
+
<% end %>
|
27
|
+
<% end %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div id="bd">
|
31
|
+
<div id="main">
|
32
|
+
<div id="main_container">
|
33
|
+
<%# render :partial=>'/flash_msg' %>
|
34
|
+
<%= yield %>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
<div id="sidebar">
|
38
|
+
<% if content_for? :atrium_side_bar %>
|
39
|
+
<%= yield :atrium_side_bar %>
|
40
|
+
<% end %>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
<div id="ft">
|
44
|
+
<%= yield :footer %>
|
45
|
+
<%= raw(@footer) %>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</body>
|
49
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<%# Blank default theme %>
|
2
|
+
<%#
|
3
|
+
Themes in Atrium are based on nested layouts:
|
4
|
+
http://guides.rubyonrails.org/layouts_and_rendering.html#using-nested-layouts
|
5
|
+
Possible content blocks in the default atrium layout:
|
6
|
+
:theme_styles
|
7
|
+
:main_header
|
8
|
+
:user_util_links
|
9
|
+
:flash_msg
|
10
|
+
:atrium_side_bar
|
11
|
+
:footer
|
12
|
+
Render whatever you would like within these blocks using content_for:
|
13
|
+
http://guides.rubyonrails.org/layouts_and_rendering.html#using-the-content_for-method
|
14
|
+
%>
|
15
|
+
<%= render :template => 'layouts/atrium' %>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<%= debug search.inspect %>
|
2
|
+
|
3
|
+
<%= link_to 'Set select search as include filter', exhibit_browse_level_include_filter_path(:id=>browse_level_id, :exhibit_id=>exhibit_id), :class => 'button' %>
|
4
|
+
<%= link_to 'Set select search as exclude filter', exhibit_browse_level_exclude_filter_path(:id=>browse_level_id, :exhibit_id=>exhibit_id), :class => 'button' %>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<div class="facet-list">
|
2
|
+
<h2 class="collection-title"><%= @collection.pretty_title %></h2>
|
3
|
+
<ul class="collection-controls">
|
4
|
+
<li><%= link_to 'View Collection', main_app.collection_path(@collection) %></li>
|
5
|
+
<li><%= link_to 'Configure Collection', edit_collection_path(@collection) %></li>
|
6
|
+
</ul>
|
7
|
+
<%@collection.exhibits.each do |exhibit|%>
|
8
|
+
<% unless exhibit.new_record? %>
|
9
|
+
<h3 class="exhibit-title"><%= exhibit.pretty_title%></h3>
|
10
|
+
<ul class="exhibit-controls">
|
11
|
+
<li><%= link_to 'View Exhibit', main_app.exhibit_path(exhibit) %></li>
|
12
|
+
<li><%= link_to 'Configure Exhibit', edit_collection_exhibit_path(@collection, exhibit) %></li>
|
13
|
+
</ul>
|
14
|
+
<%end%>
|
15
|
+
<%end%>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<hr />
|
19
|
+
|
data/atrium.gemspec
CHANGED
@@ -1,74 +1,41 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
1
|
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
3
4
|
require "atrium/version"
|
4
5
|
|
6
|
+
# Describe your gem and declare its dependencies:
|
5
7
|
Gem::Specification.new do |s|
|
6
8
|
s.name = "atrium"
|
7
9
|
s.version = Atrium::VERSION
|
8
|
-
s.
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
s.authors = [
|
11
|
+
"Richard Johnson",
|
12
|
+
"Jeremy Friesen",
|
13
|
+
"Banu Lakshminarayanan",
|
14
|
+
"Dan Brubaker-Horst"
|
15
|
+
]
|
16
|
+
s.email = [
|
17
|
+
"jeremy.n.friesen"
|
18
|
+
]
|
19
|
+
s.homepage = "http://github.com/ndlib/atrium"
|
20
|
+
s.summary = "Atrium extends Blacklight-enabled applications"
|
21
|
+
s.description = %q{
|
22
|
+
Atrium extends Blacklight-enabled applications by providing a means of
|
23
|
+
generating custom presentations of a subset of your Blacklight catalog.
|
24
|
+
}
|
25
|
+
|
26
|
+
s.files = `git ls-files`.split($\)
|
27
|
+
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
28
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
14
29
|
|
15
|
-
s.add_dependency
|
16
|
-
s.add_dependency
|
17
|
-
s.add_dependency
|
18
|
-
s.add_dependency 'cancan'
|
30
|
+
s.add_dependency "rails", "~> 3.2.8"
|
31
|
+
s.add_dependency "jquery-rails"
|
32
|
+
s.add_dependency "friendly_id"
|
19
33
|
s.add_dependency 'ckeditor_rails'
|
20
|
-
s.
|
21
|
-
s.
|
22
|
-
s.
|
23
|
-
s.
|
24
|
-
s.add_dependency 'diff-lcs'
|
25
|
-
s.add_dependency 'facets', '2.8.4'
|
26
|
-
s.add_dependency 'haml'
|
27
|
-
s.add_dependency 'httparty'
|
28
|
-
s.add_dependency 'json_pure', '>1.4.3'
|
29
|
-
s.add_dependency 'launchy'
|
30
|
-
s.add_dependency 'linecache'
|
31
|
-
s.add_dependency 'mediashelf-loggable'
|
32
|
-
s.add_dependency 'mime-types'
|
33
|
-
s.add_dependency 'multipart-post'
|
34
|
-
s.add_dependency 'nokogiri' # Default to using the version required by Blacklight
|
35
|
-
s.add_dependency 'om', '>=1.2.3'
|
36
|
-
s.add_dependency 'rack'
|
37
|
-
s.add_dependency 'rack-test'
|
38
|
-
s.add_dependency 'rake'
|
39
|
-
s.add_dependency 'rcov'
|
40
|
-
s.add_dependency 'RedCloth', '=4.2.3'
|
41
|
-
s.add_dependency 'solr-ruby'
|
42
|
-
s.add_dependency 'solrizer', '>=1.1.0'
|
43
|
-
s.add_dependency 'term-ansicolor'
|
44
|
-
s.add_dependency 'trollop'
|
45
|
-
s.add_dependency 'xml-simple'
|
46
|
-
s.add_dependency 'yard'
|
47
|
-
s.add_dependency 'block_helpers'
|
48
|
-
s.add_dependency 'sanitize'
|
49
|
-
s.add_dependency 'morphine'
|
50
|
-
s.add_development_dependency 'cucumber', '>=0.8.5'
|
51
|
-
s.add_development_dependency 'cucumber-rails', '>=1.0.0'
|
52
|
-
s.add_development_dependency 'devise' # Expected by Blacklight generator in test app
|
53
|
-
s.add_development_dependency 'factory_girl'
|
54
|
-
s.add_development_dependency 'gherkin'
|
55
|
-
s.add_development_dependency 'jettywrapper', '~> 1.1.0'
|
56
|
-
s.add_development_dependency 'jquery-rails'
|
57
|
-
s.add_development_dependency 'mocha'
|
58
|
-
s.add_development_dependency 'rake'
|
59
|
-
s.add_development_dependency 'rspec', '>= 2.0.0'
|
60
|
-
s.add_development_dependency 'rspec-rails', '>= 2.0.0' # rspec-rails 2.0.0 requires Rails 3.
|
61
|
-
s.add_development_dependency 'ruby-debug'
|
62
|
-
s.add_development_dependency 'ruby-debug-base'
|
63
|
-
s.add_development_dependency 'sqlite3'
|
34
|
+
s.add_development_dependency "rspec"
|
35
|
+
s.add_development_dependency "rspec-rails"
|
36
|
+
s.add_development_dependency "ndlib-on-rspec"
|
37
|
+
s.add_development_dependency "rspec-given"
|
64
38
|
s.add_development_dependency 'rspec-on-rails-matchers'
|
65
|
-
s.add_development_dependency
|
66
|
-
s.add_development_dependency
|
67
|
-
s.add_development_dependency 'guard-rspec'
|
68
|
-
s.add_development_dependency 'ruby_gntp' if RUBY_PLATFORM =~ /[darwin|linux]/
|
69
|
-
|
70
|
-
s.files = `git ls-files`.split("\n")
|
71
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
72
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
73
|
-
s.require_paths = ["lib"]
|
39
|
+
s.add_development_dependency "sqlite3"
|
40
|
+
s.add_development_dependency "factory_girl_rails"
|
74
41
|
end
|