blacklight 6.5.0 → 6.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/.rubocop.yml +5 -0
  4. data/.rubocop_todo.yml +114 -213
  5. data/{.solr_wrapper → .solr_wrapper.yml} +0 -0
  6. data/.yardopts +3 -1
  7. data/Gemfile +0 -3
  8. data/Rakefile +1 -1
  9. data/VERSION +1 -1
  10. data/Vagrantfile +0 -2
  11. data/app/controllers/bookmarks_controller.rb +0 -2
  12. data/app/controllers/catalog_controller.rb +0 -2
  13. data/app/controllers/concerns/blacklight/base.rb +0 -1
  14. data/app/controllers/concerns/blacklight/bookmarks.rb +1 -1
  15. data/app/controllers/concerns/blacklight/catalog.rb +7 -11
  16. data/app/controllers/concerns/blacklight/controller.rb +11 -7
  17. data/app/controllers/concerns/blacklight/default_component_configuration.rb +24 -37
  18. data/app/controllers/concerns/blacklight/facet.rb +2 -11
  19. data/app/controllers/concerns/blacklight/request_builders.rb +1 -3
  20. data/app/controllers/concerns/blacklight/search_context.rb +0 -1
  21. data/app/controllers/concerns/blacklight/search_fields.rb +2 -2
  22. data/app/controllers/concerns/blacklight/search_helper.rb +14 -24
  23. data/app/controllers/concerns/blacklight/token_based_user.rb +0 -2
  24. data/app/helpers/blacklight/blacklight_helper_behavior.rb +27 -28
  25. data/app/helpers/blacklight/catalog_helper_behavior.rb +15 -15
  26. data/app/helpers/blacklight/component_helper_behavior.rb +2 -5
  27. data/app/helpers/blacklight/configuration_helper_behavior.rb +2 -3
  28. data/app/helpers/blacklight/deprecated_url_helper_behavior.rb +1 -3
  29. data/app/helpers/blacklight/facets_helper_behavior.rb +21 -25
  30. data/app/helpers/blacklight/hash_as_hidden_fields_helper_behavior.rb +1 -2
  31. data/app/helpers/blacklight/render_constraints_helper_behavior.rb +8 -9
  32. data/app/helpers/blacklight/render_partials_helper.rb +14 -13
  33. data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +1 -4
  34. data/app/helpers/blacklight/url_helper_behavior.rb +1 -1
  35. data/app/models/blacklight/facet_paginator.rb +2 -2
  36. data/app/models/concerns/blacklight/document.rb +1 -6
  37. data/app/models/concerns/blacklight/document/active_model_shim.rb +0 -1
  38. data/app/models/concerns/blacklight/document/cache_key.rb +3 -3
  39. data/app/models/concerns/blacklight/document/dublin_core.rb +0 -1
  40. data/app/models/concerns/blacklight/document/email.rb +0 -2
  41. data/app/models/concerns/blacklight/document/export.rb +1 -2
  42. data/app/models/concerns/blacklight/document/schema_org.rb +0 -2
  43. data/app/models/concerns/blacklight/document/sms.rb +0 -2
  44. data/app/models/concerns/blacklight/solr/document.rb +0 -1
  45. data/app/models/record_mailer.rb +0 -1
  46. data/app/models/solr_document.rb +0 -2
  47. data/app/presenters/blacklight/document_presenter.rb +14 -11
  48. data/app/presenters/blacklight/index_presenter.rb +5 -5
  49. data/app/presenters/blacklight/json_presenter.rb +0 -1
  50. data/app/presenters/blacklight/rendering/abstract_step.rb +0 -1
  51. data/app/presenters/blacklight/rendering/helper_method.rb +5 -5
  52. data/app/presenters/blacklight/rendering/link_to_facet.rb +1 -1
  53. data/app/presenters/blacklight/show_presenter.rb +4 -5
  54. data/app/services/blacklight/field_retriever.rb +8 -9
  55. data/app/views/catalog/_facet_limit.html.erb +1 -1
  56. data/blacklight.gemspec +4 -0
  57. data/lib/blacklight.rb +2 -2
  58. data/lib/blacklight/abstract_repository.rb +4 -3
  59. data/lib/blacklight/configuration.rb +57 -92
  60. data/lib/blacklight/configuration/context.rb +3 -3
  61. data/lib/blacklight/configuration/fields.rb +24 -7
  62. data/lib/blacklight/exceptions.rb +0 -2
  63. data/lib/blacklight/parameters.rb +1 -1
  64. data/lib/blacklight/search_builder.rb +92 -96
  65. data/lib/blacklight/search_state.rb +2 -1
  66. data/lib/blacklight/solr/repository.rb +3 -4
  67. data/lib/blacklight/solr/request.rb +0 -2
  68. data/lib/blacklight/solr/response/facets.rb +23 -28
  69. data/lib/blacklight/solr/response/group.rb +0 -1
  70. data/lib/blacklight/solr/response/group_response.rb +1 -5
  71. data/lib/blacklight/solr/response/pagination_methods.rb +0 -1
  72. data/lib/blacklight/solr/response/response.rb +1 -1
  73. data/lib/blacklight/solr/response/spelling.rb +0 -4
  74. data/lib/blacklight/solr/search_builder_behavior.rb +29 -41
  75. data/lib/blacklight/utils.rb +10 -7
  76. data/lib/generators/blacklight/assets_generator.rb +0 -1
  77. data/lib/generators/blacklight/document_generator.rb +0 -1
  78. data/lib/generators/blacklight/install_generator.rb +2 -6
  79. data/lib/generators/blacklight/models_generator.rb +0 -3
  80. data/lib/generators/blacklight/search_builder_generator.rb +0 -1
  81. data/lib/generators/blacklight/solr4_generator.rb +0 -2
  82. data/lib/generators/blacklight/solr5_generator.rb +15 -1
  83. data/lib/generators/blacklight/test_support_generator.rb +0 -1
  84. data/lib/railties/blacklight.rake +3 -3
  85. data/spec/controllers/blacklight/catalog/component_configuration_spec.rb +1 -4
  86. data/spec/controllers/blacklight/search_helper_spec.rb +5 -7
  87. data/spec/controllers/blacklight/suggest_search_spec.rb +2 -2
  88. data/spec/controllers/bookmarks_controller_spec.rb +2 -2
  89. data/spec/controllers/catalog_controller_spec.rb +6 -6
  90. data/spec/features/search_context_spec.rb +4 -5
  91. data/spec/features/search_formats_spec.rb +0 -6
  92. data/spec/helpers/blacklight_helper_spec.rb +7 -7
  93. data/spec/helpers/catalog_helper_spec.rb +10 -10
  94. data/spec/helpers/configuration_helper_spec.rb +3 -3
  95. data/spec/helpers/facets_helper_spec.rb +1 -2
  96. data/spec/helpers/render_constraints_helper_spec.rb +8 -0
  97. data/spec/integration/generators/blacklight/solr5_generator_spec.rb +60 -0
  98. data/spec/models/blacklight/document_spec.rb +1 -1
  99. data/spec/models/blacklight/search_builder_spec.rb +5 -4
  100. data/spec/models/blacklight/solr/search_builder_spec.rb +12 -18
  101. data/spec/presenters/pipeline_spec.rb +1 -1
  102. data/spec/spec_helper.rb +43 -0
  103. data/spec/views/catalog/_index_header_default.html.erb_spec.rb +1 -1
  104. data/spec/views/catalog/_show_tools.html.erb_spec.rb +1 -1
  105. data/spec/views/catalog/_sort_and_per_page.html.erb_spec.rb +2 -2
  106. data/spec/views/catalog/_thumbnail_default.erb_spec.rb +1 -1
  107. data/spec/views/catalog/_view_type_group.html.erb_spec.rb +3 -3
  108. data/spec/views/catalog/index.html.erb_spec.rb +1 -1
  109. data/spec/views/catalog/index.json.jbuilder_spec.rb +2 -2
  110. data/tasks/blacklight.rake +3 -0
  111. metadata +61 -3
