blacklight 3.8.2 → 4.0.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/app/assets/javascripts/blacklight/blacklight.js +12 -1
- data/app/assets/javascripts/blacklight/bootstrap_dropdowns.js +3 -0
- data/app/assets/javascripts/blacklight/checkbox_submit.js +12 -5
- data/app/assets/javascripts/blacklight/core.js +0 -1
- data/app/assets/javascripts/blacklight/css_dropdowns.js +10 -0
- data/app/assets/javascripts/blacklight/facet_expand_contract.js +5 -5
- data/app/assets/javascripts/blacklight/lightbox_dialog.js +68 -13
- data/app/assets/javascripts/blacklight/select_submit.js +19 -10
- data/app/assets/javascripts/improved-modal/bootstrap-modal.js +282 -0
- data/app/assets/javascripts/improved-modal/bootstrap-modalmanager.js +353 -0
- data/app/assets/stylesheets/blacklight/_blacklight_base.css.scss +16 -5
- data/app/assets/stylesheets/blacklight/_bookmark.css.scss +24 -6
- data/app/assets/stylesheets/blacklight/_catalog.css.scss +115 -141
- data/app/assets/stylesheets/blacklight/_dropdown.css.scss +57 -0
- data/app/assets/stylesheets/blacklight/_facets.css.scss +127 -58
- data/app/assets/stylesheets/blacklight/_footer.css.scss +20 -0
- data/app/assets/stylesheets/blacklight/_header.css.scss +90 -21
- data/app/assets/stylesheets/blacklight/_layout.css.scss +10 -9
- data/app/assets/stylesheets/blacklight/_modal.css.scss +23 -0
- data/app/assets/stylesheets/blacklight/_print.css.scss +0 -7
- data/app/assets/stylesheets/blacklight/_responsive.css.scss +3 -0
- data/app/assets/stylesheets/blacklight/_search_history.css.scss +2 -4
- data/app/assets/stylesheets/blacklight/blacklight.css.scss +0 -1
- data/app/assets/stylesheets/blacklight/blacklight_defaults.css.scss +9 -2
- data/app/assets/stylesheets/blacklight/responsive_partials/_catalog.css.scss +5 -0
- data/app/assets/stylesheets/blacklight/responsive_partials/_facets.css.scss +37 -0
- data/app/assets/stylesheets/blacklight/responsive_partials/_header.css.scss +30 -0
- data/app/assets/stylesheets/improved-modal/bootstrap-modal.css +199 -0
- data/app/controllers/bookmarks_controller.rb +16 -10
- data/app/helpers/blacklight/blacklight_helper_behavior.rb +124 -61
- data/app/helpers/blacklight/catalog_helper_behavior.rb +5 -3
- data/app/helpers/blacklight/facets_helper_behavior.rb +9 -9
- data/app/views/_flash_msg.html.erb +9 -4
- data/app/views/_user_util_links.html.erb +23 -17
- data/app/views/bookmarks/_tools.html.erb +7 -7
- data/app/views/bookmarks/index.html.erb +5 -13
- data/app/views/catalog/_bookmark_control.html.erb +2 -4
- data/app/views/catalog/_bookmark_form.html.erb +1 -1
- data/app/views/catalog/_citation.html.erb +21 -20
- data/app/views/catalog/_constraints.html.erb +8 -6
- data/app/views/catalog/_document_header.html.erb +6 -7
- data/app/views/catalog/_document_list.html.erb +1 -7
- data/app/views/catalog/_email_form.html.erb +42 -16
- data/app/views/catalog/_facet_layout.html.erb +1 -1
- data/app/views/catalog/_facet_limit.html.erb +1 -1
- data/app/views/catalog/_facet_pagination.html.erb +11 -14
- data/app/views/catalog/_facets.html.erb +16 -2
- data/app/views/catalog/_home.html.erb +2 -2
- data/app/views/catalog/_home_text.html.erb +5 -2
- data/app/views/catalog/_index_default.html.erb +2 -2
- data/app/views/catalog/_marc_view.html.erb +0 -1
- data/app/views/catalog/_paginate_compact.html.erb +5 -0
- data/app/views/catalog/_per_page_widget.html.erb +13 -7
- data/app/views/catalog/_previous_next_doc.html.erb +14 -4
- data/app/views/catalog/_refworks_form.html.erb +2 -2
- data/app/views/catalog/_results_pagination.html.erb +4 -1
- data/app/views/catalog/_search_form.html.erb +19 -13
- data/app/views/catalog/_show_default.html.erb +2 -2
- data/app/views/catalog/_show_more_like_this.html.erb +3 -0
- data/app/views/catalog/_show_sidebar.html.erb +14 -1
- data/app/views/catalog/_show_tools.html.erb +18 -18
- data/app/views/catalog/_sms_form.html.erb +35 -10
- data/app/views/catalog/_sort_and_per_page.html.erb +5 -3
- data/app/views/catalog/_sort_widget.html.erb +12 -6
- data/app/views/catalog/citation.html.erb +1 -1
- data/app/views/catalog/citation.js.erb +7 -0
- data/app/views/catalog/email.html.erb +5 -0
- data/app/views/catalog/facet.html.erb +28 -21
- data/app/views/catalog/index.html.erb +26 -26
- data/app/views/catalog/librarian_view.html.erb +7 -0
- data/app/views/catalog/show.html.erb +35 -29
- data/app/views/catalog/sms.html.erb +5 -0
- data/app/views/kaminari/blacklight/_first_page.html.erb +2 -2
- data/app/views/kaminari/blacklight/_gap.html.erb +4 -1
- data/app/views/kaminari/blacklight/_last_page.html.erb +2 -2
- data/app/views/kaminari/blacklight/_next_page.html.erb +3 -3
- data/app/views/kaminari/blacklight/_page.html.erb +4 -3
- data/app/views/kaminari/blacklight/_paginator.html.erb +5 -5
- data/app/views/kaminari/blacklight/_prev_page.html.erb +3 -3
- data/app/views/kaminari/blacklight_compact/_next_page.html.erb +9 -0
- data/app/views/kaminari/blacklight_compact/_paginator.html.erb +15 -0
- data/app/views/kaminari/blacklight_compact/_prev_page.html.erb +9 -0
- data/app/views/layouts/blacklight.html.erb +47 -27
- data/app/views/saved_searches/index.html.erb +2 -2
- data/app/views/search_history/index.html.erb +12 -7
- data/app/views/shared/_footer.html.erb +0 -0
- data/app/views/shared/_header_navbar.html.erb +25 -0
- data/blacklight.gemspec +2 -5
- data/config/locales/blacklight.en.yml +23 -15
- data/lib/blacklight.rb +2 -2
- data/lib/blacklight/catalog.rb +36 -14
- data/lib/blacklight/configuration.rb +10 -2
- data/lib/blacklight/mash.rb +151 -0
- data/lib/blacklight/solr/document.rb +73 -11
- data/lib/blacklight/solr/document/extensions.rb +0 -8
- data/lib/blacklight/solr/document/marc_export.rb +7 -2
- data/lib/blacklight/solr/document/more_like_this.rb +5 -0
- data/lib/blacklight/solr_helper.rb +43 -18
- data/lib/blacklight/solr_response.rb +60 -0
- data/lib/blacklight/solr_response/facets.rb +58 -0
- data/lib/blacklight/solr_response/more_like_this.rb +14 -0
- data/lib/blacklight/solr_response/spelling.rb +92 -0
- data/lib/generators/blacklight/assets_generator.rb +1 -14
- data/lib/generators/blacklight/blacklight_generator.rb +22 -21
- data/lib/generators/blacklight/jetty_generator.rb +1 -35
- data/{test_support → lib/generators/blacklight/templates}/alternate_controller.rb +0 -0
- data/lib/generators/blacklight/templates/blacklight.css.scss +4 -0
- data/lib/generators/blacklight/templates/config/SolrMarc/config-test.properties +2 -2
- data/lib/generators/blacklight/templates/config/jetty.yml +6 -0
- data/lib/generators/blacklight/test_support_generator.rb +35 -0
- data/lib/railties/all_tests.rake +5 -23
- data/lib/railties/blacklight_cucumber.rake +2 -11
- data/lib/railties/blacklight_rspec.rake +2 -12
- data/test_support/bin/run-tests.sh +1 -1
- data/test_support/bin/setup-test-app.sh +123 -0
- data/test_support/bin/test.sh +21 -21
- data/test_support/features/bookmarks.feature +9 -3
- data/test_support/features/saved_searches.feature +3 -3
- data/test_support/features/search.feature +3 -3
- data/test_support/features/search_filters.feature +24 -26
- data/test_support/features/search_history.feature +9 -10
- data/test_support/features/search_sort.feature +4 -6
- data/test_support/features/step_definitions/general_steps.rb +0 -4
- data/test_support/features/step_definitions/search_result_steps.rb +2 -1
- data/test_support/features/step_definitions/search_steps.rb +32 -2
- data/test_support/spec/controllers/application_controller_spec.rb +8 -0
- data/test_support/spec/controllers/catalog_controller_spec.rb +3 -18
- data/test_support/spec/helpers/blacklight_helper_spec.rb +116 -20
- data/test_support/spec/helpers/catalog_helper_spec.rb +14 -6
- data/test_support/spec/helpers/facets_helper_spec.rb +1 -1
- data/test_support/spec/lib/blacklight_solr_document_more_like_this_spec.rb +18 -0
- data/test_support/spec/lib/blacklight_solr_document_spec.rb +54 -1
- data/test_support/spec/lib/blacklight_solr_response_spec.rb +153 -0
- data/test_support/spec/lib/facet_paginator_spec.rb +1 -1
- data/test_support/spec/lib/marc_export_spec.rb +14 -6
- data/test_support/spec/lib/solr_helper_spec.rb +22 -6
- data/test_support/spec/models/solr_docment_spec.rb +1 -4
- data/test_support/spec/{features → requests}/alternate_controller_spec.rb +3 -2
- data/test_support/spec/views/catalog/_facets.html.erb_spec.rb +20 -4
- data/test_support/spec/views/catalog/_show_sidebar.erb_spec.rb +25 -0
- metadata +53 -131
- data/app/assets/javascripts/blacklight/more_facets.js +0 -16
- data/app/assets/javascripts/jquery-1.4.2.min.js +0 -154
- data/app/assets/javascripts/jquery-ui-1.8.1.custom.min.js +0 -756
- data/app/assets/javascripts/jquery.uiExt.ajaxyDialog.js +0 -180
- data/app/assets/stylesheets/blacklight/_formatting.css.scss +0 -164
- data/app/assets/stylesheets/blacklight/grids/_susy_grid.css.scss +0 -72
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-anim_basic_16x16.gif +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_558fd0_500x100.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_2e4f81_256x240.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/jquery/ui-lightness/jquery-ui-1.8.1.custom.css +0 -486
- data/app/models/solr_document.rb +0 -5
- data/app/views/catalog/email.erb +0 -1
- data/app/views/catalog/sms.erb +0 -1
- data/doc/Atom-Responses.md +0 -90
- data/doc/Blacklight-3.2-Release-Notes-and-Upgrade-Guide.md +0 -191
- data/doc/Blacklight-3.3-release-notes-and-upgrade-guide.md +0 -37
- data/doc/Blacklight-3.4-release-notes-and-upgrade-guide.md +0 -27
- data/doc/Blacklight-3.5-release-notes-and-upgrade-guide.md +0 -44
- data/doc/Blacklight-3.6-release-notes-and-upgrade-guide.md +0 -25
- data/doc/Blacklight-3.7-release-notes-and-upgrade-guide.md +0 -78
- data/doc/Blacklight-3.8-release-notes-and-upgrade-guide.md +0 -11
- data/doc/Blacklight-Add-ons.md +0 -28
- data/doc/Blacklight-configuration.md +0 -301
- data/doc/Blacklight-on-Heroku.md +0 -135
- data/doc/Community-principles.md +0 -44
- data/doc/Configuring-and-Customizing-Blacklight.md +0 -271
- data/doc/Contributing-to-Blacklight.md +0 -25
- data/doc/Examples.md +0 -62
- data/doc/Extending-or-Modifying-Blacklight-Search-Behavior.md +0 -141
- data/doc/Home.md +0 -77
- data/doc/How-to-release-a-version.md +0 -37
- data/doc/Indexing-your-data-into-solr.md +0 -5
- data/doc/Integration-with-Rails-Footnotes.md +0 -20
- data/doc/Pagination.md +0 -38
- data/doc/Providing-your-own-view-templates.md +0 -109
- data/doc/Quickstart.md +0 -116
- data/doc/README.md +0 -77
- data/doc/README_SOLR.md +0 -245
- data/doc/Release-Notes-And-Upgrade-Guides.md +0 -14
- data/doc/Sunspot-for-indexing.md +0 -46
- data/doc/User-Authentication.md +0 -60
- data/doc/testing.md +0 -115
- data/lib/generators/blacklight/solr_conf_generator.rb +0 -26
- data/lib/generators/blacklight/templates/assets/standard.css.scss +0 -59
- data/lib/generators/blacklight/templates/config/blacklight_config.rb +0 -3
- data/lib/generators/blacklight/templates/config/compass.rb +0 -2
- data/lib/generators/blacklight/templates/solr_conf/schema.xml +0 -689
- data/lib/generators/blacklight/templates/solr_conf/solrconfig.xml +0 -1846
- data/lib/solrmarc.log.1 +0 -849
- data/test_support/spec/controllers/bookmarks_controller_spec.rb +0 -48
@@ -5,10 +5,26 @@ describe "catalog/_facets" do
|
|
5
5
|
@mock_config = Blacklight::Configuration.new
|
6
6
|
view.stub(:blacklight_config => @mock_config)
|
7
7
|
end
|
8
|
+
it "should not have a header if no facets are displayed" do
|
9
|
+
view.stub(:render_facet_partials => '')
|
10
|
+
render
|
11
|
+
rendered.should_not have_selector('h4')
|
12
|
+
end
|
13
|
+
|
8
14
|
it "should have a header" do
|
15
|
+
|
16
|
+
@mock_field_1 = mock(:field => 'facet_field_1',
|
17
|
+
:label => 'label')
|
18
|
+
@mock_display_facet_1 = mock(:name => 'facet_field_1', :items => [mock(:value => 'Value', :hits => 1234)])
|
19
|
+
view.stub(:facet_field_names => [:facet_field_1],
|
20
|
+
:facet_limit_for => 10 )
|
21
|
+
|
22
|
+
@response = mock()
|
23
|
+
@response.stub(:facet_by_field_name).with(:facet_field_1) { @mock_display_facet_1 }
|
24
|
+
|
9
25
|
view.stub(:render_facet_partials => '')
|
10
26
|
render
|
11
|
-
rendered.should have_selector('
|
27
|
+
rendered.should have_selector('h4')
|
12
28
|
end
|
13
29
|
|
14
30
|
describe "facet display" do
|
@@ -20,18 +36,18 @@ describe "catalog/_facets" do
|
|
20
36
|
:facet_limit_for => 10 )
|
21
37
|
|
22
38
|
@response = mock()
|
23
|
-
@response.
|
39
|
+
@response.stub(:facet_by_field_name).with(:facet_field_1) { @mock_display_facet_1 }
|
24
40
|
|
25
41
|
end
|
26
42
|
|
27
43
|
it "should have a header" do
|
28
44
|
render
|
29
|
-
rendered.should have_selector('
|
45
|
+
rendered.should have_selector('h5')
|
30
46
|
end
|
31
47
|
|
32
48
|
it "should list values" do
|
33
49
|
render
|
34
|
-
rendered.should have_selector('a.
|
50
|
+
rendered.should have_selector('a.facet_select')
|
35
51
|
rendered.should have_selector('.count')
|
36
52
|
end
|
37
53
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
|
3
|
+
|
4
|
+
# spec for sidebar partial in catalog show view
|
5
|
+
|
6
|
+
describe "/catalog/_show_sidebar.html.erb" do
|
7
|
+
|
8
|
+
include BlacklightHelper
|
9
|
+
include CatalogHelper
|
10
|
+
|
11
|
+
|
12
|
+
before(:each) do
|
13
|
+
|
14
|
+
view.stub(:blacklight_config).and_return(CatalogController.blacklight_config)
|
15
|
+
view.stub(:has_user_authentication_provider?).and_return(false)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should show more-like-this titles in the sidebar" do
|
19
|
+
@document = SolrDocument.new :id => 1, :title_s => 'abc', :format => 'default'
|
20
|
+
@document.stub(:more_like_this).and_return([SolrDocument.new({ 'id' => 2, 'title_display' => 'Title of MLT Document' })])
|
21
|
+
render
|
22
|
+
rendered.should include_text("More Like This")
|
23
|
+
rendered.should include_text("Title of MLT Document")
|
24
|
+
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 4.0.0.pre6
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2012-11-
|
20
|
+
date: 2012-11-20 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '3.
|
29
|
+
version: '3.2'
|
30
30
|
type: :runtime
|
31
31
|
prerelease: false
|
32
32
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '3.
|
37
|
+
version: '3.2'
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: nokogiri
|
40
40
|
requirement: !ruby/object:Gem::Requirement
|
@@ -51,22 +51,6 @@ dependencies:
|
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '1.5'
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: unicode
|
56
|
-
requirement: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
54
|
- !ruby/object:Gem::Dependency
|
71
55
|
name: marc
|
72
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,22 +89,6 @@ dependencies:
|
|
105
89
|
- - ~>
|
106
90
|
- !ruby/object:Gem::Version
|
107
91
|
version: 1.0.6
|
108
|
-
- !ruby/object:Gem::Dependency
|
109
|
-
name: rsolr-ext
|
110
|
-
requirement: !ruby/object:Gem::Requirement
|
111
|
-
none: false
|
112
|
-
requirements:
|
113
|
-
- - ~>
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: 1.0.3
|
116
|
-
type: :runtime
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
|
-
requirements:
|
121
|
-
- - ~>
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 1.0.3
|
124
92
|
- !ruby/object:Gem::Dependency
|
125
93
|
name: kaminari
|
126
94
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,29 +122,13 @@ dependencies:
|
|
154
122
|
- !ruby/object:Gem::Version
|
155
123
|
version: '0'
|
156
124
|
- !ruby/object:Gem::Dependency
|
157
|
-
name:
|
158
|
-
requirement: !ruby/object:Gem::Requirement
|
159
|
-
none: false
|
160
|
-
requirements:
|
161
|
-
- - ! '>='
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version: 1.2.0
|
164
|
-
type: :development
|
165
|
-
prerelease: false
|
166
|
-
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
none: false
|
168
|
-
requirements:
|
169
|
-
- - ! '>='
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: 1.2.0
|
172
|
-
- !ruby/object:Gem::Dependency
|
173
|
-
name: compass-rails
|
125
|
+
name: bootstrap-sass
|
174
126
|
requirement: !ruby/object:Gem::Requirement
|
175
127
|
none: false
|
176
128
|
requirements:
|
177
129
|
- - ~>
|
178
130
|
- !ruby/object:Gem::Version
|
179
|
-
version: 1.0
|
131
|
+
version: 2.1.0
|
180
132
|
type: :runtime
|
181
133
|
prerelease: false
|
182
134
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -184,23 +136,23 @@ dependencies:
|
|
184
136
|
requirements:
|
185
137
|
- - ~>
|
186
138
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.0
|
139
|
+
version: 2.1.0
|
188
140
|
- !ruby/object:Gem::Dependency
|
189
|
-
name:
|
141
|
+
name: jettywrapper
|
190
142
|
requirement: !ruby/object:Gem::Requirement
|
191
143
|
none: false
|
192
144
|
requirements:
|
193
145
|
- - ! '>='
|
194
146
|
- !ruby/object:Gem::Version
|
195
|
-
version:
|
196
|
-
type: :
|
147
|
+
version: 1.2.0
|
148
|
+
type: :development
|
197
149
|
prerelease: false
|
198
150
|
version_requirements: !ruby/object:Gem::Requirement
|
199
151
|
none: false
|
200
152
|
requirements:
|
201
153
|
- - ! '>='
|
202
154
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
155
|
+
version: 1.2.0
|
204
156
|
description: Blacklight is an open source Solr user interface discovery platform.
|
205
157
|
You can use Blacklight to enable searching and browsing of your collections. Blacklight
|
206
158
|
uses the Apache Solr search engine to search full text and/or metadata.
|
@@ -231,46 +183,36 @@ files:
|
|
231
183
|
- app/assets/images/favicon.ico
|
232
184
|
- app/assets/javascripts/blacklight/blacklight.js
|
233
185
|
- app/assets/javascripts/blacklight/bookmark_toggle.js
|
186
|
+
- app/assets/javascripts/blacklight/bootstrap_dropdowns.js
|
234
187
|
- app/assets/javascripts/blacklight/checkbox_submit.js
|
235
188
|
- app/assets/javascripts/blacklight/core.js
|
189
|
+
- app/assets/javascripts/blacklight/css_dropdowns.js
|
236
190
|
- app/assets/javascripts/blacklight/facet_expand_contract.js
|
237
191
|
- app/assets/javascripts/blacklight/lightbox_dialog.js
|
238
|
-
- app/assets/javascripts/blacklight/more_facets.js
|
239
192
|
- app/assets/javascripts/blacklight/search_context.js
|
240
193
|
- app/assets/javascripts/blacklight/select_submit.js
|
241
194
|
- app/assets/javascripts/blacklight/zebra_stripe.js
|
242
|
-
- app/assets/javascripts/
|
243
|
-
- app/assets/javascripts/
|
244
|
-
- app/assets/javascripts/jquery.uiExt.ajaxyDialog.js
|
195
|
+
- app/assets/javascripts/improved-modal/bootstrap-modal.js
|
196
|
+
- app/assets/javascripts/improved-modal/bootstrap-modalmanager.js
|
245
197
|
- app/assets/stylesheets/blacklight/_blacklight_base.css.scss
|
246
198
|
- app/assets/stylesheets/blacklight/_bookmark.css.scss
|
247
199
|
- app/assets/stylesheets/blacklight/_catalog.css.scss
|
200
|
+
- app/assets/stylesheets/blacklight/_dropdown.css.scss
|
248
201
|
- app/assets/stylesheets/blacklight/_facets.css.scss
|
249
|
-
- app/assets/stylesheets/blacklight/
|
202
|
+
- app/assets/stylesheets/blacklight/_footer.css.scss
|
250
203
|
- app/assets/stylesheets/blacklight/_header.css.scss
|
251
204
|
- app/assets/stylesheets/blacklight/_layout.css.scss
|
252
205
|
- app/assets/stylesheets/blacklight/_mixins.css.scss
|
206
|
+
- app/assets/stylesheets/blacklight/_modal.css.scss
|
253
207
|
- app/assets/stylesheets/blacklight/_print.css.scss
|
208
|
+
- app/assets/stylesheets/blacklight/_responsive.css.scss
|
254
209
|
- app/assets/stylesheets/blacklight/_search_history.css.scss
|
255
210
|
- app/assets/stylesheets/blacklight/blacklight.css.scss
|
256
211
|
- app/assets/stylesheets/blacklight/blacklight_defaults.css.scss
|
257
|
-
- app/assets/stylesheets/blacklight/
|
258
|
-
- app/assets/stylesheets/
|
259
|
-
- app/assets/stylesheets/
|
260
|
-
- app/assets/stylesheets/
|
261
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
|
262
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
|
263
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
|
264
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
|
265
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_558fd0_500x100.png
|
266
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
|
267
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
|
268
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png
|
269
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png
|
270
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_2e4f81_256x240.png
|
271
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png
|
272
|
-
- app/assets/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png
|
273
|
-
- app/assets/stylesheets/jquery/ui-lightness/jquery-ui-1.8.1.custom.css
|
212
|
+
- app/assets/stylesheets/blacklight/responsive_partials/_catalog.css.scss
|
213
|
+
- app/assets/stylesheets/blacklight/responsive_partials/_facets.css.scss
|
214
|
+
- app/assets/stylesheets/blacklight/responsive_partials/_header.css.scss
|
215
|
+
- app/assets/stylesheets/improved-modal/bootstrap-modal.css
|
274
216
|
- app/controllers/bookmarks_controller.rb
|
275
217
|
- app/controllers/catalog_controller.rb
|
276
218
|
- app/controllers/feedback_controller.rb
|
@@ -293,7 +235,6 @@ files:
|
|
293
235
|
- app/models/bookmark.rb
|
294
236
|
- app/models/record_mailer.rb
|
295
237
|
- app/models/search.rb
|
296
|
-
- app/models/solr_document.rb
|
297
238
|
- app/views/_flash_msg.html.erb
|
298
239
|
- app/views/_user_util_links.html.erb
|
299
240
|
- app/views/bookmarks/_tools.html.erb
|
@@ -317,19 +258,22 @@ files:
|
|
317
258
|
- app/views/catalog/_index_default.html.erb
|
318
259
|
- app/views/catalog/_marc_view.html.erb
|
319
260
|
- app/views/catalog/_opensearch_response_metadata.html.erb
|
261
|
+
- app/views/catalog/_paginate_compact.html.erb
|
320
262
|
- app/views/catalog/_per_page_widget.html.erb
|
321
263
|
- app/views/catalog/_previous_next_doc.html.erb
|
322
264
|
- app/views/catalog/_refworks_form.html.erb
|
323
265
|
- app/views/catalog/_results_pagination.html.erb
|
324
266
|
- app/views/catalog/_search_form.html.erb
|
325
267
|
- app/views/catalog/_show_default.html.erb
|
268
|
+
- app/views/catalog/_show_more_like_this.html.erb
|
326
269
|
- app/views/catalog/_show_sidebar.html.erb
|
327
270
|
- app/views/catalog/_show_tools.html.erb
|
328
271
|
- app/views/catalog/_sms_form.html.erb
|
329
272
|
- app/views/catalog/_sort_and_per_page.html.erb
|
330
273
|
- app/views/catalog/_sort_widget.html.erb
|
331
274
|
- app/views/catalog/citation.html.erb
|
332
|
-
- app/views/catalog/
|
275
|
+
- app/views/catalog/citation.js.erb
|
276
|
+
- app/views/catalog/email.html.erb
|
333
277
|
- app/views/catalog/endnote.endnote.erb
|
334
278
|
- app/views/catalog/facet.html.erb
|
335
279
|
- app/views/catalog/index.atom.builder
|
@@ -342,7 +286,7 @@ files:
|
|
342
286
|
- app/views/catalog/show.endnote.erb
|
343
287
|
- app/views/catalog/show.html.erb
|
344
288
|
- app/views/catalog/show.refworks.erb
|
345
|
-
- app/views/catalog/sms.erb
|
289
|
+
- app/views/catalog/sms.html.erb
|
346
290
|
- app/views/feedback/complete.html.erb
|
347
291
|
- app/views/feedback/show.html.erb
|
348
292
|
- app/views/kaminari/blacklight/_first_page.html.erb
|
@@ -352,43 +296,19 @@ files:
|
|
352
296
|
- app/views/kaminari/blacklight/_page.html.erb
|
353
297
|
- app/views/kaminari/blacklight/_paginator.html.erb
|
354
298
|
- app/views/kaminari/blacklight/_prev_page.html.erb
|
299
|
+
- app/views/kaminari/blacklight_compact/_next_page.html.erb
|
300
|
+
- app/views/kaminari/blacklight_compact/_paginator.html.erb
|
301
|
+
- app/views/kaminari/blacklight_compact/_prev_page.html.erb
|
355
302
|
- app/views/layouts/blacklight.html.erb
|
356
303
|
- app/views/record_mailer/email_record.text.erb
|
357
304
|
- app/views/record_mailer/sms_record.text.erb
|
358
305
|
- app/views/saved_searches/index.html.erb
|
359
306
|
- app/views/search_history/index.html.erb
|
307
|
+
- app/views/shared/_footer.html.erb
|
308
|
+
- app/views/shared/_header_navbar.html.erb
|
360
309
|
- blacklight.gemspec
|
361
310
|
- config/locales/blacklight.en.yml
|
362
311
|
- config/routes.rb
|
363
|
-
- doc/Atom-Responses.md
|
364
|
-
- doc/Blacklight-3.2-Release-Notes-and-Upgrade-Guide.md
|
365
|
-
- doc/Blacklight-3.3-release-notes-and-upgrade-guide.md
|
366
|
-
- doc/Blacklight-3.4-release-notes-and-upgrade-guide.md
|
367
|
-
- doc/Blacklight-3.5-release-notes-and-upgrade-guide.md
|
368
|
-
- doc/Blacklight-3.6-release-notes-and-upgrade-guide.md
|
369
|
-
- doc/Blacklight-3.7-release-notes-and-upgrade-guide.md
|
370
|
-
- doc/Blacklight-3.8-release-notes-and-upgrade-guide.md
|
371
|
-
- doc/Blacklight-Add-ons.md
|
372
|
-
- doc/Blacklight-configuration.md
|
373
|
-
- doc/Blacklight-on-Heroku.md
|
374
|
-
- doc/Community-principles.md
|
375
|
-
- doc/Configuring-and-Customizing-Blacklight.md
|
376
|
-
- doc/Contributing-to-Blacklight.md
|
377
|
-
- doc/Examples.md
|
378
|
-
- doc/Extending-or-Modifying-Blacklight-Search-Behavior.md
|
379
|
-
- doc/Home.md
|
380
|
-
- doc/How-to-release-a-version.md
|
381
|
-
- doc/Indexing-your-data-into-solr.md
|
382
|
-
- doc/Integration-with-Rails-Footnotes.md
|
383
|
-
- doc/Pagination.md
|
384
|
-
- doc/Providing-your-own-view-templates.md
|
385
|
-
- doc/Quickstart.md
|
386
|
-
- doc/README.md
|
387
|
-
- doc/README_SOLR.md
|
388
|
-
- doc/Release-Notes-And-Upgrade-Guides.md
|
389
|
-
- doc/Sunspot-for-indexing.md
|
390
|
-
- doc/User-Authentication.md
|
391
|
-
- doc/testing.md
|
392
312
|
- lib/SolrMarc.jar
|
393
313
|
- lib/blacklight.rb
|
394
314
|
- lib/blacklight/catalog.rb
|
@@ -402,6 +322,7 @@ files:
|
|
402
322
|
- lib/blacklight/controller.rb
|
403
323
|
- lib/blacklight/engine.rb
|
404
324
|
- lib/blacklight/exceptions.rb
|
325
|
+
- lib/blacklight/mash.rb
|
405
326
|
- lib/blacklight/routes.rb
|
406
327
|
- lib/blacklight/search_fields.rb
|
407
328
|
- lib/blacklight/solr.rb
|
@@ -412,17 +333,22 @@ files:
|
|
412
333
|
- lib/blacklight/solr/document/extensions.rb
|
413
334
|
- lib/blacklight/solr/document/marc.rb
|
414
335
|
- lib/blacklight/solr/document/marc_export.rb
|
336
|
+
- lib/blacklight/solr/document/more_like_this.rb
|
415
337
|
- lib/blacklight/solr/document/sms.rb
|
416
338
|
- lib/blacklight/solr/facet_paginator.rb
|
417
339
|
- lib/blacklight/solr_helper.rb
|
340
|
+
- lib/blacklight/solr_response.rb
|
341
|
+
- lib/blacklight/solr_response/facets.rb
|
342
|
+
- lib/blacklight/solr_response/more_like_this.rb
|
343
|
+
- lib/blacklight/solr_response/spelling.rb
|
418
344
|
- lib/blacklight/user.rb
|
419
345
|
- lib/blacklight/utils.rb
|
420
346
|
- lib/blacklight/version.rb
|
421
347
|
- lib/generators/blacklight/assets_generator.rb
|
422
348
|
- lib/generators/blacklight/blacklight_generator.rb
|
423
349
|
- lib/generators/blacklight/jetty_generator.rb
|
424
|
-
- lib/generators/blacklight/
|
425
|
-
- lib/generators/blacklight/templates/
|
350
|
+
- lib/generators/blacklight/templates/alternate_controller.rb
|
351
|
+
- lib/generators/blacklight/templates/blacklight.css.scss
|
426
352
|
- lib/generators/blacklight/templates/catalog_controller.rb
|
427
353
|
- lib/generators/blacklight/templates/config/SolrMarc/config-test.properties
|
428
354
|
- lib/generators/blacklight/templates/config/SolrMarc/config.properties
|
@@ -436,25 +362,22 @@ files:
|
|
436
362
|
- lib/generators/blacklight/templates/config/SolrMarc/translation_maps/format_map.properties
|
437
363
|
- lib/generators/blacklight/templates/config/SolrMarc/translation_maps/instrument_map.properties
|
438
364
|
- lib/generators/blacklight/templates/config/SolrMarc/translation_maps/language_map.properties
|
439
|
-
- lib/generators/blacklight/templates/config/
|
440
|
-
- lib/generators/blacklight/templates/config/compass.rb
|
365
|
+
- lib/generators/blacklight/templates/config/jetty.yml
|
441
366
|
- lib/generators/blacklight/templates/config/solr.yml
|
442
367
|
- lib/generators/blacklight/templates/migrations/add_user_types_to_bookmarks_searches.rb
|
443
368
|
- lib/generators/blacklight/templates/migrations/create_bookmarks.rb
|
444
369
|
- lib/generators/blacklight/templates/migrations/create_searches.rb
|
445
370
|
- lib/generators/blacklight/templates/migrations/remove_editable_fields_from_bookmarks.rb
|
446
|
-
- lib/generators/blacklight/templates/solr_conf/schema.xml
|
447
|
-
- lib/generators/blacklight/templates/solr_conf/solrconfig.xml
|
448
371
|
- lib/generators/blacklight/templates/solr_document.rb
|
372
|
+
- lib/generators/blacklight/test_support_generator.rb
|
449
373
|
- lib/railties/all_tests.rake
|
450
374
|
- lib/railties/blacklight.rake
|
451
375
|
- lib/railties/blacklight_cucumber.rake
|
452
376
|
- lib/railties/blacklight_rspec.rake
|
453
377
|
- lib/railties/solr_marc.rake
|
454
|
-
- lib/solrmarc.log.1
|
455
378
|
- test_support/.rspec
|
456
|
-
- test_support/alternate_controller.rb
|
457
379
|
- test_support/bin/run-tests.sh
|
380
|
+
- test_support/bin/setup-test-app.sh
|
458
381
|
- test_support/bin/test.sh
|
459
382
|
- test_support/data/test_data.utf8.mrc
|
460
383
|
- test_support/features/bookmarks.feature
|
@@ -482,12 +405,10 @@ files:
|
|
482
405
|
- test_support/features/support/paths.rb
|
483
406
|
- test_support/features/support/selectors.rb
|
484
407
|
- test_support/spec/controllers/application_controller_spec.rb
|
485
|
-
- test_support/spec/controllers/bookmarks_controller_spec.rb
|
486
408
|
- test_support/spec/controllers/catalog_controller_spec.rb
|
487
409
|
- test_support/spec/controllers/search_history_controller_spec.rb
|
488
410
|
- test_support/spec/data/sample_docs.yml
|
489
411
|
- test_support/spec/data/test_data.utf8.mrc
|
490
|
-
- test_support/spec/features/alternate_controller_spec.rb
|
491
412
|
- test_support/spec/helpers/blacklight_helper_spec.rb
|
492
413
|
- test_support/spec/helpers/catalog_helper_spec.rb
|
493
414
|
- test_support/spec/helpers/facets_helper_spec.rb
|
@@ -501,7 +422,9 @@ files:
|
|
501
422
|
- test_support/spec/lib/blacklight_sms_spec.rb
|
502
423
|
- test_support/spec/lib/blacklight_solr_document_dublin_core_spec.rb
|
503
424
|
- test_support/spec/lib/blacklight_solr_document_marc_spec.rb
|
425
|
+
- test_support/spec/lib/blacklight_solr_document_more_like_this_spec.rb
|
504
426
|
- test_support/spec/lib/blacklight_solr_document_spec.rb
|
427
|
+
- test_support/spec/lib/blacklight_solr_response_spec.rb
|
505
428
|
- test_support/spec/lib/blacklight_spec.rb
|
506
429
|
- test_support/spec/lib/blacklight_user_spec.rb
|
507
430
|
- test_support/spec/lib/facet_paginator_spec.rb
|
@@ -516,6 +439,7 @@ files:
|
|
516
439
|
- test_support/spec/models/search_spec.rb
|
517
440
|
- test_support/spec/models/solr_docment_spec.rb
|
518
441
|
- test_support/spec/rcov.opts
|
442
|
+
- test_support/spec/requests/alternate_controller_spec.rb
|
519
443
|
- test_support/spec/spec.opts
|
520
444
|
- test_support/spec/spec_helper.rb
|
521
445
|
- test_support/spec/support/assert_difference.rb
|
@@ -525,6 +449,7 @@ files:
|
|
525
449
|
- test_support/spec/views/catalog/_facets.html.erb_spec.rb
|
526
450
|
- test_support/spec/views/catalog/_index_default.erb_spec.rb
|
527
451
|
- test_support/spec/views/catalog/_show_default.erb_spec.rb
|
452
|
+
- test_support/spec/views/catalog/_show_sidebar.erb_spec.rb
|
528
453
|
- test_support/spec/views/catalog/index.atom.builder_spec.rb
|
529
454
|
homepage: http://projectblacklight.org/
|
530
455
|
licenses: []
|
@@ -540,19 +465,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
540
465
|
version: '0'
|
541
466
|
segments:
|
542
467
|
- 0
|
543
|
-
hash:
|
468
|
+
hash: 3347152411135392326
|
544
469
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
545
470
|
none: false
|
546
471
|
requirements:
|
547
|
-
- - ! '
|
472
|
+
- - ! '>'
|
548
473
|
- !ruby/object:Gem::Version
|
549
|
-
version:
|
550
|
-
segments:
|
551
|
-
- 0
|
552
|
-
hash: -2337643494068461915
|
474
|
+
version: 1.3.1
|
553
475
|
requirements: []
|
554
476
|
rubyforge_project: blacklight
|
555
|
-
rubygems_version: 1.8.
|
477
|
+
rubygems_version: 1.8.24
|
556
478
|
signing_key:
|
557
479
|
specification_version: 3
|
558
480
|
summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
|