purl_fetcher-client 0.4.1 → 0.5.0
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: b80b63b29ffbed55055e58d2d063f4496f84015b1130a6908e82e4d91a18c94d
|
4
|
+
data.tar.gz: 3d9691d8e9939f17a8d4f3a66a03bb3644463a3ffcc9604b8558242614f4e0a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0484a2254521f201fed8d95cf65ab85a3310111c6be46c6d13ecb4e7c40cec3d807861b42c47dc389f34c242918733dce7c21b66beb872d062112bbfe8674dd0'
|
7
|
+
data.tar.gz: ff5cdc4fe8d78eedeba1594e8aa47e87bfb6186337d4f1042f928a56f0a6b854487e7acfba5398e306401a123cb710ae0ac4bc6b9b11b157a81d20550b789570
|
@@ -5,15 +5,6 @@ require 'dor/rights_auth'
|
|
5
5
|
|
6
6
|
module PurlFetcher::Client
|
7
7
|
class PublicXmlRecord
|
8
|
-
include ModsDisplay::ModelExtension
|
9
|
-
include ModsDisplay::ControllerExtension
|
10
|
-
|
11
|
-
mods_xml_source do |model|
|
12
|
-
model.mods.to_s
|
13
|
-
end
|
14
|
-
configure_mods_display do
|
15
|
-
end
|
16
|
-
|
17
8
|
attr_reader :druid, :options
|
18
9
|
|
19
10
|
def self.fetch(url)
|
@@ -56,7 +47,7 @@ module PurlFetcher::Client
|
|
56
47
|
end
|
57
48
|
|
58
49
|
def mods_display
|
59
|
-
@mods_display ||=
|
50
|
+
@mods_display ||= ModsDisplay::HTML.new(stanford_mods)
|
60
51
|
end
|
61
52
|
|
62
53
|
def public_xml
|
data/purl_fetcher-client.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency 'nokogiri'
|
25
25
|
spec.add_dependency 'stanford-mods'
|
26
26
|
spec.add_dependency 'dor-rights-auth'
|
27
|
-
spec.add_dependency 'mods_display'
|
27
|
+
spec.add_dependency 'mods_display', '>= 1.0.0.alpha1'
|
28
28
|
|
29
29
|
spec.add_development_dependency "bundler"
|
30
30
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purl_fetcher-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.0.0.alpha1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.0.0.alpha1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
- !ruby/object:Gem::Version
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
|
-
rubygems_version: 3.2.
|
165
|
+
rubygems_version: 3.2.32
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: Traject-compatible reader implementation for streaming data from purl-fetcher
|