@@ -0,0 +1,60 @@
1
+ require 'spec_helper'
2
+ require 'generators/blacklight/solr5_generator'
3
+
4
+ describe Blacklight::Solr5Generator do
5
+ let(:destination) { Dir.mktmpdir }
6
+
7
+ describe "#solr_wrapper_config" do
8
+ let(:generator) { described_class.new }
9
+ let(:files_to_test) {[
10
+ File.join("#{destination}", '.solr_wrapper.yml')
11
+ ]}
12
+
13
+ before do
14
+ generator.destination_root = destination
15
+ generator.solr_wrapper_config
16
+
17
+ end
18
+
19
+ after do
20
+ files_to_test.each { |file| File.delete(file) if File.exist?(file) }
21
+ end
22
+
23
+ it "creates config files" do
24
+ files_to_test.each do |file|
25
+ expect(File).to exist(file), "Expected #{file} to exist"
26
+ end
27
+ end
28
+ end
29
+
30
+ describe "#copy_solr_conf" do
31
+ let(:generator) { described_class.new }
32
+ let(:dirs_to_test) {[
33
+ File.join("#{destination}", 'solr'),
34
+ File.join("#{destination}", 'solr/conf')]}
35
+ let(:files_to_test) {[
36
+ File.join("#{destination}", 'solr/conf/solrconfig.xml')
37
+ ]}
38
+
39
+ before do
40
+ generator.destination_root = destination
41
+ generator.copy_solr_conf
42
+ end
43
+
44
+ after do
45
+ dirs_to_test.each { |dir| FileUtils.rm_rf(Dir.glob(dir)) if File.directory?(dir) }
46
+ end
47
+
48
+ it "creates solr directory" do
49
+ dirs_to_test.each do |dir|
50
+ expect(File).to exist(dir), "Expected #{dir} to exist"
51
+ end
52
+ end
53
+
54
+ it "copies solr config files" do
55
+ files_to_test.each do |file|
56
+ expect(File).to exist(file), "Expected #{file} to exist"
57
+ end
58
+ end
59
+ end
60
+ end
@@ -80,7 +80,7 @@ describe Blacklight::Document do
80
80
  end
