blacklight-marc 8.1.2 → 8.1.4

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
  SHA256:
3
- metadata.gz: ddc8931784772b5088a18b2d969c2039cff9e0897785a0b40094ef6acbb35135
4
- data.tar.gz: 8ad3d91c571774c588ccc2d94d74220c5685117544dabd5b18c3954efec8cc05
3
+ metadata.gz: 26890c07eb8b77f83b81a48582cf7451939bf2bed0f3644cc722fd027cc574d5
4
+ data.tar.gz: 0be9945673a7cf3eaab696c4d119a749cfdb99e87eccc5acd6f1bddc7aee600a
5
5
  SHA512:
6
- metadata.gz: 2f7f6a477a2851319cc6922086e384156c2e0389c62052b77c4779d42012746c0608250b0fcb27d33f6ab7f61ab9591bf00258cec3b3d308a8905cf17c76864e
7
- data.tar.gz: a9ce0202761b05216a1d31b3e5a95cf6034f7d3c9667937cc129a7fa6867eb1f4fb930a4cc72ae87432c850bea42e7553d9fac127d56a9ad6e78611ca77f7cb7
6
+ metadata.gz: 306be94c943c13ae14b2be90c420005cf7a4051675b0cd25e1bfab2f2f5396cce150c7a12186ecf8dd17f34ad84159eb49b7da9017febdf8104e529b12fc6599
7
+ data.tar.gz: 1f1d30b14b328bdbccf966fb8ee87a84adf8236cbc15f1ceb26eb963a7feca7c8a15874c467759bff095cd1168ec1d8156d350cc9e6ff4b4545d7538963f6089
@@ -13,7 +13,7 @@ jobs:
13
13
  strategy:
14
14
  matrix:
15
15
  ruby: ['3.2']
16
- rails_version: ['7.1.3']
16
+ rails_version: ['7.1.3', '7.2.0']
17
17
  blacklight_version: ['~> 8.1']
18
18
  experimental: [false]
19
19
  include:
@@ -21,10 +21,6 @@ jobs:
21
21
  rails_version: '6.1.7.6'
22
22
  blacklight_version: '~> 7.0'
23
23
  experimental: false
24
- - ruby: '3.0'
25
- rails_version: '7.0.8'
26
- blacklight_version: '~> 7.0'
27
- experimental: false
28
24
  - ruby: '3.1'
29
25
  rails_version: '7.0.8'
30
26
  blacklight_version: '~> 8.1'
@@ -9,13 +9,14 @@ module Blacklight::Marc
9
9
  end
10
10
 
11
11
  def librarian_view
12
+ deprecator = ActiveSupport::Deprecation.new
12
13
  if Blacklight::VERSION >= '8'
13
14
  @document = search_service.fetch(params[:id])
14
- @response = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(@document.response, "The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0")
15
+ @response = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(@document.response, "The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0", deprecator)
15
16
 
16
17
  else
17
18
  deprecated_response, @document = search_service.fetch(params[:id])
18
- @response = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(deprecated_response, "The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0")
19
+ @response = ActiveSupport::Deprecation::DeprecatedObjectProxy.new(deprecated_response, "The @response instance variable is deprecated and will be removed in Blacklight-marc 8.0", deprecator)
19
20
  end
20
21
 
21
22
  respond_to do |format|
@@ -1,8 +1,6 @@
1
1
  module BlacklightMarcHelper
2
-
3
- # This method should move to BlacklightMarc in Blacklight 6.x
4
2
  def refworks_export_url params = {}, *_
5
- "http://www.refworks.com/express/expressimport.asp?vendor=#{CGI.escape(params[:vendor] || application_name)}&filter=#{CGI.escape(params[:filter] || "MARC Format")}&encoding=65001" + (("&url=#{CGI.escape(params[:url])}" if params[:url]) || "")
3
+ "https://www.refworks.com/express/expressimport.asp?vendor=#{CGI.escape(params[:vendor] || application_name)}&filter=#{CGI.escape(params[:filter] || "MARC Format")}&encoding=65001" + (("&url=#{CGI.escape(params[:url])}" if params[:url]) || "")
6
4
  end
7
5
 
8
6
  def refworks_solr_document_path opts = {}, *_
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Marc
3
- VERSION = '8.1.2'
3
+ VERSION = '8.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-marc
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.2
4
+ version: 8.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight
@@ -331,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
331
331
  - !ruby/object:Gem::Version
332
332
  version: '0'
333
333
  requirements: []
334
- rubygems_version: 3.3.3
334
+ rubygems_version: 3.5.15
335
335
  signing_key:
336
336
  specification_version: 4
337
337
  summary: MARC support for Blacklight