blacklight-hierarchy 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.travis.yml +13 -0
- data/Gemfile +35 -0
- data/LICENSE +13 -0
- data/README.md +5 -5
- data/app/helpers/blacklight/hierarchy_helper.rb +17 -6
- data/blacklight-hierarchy.gemspec +31 -0
- data/lib/blacklight/hierarchy/engine.rb +2 -1
- data/lib/blacklight/hierarchy/version.rb +1 -1
- data/spec/features/basic_spec.rb +4 -5
- data/spec/spec_helper.rb +4 -8
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -2
- metadata +48 -450
- data/MIT-LICENSE +0 -20
- data/spec/internal/Gemfile +0 -47
- data/spec/internal/Gemfile.lock +0 -188
- data/spec/internal/README.rdoc +0 -28
- data/spec/internal/Rakefile +0 -6
- data/spec/internal/app/assets/javascripts/application.js +0 -19
- data/spec/internal/app/assets/javascripts/blacklight_hierarchy.js +0 -1
- data/spec/internal/app/assets/stylesheets/application.css +0 -15
- data/spec/internal/app/assets/stylesheets/blacklight.css.scss +0 -5
- data/spec/internal/app/assets/stylesheets/blacklight_hierarchy.css.scss +0 -3
- data/spec/internal/app/controllers/application_controller.rb +0 -9
- data/spec/internal/app/controllers/catalog_controller.rb +0 -181
- data/spec/internal/app/helpers/application_helper.rb +0 -2
- data/spec/internal/app/models/search_builder.rb +0 -3
- data/spec/internal/app/models/solr_document.rb +0 -21
- data/spec/internal/app/views/layouts/application.html.erb +0 -14
- data/spec/internal/bin/bundle +0 -3
- data/spec/internal/bin/rails +0 -4
- data/spec/internal/bin/rake +0 -4
- data/spec/internal/bin/setup +0 -29
- data/spec/internal/config.ru +0 -4
- data/spec/internal/config/application.rb +0 -26
- data/spec/internal/config/blacklight.yml +0 -21
- data/spec/internal/config/boot.rb +0 -3
- data/spec/internal/config/database.yml +0 -25
- data/spec/internal/config/environment.rb +0 -5
- data/spec/internal/config/environments/development.rb +0 -41
- data/spec/internal/config/environments/production.rb +0 -79
- data/spec/internal/config/environments/test.rb +0 -42
- data/spec/internal/config/initializers/assets.rb +0 -11
- data/spec/internal/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/internal/config/initializers/blacklight_initializer.rb +0 -7
- data/spec/internal/config/initializers/cookies_serializer.rb +0 -3
- data/spec/internal/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/internal/config/initializers/inflections.rb +0 -16
- data/spec/internal/config/initializers/mime_types.rb +0 -4
- data/spec/internal/config/initializers/session_store.rb +0 -3
- data/spec/internal/config/initializers/wrap_parameters.rb +0 -14
- data/spec/internal/config/locales/blacklight.en.yml +0 -3
- data/spec/internal/config/locales/en.yml +0 -23
- data/spec/internal/config/routes.rb +0 -58
- data/spec/internal/config/secrets.yml +0 -22
- data/spec/internal/db/development.sqlite3 +0 -0
- data/spec/internal/db/migrate/20150401202514_create_searches.blacklight.rb +0 -19
- data/spec/internal/db/migrate/20150401202515_create_bookmarks.blacklight.rb +0 -18
- data/spec/internal/db/migrate/20150401202516_add_polymorphic_type_to_bookmarks.blacklight.rb +0 -9
- data/spec/internal/db/schema.rb +0 -38
- data/spec/internal/db/seeds.rb +0 -7
- data/spec/internal/db/test.sqlite3 +0 -0
- data/spec/internal/lib/generators/test_app_generator.rb +0 -28
- data/spec/internal/log/development.log +0 -51
- data/spec/internal/log/test.log +0 -106
- data/spec/internal/public/404.html +0 -67
- data/spec/internal/public/422.html +0 -67
- data/spec/internal/public/500.html +0 -66
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/internal/public/robots.txt +0 -5
- data/spec/internal/test/test_helper.rb +0 -10
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_alerts.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_badges.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_breadcrumbs.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_button-groups.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_buttons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_carousel.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_close.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_code.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_component-animations.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_dropdowns.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_forms.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_glyphicons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_grid.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_input-groups.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_jumbotron.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_labels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_list-group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_media.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_mixins.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_modals.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_navbar.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_navs.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_normalize.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_pager.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_pagination.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_panels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_popovers.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_print.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_progress-bars.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_responsive-embed.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_responsive-utilities.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_scaffolding.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_tables.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_thumbnails.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_tooltip.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_type.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_utilities.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_variables.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/445c993f9badd85eed8054a0d95fd224ae71a349/_wells.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/51fd2eea4473e30fb7c6f38005b3e0e68e0051b7/_bootstrap-sprockets.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/51fd2eea4473e30fb7c6f38005b3e0e68e0051b7/_bootstrap.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_blacklight_base.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_bookmark.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_catalog.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_facets.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_header.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_layout.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_modal.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/_search_history.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/blacklight.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/57179add66901e7071e270eb3dcbffbd94509626/blacklight_defaults.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/640fe784801b6579b3cc7c5076d10c17a3d1fa15/blacklight.css.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/640fe784801b6579b3cc7c5076d10c17a3d1fa15/blacklight_hierarchy.css.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/66d46d89a6f50778e9d7c47153c7e4120d2e7ab9/hierarchy.css.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_alerts.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_background-variant.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_border-radius.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_buttons.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_center-block.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_clearfix.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_forms.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_gradients.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_grid-framework.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_grid.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_hide-text.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_image.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_labels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_list-group.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_nav-divider.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_nav-vertical-align.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_opacity.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_pagination.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_panels.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_progress-bar.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_reset-filter.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_resize.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_responsive-visibility.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_size.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_tab-focus.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_table-row.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_text-emphasis.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_text-overflow.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sass/71aaf5883ae684c0f08620e833c1400f6f31a6f7/_vendor-prefixes.scssc +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/08609bfe1ae1902b7f1717d982e5b4a7 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/08b1239c43458e285871d83216975134 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/0b10e5cb4a9a51090f43651fbd877bee +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/15ef05c24f1f8ef3039f46b33ab8edcd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/174b5a39e5091e8d7c78775e7e2070fe +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/20933494402377b5a4ae573ec38089e3 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/212cef43c60c9d3e8ac8f88415b6f973 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/229fc8ab6865660e396cf9fd1cb39c10 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/23cb18a699ce7dbdcf465be2a7a41811 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/24614ebd6d6f61f3b5b5319379d7fa46 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/274904ae6b05d982033ae9d6d5dbe862 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/2bfec80b4e6c87e27f88b9ee5d0bb41b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/368b41619b173f4a9f545b6da21f928f +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/3f47167a7fb0c564a3e4822aa5a5dbdd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/489789028348d4668912dadfced5664c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/48c6aa23a63fcb0eb2abfd9851ee34ea +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/59747ade9c2bc4b15b9a5def26f510f9 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/5c287dfee4faa9e30f836a57d9230e5c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/5fa08d97b81ec0ae7f19f95006c5fc8c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/6b2bccdce0b8a30bb633cfe11539e914 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/6b91422aae1939a2f363892dfc4616df +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/6cb2d81cef71f0c48fc9389b6afe01c5 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/6e78d84dc664ac4afa16415e2872cb60 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/701b5a3b8142388e7371a6801cc44623 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/73232ffd4ba56c978aee3fb5ab28c5d2 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/83d2f436240b85f626ec119f7c9a5272 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/8625349bd7300eb9c9103e0155e3a8c3 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/86492dd478a290aac1a6e1beaac746ea +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/883e4c9f2e7b94cece65d21ba64eac7c +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/8e5a76c17a713f0b722cf054454f1ecc +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/9125893025f624d16a8d8e052d0dbfcd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/98d74d6877c75d0df7a07d751af1252b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/9902d40f2d5719439375b71e9f92ccd1 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/9e17b7435224b4d2ca900240c32c195d +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/a015684db07b197ed1856307abd82f42 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/a05e957ff61060c057debd8dc7b6ef3b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/a08976ed55e815f763dfcb22a7376ed7 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/a432d9a6dad3588381eee9808663e060 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/a7cfb2dc6e31842e16886d8fe5e565a6 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/a83ecb9fd5ef9f4cd480816fd1991c63 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b7b953d2bbbc2ed0afa90bfd470970bf +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b83ff1ff283372c8b643d490698ac5f2 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b9cf057f4c9bbc89f7f1666bb9bc51ed +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/b9d34fb62a7133c9e354e15be8b97fd2 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/bb0e475cafd86ebdab11f01efe623dbe +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/beafdda6cada3ea47ad16bddbd74147e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/c45db95ac3b02d061b390954bd9f49d0 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/c545819b3e92e7cc0180242c111f2b5b +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/c6f2d2b6b4ff8b16bb9e7d39898c7de2 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/cb4976fa305e0f3f830cc11a68490abe +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d04cb44fedf1d7f934c4d82447e5d7be +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d6fd3dc20efb1e4fe8fa3b90ad6d36da +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/dad1adba3c9893641803fe598ecbbbcf +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/db0799ffdd25f3b4b984c162e7da469e +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/dcb5e2fe8f8ba6cdad3ec3331bdea0df +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/ddb8d8d3afcc4384d2590acf090215f8 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/df08d3c909c62ecba152cdc7b11d9fb3 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/e0663a4141d11a3841014005025172eb +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/e47ed05c114e67acb8ad43d2a2db784d +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/e5eba0b50c4b277172db0f9f699a1d76 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/ea022fee7bf6ba46a533438b49309665 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/efd0d28ea7420593f6323280daec5d94 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f2a04b4afd8e701562135671116b3452 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f2cf4862b1e7a04fd29eb30605f08979 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f600496bff33972f86dc55b9f75df124 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/internal/tmp/cache/assets/test/sprockets/ffa439acb56ac6162efb387270e055f2 +0 -0
- data/test/blacklight_hierarchy_test.rb +0 -7
- data/test/fixtures/facet_data.json +0 -1
- data/test/test_helper.rb +0 -10
@@ -1,21 +0,0 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
|
-
class SolrDocument
|
3
|
-
|
4
|
-
include Blacklight::Solr::Document
|
5
|
-
|
6
|
-
# self.unique_key = 'id'
|
7
|
-
|
8
|
-
# Email uses the semantic field mappings below to generate the body of an email.
|
9
|
-
SolrDocument.use_extension( Blacklight::Document::Email )
|
10
|
-
|
11
|
-
# SMS uses the semantic field mappings below to generate the body of an SMS email.
|
12
|
-
SolrDocument.use_extension( Blacklight::Document::Sms )
|
13
|
-
|
14
|
-
# DublinCore uses the semantic field mappings below to assemble an OAI-compliant Dublin Core document
|
15
|
-
# Semantic mappings of solr stored fields. Fields may be multi or
|
16
|
-
# single valued. See Blacklight::Document::SemanticFields#field_semantics
|
17
|
-
# and Blacklight::Document::SemanticFields#to_semantic_values
|
18
|
-
# Recommendation: Use field names from Dublin Core
|
19
|
-
use_extension( Blacklight::Document::DublinCore)
|
20
|
-
|
21
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Internal</title>
|
5
|
-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
-
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|
data/spec/internal/bin/bundle
DELETED
data/spec/internal/bin/rails
DELETED
data/spec/internal/bin/rake
DELETED
data/spec/internal/bin/setup
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
# path to your application root.
|
5
|
-
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
|
-
|
7
|
-
Dir.chdir APP_ROOT do
|
8
|
-
# This script is a starting point to setup your application.
|
9
|
-
# Add necessary setup steps to this file:
|
10
|
-
|
11
|
-
puts "== Installing dependencies =="
|
12
|
-
system "gem install bundler --conservative"
|
13
|
-
system "bundle check || bundle install"
|
14
|
-
|
15
|
-
# puts "\n== Copying sample files =="
|
16
|
-
# unless File.exist?("config/database.yml")
|
17
|
-
# system "cp config/database.yml.sample config/database.yml"
|
18
|
-
# end
|
19
|
-
|
20
|
-
puts "\n== Preparing database =="
|
21
|
-
system "bin/rake db:setup"
|
22
|
-
|
23
|
-
puts "\n== Removing old logs and tempfiles =="
|
24
|
-
system "rm -f log/*"
|
25
|
-
system "rm -rf tmp/cache"
|
26
|
-
|
27
|
-
puts "\n== Restarting application server =="
|
28
|
-
system "touch tmp/restart.txt"
|
29
|
-
end
|
data/spec/internal/config.ru
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
# Require the gems listed in Gemfile, including any gems
|
6
|
-
# you've limited to :test, :development, or :production.
|
7
|
-
Bundler.require(*Rails.groups)
|
8
|
-
|
9
|
-
module Internal
|
10
|
-
class Application < Rails::Application
|
11
|
-
# Settings in config/environments/* take precedence over those specified here.
|
12
|
-
# Application configuration should go into files in config/initializers
|
13
|
-
# -- all .rb files in that directory are automatically loaded.
|
14
|
-
|
15
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
16
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
17
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
18
|
-
|
19
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
20
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
21
|
-
# config.i18n.default_locale = :de
|
22
|
-
|
23
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
24
|
-
config.active_record.raise_in_transactional_callbacks = true
|
25
|
-
end
|
26
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# = jetty_path key
|
2
|
-
# each environment can have a jetty_path with absolute or relative
|
3
|
-
# (to app root) path to a jetty/solr install. This is used
|
4
|
-
# by the rake tasks that start up solr automatically for testing
|
5
|
-
# and by rake solr:marc:index.
|
6
|
-
#
|
7
|
-
# jetty_path is not used by a running Blacklight application
|
8
|
-
# at all. In general you do NOT need to deploy solr in Jetty, you can deploy it
|
9
|
-
# however you want.
|
10
|
-
# jetty_path is only required for rake tasks that need to know
|
11
|
-
# how to start up solr, generally for automated testing.
|
12
|
-
|
13
|
-
development:
|
14
|
-
adapter: solr
|
15
|
-
url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983/solr/blacklight-core" %>
|
16
|
-
test: &test
|
17
|
-
adapter: solr
|
18
|
-
url: <%= "http://127.0.0.1:#{ENV['TEST_JETTY_PORT'] || 8888}/solr/blacklight-core" %>
|
19
|
-
production:
|
20
|
-
adapter: solr
|
21
|
-
url: <%= ENV['SOLR_URL'] || "http://127.0.0.1:8983/solr/blacklight-core" %>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
development:
|
13
|
-
<<: *default
|
14
|
-
database: db/development.sqlite3
|
15
|
-
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
17
|
-
# re-generated from your development database when you run "rake".
|
18
|
-
# Do not set this db to the same as development or production.
|
19
|
-
test:
|
20
|
-
<<: *default
|
21
|
-
database: db/test.sqlite3
|
22
|
-
|
23
|
-
production:
|
24
|
-
<<: *default
|
25
|
-
database: db/production.sqlite3
|
@@ -1,41 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# In the development environment your application's code is reloaded on
|
5
|
-
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the web server when you make code changes.
|
7
|
-
config.cache_classes = false
|
8
|
-
|
9
|
-
# Do not eager load code on boot.
|
10
|
-
config.eager_load = false
|
11
|
-
|
12
|
-
# Show full error reports and disable caching.
|
13
|
-
config.consider_all_requests_local = true
|
14
|
-
config.action_controller.perform_caching = false
|
15
|
-
|
16
|
-
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
18
|
-
|
19
|
-
# Print deprecation notices to the Rails logger.
|
20
|
-
config.active_support.deprecation = :log
|
21
|
-
|
22
|
-
# Raise an error on page load if there are pending migrations.
|
23
|
-
config.active_record.migration_error = :page_load
|
24
|
-
|
25
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
-
# This option may cause significant delays in view rendering with a large
|
27
|
-
# number of complex assets.
|
28
|
-
config.assets.debug = true
|
29
|
-
|
30
|
-
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
31
|
-
# yet still be able to expire them through the digest params.
|
32
|
-
config.assets.digest = true
|
33
|
-
|
34
|
-
# Adds additional error checking when serving assets at runtime.
|
35
|
-
# Checks for improperly declared sprockets dependencies.
|
36
|
-
# Raises helpful error messages.
|
37
|
-
config.assets.raise_runtime_errors = true
|
38
|
-
|
39
|
-
# Raises error for missing translations
|
40
|
-
# config.action_view.raise_on_missing_translations = true
|
41
|
-
end
|
@@ -1,79 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# Code is not reloaded between requests.
|
5
|
-
config.cache_classes = true
|
6
|
-
|
7
|
-
# Eager load code on boot. This eager loads most of Rails and
|
8
|
-
# your application in memory, allowing both threaded web servers
|
9
|
-
# and those relying on copy on write to perform better.
|
10
|
-
# Rake tasks automatically ignore this option for performance.
|
11
|
-
config.eager_load = true
|
12
|
-
|
13
|
-
# Full error reports are disabled and caching is turned on.
|
14
|
-
config.consider_all_requests_local = false
|
15
|
-
config.action_controller.perform_caching = true
|
16
|
-
|
17
|
-
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
-
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
-
# For large-scale production use, consider using a caching reverse proxy like
|
20
|
-
# NGINX, varnish or squid.
|
21
|
-
# config.action_dispatch.rack_cache = true
|
22
|
-
|
23
|
-
# Disable serving static files from the `/public` folder by default since
|
24
|
-
# Apache or NGINX already handles this.
|
25
|
-
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
|
-
|
27
|
-
# Compress JavaScripts and CSS.
|
28
|
-
config.assets.js_compressor = :uglifier
|
29
|
-
# config.assets.css_compressor = :sass
|
30
|
-
|
31
|
-
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
32
|
-
config.assets.compile = false
|
33
|
-
|
34
|
-
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
35
|
-
# yet still be able to expire them through the digest params.
|
36
|
-
config.assets.digest = true
|
37
|
-
|
38
|
-
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
39
|
-
|
40
|
-
# Specifies the header that your server uses for sending files.
|
41
|
-
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
42
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
43
|
-
|
44
|
-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
45
|
-
# config.force_ssl = true
|
46
|
-
|
47
|
-
# Use the lowest log level to ensure availability of diagnostic information
|
48
|
-
# when problems arise.
|
49
|
-
config.log_level = :debug
|
50
|
-
|
51
|
-
# Prepend all log lines with the following tags.
|
52
|
-
# config.log_tags = [ :subdomain, :uuid ]
|
53
|
-
|
54
|
-
# Use a different logger for distributed setups.
|
55
|
-
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
56
|
-
|
57
|
-
# Use a different cache store in production.
|
58
|
-
# config.cache_store = :mem_cache_store
|
59
|
-
|
60
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
61
|
-
# config.action_controller.asset_host = 'http://assets.example.com'
|
62
|
-
|
63
|
-
# Ignore bad email addresses and do not raise email delivery errors.
|
64
|
-
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
65
|
-
# config.action_mailer.raise_delivery_errors = false
|
66
|
-
|
67
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
68
|
-
# the I18n.default_locale when a translation cannot be found).
|
69
|
-
config.i18n.fallbacks = true
|
70
|
-
|
71
|
-
# Send deprecation notices to registered listeners.
|
72
|
-
config.active_support.deprecation = :notify
|
73
|
-
|
74
|
-
# Use default logging formatter so that PID and timestamp are not suppressed.
|
75
|
-
config.log_formatter = ::Logger::Formatter.new
|
76
|
-
|
77
|
-
# Do not dump schema after migrations.
|
78
|
-
config.active_record.dump_schema_after_migration = false
|
79
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
-
# just for the purpose of running a single test. If you are using a tool that
|
12
|
-
# preloads Rails for running tests, you may have to set it to true.
|
13
|
-
config.eager_load = false
|
14
|
-
|
15
|
-
# Configure static file server for tests with Cache-Control for performance.
|
16
|
-
config.serve_static_files = true
|
17
|
-
config.static_cache_control = 'public, max-age=3600'
|
18
|
-
|
19
|
-
# Show full error reports and disable caching.
|
20
|
-
config.consider_all_requests_local = true
|
21
|
-
config.action_controller.perform_caching = false
|
22
|
-
|
23
|
-
# Raise exceptions instead of rendering exception templates.
|
24
|
-
config.action_dispatch.show_exceptions = false
|
25
|
-
|
26
|
-
# Disable request forgery protection in test environment.
|
27
|
-
config.action_controller.allow_forgery_protection = false
|
28
|
-
|
29
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
-
# The :test delivery method accumulates sent emails in the
|
31
|
-
# ActionMailer::Base.deliveries array.
|
32
|
-
config.action_mailer.delivery_method = :test
|
33
|
-
|
34
|
-
# Randomize the order test cases are executed.
|
35
|
-
config.active_support.test_order = :random
|
36
|
-
|
37
|
-
# Print deprecation notices to the stderr.
|
38
|
-
config.active_support.deprecation = :stderr
|
39
|
-
|
40
|
-
# Raises error for missing translations
|
41
|
-
# config.action_view.raise_on_missing_translations = true
|
42
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
5
|
-
|
6
|
-
# Add additional assets to the asset load path
|
7
|
-
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
-
|
9
|
-
# Precompile additional assets.
|
10
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
-
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# A secret token used to encrypt user_id's in the Bookmarks#export callback URL
|
2
|
-
# functionality, for example in Refworks export of Bookmarks. In Rails 4, Blacklight
|
3
|
-
# will use the application's secret key base instead.
|
4
|
-
#
|
5
|
-
|
6
|
-
# Blacklight.secret_key = '47bf8740a6e67649ca319113406ce48f1af8f886decae4e3eea6f23adf2a0c5aa8d0e482dfbc274868d4a1e656eb2e71469e4c2e14a5956e9c2a0677c719a34c'
|
7
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format. Inflections
|
4
|
-
# are locale specific, and you may define rules for as many different
|
5
|
-
# locales as you wish. All of these examples are active by default:
|
6
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
-
# inflect.singular /^(ox)en/i, '\1'
|
9
|
-
# inflect.irregular 'person', 'people'
|
10
|
-
# inflect.uncountable %w( fish sheep )
|
11
|
-
# end
|
12
|
-
|
13
|
-
# These inflection rules are supported but not enabled by default:
|
14
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
-
# inflect.acronym 'RESTful'
|
16
|
-
# end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
-
# is enabled by default.
|
5
|
-
|
6
|
-
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
-
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
-
end
|
10
|
-
|
11
|
-
# To enable root element in JSON for ActiveRecord objects.
|
12
|
-
# ActiveSupport.on_load(:active_record) do
|
13
|
-
# self.include_root_in_json = true
|
14
|
-
# end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
-
# than English, add the necessary files in this directory.
|
4
|
-
#
|
5
|
-
# To use the locales, use `I18n.t`:
|
6
|
-
#
|
7
|
-
# I18n.t 'hello'
|
8
|
-
#
|
9
|
-
# In views, this is aliased to just `t`:
|
10
|
-
#
|
11
|
-
# <%= t('hello') %>
|
12
|
-
#
|
13
|
-
# To use a different locale, set it with `I18n.locale`:
|
14
|
-
#
|
15
|
-
# I18n.locale = :es
|
16
|
-
#
|
17
|
-
# This would use the information in config/locales/es.yml.
|
18
|
-
#
|
19
|
-
# To learn more, please read the Rails Internationalization guide
|
20
|
-
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
-
|
22
|
-
en:
|
23
|
-
hello: "Hello world"
|