81
81
 
82
82
  before do
83
- allow(MockDocument).to receive(:repository).and_return(double(find: MockResponse.new([{id: 1}], {})))
83
+ allow(MockDocument).to receive(:repository).and_return(instance_double(Blacklight::Solr::Repository, find: MockResponse.new([{id: 1}], {})))
84
84
  end
85
85
 
86
86
  it "has a globalid" do
@@ -92,7 +92,7 @@ describe Blacklight::SearchBuilder do
92
92
  expect(actual[:q]).to eq 'xyz'
93
93
  end
94
94
  end
95
-
95
+
96
96
  describe "#reverse_merge" do
97
97
  let(:processor_chain) { [:pass_through] }
98
98
  before do
@@ -146,7 +146,6 @@ describe Blacklight::SearchBuilder do
146
146
  end
147
147
 
148
148
  describe "#rows" do
149
-
150
149
  it "is nil if no value is set" do
151
150
  blacklight_config.default_per_page = nil
152
151
  blacklight_config.per_page = []
@@ -235,24 +234,26 @@ describe Blacklight::SearchBuilder do
235
234
  end
236
235
 
237
236
  it "is marked as changed when reverse merged parameters are added" do
238
- subject.merge(a: 1)
237
+ subject.reverse_merge(a: 1)
239
238
  expect(subject.send(:params_changed?)).to eq true
240
239
  end
241
240
 
242
241
  it "is marked as changed when pagination changes" do
242
+ expect(subject).to receive(:page=).with(1).and_call_original
243
243
  subject.page(1)
244
244
  expect(subject.send(:params_changed?)).to eq true
245
245
  end
246
246
 
247
247
  it "is marked as changed when rows changes" do
248
+ expect(subject).to receive(:rows=).with(1).and_call_original
248
249
  subject.rows(1)
249
250
  expect(subject.send(:params_changed?)).to eq true
250
251
  end
251
252
 
252
253
  it "is marked as changed when start offset changes" do
254
+ expect(subject).to receive(:start=).with(1).and_call_original
253
255
  subject.start(1)
254
256
  expect(subject.send(:params_changed?)).to eq true
255
257
  end
256
-
257
258
  end
258
259
  end
@@ -377,6 +377,7 @@ describe Blacklight::Solr::SearchBuilderBehavior do
377
377
 
378
378
  it "should pass integer-like strings through" do
379
379
  expect(subject.send(:facet_value_to_fq_string, "facet_name", "1")).to eq '{!term f=facet_name}1'
380
+ expect(subject.send(:facet_value_to_fq_string, "facet_name", -1)).to eq '{!term f=facet_name}-1'
380
381
  end
381
382
 
382
383
  it "should pass floats through" do
@@ -387,26 +388,19 @@ describe Blacklight::Solr::SearchBuilderBehavior do
387
388
  expect(subject.send(:facet_value_to_fq_string, "facet_name", "1.11")).to eq '{!term f=facet_name}1.11'
388
389
  end
389
390
 
