blacklight 6.0.0.pre3 → 6.0.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/VERSION +1 -1
- data/app/controllers/bookmarks_controller.rb +0 -1
- data/app/controllers/catalog_controller.rb +0 -1
- data/app/controllers/concerns/blacklight/base.rb +0 -1
- data/app/controllers/concerns/blacklight/bookmarks.rb +0 -1
- data/app/controllers/concerns/blacklight/catalog.rb +6 -38
- data/app/controllers/concerns/blacklight/controller.rb +0 -2
- data/app/controllers/concerns/blacklight/search_fields.rb +0 -1
- data/app/controllers/concerns/blacklight/search_helper.rb +0 -5
- data/app/{models → controllers}/concerns/blacklight/token_based_user.rb +6 -10
- data/app/controllers/saved_searches_controller.rb +0 -1
- data/app/controllers/search_history_controller.rb +0 -1
- data/app/helpers/blacklight/blacklight_helper_behavior.rb +0 -4
- data/app/helpers/blacklight/catalog_helper_behavior.rb +3 -2
- data/app/helpers/blacklight/hash_as_hidden_fields_helper_behavior.rb +0 -1
- data/app/helpers/blacklight/layout_helper_behavior.rb +8 -0
- data/app/helpers/blacklight/render_constraints_helper_behavior.rb +0 -1
- data/app/helpers/blacklight/render_partials_helper.rb +1 -6
- data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +0 -1
- data/app/helpers/blacklight/url_helper_behavior.rb +1 -6
- data/app/models/blacklight/solr/facet_paginator.rb +0 -1
- data/app/models/bookmark.rb +0 -1
- data/app/models/concerns/blacklight/configurable.rb +0 -1
- data/app/models/concerns/blacklight/document/cache_key.rb +0 -1
- data/app/models/concerns/blacklight/document/email.rb +0 -1
- data/app/models/concerns/blacklight/document/sms.rb +0 -1
- data/app/models/concerns/blacklight/solr/document.rb +0 -7
- data/app/models/concerns/blacklight/user.rb +0 -1
- data/app/models/record_mailer.rb +0 -1
- data/app/models/search.rb +0 -6
- data/app/presenters/blacklight/document_presenter.rb +3 -17
- data/app/presenters/blacklight/json_presenter.rb +41 -0
- data/app/views/catalog/_document.html.erb +1 -1
- data/app/views/catalog/_document_default.atom.builder +2 -4
- data/app/views/catalog/facet.json.jbuilder +3 -0
- data/app/views/catalog/index.atom.builder +1 -1
- data/app/views/catalog/index.json.jbuilder +6 -0
- data/app/views/layouts/blacklight.html.erb +1 -1
- data/app/views/shared/_header_navbar.html.erb +2 -2
- data/blacklight.gemspec +9 -4
- data/db/migrate/20140202020201_create_searches.rb +1 -2
- data/db/migrate/20140202020202_create_bookmarks.rb +1 -2
- data/db/migrate/20140320000000_add_polymorphic_type_to_bookmarks.rb +0 -1
- data/lib/blacklight.rb +0 -10
- data/lib/blacklight/configuration.rb +0 -1
- data/lib/blacklight/engine.rb +0 -8
- data/lib/blacklight/exceptions.rb +0 -1
- data/lib/blacklight/routes.rb +0 -1
- data/lib/blacklight/version.rb +0 -1
- data/lib/generators/blacklight/assets_generator.rb +0 -1
- data/lib/generators/blacklight/install_generator.rb +8 -14
- data/lib/generators/blacklight/solr4_generator.rb +27 -0
- data/lib/generators/blacklight/solr5_generator.rb +21 -0
- data/lib/generators/blacklight/templates/alternate_controller.rb +0 -1
- data/lib/generators/blacklight/templates/catalog_controller.rb +3 -4
- data/lib/generators/blacklight/templates/solr_document.rb +0 -1
- data/lib/generators/blacklight/test_support_generator.rb +0 -1
- data/lib/railties/blacklight.rake +0 -7
- data/provision.sh +11 -1
- data/spec/controllers/blacklight/search_helper_spec.rb +0 -1
- data/spec/controllers/bookmarks_controller_spec.rb +26 -1
- data/spec/controllers/catalog_controller_spec.rb +8 -35
- data/spec/features/facets_spec.rb +0 -1
- data/spec/features/record_view_spec.rb +0 -1
- data/spec/features/search_context_spec.rb +0 -2
- data/spec/features/search_formats_spec.rb +0 -2
- data/spec/features/search_pagination_spec.rb +0 -2
- data/spec/features/search_results_spec.rb +0 -2
- data/spec/features/search_spec.rb +0 -2
- data/spec/helpers/blacklight_helper_spec.rb +3 -12
- data/spec/helpers/catalog_helper_spec.rb +8 -0
- data/spec/helpers/layout_helper_spec.rb +7 -0
- data/spec/helpers/url_helper_spec.rb +0 -7
- data/spec/lib/tasks/blacklight_task_spec.rb +0 -1
- data/spec/models/record_mailer_spec.rb +1 -3
- data/spec/models/search_spec.rb +1 -2
- data/spec/models/solr_document_spec.rb +22 -24
- data/spec/presenters/document_presenter_spec.rb +28 -6
- data/spec/spec_helper.rb +0 -1
- data/spec/views/catalog/_document.html.erb_spec.rb +20 -3
- data/spec/views/catalog/_sort_and_per_page.html.erb_spec.rb +2 -2
- data/spec/views/catalog/facet.json.jbuilder_spec.rb +9 -0
- data/spec/views/catalog/index.json.jbuilder_spec.rb +30 -0
- metadata +15 -15
- data/app/models/concerns/blacklight/solr/document/dublin_core.rb +0 -7
- data/app/models/concerns/blacklight/solr/document/email.rb +0 -7
- data/app/models/concerns/blacklight/solr/document/export.rb +0 -7
- data/app/models/concerns/blacklight/solr/document/extensions.rb +0 -8
- data/app/models/concerns/blacklight/solr/document/schema_org.rb +0 -7
- data/app/models/concerns/blacklight/solr/document/sms.rb +0 -7
- data/app/views/catalog/email_sent.html.erb +0 -2
- data/app/views/catalog/sms_sent.html.erb +0 -2
- data/lib/blacklight/configuration/solr_field.rb +0 -7
@@ -238,13 +238,13 @@ describe BlacklightHelper do
|
|
238
238
|
|
239
239
|
describe "render_grouped_response?" do
|
240
240
|
it "should check if the response ivar contains grouped data" do
|
241
|
-
assign(:response, double("
|
241
|
+
assign(:response, double("Solr::Response", :grouped? => true))
|
242
242
|
expect(helper.render_grouped_response?).to be true
|
243
243
|
end
|
244
244
|
|
245
245
|
|
246
246
|
it "should check if the response param contains grouped data" do
|
247
|
-
response = double("
|
247
|
+
response = double("Solr::Response", :grouped? => true)
|
248
248
|
expect(helper.render_grouped_response?(response)).to be true
|
249
249
|
end
|
250
250
|
end
|
@@ -284,15 +284,6 @@ describe BlacklightHelper do
|
|
284
284
|
allow(helper).to receive(:document_partial_name).with(doc, :xyz)
|
285
285
|
helper.render_document_partial(doc, :xyz)
|
286
286
|
end
|
287
|
-
|
288
|
-
context "with a 1-arg form of document_partial_name" do
|
289
|
-
it "should only call the 1-arg form of the document_partial_name" do
|
290
|
-
allow(helper).to receive(:method).with(:document_partial_name).and_return(double(arity: 1))
|
291
|
-
allow(helper).to receive(:document_partial_name).with(doc)
|
292
|
-
allow(Deprecation).to receive(:warn)
|
293
|
-
helper.render_document_partial(doc, nil)
|
294
|
-
end
|
295
|
-
end
|
296
287
|
end
|
297
288
|
|
298
289
|
describe "#document_partial_name" do
|
@@ -394,7 +385,7 @@ describe BlacklightHelper do
|
|
394
385
|
|
395
386
|
before do
|
396
387
|
allow(helper).to receive(:blacklight_config).and_return(CatalogController.blacklight_config)
|
397
|
-
assign(:response, double("
|
388
|
+
assign(:response, double("Solr::Response", grouped?: false, start: 0))
|
398
389
|
allow(helper).to receive(:link_to_document).and_return('<a/>')
|
399
390
|
allow(helper).to receive(:render_index_doc_actions).and_return('<div/>')
|
400
391
|
end
|
@@ -226,6 +226,14 @@ describe CatalogHelper do
|
|
226
226
|
|
227
227
|
expect(helper.render_thumbnail_tag document).to be_nil
|
228
228
|
end
|
229
|
+
|
230
|
+
it "should return nil if no thumbnail is in the document" do
|
231
|
+
allow(helper).to receive_messages(:blacklight_config => Blacklight::Configuration.new(:index => Blacklight::OpenStructWithHashAccess.new(:thumbnail_field => :xyz) ))
|
232
|
+
|
233
|
+
allow(document).to receive(:has?).with(:xyz).and_return(false)
|
234
|
+
|
235
|
+
expect(helper.render_thumbnail_tag document).to be_nil
|
236
|
+
end
|
229
237
|
end
|
230
238
|
|
231
239
|
describe "thumbnail_url" do
|
@@ -28,4 +28,11 @@ describe LayoutHelper do
|
|
28
28
|
expect(helper.sidebar_classes).to eq 'col-md-3 col-sm-4'
|
29
29
|
end
|
30
30
|
end
|
31
|
+
|
32
|
+
describe '#container_classes' do
|
33
|
+
it 'returns a string of classe(s)' do
|
34
|
+
expect(helper.container_classes).to be_an String
|
35
|
+
expect(helper.container_classes).to eq 'container'
|
36
|
+
end
|
37
|
+
end
|
31
38
|
end
|
@@ -182,13 +182,6 @@ describe BlacklightUrlHelper do
|
|
182
182
|
expect(helper.link_to_document(@document, :title_display)).to have_selector("a", :text => '654321', :count => 1)
|
183
183
|
end
|
184
184
|
|
185
|
-
it "should have the old deprecated behavior (second argument is a hash)" do
|
186
|
-
data = {'id'=>'123456','title_display'=>['654321'] }
|
187
|
-
@document = SolrDocument.new(data)
|
188
|
-
expect(Deprecation).to receive(:warn)
|
189
|
-
expect(helper.link_to_document(@document, { :label => "title_display" })).to have_selector("a", :text => 'title_display', :count => 1)
|
190
|
-
end
|
191
|
-
|
192
185
|
it "should accept and return a string label" do
|
193
186
|
data = {'id'=>'123456','title_display'=>['654321'] }
|
194
187
|
@document = SolrDocument.new(data)
|
data/spec/models/search_spec.rb
CHANGED
@@ -1,33 +1,31 @@
|
|
1
|
-
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
describe SolrDocument do
|
4
|
+
|
5
|
+
before(:each) do
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
@solrdoc = SolrDocument.new :id => '00282214', :format => ['Book'], :title_display => 'some-title'
|
8
|
+
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "new" do
|
12
|
+
it "should take a Hash as the argument" do
|
13
|
+
expect { SolrDocument.new(:id => 1) }.not_to raise_error
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "access methods" do
|
10
18
|
|
19
|
+
it "should have the right value for title_display" do
|
20
|
+
expect(@solrdoc[:title_display]).not_to be_nil
|
11
21
|
end
|
12
22
|
|
13
|
-
|
14
|
-
|
15
|
-
expect { SolrDocument.new(:id => 1) }.not_to raise_error
|
16
|
-
end
|
23
|
+
it "should have the right value for format" do
|
24
|
+
expect(@solrdoc[:format][0]).to eq 'Book'
|
17
25
|
end
|
18
26
|
|
19
|
-
|
20
|
-
|
21
|
-
it "should have the right value for title_display" do
|
22
|
-
expect(@solrdoc[:title_display]).not_to be_nil
|
23
|
-
end
|
24
|
-
|
25
|
-
it "should have the right value for format" do
|
26
|
-
expect(@solrdoc[:format][0]).to eq 'Book'
|
27
|
-
end
|
28
|
-
|
29
|
-
it "should provide the item's solr id" do
|
30
|
-
expect(@solrdoc.id).to eq '00282214'
|
31
|
-
end
|
27
|
+
it "should provide the item's solr id" do
|
28
|
+
expect(@solrdoc.id).to eq '00282214'
|
32
29
|
end
|
30
|
+
end
|
33
31
|
end
|
@@ -300,12 +300,6 @@ describe Blacklight::DocumentPresenter do
|
|
300
300
|
expect(subject.render_field_value(['a', 'b'])).to eq "a and b"
|
301
301
|
end
|
302
302
|
|
303
|
-
it "should use the separator from the Blacklight field configuration by default" do
|
304
|
-
Deprecation.silence(Blacklight::DocumentPresenter) do
|
305
|
-
expect(subject.render_field_value(['c', 'd'], double(separator: '; ', itemprop: nil, separator_options: nil))).to eq "c; d"
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
303
|
it "should use the field_config.separator_options from the Blacklight field configuration" do
|
310
304
|
expect(subject.render_field_value(['c', 'd'], double(separator: nil, itemprop: nil, separator_options: { two_words_connector: '; '}))).to eq "c; d"
|
311
305
|
end
|
@@ -358,4 +352,32 @@ describe Blacklight::DocumentPresenter do
|
|
358
352
|
expect(subject.document_show_html_title).to eq "value"
|
359
353
|
end
|
360
354
|
end
|
355
|
+
|
356
|
+
describe '#get_field_values' do
|
357
|
+
context 'for a field with the helper_method option' do
|
358
|
+
let(:field_name) { 'field_with_helper' }
|
359
|
+
let(:field_config) { config.add_facet_field 'field_with_helper', helper_method: 'render_field_with_helper' }
|
360
|
+
|
361
|
+
before do
|
362
|
+
document['field_with_helper'] = 'value'
|
363
|
+
end
|
364
|
+
|
365
|
+
it "should check call the helper method with arguments" do
|
366
|
+
allow(request_context).to receive(:render_field_with_helper) do |*args|
|
367
|
+
args.first
|
368
|
+
end
|
369
|
+
|
370
|
+
render_options = { a: 1 }
|
371
|
+
|
372
|
+
options = subject.get_field_values field_name, field_config, a: 1
|
373
|
+
|
374
|
+
expect(options).to include :document, :field, :value, :config, :a
|
375
|
+
expect(options[:document]).to eq document
|
376
|
+
expect(options[:field]).to eq 'field_with_helper'
|
377
|
+
expect(options[:value]).to eq 'value'
|
378
|
+
expect(options[:config]).to eq field_config
|
379
|
+
expect(options[:a]).to eq 1
|
380
|
+
end
|
381
|
+
end
|
382
|
+
end
|
361
383
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -9,9 +9,12 @@ describe "catalog/_document" do
|
|
9
9
|
Blacklight::Configuration.new
|
10
10
|
end
|
11
11
|
|
12
|
-
|
12
|
+
before do
|
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
|
+
end
|
16
|
+
|
17
|
+
it "should render the header, thumbnail and index by default" do
|
15
18
|
stub_template "catalog/_index_header_default.html.erb" => "document_header"
|
16
19
|
stub_template "catalog/_thumbnail_default.html.erb" => "thumbnail_default"
|
17
20
|
stub_template "catalog/_index_default.html.erb" => "index_default"
|
@@ -25,8 +28,6 @@ describe "catalog/_document" do
|
|
25
28
|
|
26
29
|
|
27
30
|
it "should use the index.partials parameter to determine the partials to render" do
|
28
|
-
allow(view).to receive(:render_grouped_response?).and_return(false)
|
29
|
-
allow(view).to receive(:blacklight_config).and_return(blacklight_config)
|
30
31
|
blacklight_config.index.partials = ['a', 'b', 'c']
|
31
32
|
stub_template "catalog/_a_default.html.erb" => "a_partial"
|
32
33
|
stub_template "catalog/_b_default.html.erb" => "b_partial"
|
@@ -36,4 +37,20 @@ describe "catalog/_document" do
|
|
36
37
|
expect(rendered).to match /b_partial/
|
37
38
|
expect(rendered).to match /c_partial/
|
38
39
|
end
|
40
|
+
|
41
|
+
it 'has a css class with the document position' do
|
42
|
+
allow(view).to receive(:render_document_partials)
|
43
|
+
|
44
|
+
render partial: 'catalog/document', locals: { document: document, document_counter: 5 }
|
45
|
+
|
46
|
+
expect(rendered).to have_selector 'div.document-position-5'
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'has a data attribute with the document position' do
|
50
|
+
allow(view).to receive(:render_document_partials)
|
51
|
+
|
52
|
+
render partial: 'catalog/document', locals: { document: document, document_counter: 5 }
|
53
|
+
|
54
|
+
expect(rendered).to have_selector 'div.document[@data-document-counter="5"]'
|
55
|
+
end
|
39
56
|
end
|
@@ -14,7 +14,7 @@ describe "catalog/_sort_and_per_page" do
|
|
14
14
|
end
|
15
15
|
|
16
16
|
it "should render the pagination, sort, per page and view type controls" do
|
17
|
-
assign(:response, double("
|
17
|
+
assign(:response, double("Solr::Response", limit_value: 1))
|
18
18
|
stub_template "catalog/_paginate_compact.html.erb" => "paginate_compact"
|
19
19
|
stub_template "catalog/_sort_widget.html.erb" => "sort_widget"
|
20
20
|
stub_template "catalog/_per_page_widget.html.erb" => "per_page_widget"
|
@@ -27,7 +27,7 @@ describe "catalog/_sort_and_per_page" do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
it "should not render the pagination controls with bad limit values" do
|
30
|
-
assign(:response, double("
|
30
|
+
assign(:response, double("Solr::Response", limit_value: 0))
|
31
31
|
stub_template "catalog/_paginate_compact.html.erb" => "paginate_compact"
|
32
32
|
stub_template "catalog/_sort_widget.html.erb" => "sort_widget"
|
33
33
|
stub_template "catalog/_per_page_widget.html.erb" => "per_page_widget"
|
@@ -0,0 +1,9 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "catalog/facet.json" do
|
3
|
+
it "renders facet json" do
|
4
|
+
assign :pagination, { items: [{ value: 'Book' }] }
|
5
|
+
render template: "catalog/facet.json", format: :json
|
6
|
+
hash = JSON.parse(rendered)
|
7
|
+
expect(hash).to eq('response' => { 'facets' => { 'items' => [{ 'value' => 'Book' }] } })
|
8
|
+
end
|
9
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
describe "catalog/index.json" do
|
3
|
+
let(:response) { double("response") }
|
4
|
+
let(:docs) { [{ id: '123', title_t: 'Book1' }, { id: '456', title_t: 'Book2' }] }
|
5
|
+
let(:facets) { double("facets") }
|
6
|
+
let(:config) { double("config") }
|
7
|
+
let(:presenter) { Blacklight::JsonPresenter.new(response, docs, facets, config) }
|
8
|
+
|
9
|
+
it "renders index json" do
|
10
|
+
allow(presenter).to receive(:pagination_info).and_return({ current_page: 1, next_page: 2,
|
11
|
+
prev_page: nil })
|
12
|
+
allow(presenter).to receive(:search_facets_as_json).and_return(
|
13
|
+
[{ name: "format", label: "Format",
|
14
|
+
items: [{ value: 'Book', hits: 30, label: 'Book' }] }])
|
15
|
+
assign :presenter, presenter
|
16
|
+
render template: "catalog/index.json", format: :json
|
17
|
+
hash = JSON.parse(rendered)
|
18
|
+
expect(hash).to eq('response' => { 'docs' => [{ 'id' => '123', 'title_t' => 'Book1' },
|
19
|
+
{ 'id' => '456', 'title_t' => 'Book2' }],
|
20
|
+
'facets' => [{ 'name' => "format", 'label' => "Format",
|
21
|
+
'items' => [
|
22
|
+
{ 'value' => 'Book',
|
23
|
+
'hits' => 30,
|
24
|
+
'label' => 'Book' }] }],
|
25
|
+
'pages' => { 'current_page' => 1,
|
26
|
+
'next_page' => 2,
|
27
|
+
'prev_page' => nil } }
|
28
|
+
)
|
29
|
+
end
|
30
|
+
end
|
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.0.0.
|
4
|
+
version: 6.0.0.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -15,9 +15,9 @@ authors:
|
|
15
15
|
- Naomi Dushay
|
16
16
|
- Justin Coyne
|
17
17
|
autorequire:
|
18
|
-
bindir:
|
18
|
+
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2015-11-
|
20
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -315,6 +315,7 @@ files:
|
|
315
315
|
- app/controllers/concerns/blacklight/search_helper.rb
|
316
316
|
- app/controllers/concerns/blacklight/suggest.rb
|
317
317
|
- app/controllers/concerns/blacklight/suggest_search.rb
|
318
|
+
- app/controllers/concerns/blacklight/token_based_user.rb
|
318
319
|
- app/controllers/saved_searches_controller.rb
|
319
320
|
- app/controllers/search_history_controller.rb
|
320
321
|
- app/controllers/suggest_controller.rb
|
@@ -357,20 +358,14 @@ files:
|
|
357
358
|
- app/models/concerns/blacklight/document/semantic_fields.rb
|
358
359
|
- app/models/concerns/blacklight/document/sms.rb
|
359
360
|
- app/models/concerns/blacklight/solr/document.rb
|
360
|
-
- app/models/concerns/blacklight/solr/document/dublin_core.rb
|
361
|
-
- app/models/concerns/blacklight/solr/document/email.rb
|
362
|
-
- app/models/concerns/blacklight/solr/document/export.rb
|
363
|
-
- app/models/concerns/blacklight/solr/document/extensions.rb
|
364
361
|
- app/models/concerns/blacklight/solr/document/more_like_this.rb
|
365
|
-
- app/models/concerns/blacklight/solr/document/schema_org.rb
|
366
|
-
- app/models/concerns/blacklight/solr/document/sms.rb
|
367
362
|
- app/models/concerns/blacklight/suggest/response.rb
|
368
|
-
- app/models/concerns/blacklight/token_based_user.rb
|
369
363
|
- app/models/concerns/blacklight/user.rb
|
370
364
|
- app/models/record_mailer.rb
|
371
365
|
- app/models/search.rb
|
372
366
|
- app/models/solr_document.rb
|
373
367
|
- app/presenters/blacklight/document_presenter.rb
|
368
|
+
- app/presenters/blacklight/json_presenter.rb
|
374
369
|
- app/views/_flash_msg.html.erb
|
375
370
|
- app/views/_user_util_links.html.erb
|
376
371
|
- app/views/blacklight/nav/_bookmark.html.erb
|
@@ -425,11 +420,12 @@ files:
|
|
425
420
|
- app/views/catalog/citation.html.erb
|
426
421
|
- app/views/catalog/citation.js.erb
|
427
422
|
- app/views/catalog/email.html.erb
|
428
|
-
- app/views/catalog/email_sent.html.erb
|
429
423
|
- app/views/catalog/email_success.html.erb
|
430
424
|
- app/views/catalog/facet.html.erb
|
425
|
+
- app/views/catalog/facet.json.jbuilder
|
431
426
|
- app/views/catalog/index.atom.builder
|
432
427
|
- app/views/catalog/index.html.erb
|
428
|
+
- app/views/catalog/index.json.jbuilder
|
433
429
|
- app/views/catalog/index.rss.builder
|
434
430
|
- app/views/catalog/opensearch.json.erb
|
435
431
|
- app/views/catalog/opensearch.xml.builder
|
@@ -437,7 +433,6 @@ files:
|
|
437
433
|
- app/views/catalog/show.html.erb
|
438
434
|
- app/views/catalog/show.refworks.erb
|
439
435
|
- app/views/catalog/sms.html.erb
|
440
|
-
- app/views/catalog/sms_sent.html.erb
|
441
436
|
- app/views/catalog/sms_success.html.erb
|
442
437
|
- app/views/kaminari/blacklight/_first_page.html.erb
|
443
438
|
- app/views/kaminari/blacklight/_gap.html.erb
|
@@ -479,7 +474,6 @@ files:
|
|
479
474
|
- lib/blacklight/configuration/field.rb
|
480
475
|
- lib/blacklight/configuration/fields.rb
|
481
476
|
- lib/blacklight/configuration/search_field.rb
|
482
|
-
- lib/blacklight/configuration/solr_field.rb
|
483
477
|
- lib/blacklight/configuration/sort_field.rb
|
484
478
|
- lib/blacklight/configuration/tool_config.rb
|
485
479
|
- lib/blacklight/configuration/view_config.rb
|
@@ -511,6 +505,8 @@ files:
|
|
511
505
|
- lib/generators/blacklight/install_generator.rb
|
512
506
|
- lib/generators/blacklight/models_generator.rb
|
513
507
|
- lib/generators/blacklight/search_builder_generator.rb
|
508
|
+
- lib/generators/blacklight/solr4_generator.rb
|
509
|
+
- lib/generators/blacklight/solr5_generator.rb
|
514
510
|
- lib/generators/blacklight/templates/alternate_controller.rb
|
515
511
|
- lib/generators/blacklight/templates/blacklight.css.scss
|
516
512
|
- lib/generators/blacklight/templates/blacklight.en.yml
|
@@ -638,8 +634,10 @@ files:
|
|
638
634
|
- spec/views/catalog/_thumbnail_default.erb_spec.rb
|
639
635
|
- spec/views/catalog/_view_type_group.html.erb_spec.rb
|
640
636
|
- spec/views/catalog/facet.html.erb_spec.rb
|
637
|
+
- spec/views/catalog/facet.json.jbuilder_spec.rb
|
641
638
|
- spec/views/catalog/index.atom.builder_spec.rb
|
642
639
|
- spec/views/catalog/index.html.erb_spec.rb
|
640
|
+
- spec/views/catalog/index.json.jbuilder_spec.rb
|
643
641
|
- spec/views/catalog/opensearch.xml.builder_spec.rb
|
644
642
|
- spec/views/catalog/show.html.erb_spec.rb
|
645
643
|
- tasks/blacklight.rake
|
@@ -654,9 +652,9 @@ require_paths:
|
|
654
652
|
- lib
|
655
653
|
required_ruby_version: !ruby/object:Gem::Requirement
|
656
654
|
requirements:
|
657
|
-
- - "
|
655
|
+
- - "~>"
|
658
656
|
- !ruby/object:Gem::Version
|
659
|
-
version: '0'
|
657
|
+
version: '2.0'
|
660
658
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
661
659
|
requirements:
|
662
660
|
- - ">"
|
@@ -768,7 +766,9 @@ test_files:
|
|
768
766
|
- spec/views/catalog/_thumbnail_default.erb_spec.rb
|
769
767
|
- spec/views/catalog/_view_type_group.html.erb_spec.rb
|
770
768
|
- spec/views/catalog/facet.html.erb_spec.rb
|
769
|
+
- spec/views/catalog/facet.json.jbuilder_spec.rb
|
771
770
|
- spec/views/catalog/index.atom.builder_spec.rb
|
772
771
|
- spec/views/catalog/index.html.erb_spec.rb
|
772
|
+
- spec/views/catalog/index.json.jbuilder_spec.rb
|
773
773
|
- spec/views/catalog/opensearch.xml.builder_spec.rb
|
774
774
|
- spec/views/catalog/show.html.erb_spec.rb
|