blacklight_advanced_search 5.1.2 → 5.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/Gemfile +3 -5
- data/README.md +1 -1
- data/Rakefile +3 -2
- data/VERSION +1 -1
- data/app/controllers/blacklight_advanced_search/advanced_controller.rb +1 -7
- data/app/views/blacklight_advanced_search/_facet_limit.html.erb +1 -1
- data/blacklight_advanced_search.gemspec +3 -4
- data/lib/blacklight_advanced_search/advanced_search_builder.rb +31 -0
- data/lib/blacklight_advanced_search/catalog_helper_override.rb +1 -1
- data/lib/blacklight_advanced_search/controller.rb +22 -31
- data/lib/blacklight_advanced_search/parse_basic_q.rb +3 -3
- data/lib/blacklight_advanced_search/render_constraints_override.rb +8 -10
- data/lib/blacklight_advanced_search.rb +1 -0
- data/lib/generators/blacklight_advanced_search/blacklight_advanced_search_generator.rb +2 -16
- data/lib/generators/blacklight_advanced_search/install_generator.rb +25 -0
- data/spec/parsing_nesting/parse_basic_q_spec.rb +3 -5
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -1
- metadata +13 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bff9b8e310bf1d4bc8712103ef0d4c3887662ebc
|
4
|
+
data.tar.gz: dde5a134cceff1ff2c419f28fdf5c17760b55186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c60a43939cf1b6f6acd6491b578d4d60dd4c2896261cd268284822e5b89eaec1f298d94aac23d32a87773f9430a2a98f20ac499277a38b62a1349446c54356da
|
7
|
+
data.tar.gz: 6a63d2ef79e82bd6184cac02a67008f2bf3fdf8301b952f66f6e1141422de6e1fae13e3736eafc87eb4deb6a768447b658e6a08f4ce03b27a46a94d972489462
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -7,14 +7,12 @@ if File.exists?(file)
|
|
7
7
|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
8
8
|
instance_eval File.read(file)
|
9
9
|
else
|
10
|
-
gem 'rails', ENV['RAILS_VERSION']
|
11
|
-
|
12
|
-
# explicitly include sass-rails to get compatible sprocket dependencies
|
10
|
+
gem 'rails', ENV['RAILS_VERSION'] if ENV['RAILS_VERSION']
|
11
|
+
|
13
12
|
if ENV['RAILS_VERSION'] and ENV['RAILS_VERSION'] =~ /^4.2/
|
14
|
-
gem 'sass-rails', ">= 5.0.0.beta1"
|
15
13
|
gem 'responders', "~> 2.0"
|
14
|
+
gem 'sass-rails', ">= 5.0"
|
16
15
|
else
|
17
16
|
gem 'sass-rails', "< 5.0"
|
18
|
-
gem 'coffee-rails', "~> 4.0.0"
|
19
17
|
end
|
20
18
|
end
|
data/README.md
CHANGED
@@ -32,7 +32,7 @@ Add to your application's Gemfile:
|
|
32
32
|
|
33
33
|
then run 'bundle install'. Then run:
|
34
34
|
|
35
|
-
rails generate blacklight_advanced_search
|
35
|
+
rails generate blacklight_advanced_search:install
|
36
36
|
|
37
37
|
* The 'generate' command will install 'require' statements for the plugin's assets into your application's application.js/application.css asset pipeline files
|
38
38
|
* And it can optionally install a localized search form with a link to advanced search. If you've already localized your search form you'll want to do this manually instead.
|
data/Rakefile
CHANGED
@@ -5,14 +5,15 @@ require 'rdoc/task'
|
|
5
5
|
require 'bundler/setup'
|
6
6
|
Bundler::GemHelper.install_tasks
|
7
7
|
|
8
|
-
ZIP_URL = "https://github.com/projectblacklight/blacklight-jetty/archive/v4.
|
8
|
+
ZIP_URL = "https://github.com/projectblacklight/blacklight-jetty/archive/v4.10.3.zip"
|
9
9
|
APP_ROOT = File.dirname(__FILE__)
|
10
10
|
|
11
11
|
require 'rspec/core/rake_task'
|
12
12
|
require 'engine_cart/rake_task'
|
13
13
|
|
14
|
+
EngineCart.fingerprint_proc = EngineCart.rails_fingerprint_proc
|
15
|
+
|
14
16
|
require 'jettywrapper'
|
15
|
-
require 'blacklight'
|
16
17
|
|
17
18
|
task :default => :ci
|
18
19
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.1.
|
1
|
+
5.1.3
|
@@ -54,12 +54,6 @@ class BlacklightAdvancedSearch::AdvancedController < CatalogController
|
|
54
54
|
# ensure empty query is all records, to fetch available facets on entire corpus
|
55
55
|
input[:q] ||= '{!lucene}*:*'
|
56
56
|
|
57
|
-
|
58
|
-
if respond_to? :solr_repository
|
59
|
-
solr_repository.search(input)
|
60
|
-
else
|
61
|
-
# first arg nil, use default search path.
|
62
|
-
find nil, input.to_hash
|
63
|
-
end
|
57
|
+
repository.search(input)
|
64
58
|
end
|
65
59
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="inclusive_or well">
|
3
3
|
<h4>Any of:</h4>
|
4
4
|
<ul class="list-unstyled facet-values">
|
5
|
-
<%
|
5
|
+
<% advanced_query.filters[solr_field].each do |value| %>
|
6
6
|
<li>
|
7
7
|
<span class="selected"><%= h(value) %></span>
|
8
8
|
<%= link_to(remove_advanced_facet_param(solr_field, value, params), :class => "remove") do %>
|
@@ -17,13 +17,12 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
|
-
s.add_dependency "blacklight", "
|
20
|
+
s.add_dependency "blacklight", "~> 5.10"
|
21
21
|
s.add_dependency "parslet"
|
22
22
|
|
23
|
-
s.add_development_dependency "blacklight_marc"
|
24
23
|
s.add_development_dependency "rails"
|
25
|
-
s.add_development_dependency "rspec-rails", "~>
|
24
|
+
s.add_development_dependency "rspec-rails", "~> 3.0"
|
26
25
|
s.add_development_dependency "capybara"
|
27
26
|
s.add_development_dependency 'jettywrapper', ">= 1.4.2"
|
28
|
-
s.add_development_dependency 'engine_cart', "~> 0.
|
27
|
+
s.add_development_dependency 'engine_cart', "~> 0.6"
|
29
28
|
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module BlacklightAdvancedSearch
|
2
|
+
module AdvancedSearchBuilder
|
3
|
+
def is_advanced_search?
|
4
|
+
(blacklight_params[:search_field] == self.blacklight_config.advanced_search[:url_key]) || blacklight_params[:f_inclusive]
|
5
|
+
end
|
6
|
+
|
7
|
+
# this method should get added into the search_params_logic
|
8
|
+
# list, in a position AFTER normal query handling (:add_query_to_solr),
|
9
|
+
# so it'll overwrite that if and only if it's an advanced search.
|
10
|
+
# adds a 'q' and 'fq's based on advanced search form input.
|
11
|
+
def add_advanced_search_to_solr(solr_parameters)
|
12
|
+
# If we've got the hint that we're doing an 'advanced' search, then
|
13
|
+
# map that to solr #q, over-riding whatever some other logic may have set, yeah.
|
14
|
+
# the hint right now is :search_field request param is set to a magic
|
15
|
+
# key. OR of :f_inclusive is set for advanced params, we need processing too.
|
16
|
+
if is_advanced_search?
|
17
|
+
# Set this as a controller instance variable, not sure if some views/helpers depend on it. Better to leave it as a local variable
|
18
|
+
# if not, more investigation later.
|
19
|
+
advanced_query = BlacklightAdvancedSearch::QueryParser.new(blacklight_params, self.blacklight_config )
|
20
|
+
BlacklightAdvancedSearch.deep_merge!(solr_parameters, advanced_query.to_solr )
|
21
|
+
if advanced_query.keyword_queries.length > 0
|
22
|
+
# force :qt if set, fine if it's nil, we'll use whatever CatalogController
|
23
|
+
# ordinarily uses.
|
24
|
+
solr_parameters[:qt] = self.blacklight_config.advanced_search[:qt]
|
25
|
+
solr_parameters[:defType] = "lucene"
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -24,7 +24,7 @@ module BlacklightAdvancedSearch::CatalogHelperOverride
|
|
24
24
|
# Special display for facet limits that include adv search inclusive
|
25
25
|
# or limits.
|
26
26
|
def facet_partial_name(display_facet = nil)
|
27
|
-
return "blacklight_advanced_search/facet_limit" if
|
27
|
+
return "blacklight_advanced_search/facet_limit" if advanced_query && advanced_query.filters.keys.include?( display_facet.name )
|
28
28
|
super
|
29
29
|
end
|
30
30
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'blacklight_advanced_search/parsing_nesting_parser'
|
2
2
|
|
3
|
-
# This module gets included into CatalogController, or another
|
4
|
-
# includer, to add behavior into
|
3
|
+
# This module gets included into CatalogController, or another SearchHelper
|
4
|
+
# includer, to add behavior into search_params_logic.
|
5
5
|
module BlacklightAdvancedSearch::Controller
|
6
6
|
extend ActiveSupport::Concern
|
7
7
|
|
@@ -14,44 +14,35 @@ module BlacklightAdvancedSearch::Controller
|
|
14
14
|
self.blacklight_config.advanced_search[:form_solr_parameters] ||= {}
|
15
15
|
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
if self.respond_to? :search_params_logic
|
18
|
+
# Parse app URL params used for adv searches
|
19
|
+
self.search_params_logic += [:add_advanced_search_to_solr]
|
20
|
+
end
|
21
|
+
|
22
|
+
if self.blacklight_config.search_builder_class
|
23
|
+
self.blacklight_config.search_builder_class.send(:include,
|
24
|
+
BlacklightAdvancedSearch::AdvancedSearchBuilder
|
25
|
+
) unless
|
26
|
+
self.blacklight_config.search_builder_class.include?(
|
27
|
+
BlacklightAdvancedSearch::AdvancedSearchBuilder
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
|
20
32
|
# Display advanced search constraints properly
|
21
33
|
helper BlacklightAdvancedSearch::RenderConstraintsOverride
|
22
34
|
helper BlacklightAdvancedSearch::CatalogHelperOverride
|
23
|
-
helper_method :is_advanced_search
|
35
|
+
helper_method :is_advanced_search?, :advanced_query
|
24
36
|
end
|
25
37
|
|
26
38
|
def is_advanced_search? req_params = params
|
27
39
|
(req_params[:search_field] == self.blacklight_config.advanced_search[:url_key]) ||
|
28
|
-
|
40
|
+
req_params[:f_inclusive]
|
29
41
|
end
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
# so it'll overwrite that if and only if it's an advanced search.
|
34
|
-
# adds a 'q' and 'fq's based on advanced search form input.
|
35
|
-
def add_advanced_search_to_solr(solr_parameters, req_params = params)
|
36
|
-
# If we've got the hint that we're doing an 'advanced' search, then
|
37
|
-
# map that to solr #q, over-riding whatever some other logic may have set, yeah.
|
38
|
-
# the hint right now is :search_field request param is set to a magic
|
39
|
-
# key. OR of :f_inclusive is set for advanced params, we need processing too.
|
40
|
-
if is_advanced_search? req_params
|
41
|
-
# Set this as a controller instance variable, not sure if some views/helpers depend on it. Better to leave it as a local variable
|
42
|
-
# if not, more investigation later.
|
43
|
-
@advanced_query = BlacklightAdvancedSearch::QueryParser.new(req_params, self.blacklight_config )
|
44
|
-
BlacklightAdvancedSearch.deep_merge!(solr_parameters, @advanced_query.to_solr )
|
45
|
-
if @advanced_query.keyword_queries.length > 0
|
46
|
-
# force :qt if set, fine if it's nil, we'll use whatever CatalogController
|
47
|
-
# ordinarily uses.
|
48
|
-
solr_parameters[:qt] = self.blacklight_config.advanced_search[:qt]
|
49
|
-
solr_parameters[:defType] = "lucene"
|
50
|
-
end
|
51
|
-
|
52
|
-
end
|
42
|
+
|
43
|
+
def advanced_query
|
44
|
+
BlacklightAdvancedSearch::QueryParser.new(params, self.blacklight_config ) if is_advanced_search?
|
53
45
|
end
|
54
|
-
|
55
46
|
|
56
47
|
end
|
57
48
|
|
@@ -15,7 +15,7 @@ module BlacklightAdvancedSearch::ParseBasicQ
|
|
15
15
|
include Blacklight::SearchFields
|
16
16
|
|
17
17
|
included do
|
18
|
-
self.
|
18
|
+
self.search_params_logic += [:add_advanced_parse_q_to_solr]
|
19
19
|
end
|
20
20
|
|
21
21
|
# Different versions of Parslet raise different exception classes,
|
@@ -27,9 +27,9 @@ module BlacklightAdvancedSearch::ParseBasicQ
|
|
27
27
|
end
|
28
28
|
|
29
29
|
|
30
|
-
# This method can be included in
|
30
|
+
# This method can be included in search_params_logic to have us
|
31
31
|
# parse an ordinary entered :q for AND/OR/NOT and produce appropriate
|
32
|
-
# Solr query. Note that it is NOT included in
|
32
|
+
# Solr query. Note that it is NOT included in search_params_logic
|
33
33
|
# by default when this module is included, because it is optional behavior.
|
34
34
|
# BlacklightAdvancedSearch init code will add it to CatalogController
|
35
35
|
# if it's configured to do so. You can of course add it yourself
|
@@ -12,14 +12,13 @@ module BlacklightAdvancedSearch::RenderConstraintsOverride
|
|
12
12
|
end
|
13
13
|
|
14
14
|
#Over-ride of Blacklight method, provide advanced constraints if needed,
|
15
|
-
# otherwise call super.
|
16
|
-
# is our trigger that we're in advanced mode.
|
15
|
+
# otherwise call super.
|
17
16
|
def render_constraints_query(my_params = params)
|
18
|
-
if (
|
17
|
+
if (advanced_query.nil? || advanced_query.keyword_queries.empty? )
|
19
18
|
return super(my_params)
|
20
19
|
else
|
21
20
|
content = []
|
22
|
-
|
21
|
+
advanced_query.keyword_queries.each_pair do |field, query|
|
23
22
|
label = search_field_def_for_key(field)[:label]
|
24
23
|
content << render_constraint_element(
|
25
24
|
label, query,
|
@@ -27,8 +26,8 @@ module BlacklightAdvancedSearch::RenderConstraintsOverride
|
|
27
26
|
catalog_index_path(remove_advanced_keyword_query(field,my_params))
|
28
27
|
)
|
29
28
|
end
|
30
|
-
if (
|
31
|
-
|
29
|
+
if (advanced_query.keyword_op == "OR" &&
|
30
|
+
advanced_query.keyword_queries.length > 1)
|
32
31
|
content.unshift content_tag(:span, "Any of:", class:'operator')
|
33
32
|
content_tag :span, class: "inclusive_or appliedFilter well" do
|
34
33
|
safe_join(content.flatten, "\n")
|
@@ -40,13 +39,12 @@ module BlacklightAdvancedSearch::RenderConstraintsOverride
|
|
40
39
|
end
|
41
40
|
|
42
41
|
#Over-ride of Blacklight method, provide advanced constraints if needed,
|
43
|
-
# otherwise call super.
|
44
|
-
# is our trigger that we're in advanced mode.
|
42
|
+
# otherwise call super.
|
45
43
|
def render_constraints_filters(my_params = params)
|
46
44
|
content = super(my_params)
|
47
45
|
|
48
|
-
if (
|
49
|
-
|
46
|
+
if (advanced_query)
|
47
|
+
advanced_query.filters.each_pair do |field, value_list|
|
50
48
|
label = facet_field_label(field)
|
51
49
|
content << render_constraint_element(label,
|
52
50
|
safe_join(value_list, " <strong class='text-muted constraint-connector'>OR</strong> ".html_safe),
|
@@ -1,4 +1,5 @@
|
|
1
1
|
module BlacklightAdvancedSearch
|
2
|
+
autoload :AdvancedSearchBuilder, 'blacklight_advanced_search/advanced_search_builder'
|
2
3
|
autoload :Controller, 'blacklight_advanced_search/controller'
|
3
4
|
autoload :RenderConstraintsOverride, 'blacklight_advanced_search/render_constraints_override'
|
4
5
|
autoload :CatalogHelperOverride, 'blacklight_advanced_search/catalog_helper_override'
|
@@ -1,24 +1,10 @@
|
|
1
1
|
require 'rails/generators'
|
2
2
|
|
3
3
|
class BlacklightAdvancedSearchGenerator < Rails::Generators::Base
|
4
|
-
source_root File.expand_path('../templates', __FILE__)
|
5
4
|
|
6
|
-
require File.expand_path('../assets_generator.rb', __FILE__)
|
7
5
|
def inject_asset_requires
|
8
|
-
|
6
|
+
say "`rails g blacklight_advanced_search` is deprecated; use blacklight_advanced_search:install instead", :red
|
7
|
+
generate "blacklight_advanced_search:install"
|
9
8
|
end
|
10
9
|
|
11
|
-
|
12
|
-
def install_localized_search_form
|
13
|
-
if options[:force] or yes?("Install local search form with advanced link? (y/N)", :green)
|
14
|
-
# We're going to copy the search from from actual currently loaded
|
15
|
-
# Blacklight into local app as custom local override -- but add our link at the end too.
|
16
|
-
source_file = File.read(File.join(Blacklight.root, "app/views/catalog/_search_form.html.erb"))
|
17
|
-
|
18
|
-
new_file_contents = source_file + "\n\n<%= link_to 'More options', advanced_search_path(params), :class=>'advanced_search'%>"
|
19
|
-
|
20
|
-
create_file("app/views/catalog/_search_form.html.erb", new_file_contents)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
10
|
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module BlacklightAdvancedSearch
|
4
|
+
class InstallGenerator < Rails::Generators::Base
|
5
|
+
source_root File.expand_path('../templates', __FILE__)
|
6
|
+
|
7
|
+
def inject_asset_requires
|
8
|
+
generate "blacklight_advanced_search:assets"
|
9
|
+
end
|
10
|
+
|
11
|
+
|
12
|
+
def install_localized_search_form
|
13
|
+
if options[:force] or yes?("Install local search form with advanced link? (y/N)", :green)
|
14
|
+
# We're going to copy the search from from actual currently loaded
|
15
|
+
# Blacklight into local app as custom local override -- but add our link at the end too.
|
16
|
+
source_file = File.read(File.join(Blacklight.root, "app/views/catalog/_search_form.html.erb"))
|
17
|
+
|
18
|
+
new_file_contents = source_file + "\n\n<%= link_to 'More options', advanced_search_path(params), :class=>'advanced_search'%>"
|
19
|
+
|
20
|
+
create_file("app/views/catalog/_search_form.html.erb", new_file_contents)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -12,16 +12,14 @@ describe "NestingParser" do
|
|
12
12
|
# It gets kind of a mess of dependencies, sorry.
|
13
13
|
class ParseBasicQTestClass
|
14
14
|
cattr_accessor :blacklight_config
|
15
|
-
cattr_accessor :blacklight_solr
|
16
15
|
|
17
|
-
include Blacklight::
|
16
|
+
include Blacklight::SearchHelper
|
18
17
|
|
19
18
|
include BlacklightAdvancedSearch::ParseBasicQ
|
20
19
|
|
21
20
|
|
22
|
-
def initialize blacklight_config
|
21
|
+
def initialize blacklight_config
|
23
22
|
self.blacklight_config = blacklight_config
|
24
|
-
self.blacklight_solr = blacklight_solr
|
25
23
|
end
|
26
24
|
|
27
25
|
def params
|
@@ -48,7 +46,7 @@ describe "NestingParser" do
|
|
48
46
|
field.advanced_parse = false
|
49
47
|
end
|
50
48
|
end
|
51
|
-
@obj = ParseBasicQTestClass.new @blacklight_config
|
49
|
+
@obj = ParseBasicQTestClass.new @blacklight_config
|
52
50
|
end
|
53
51
|
|
54
52
|
it "catches a simple example" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight_advanced_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -9,28 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: blacklight
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '5.2'
|
21
|
-
- - "<"
|
18
|
+
- - "~>"
|
22
19
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
20
|
+
version: '5.10'
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
27
24
|
requirements:
|
28
|
-
- - "
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: '5.2'
|
31
|
-
- - "<"
|
25
|
+
- - "~>"
|
32
26
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
27
|
+
version: '5.10'
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
29
|
name: parslet
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,20 +39,6 @@ dependencies:
|
|
45
39
|
- - ">="
|
46
40
|
- !ruby/object:Gem::Version
|
47
41
|
version: '0'
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: blacklight_marc
|
50
|
-
requirement: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
type: :development
|
56
|
-
prerelease: false
|
57
|
-
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
42
|
- !ruby/object:Gem::Dependency
|
63
43
|
name: rails
|
64
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +59,14 @@ dependencies:
|
|
79
59
|
requirements:
|
80
60
|
- - "~>"
|
81
61
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
62
|
+
version: '3.0'
|
83
63
|
type: :development
|
84
64
|
prerelease: false
|
85
65
|
version_requirements: !ruby/object:Gem::Requirement
|
86
66
|
requirements:
|
87
67
|
- - "~>"
|
88
68
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
69
|
+
version: '3.0'
|
90
70
|
- !ruby/object:Gem::Dependency
|
91
71
|
name: capybara
|
92
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,14 +101,14 @@ dependencies:
|
|
121
101
|
requirements:
|
122
102
|
- - "~>"
|
123
103
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0.
|
104
|
+
version: '0.6'
|
125
105
|
type: :development
|
126
106
|
prerelease: false
|
127
107
|
version_requirements: !ruby/object:Gem::Requirement
|
128
108
|
requirements:
|
129
109
|
- - "~>"
|
130
110
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
111
|
+
version: '0.6'
|
132
112
|
description:
|
133
113
|
email:
|
134
114
|
- blacklight-development@googlegroups.com
|
@@ -165,6 +145,7 @@ files:
|
|
165
145
|
- config/routes.rb
|
166
146
|
- lib/blacklight_advanced_search.rb
|
167
147
|
- lib/blacklight_advanced_search/advanced_query_parser.rb
|
148
|
+
- lib/blacklight_advanced_search/advanced_search_builder.rb
|
168
149
|
- lib/blacklight_advanced_search/catalog_helper_override.rb
|
169
150
|
- lib/blacklight_advanced_search/controller.rb
|
170
151
|
- lib/blacklight_advanced_search/engine.rb
|
@@ -176,6 +157,7 @@ files:
|
|
176
157
|
- lib/blacklight_advanced_search/version.rb
|
177
158
|
- lib/generators/blacklight_advanced_search/assets_generator.rb
|
178
159
|
- lib/generators/blacklight_advanced_search/blacklight_advanced_search_generator.rb
|
160
|
+
- lib/generators/blacklight_advanced_search/install_generator.rb
|
179
161
|
- lib/generators/blacklight_advanced_search/templates/advanced_controller.rb
|
180
162
|
- lib/parsing_nesting/Readme.rdoc
|
181
163
|
- lib/parsing_nesting/grammar.rb
|
@@ -213,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
195
|
version: '0'
|
214
196
|
requirements: []
|
215
197
|
rubyforge_project: blacklight
|
216
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.4.6
|
217
199
|
signing_key:
|
218
200
|
specification_version: 4
|
219
201
|
summary: Blacklight Advanced Search plugin
|