390
- it "should escape negative integers" do
391
- expect(subject.send(:facet_value_to_fq_string, "facet_name", -1)).to eq '{!term f=facet_name}-1'
392
- end
393
-
394
- it "should pass date-type fields through" do
395
- allow(blacklight_config.facet_fields).to receive(:[]).with('facet_name').and_return(double(:date => true, :query => nil, :tag => nil, :field => 'facet_name'))
396
-
397
- expect(subject.send(:facet_value_to_fq_string, "facet_name", "2012-01-01")).to eq '{!term f=facet_name}2012-01-01'
398
- end
399
-
400
- it "should escape datetime-type fields" do
401
- allow(blacklight_config.facet_fields).to receive(:[]).with('facet_name').and_return(double(:date => true, :query => nil, :tag => nil, :field => 'facet_name'))
391
+ context 'date handling' do
392
+ before { allow(blacklight_config.facet_fields).to receive(:[]).with('facet_name').and_return(double(:date => true, :query => nil, :tag => nil, :field => 'facet_name')) }
402
393
 
403
- expect(subject.send(:facet_value_to_fq_string, "facet_name", "2003-04-09T00:00:00Z")).to eq '{!term f=facet_name}2003-04-09T00:00:00Z'
404
- end
394
+ it "should pass date-type fields through" do
395
+ expect(subject.send(:facet_value_to_fq_string, "facet_name", "2012-01-01")).to eq '{!term f=facet_name}2012-01-01'
396
+ expect(subject.send(:facet_value_to_fq_string, "facet_name", "2003-04-09T00:00:00Z")).to eq '{!term f=facet_name}2003-04-09T00:00:00Z'
397
+ end
405
398
 
406
- it "should format Date objects correctly" do
407
- allow(blacklight_config.facet_fields).to receive(:[]).with('facet_name').and_return(double(:date => nil, :query => nil, :tag => nil, :field => 'facet_name'))
408
- d = DateTime.parse("2003-04-09T00:00:00")
409
- expect(subject.send(:facet_value_to_fq_string, "facet_name", d)).to eq '{!term f=facet_name}2003-04-09T00:00:00Z'
399
+ it "should format Date objects correctly" do
400
+ allow(blacklight_config.facet_fields).to receive(:[]).with('facet_name').and_return(double(:date => nil, :query => nil, :tag => nil, :field => 'facet_name'))
401
+ d = DateTime.parse("2003-04-09T00:00:00")
402
+ expect(subject.send(:facet_value_to_fq_string, "facet_name", d)).to eq '{!term f=facet_name}2003-04-09T00:00:00Z'
403
+ end
410
404
  end
411
405
 
412
406
  it "should handle range requests" do
@@ -2,7 +2,7 @@
2
2
 
3
3
  describe Blacklight::Rendering::Pipeline do
4
4
  include Capybara::RSpecMatchers
5
- let(:document) { double }
5
+ let(:document) { instance_double(SolrDocument) }
6
6
  let(:context) { double }
7
7
  let(:options) { double }
8
8
  let(:presenter) { described_class.new(values, field_config, document, context, options) }
@@ -67,4 +67,47 @@ RSpec.configure do |config|
67
67
  unless Rails.version > '5'
68
68
  config.include BackportTest, type: :controller
69
69
  end
70
+
71
+ config.expect_with :rspec do |expectations|
72
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
73
+ end
74
+
75
+ config.default_formatter = 'doc' if config.files_to_run.one?
76
+
77
+ config.shared_context_metadata_behavior = :apply_to_host_groups
78
+
79
+ # This allows you to limit a spec run to individual examples or groups
80
+ # you care about by tagging them with `:focus` metadata. When nothing
81
+ # is tagged with `:focus`, all examples get run. RSpec also provides
82
+ # aliases for `it`, `describe`, and `context` that include `:focus`
83
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
84
+ config.filter_run_when_matching :focus
85
+
86
+ config.example_status_persistence_file_path = 'spec/examples.txt'
87
+ # Many RSpec users commonly either run the entire suite or an individual
88
+ # file, and it's useful to allow more verbose output when running an
89
+ # individual spec file.
90
+ if config.files_to_run.one?
91
+ # Use the documentation formatter for detailed output,
92
+ # unless a formatter has already been configured
93
+ # (e.g. via a command-line flag).
94
+ config.default_formatter = 'doc'
95
+ end
96
+
97
+ # Print the 10 slowest examples and example groups at the
98
+ # end of the spec run, to help surface which specs are running
99
+ # particularly slow.
100
+ config.profile_examples = 10
101
+
102
+ # Run specs in random order to surface order dependencies. If you find an
103
+ # order dependency and want to debug it, you can fix the order by providing
104
+ # the seed, which is printed after each run.
105
+ # --seed 1234
106
+ config.order = :random
107
+
108
+ # Seed global randomization in this process using the `--seed` CLI option.
109
+ # Setting this allows you to use `--seed` to deterministically reproduce
110
+ # test failures related to randomization by passing the same `--seed` value
111
+ # as the one that triggered the failure.
112
+ Kernel.srand config.seed
70
113
  end
