blacklight 5.8.1 → 5.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f9651eef53cd449f3bb428731943e8759b52af1
4
- data.tar.gz: 4db418373c1ea6262414f5442c816bd9c0a46d36
3
+ metadata.gz: a3d10313f3002a4317d920835752d25639bf963a
4
+ data.tar.gz: 13ab0a0e6cdf3deaab7add1b8f0b4247b340b3c1
5
5
  SHA512:
6
- metadata.gz: 2505780053f2cc34f8285d3589e82b18ca5bef37a8f0242fea877c14d2f858260e4fe8029b97b1fd4bfcb70042b049f12bc08247b94527dc1812be2c8e184ca4
7
- data.tar.gz: 91578686f80295bc9e9a93e543b00ccf9cba18434ab18f5066ec79cdd911d8872220b275391bc9b67d441d12fd53c49e064803581f2a8bd2bbbaf46c2b2a2721
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.2.0.rc3"
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.1.8"
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
1
+ 5.8.2
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
 
23
23
  <% @documents.each do |doc| %>
24
- <%=hidden_field_tag "id[]", doc.get(:id)%>
24
+ <%=hidden_field_tag "id[]", doc.id %>
25
25
  <% end %>
26
26
  <%- if params[:sort] -%>
27
27
  <%= hidden_field_tag "sort", params[:sort] %>
@@ -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(catalog_index_url(params))
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 *args
50
- catalog_index_url *args
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.title', :value => semantics[:title].join(" ")) unless semantics[:title].blank?
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.1
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-16 00:00:00.000000000 Z
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.css.scss
275
- - app/assets/stylesheets/blacklight/_bookmark.css.scss
276
- - app/assets/stylesheets/blacklight/_catalog.css.scss
277
- - app/assets/stylesheets/blacklight/_facets.css.scss
278
- - app/assets/stylesheets/blacklight/_group.css.scss
279
- - app/assets/stylesheets/blacklight/_header.css.scss
280
- - app/assets/stylesheets/blacklight/_layout.css.scss
281
- - app/assets/stylesheets/blacklight/_modal.css.scss
282
- - app/assets/stylesheets/blacklight/_search_history.css.scss
283
- - app/assets/stylesheets/blacklight/blacklight.css.scss
284
- - app/assets/stylesheets/blacklight/blacklight_defaults.css.scss
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