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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26890c07eb8b77f83b81a48582cf7451939bf2bed0f3644cc722fd027cc574d5
|
4
|
+
data.tar.gz: 0be9945673a7cf3eaab696c4d119a749cfdb99e87eccc5acd6f1bddc7aee600a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306be94c943c13ae14b2be90c420005cf7a4051675b0cd25e1bfab2f2f5396cce150c7a12186ecf8dd17f34ad84159eb49b7da9017febdf8104e529b12fc6599
|
7
|
+
data.tar.gz: 1f1d30b14b328bdbccf966fb8ee87a84adf8236cbc15f1ceb26eb963a7feca7c8a15874c467759bff095cd1168ec1d8156d350cc9e6ff4b4545d7538963f6089
|
data/.github/workflows/ruby.yml
CHANGED
@@ -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
|
-
"
|
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 = {}, *_
|
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.
|
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-
|
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.
|
334
|
+
rubygems_version: 3.5.15
|
335
335
|
signing_key:
|
336
336
|
specification_version: 4
|
337
337
|
summary: MARC support for Blacklight
|