@@ -9,7 +9,7 @@ describe "catalog/_index_header_default" do
9
9
 
10
10
  before do
11
11
  allow(controller).to receive(:action_name).and_return('index')
12
- assign :response, double(start: 0)
12
+ assign :response, instance_double(Blacklight::Solr::Response, start: 0)
13
13
  allow(view).to receive(:render_grouped_response?).and_return false
14
14
  allow(view).to receive(:blacklight_config).and_return(blacklight_config)
15
15
  allow(view).to receive(:current_search_session).and_return nil
@@ -5,7 +5,7 @@ describe "catalog/_show_tools.html.erb" do
5
5
  let(:blacklight_config) { Blacklight::Configuration.new }
6
6
 
7
7
  before do
8
- assign :response, double(:params => {})
8
+ assign :response, instance_double(Blacklight::Solr::Response, params: {})
9
9
  assign :document, document
10
10
  allow(view).to receive(:blacklight_config).and_return blacklight_config
11
11
  allow(view).to receive(:has_user_authentication_provider?).and_return false
@@ -11,7 +11,7 @@ describe "catalog/_sort_and_per_page" do
11
11
  end
12
12
 
13
13
  it "renders the pagination, sort, per page and view type controls" do
14
- assign(:response, double("Solr::Response", limit_value: 1))
14
+ assign(:response, instance_double(Blacklight::Solr::Response, limit_value: 1))
15
15
  stub_template "catalog/_paginate_compact.html.erb" => "paginate_compact"
16
16
  stub_template "catalog/_sort_widget.html.erb" => "sort_widget"
17
17
  stub_template "catalog/_per_page_widget.html.erb" => "per_page_widget"
@@ -24,7 +24,7 @@ describe "catalog/_sort_and_per_page" do
24
24
  end
25
25
 
26
26
  it "does not render the pagination controls with bad limit values" do
27
- assign(:response, double("Solr::Response", limit_value: 0))
27
+ assign(:response, instance_double(Blacklight::Solr::Response, limit_value: 0))
28
28
  stub_template "catalog/_paginate_compact.html.erb" => "paginate_compact"
29
29
  stub_template "catalog/_sort_widget.html.erb" => "sort_widget"
30
30
  stub_template "catalog/_per_page_widget.html.erb" => "per_page_widget"
@@ -18,7 +18,7 @@ describe "catalog/_thumbnail_default" do
18
18
 
19
19
  before do
20
20
  allow(controller).to receive(:action_name).and_return('index')
21
- assign :response, double(start: 0)
21
+ assign :response, instance_double(Blacklight::Solr::Response, start: 0)
22
22
  allow(view).to receive(:render_grouped_response?).and_return false
23
23
  allow(view).to receive(:blacklight_config).and_return(blacklight_config)
24
24
  allow(view).to receive(:current_search_session).and_return nil
@@ -2,6 +2,7 @@
2
2
 
3
3
  describe "catalog/_view_type_group" do
4
4
  let(:blacklight_config) { Blacklight::Configuration.new }
5
+ let(:response) { instance_double(Blacklight::Solr::Response, empty?: false) }
5
6
 
6
7
  before do
7
8
  allow(view).to receive(:view_label) do |view|
@@ -9,16 +10,16 @@ describe "catalog/_view_type_group" do
9
10
  end
10
11
  allow(view).to receive_messages(how_sort_and_per_page?: true, blacklight_config: blacklight_config)
11
12
  controller.request.path_parameters[:action] = 'index'
13
+ assign(:response, response)
12
14
  end
13
15
 
14
16
  it "does not display the group when there's only one option" do
15
- assign(:response, [])
17
+ allow(response).to receive_messages(empty?: true)
16
18
  render partial: 'catalog/view_type_group'
17
19
  expect(rendered).to be_empty
18
20
  end
19
21
 
20
22
  it "displays the group" do
21
- assign(:response, [double])
22
23
  blacklight_config.configure do |config|
23
24
  config.view.delete(:list)
24
25
  config.view.a
@@ -33,7 +34,6 @@ describe "catalog/_view_type_group" do
33
34
  end
