This fixes #18. See https://github.com/gkellogg/sparqlight-numismatics for a project which uses blacklight and this gem to run the numismatics examples. This should probably be generated from sparqlight using rails rails generate blacklight:sparql:install or something similar.
Note that search_builder and sparql_document need to be created in the client; perhaps there's a way to get default behavior from sparqlight, but it wasn't obvious to me at the time.
Note that most of the files in app/models have been moved to lib/, which seems more appropriate, but this does require adding require "blacklight/sparql" to the config/application.rb.
This fixes #18. See https://github.com/gkellogg/sparqlight-numismatics for a project which uses blacklight and this gem to run the numismatics examples. This should probably be generated from sparqlight using rails rails generate
blacklight:sparql:install
or something similar.Note that search_builder and sparql_document need to be created in the client; perhaps there's a way to get default behavior from sparqlight, but it wasn't obvious to me at the time.
Note that most of the files in
app/models
have been moved tolib/
, which seems more appropriate, but this does require addingrequire "blacklight/sparql"
to the config/application.rb.