blacklight_cql 1.2.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/app/views/blacklight_cql/{explain/explain.xml.builder → explain.xml.builder} +3 -5
- data/lib/blacklight_cql/engine.rb +2 -11
- data/lib/blacklight_cql/explain_behavior.rb +14 -0
- data/spec/internal/Gemfile +50 -0
- data/spec/internal/Gemfile.lock +157 -0
- data/spec/internal/README.rdoc +28 -0
- data/spec/internal/Rakefile +6 -0
- data/spec/internal/app/assets/javascripts/application.js +16 -0
- data/spec/internal/app/assets/stylesheets/application.css +13 -0
- data/spec/internal/app/controllers/application_controller.rb +3 -2
- data/spec/internal/app/helpers/application_helper.rb +2 -0
- data/spec/internal/app/views/layouts/application.html.erb +14 -0
- data/spec/internal/bin/bundle +3 -0
- data/spec/internal/bin/rails +4 -0
- data/spec/internal/bin/rake +4 -0
- data/spec/internal/config.ru +4 -0
- data/spec/internal/config/application.rb +23 -0
- data/spec/internal/config/boot.rb +4 -0
- data/spec/internal/config/database.yml +24 -2
- data/spec/internal/config/environment.rb +5 -0
- data/spec/internal/config/environments/development.rb +29 -0
- data/spec/internal/config/environments/production.rb +80 -0
- data/spec/internal/config/environments/test.rb +36 -0
- data/spec/internal/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/internal/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/internal/config/initializers/inflections.rb +16 -0
- data/spec/internal/config/initializers/mime_types.rb +5 -0
- data/spec/internal/config/initializers/secret_token.rb +12 -0
- data/spec/internal/config/initializers/session_store.rb +3 -0
- data/spec/internal/config/initializers/wrap_parameters.rb +14 -0
- data/spec/internal/config/locales/en.yml +23 -0
- data/spec/internal/config/routes.rb +53 -3
- data/spec/internal/db/{combustion_test.sqlite → development.sqlite3} +0 -0
- data/spec/internal/db/schema.rb +2 -39
- data/spec/internal/db/seeds.rb +7 -0
- data/spec/internal/db/test.sqlite3 +0 -0
- data/spec/internal/lib/generators/test_app_generator.rb +8 -0
- data/spec/internal/log/development.log +7 -0
- data/spec/internal/log/test.log +2 -0
- data/spec/internal/public/404.html +58 -0
- data/spec/internal/public/422.html +58 -0
- data/spec/internal/public/500.html +57 -0
- data/spec/internal/public/robots.txt +5 -0
- data/spec/internal/test/test_helper.rb +15 -0
- data/spec/spec_helper.rb +7 -11
- data/spec/test_app_templates/Gemfile.extra +1 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +8 -0
- data/spec/views/explain.xml.builder_spec.rb +8 -8
- metadata +102 -15
- data/app/controllers/blacklight_cql/explain_controller.rb +0 -17
- data/lib/blacklight_cql/route_sets.rb +0 -19
- data/spec/internal/app/models/solr_document.rb +0 -3
- data/spec/internal/config/solr.yml +0 -18
@@ -1,19 +0,0 @@
|
|
1
|
-
module BlacklightCql
|
2
|
-
|
3
|
-
# Module to be included into Blacklight::Routes to make sure
|
4
|
-
# our explain route gets added before other catalog routes, so it
|
5
|
-
# can take effect.
|
6
|
-
module RouteSets
|
7
|
-
|
8
|
-
protected
|
9
|
-
def catalog
|
10
|
-
|
11
|
-
add_routes do |options|
|
12
|
-
match 'catalog/explain', :to => "blacklight_cql/explain#index"
|
13
|
-
end
|
14
|
-
|
15
|
-
super
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
19
|
-
end
|
@@ -1,18 +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
|
-
url: http://127.0.0.1:8983/solr
|
15
|
-
test: &test
|
16
|
-
url: http://127.0.0.1:8888/solr
|
17
|
-
cucumber:
|
18
|
-
<<: *test
|