purl_fetcher-client 0.2.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6ec6b5027a5b19369098f11455f0d3244ff3758d5469bd91998b63f2f80ccf80
4
+ data.tar.gz: fbfa4939cba5c30ea7f31d98923e6a48114dc0db5e4d29494a1062e5d1199e64
5
+ SHA512:
6
+ metadata.gz: 5d6a1d548fc27b0eb7496f2f3603ef10acb22f7931e32899442b1f027d36a9b4b6d8f18bc517dd0d220cb9dff4cc3a56c79b58d9441d9a540d6bafc6d3f821ba
7
+ data.tar.gz: f7aa278c16d5d1da2b38fb9ea9f11adbe4fe3cd4d2fc262b8f00cbfd00ee1a6ebdd933a2493c069904fc82bcd0e63feb0ad7598f76315838bbeaf9dd002f8a95
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ /Gemfile.lock
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.4.1
7
+ before_install: gem install bundler -v 1.16.3
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at cabeer@stanford.edu. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in purl_fetcher-client.gemspec
6
+ gemspec
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # PurlFetcher::Client
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/purl_fetcher/client`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'purl_fetcher-client'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install purl_fetcher-client
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/purl_fetcher-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Code of Conduct
38
+
39
+ Everyone interacting in the PurlFetcher::Client project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/purl_fetcher-client/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "purl_fetcher/client"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,18 @@
1
+ class PurlFetcher::Client::DeletesReader < PurlFetcher::Client::Reader
2
+ # Enumerate objects that should be deleted.
3
+ def each
4
+ return to_enum(:each) unless block_given?
5
+
6
+ deletes(first_modified: first_modified).each do |change|
7
+ yield PurlFetcher::Client::PublicXmlRecord.new(change['druid'].sub('druid:', ''), settings)
8
+ end
9
+
10
+ changes(first_modified: first_modified, target: target).each do |change|
11
+ record = PurlFetcher::Client::PublicXmlRecord.new(change['druid'].sub('druid:', ''), settings)
12
+
13
+ next unless target.nil? || (change['false_targets'] && change['false_targets'].include?(target)) || (settings['skip_if_catkey'] && record.catkey)
14
+
15
+ yield record
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,149 @@
1
+ require 'nokogiri'
2
+ require 'stanford-mods'
3
+
4
+ module PurlFetcher::Client
5
+ class PublicXmlRecord
6
+ attr_reader :druid, :options
7
+
8
+ def self.fetch(url)
9
+ if defined?(Manticore)
10
+ Manticore.get(url).body
11
+ else
12
+ HTTP.get(url).body
13
+ end
14
+ end
15
+
16
+ def initialize(druid, options = {})
17
+ @druid = druid
18
+ @options = options
19
+ end
20
+
21
+ def searchworks_id
22
+ catkey.nil? ? druid : catkey
23
+ end
24
+
25
+ # @return catkey value from the DOR identity_metadata, or nil if there is no catkey
26
+ def catkey
27
+ get_value(public_xml_doc.xpath("/publicObject/identityMetadata/otherId[@name='catkey']"))
28
+ end
29
+
30
+ # @return objectLabel value from the DOR identity_metadata, or nil if there is no barcode
31
+ def label
32
+ get_value(public_xml_doc.xpath('/publicObject/identityMetadata/objectLabel'))
33
+ end
34
+
35
+ def get_value(node)
36
+ (node && node.first) ? node.first.content : nil
37
+ end
38
+
39
+ def stanford_mods
40
+ @smods_rec ||= Stanford::Mods::Record.new.tap do |smods_rec|
41
+ smods_rec.from_str(mods.to_s)
42
+ end
43
+ end
44
+
45
+ def public_xml
46
+ @public_xml ||= self.class.fetch(purl_base_url + "/#{druid}.xml")
47
+ end
48
+
49
+ def public_xml_doc
50
+ @public_xml_doc ||= Nokogiri::XML(public_xml)
51
+ end
52
+
53
+ def mods
54
+ @mods ||= if public_xml_doc.xpath('/publicObject/mods:mods', mods: 'http://www.loc.gov/mods/v3').any?
55
+ public_xml_doc.xpath('/publicObject/mods:mods', mods: 'http://www.loc.gov/mods/v3').first
56
+ else
57
+ self.class.fetch(purl_base_url + "#{druid}.mods")
58
+ end
59
+ end
60
+
61
+ # @return true if the identityMetadata has <objectType>collection</objectType>, false otherwise
62
+ def is_collection
63
+ object_type_nodes = public_xml_doc.xpath('//objectType')
64
+ object_type_nodes.find_index { |n| %w(collection set).include? n.text.downcase }
65
+ end
66
+
67
+ # value is used to tell SearchWorks UI app of specific display needs for objects
68
+ # this comes from the <thumb> element in publicXML or the first image found (as parsed by discovery-indexer)
69
+ # @return [String] filename or nil if none found
70
+ def thumb
71
+ return if is_collection
72
+ encoded_thumb if %w(book image manuscript map webarchive-seed).include?(dor_content_type)
73
+ end
74
+
75
+ # the value of the type attribute for a DOR object's contentMetadata
76
+ # more info about these values is here:
77
+ # https://consul.stanford.edu/display/chimera/DOR+content+types%2C+resource+types+and+interpretive+metadata
78
+ # https://consul.stanford.edu/display/chimera/Summary+of+Content+Types%2C+Resource+Types+and+their+behaviors
79
+ # @return [String]
80
+ def dor_content_type
81
+ public_xml_doc.xpath('//contentMetadata/@type').text
82
+ end
83
+
84
+ # the thumbnail in publicXML, falling back to the first image if no thumb node is found
85
+ # @return [String] thumb filename with druid prepended, e.g. oo000oo0001/filename withspace.jp2
86
+ def parse_thumb
87
+ unless public_xml_doc.nil?
88
+ thumb = public_xml_doc.xpath('//thumb')
89
+ # first try and parse what is in the thumb node of publicXML, but fallback to the first image if needed
90
+ if thumb.size == 1
91
+ thumb.first.content
92
+ elsif thumb.size == 0 && parse_sw_image_ids.size > 0
93
+ parse_sw_image_ids.first
94
+ else
95
+ nil
96
+ end
97
+ end
98
+ end
99
+
100
+ # the druid and id attribute of resource/file and objectId and fileId of the
101
+ # resource/externalFile elements that match the image, page, or thumb resource type, including extension
102
+ # Also, prepends the corresponding druid and / specifically for Searchworks use
103
+ # @return [Array<String>] filenames
104
+ def parse_sw_image_ids
105
+ public_xml_doc.xpath('//resource[@type="page" or @type="image" or @type="thumb"]').map do |node|
106
+ node.xpath('./file[@mimetype="image/jp2"]/@id').map{ |x| "#{@druid.gsub('druid:','')}/" + x } << node.xpath('./externalFile[@mimetype="image/jp2"]').map do |y|
107
+ "#{y.attributes['objectId'].text.split(':').last}" + "/" + "#{y.attributes['fileId']}"
108
+ end
109
+ end.flatten
110
+ end
111
+
112
+ def collections
113
+ @collections ||= predicate_druids('isMemberOfCollection').map do |druid|
114
+ PublicXmlRecord.new(druid, settings)
115
+ end
116
+ end
117
+
118
+ def constituents
119
+ @constituents ||= predicate_druids('isConstituentOf').map do |druid|
120
+ PublicXmlRecord.new(druid, settings)
121
+ end
122
+ end
123
+
124
+ # the thumbnail in publicXML properly URI encoded, including the slash separator
125
+ # @return [String] thumb filename with druid prepended, e.g. oo000oo0001%2Ffilename%20withspace.jp2
126
+ def encoded_thumb
127
+ thumb=parse_thumb
128
+ return unless thumb
129
+ thumb_druid=thumb.split('/').first # the druid (before the first slash)
130
+ thumb_filename=thumb.split(/[a-zA-Z]{2}[0-9]{3}[a-zA-Z]{2}[0-9]{4}[\/]/).last # everything after the druid
131
+ "#{thumb_druid}%2F#{URI.escape(thumb_filename)}"
132
+ end
133
+
134
+ # get the druids from predicate relationships in rels-ext from public_xml
135
+ # @return [Array<String>, nil] the druids (e.g. ww123yy1234) from the rdf:resource of the predicate relationships, or nil if none
136
+ def predicate_druids(predicate, predicate_ns = 'info:fedora/fedora-system:def/relations-external#')
137
+ ns_hash = { 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'pred_ns' => predicate_ns }
138
+ xpth = "/publicObject/rdf:RDF/rdf:Description/pred_ns:#{predicate}/@rdf:resource"
139
+ pred_nodes = public_xml_doc.xpath(xpth, ns_hash)
140
+ pred_nodes.reject { |n| n.value.empty? }.map do |n|
141
+ n.value.split('druid:').last
142
+ end
143
+ end
144
+
145
+ def purl_base_url
146
+ options[:purl_url] || 'https://purl.stanford.edu'
147
+ end
148
+ end
149
+ end
@@ -0,0 +1,91 @@
1
+ class PurlFetcher::Client::Reader
2
+ include Enumerable
3
+ attr_reader :input_stream, :settings
4
+
5
+ def initialize(input_stream, settings = {})
6
+ @settings = settings
7
+ @input_stream = input_stream
8
+ end
9
+
10
+ def each
11
+ return to_enum(:each) unless block_given?
12
+
13
+ changes(first_modified: first_modified, target: target).each do |change, meta|
14
+ next unless target.nil? || (change['true_targets'] && change['true_targets'].include?(target))
15
+
16
+ public_xml = PurlFetcher::Client::PublicXmlRecord.new(change['druid'].sub('druid:', ''), settings)
17
+
18
+ yield public_xml, change, meta
19
+ end
20
+ end
21
+
22
+ private
23
+
24
+ def first_modified
25
+ settings['purl_fetcher.first_modified']
26
+ end
27
+
28
+ def target
29
+ settings['purl_fetcher.target']
30
+ end
31
+
32
+ ##
33
+ # @return [Enumerator]
34
+ def changes(params = {})
35
+ paginated_get('/docs/changes', 'changes', params)
36
+ end
37
+
38
+ ##
39
+ # @return [Enumerator]
40
+ def deletes(params = {})
41
+ paginated_get('/docs/deletes', 'deletes', params)
42
+ end
43
+
44
+ ##
45
+ # @return [Hash] a parsed JSON hash
46
+ def get(path, params = {})
47
+ JSON.parse(fetch(settings.fetch('purl_fetcher.api_endpoint', 'https://purl-fetcher.stanford.edu') + path, params))
48
+ end
49
+
50
+ def fetch(url, params)
51
+ if defined?(Manticore)
52
+ Manticore.get(url, query: params).body
53
+ else
54
+ HTTP.get(url, params: params).body
55
+ end
56
+ end
57
+
58
+ ##
59
+ # For performance, and enumberable object is returned.
60
+ #
61
+ # @example operating on each of the results as they come in
62
+ # paginated_get('/docs/changes', 'changes').map { |v| puts v.inspect }
63
+ #
64
+ # @example getting all of the results and converting to an array
65
+ # paginated_get('/docs/changes', 'changes').to_a
66
+ #
67
+ # @return [Enumerator] an enumberable object
68
+ def paginated_get(path, accessor, options = {})
69
+ Enumerator.new do |yielder|
70
+ params = options.dup
71
+ per_page = params.delete(:per_page) { 100 }
72
+ page = params.delete(:page) { 1 }
73
+ max = params.delete(:max) { 1_000_000 }
74
+ total = 0
75
+
76
+ loop do
77
+ data = get(path, { per_page: per_page, page: page }.merge(params))
78
+
79
+ total += data[accessor].length
80
+
81
+ data[accessor].each do |element|
82
+ yielder.yield element, { 'range' => data['range'] || {} }
83
+ end
84
+
85
+ page = data['pages']['next_page']
86
+
87
+ break if page.nil? || total >= max
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,5 @@
1
+ module PurlFetcher
2
+ module Client
3
+ VERSION = "0.2.0"
4
+ end
5
+ end
@@ -0,0 +1,15 @@
1
+ require "purl_fetcher/client/version"
2
+ require 'http'
3
+ begin
4
+ require 'manticore' if defined? JRUBY_VERSION
5
+ rescue LoadError
6
+ end
7
+
8
+ module PurlFetcher
9
+ module Client
10
+ require 'purl_fetcher/client/public_xml_record'
11
+ require 'purl_fetcher/client/reader'
12
+ require 'purl_fetcher/client/deletes_reader'
13
+ # Your code goes here...
14
+ end
15
+ end
@@ -0,0 +1,30 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "purl_fetcher/client/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "purl_fetcher-client"
8
+ spec.version = PurlFetcher::Client::VERSION
9
+ spec.authors = ["Chris Beer"]
10
+ spec.email = ["cabeer@stanford.edu"]
11
+
12
+ spec.summary = 'Traject-compatible reader implementation for streaming data from purl-fetcher'
13
+
14
+ # Specify which files should be added to the gem when it is released.
15
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
16
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_dependency 'http'
24
+ spec.add_dependency 'nokogiri'
25
+ spec.add_dependency 'stanford-mods'
26
+
27
+ spec.add_development_dependency "bundler"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rspec", "~> 3.0"
30
+ end
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: purl_fetcher-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Chris Beer
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-05-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: http
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: stanford-mods
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ description:
98
+ email:
99
+ - cabeer@stanford.edu
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - README.md
110
+ - Rakefile
111
+ - bin/console
112
+ - bin/setup
113
+ - lib/purl_fetcher/client.rb
114
+ - lib/purl_fetcher/client/deletes_reader.rb
115
+ - lib/purl_fetcher/client/public_xml_record.rb
116
+ - lib/purl_fetcher/client/reader.rb
117
+ - lib/purl_fetcher/client/version.rb
118
+ - purl_fetcher-client.gemspec
119
+ homepage:
120
+ licenses: []
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubygems_version: 3.0.3
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: Traject-compatible reader implementation for streaming data from purl-fetcher
141
+ test_files: []