34
35
 
35
36
  it "sets the current view to 'active'" do
36
- assign(:response, [double])
37
37
  blacklight_config.configure do |config|
38
38
  config.view.delete(:list)
39
39
  config.view.a
@@ -26,7 +26,7 @@ describe "catalog/index.html.erb" do
26
26
  stub_template "catalog/_search_header.html.erb" => "header_content"
27
27
  allow(view).to receive(:blacklight_config).and_return(Blacklight::Configuration.new)
28
28
  allow(view).to receive(:render_opensearch_response_metadata).and_return("")
29
- assign(:response, double(:empty? => true))
29
+ assign(:response, instance_double(Blacklight::Solr::Response, empty?: true))
30
30
  end
31
31
  it "renders the search_header partial" do
32
32
  render
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
  describe "catalog/index.json" do
3
- let(:response) { double("response") }
3
+ let(:response) { instance_double(Blacklight::Solr::Response) }
4
4
  let(:docs) { [{ id: '123', title_t: 'Book1' }, { id: '456', title_t: 'Book2' }] }
5
5
  let(:facets) { double("facets") }
6
- let(:config) { double("config") }
6
+ let(:config) { instance_double(Blacklight::Configuration) }
7
7
  let(:presenter) { Blacklight::JsonPresenter.new(response, docs, facets, config) }
8
8
 
9
9
  it "renders index json" do
@@ -6,6 +6,9 @@ RSpec::Core::RakeTask.new(:spec) do |t|
6
6
  t.pattern = 'spec/**/*_spec.rb'
7
7
  end
8
8
 
9
+ require 'rubocop/rake_task'
10
+ RuboCop::RakeTask.new(:rubocop)
11
+
9
12
  EngineCart.fingerprint_proc = EngineCart.rails_fingerprint_proc
10
13
 
11
14
  desc "Run test suite"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.5.0
4
+ version: 6.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: exe
19
19
  cert_chain: []
20
- date: 2016-08-22 00:00:00.000000000 Z
20
+ date: 2016-09-09 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rails
@@ -255,6 +255,62 @@ dependencies:
255
255
  - - ">="
256
256
  - !ruby/object:Gem::Version
257
257
  version: '0'
258
+ - !ruby/object:Gem::Dependency
259
+ name: coveralls
260
+ requirement: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ type: :development
266
+ prerelease: false
267
+ version_requirements: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ - !ruby/object:Gem::Dependency
273
+ name: simplecov
274
+ requirement: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ type: :development
280
+ prerelease: false
281
+ version_requirements: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ - !ruby/object:Gem::Dependency
287
+ name: rubocop
288
+ requirement: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ type: :development
294
+ prerelease: false
295
+ version_requirements: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ - !ruby/object:Gem::Dependency
301
+ name: rubocop-rspec
302
+ requirement: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ type: :development
308
+ prerelease: false
309
+ version_requirements: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
258
314
  description: |-
259
315
  Blacklight is an open source Solr user interface discovery platform.
260
316
  You can use Blacklight to enable searching and browsing of your
@@ -272,7 +328,7 @@ files:
272
328
  - ".rspec"
273
329
  - ".rubocop.yml"
274
330
  - ".rubocop_todo.yml"
275
- - ".solr_wrapper"
331
+ - ".solr_wrapper.yml"
276
332
  - ".travis.yml"
277
333
  - ".yardopts"
278
334
  - Gemfile
@@ -597,6 +653,7 @@ files:
597
653
  - spec/helpers/search_history_constraints_helper_spec.rb
598
654
  - spec/helpers/suggest_helper_spec.rb
599
655
  - spec/helpers/url_helper_spec.rb
656
+ - spec/integration/generators/blacklight/solr5_generator_spec.rb
600
657
  - spec/lib/blacklight/parameters_spec.rb
601
658
  - spec/lib/blacklight/search_state_spec.rb
602
659
  - spec/lib/blacklight/utils_spec.rb
@@ -733,6 +790,7 @@ test_files:
733
790
  - spec/helpers/search_history_constraints_helper_spec.rb
734
791
  - spec/helpers/suggest_helper_spec.rb
735
792
  - spec/helpers/url_helper_spec.rb
793
+ - spec/integration/generators/blacklight/solr5_generator_spec.rb
736
794
  - spec/lib/blacklight/parameters_spec.rb
737
795
  - spec/lib/blacklight/search_state_spec.rb
738
796
  - spec/lib/blacklight/utils_spec.rb