blacklight 5.8.1 → 5.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +8 -2
- data/VERSION +1 -1
- data/app/assets/stylesheets/blacklight/{_blacklight_base.css.scss → _blacklight_base.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_bookmark.css.scss → _bookmark.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_catalog.css.scss → _catalog.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_facets.css.scss → _facets.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_group.css.scss → _group.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_header.css.scss → _header.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_layout.css.scss → _layout.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_modal.css.scss → _modal.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_search_history.css.scss → _search_history.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{blacklight.css.scss → blacklight.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{blacklight_defaults.css.scss → blacklight_defaults.scss} +0 -0
- data/app/views/catalog/_email_form.html.erb +1 -1
- data/app/views/catalog/index.rss.builder +1 -1
- data/lib/blacklight/controller.rb +4 -3
- data/lib/blacklight/solr/document/email.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3d10313f3002a4317d920835752d25639bf963a
|
4
|
+
data.tar.gz: 13ab0a0e6cdf3deaab7add1b8f0b4247b340b3c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b593b6bfd432d4fe5fafdbd93d9269f9f63371c963869a086e8914aeb07771996f9660a80208379e6269195a015d8d3d1b0e78d18edcd168ad74d1fa7ab585
|
7
|
+
data.tar.gz: 9632e817084e378269456a84e930ecf0f1fbc95e12b62eb89d277b03fafd8c5b390af304d5409abf85b259284dc096485a25b085dd897a36badfc52076172231
|
data/.travis.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
sudo: false
|
4
|
+
|
1
5
|
notifications:
|
2
6
|
email: false
|
3
7
|
|
@@ -15,14 +19,16 @@ matrix:
|
|
15
19
|
- rvm: jruby
|
16
20
|
env: "RAILS_VERSION=4.1.8 JRUBY_OPTS=\"-J-Xms512m -J-Xmx1024m\""
|
17
21
|
- rvm: 2.1.4
|
18
|
-
env: "RAILS_VERSION=4.
|
22
|
+
env: "RAILS_VERSION=4.1.8"
|
23
|
+
- rvm: 2.2.0
|
24
|
+
env: "RAILS_VERSION=4.2.0"
|
19
25
|
|
20
26
|
before_install:
|
21
27
|
- gem install bundler
|
22
28
|
|
23
29
|
env:
|
24
30
|
- "RAILS_VERSION=3.2.21"
|
25
|
-
- "RAILS_VERSION=4.
|
31
|
+
- "RAILS_VERSION=4.2.0"
|
26
32
|
|
27
33
|
notifications:
|
28
34
|
irc: "irc.freenode.org#blacklight"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.8.
|
1
|
+
5.8.2
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/assets/stylesheets/blacklight/{blacklight_defaults.css.scss → blacklight_defaults.scss}
RENAMED
File without changes
|
@@ -4,7 +4,7 @@ xml.rss(:version=>"2.0") {
|
|
4
4
|
xml.channel {
|
5
5
|
|
6
6
|
xml.title(t('blacklight.search.title', :application_name => application_name))
|
7
|
-
xml.link(
|
7
|
+
xml.link(search_action_url(params))
|
8
8
|
xml.description(t('blacklight.search.title', :application_name => application_name))
|
9
9
|
xml.language('en-us')
|
10
10
|
@document_list.each do |doc|
|
@@ -40,14 +40,15 @@ module Blacklight::Controller
|
|
40
40
|
def blacklight_config
|
41
41
|
default_catalog_controller.blacklight_config
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
protected
|
45
45
|
|
46
46
|
# Default route to the search action (used e.g. in global partials). Override this method
|
47
47
|
# in a controller or in your ApplicationController to introduce custom logic for choosing
|
48
48
|
# which action the search form should use
|
49
|
-
def search_action_url
|
50
|
-
|
49
|
+
def search_action_url options = {}
|
50
|
+
# Rails 4.2 deprecated url helpers accepting string keys for 'controller' or 'action'
|
51
|
+
catalog_index_url(options.except(:controller, :action))
|
51
52
|
end
|
52
53
|
|
53
54
|
def search_action_path *args
|
@@ -8,7 +8,7 @@ module Blacklight::Solr::Document::Email
|
|
8
8
|
body = []
|
9
9
|
body << I18n.t('blacklight.email.text.title', :value => semantics[:title].join(" ")) unless semantics[:title].blank?
|
10
10
|
body << I18n.t('blacklight.email.text.author', :value => semantics[:author].join(" ")) unless semantics[:author].blank?
|
11
|
-
body << I18n.t('blacklight.email.text.
|
11
|
+
body << I18n.t('blacklight.email.text.format', :value => semantics[:format].join(" ")) unless semantics[:format].blank?
|
12
12
|
body << I18n.t('blacklight.email.text.language', :value => semantics[:language].join(" ")) unless semantics[:language].blank?
|
13
13
|
return body.join("\n") unless body.empty?
|
14
14
|
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: 5.8.
|
4
|
+
version: 5.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2014-12-
|
20
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -271,17 +271,17 @@ files:
|
|
271
271
|
- app/assets/javascripts/blacklight/collapsable.js
|
272
272
|
- app/assets/javascripts/blacklight/core.js
|
273
273
|
- app/assets/javascripts/blacklight/search_context.js
|
274
|
-
- app/assets/stylesheets/blacklight/_blacklight_base.
|
275
|
-
- app/assets/stylesheets/blacklight/_bookmark.
|
276
|
-
- app/assets/stylesheets/blacklight/_catalog.
|
277
|
-
- app/assets/stylesheets/blacklight/_facets.
|
278
|
-
- app/assets/stylesheets/blacklight/_group.
|
279
|
-
- app/assets/stylesheets/blacklight/_header.
|
280
|
-
- app/assets/stylesheets/blacklight/_layout.
|
281
|
-
- app/assets/stylesheets/blacklight/_modal.
|
282
|
-
- app/assets/stylesheets/blacklight/_search_history.
|
283
|
-
- app/assets/stylesheets/blacklight/blacklight.
|
284
|
-
- app/assets/stylesheets/blacklight/blacklight_defaults.
|
274
|
+
- app/assets/stylesheets/blacklight/_blacklight_base.scss
|
275
|
+
- app/assets/stylesheets/blacklight/_bookmark.scss
|
276
|
+
- app/assets/stylesheets/blacklight/_catalog.scss
|
277
|
+
- app/assets/stylesheets/blacklight/_facets.scss
|
278
|
+
- app/assets/stylesheets/blacklight/_group.scss
|
279
|
+
- app/assets/stylesheets/blacklight/_header.scss
|
280
|
+
- app/assets/stylesheets/blacklight/_layout.scss
|
281
|
+
- app/assets/stylesheets/blacklight/_modal.scss
|
282
|
+
- app/assets/stylesheets/blacklight/_search_history.scss
|
283
|
+
- app/assets/stylesheets/blacklight/blacklight.scss
|
284
|
+
- app/assets/stylesheets/blacklight/blacklight_defaults.scss
|
285
285
|
- app/controllers/bookmarks_controller.rb
|
286
286
|
- app/controllers/catalog_controller.rb
|
287
287
|
- app/controllers/saved_searches_controller.rb
|