hydra-pcdm 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +144 -0
- data/.rubocop.yml +6 -0
- data/CONTRIBUTING.md +23 -1
- data/Gemfile +11 -1
- data/README.md +10 -11
- data/Rakefile +12 -0
- data/config/fcrepo_wrapper_test.yml +7 -0
- data/config/solr_wrapper_test.yml +2 -0
- data/hydra-pcdm.gemspec +8 -6
- data/lib/hydra/pcdm/models/concerns/pcdm_behavior.rb +0 -12
- data/lib/hydra/pcdm/version.rb +1 -1
- data/spec/hydra/pcdm/models/file_spec.rb +3 -2
- data/spec/spec_helper.rb +1 -0
- metadata +43 -42
- data/.travis.yml +0 -17
- data/solr/config/_rest_managed.json +0 -3
- data/solr/config/admin-extra.html +0 -31
- data/solr/config/elevate.xml +0 -36
- data/solr/config/mapping-ISOLatin1Accent.txt +0 -246
- data/solr/config/protwords.txt +0 -21
- data/solr/config/schema.xml +0 -372
- data/solr/config/scripts.conf +0 -24
- data/solr/config/solrconfig.xml +0 -419
- data/solr/config/spellings.txt +0 -2
- data/solr/config/stopwords.txt +0 -58
- data/solr/config/stopwords_en.txt +0 -58
- data/solr/config/synonyms.txt +0 -31
- data/solr/config/xslt/example.xsl +0 -132
- data/solr/config/xslt/example_atom.xsl +0 -67
- data/solr/config/xslt/example_rss.xsl +0 -66
- data/solr/config/xslt/luke.xsl +0 -337
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd52a70d7793ef591d0a8b0b7999d9642ac619c4b52723a947bede947c07facc
|
4
|
+
data.tar.gz: af405a8b4223611f076f21e6e50f7d44357baf1fa364977c0043c5bb03ea3105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8308ee11884d59408f85e6a60d7184dd991b2acc2debba6ce41571f9ccddc1a980d1f5b4ca08d5193b95ecda8c11ab4f854414298b5133d13258f66b65d57f91
|
7
|
+
data.tar.gz: 3108110b9e05da206366ffbb0b3a976fd153a205f481713917367f7ba85c8debe2316b1e918172f22738bf793e408ec5aa30cc705565cd6d14b03421b9e1fbc0
|
@@ -0,0 +1,144 @@
|
|
1
|
+
version: 2.1
|
2
|
+
orbs:
|
3
|
+
samvera: samvera/circleci-orb@1.0
|
4
|
+
jobs:
|
5
|
+
bundle_lint_test:
|
6
|
+
parameters:
|
7
|
+
ruby_version:
|
8
|
+
type: string
|
9
|
+
rails_version:
|
10
|
+
type: string
|
11
|
+
project:
|
12
|
+
type: string
|
13
|
+
default: hydra-pcdm
|
14
|
+
bundler_version:
|
15
|
+
type: string
|
16
|
+
default: 2.3.10
|
17
|
+
executor:
|
18
|
+
name: 'samvera/ruby_fcrepo_solr_redis_postgres'
|
19
|
+
ruby_version: << parameters.ruby_version >>
|
20
|
+
environment:
|
21
|
+
RAILS_VERSION: << parameters.rails_version >>
|
22
|
+
steps:
|
23
|
+
- samvera/cached_checkout
|
24
|
+
|
25
|
+
- samvera/bundle_for_gem:
|
26
|
+
ruby_version: << parameters.ruby_version >>
|
27
|
+
bundler_version: << parameters.bundler_version >>
|
28
|
+
project: << parameters.project >>
|
29
|
+
|
30
|
+
- samvera/install_solr_core
|
31
|
+
|
32
|
+
- samvera/rubocop
|
33
|
+
|
34
|
+
- samvera/parallel_rspec
|
35
|
+
|
36
|
+
workflows:
|
37
|
+
ci:
|
38
|
+
jobs:
|
39
|
+
- bundle_lint_test:
|
40
|
+
name: ruby3-2_rails7-0
|
41
|
+
ruby_version: 3.2.0
|
42
|
+
rails_version: 7.0.4.1
|
43
|
+
- bundle_lint_test:
|
44
|
+
name: ruby3-2_rails6-1
|
45
|
+
ruby_version: 3.2.0
|
46
|
+
rails_version: 6.1.7.1
|
47
|
+
- bundle_lint_test:
|
48
|
+
name: ruby3-2_rails6-0
|
49
|
+
ruby_version: 3.2.0
|
50
|
+
rails_version: 6.0.6.1
|
51
|
+
- bundle_lint_test:
|
52
|
+
name: ruby3-1_rails7-0
|
53
|
+
ruby_version: 3.1.3
|
54
|
+
rails_version: 7.0.4.1
|
55
|
+
- bundle_lint_test:
|
56
|
+
name: ruby3-1_rails6-1
|
57
|
+
ruby_version: 3.1.3
|
58
|
+
rails_version: 6.1.7.1
|
59
|
+
- bundle_lint_test:
|
60
|
+
name: ruby3-1_rails6-0
|
61
|
+
ruby_version: 3.1.3
|
62
|
+
rails_version: 6.0.6.1
|
63
|
+
- bundle_lint_test:
|
64
|
+
name: ruby3-0_rails7-0
|
65
|
+
ruby_version: 3.0.5
|
66
|
+
rails_version: 7.0.4.1
|
67
|
+
- bundle_lint_test:
|
68
|
+
name: ruby3-0_rails6-1
|
69
|
+
ruby_version: 3.0.5
|
70
|
+
rails_version: 6.1.7.1
|
71
|
+
- bundle_lint_test:
|
72
|
+
name: ruby3-0_rails6-0
|
73
|
+
ruby_version: 3.0.5
|
74
|
+
rails_version: 6.0.6.1
|
75
|
+
- bundle_lint_test:
|
76
|
+
name: ruby2-7_rails6-1
|
77
|
+
ruby_version: 2.7.7
|
78
|
+
rails_version: 6.1.7.1
|
79
|
+
- bundle_lint_test:
|
80
|
+
name: ruby2-7_rails6-0
|
81
|
+
ruby_version: 2.7.7
|
82
|
+
rails_version: 6.0.6.1
|
83
|
+
- bundle_lint_test:
|
84
|
+
name: ruby2-7_rails5-2
|
85
|
+
ruby_version: 2.7.7
|
86
|
+
rails_version: 5.2.8.1
|
87
|
+
|
88
|
+
nightly:
|
89
|
+
triggers:
|
90
|
+
- schedule:
|
91
|
+
cron: "0 0 * * *"
|
92
|
+
filters:
|
93
|
+
branches:
|
94
|
+
only:
|
95
|
+
- main
|
96
|
+
jobs:
|
97
|
+
- bundle_lint_test:
|
98
|
+
name: ruby3-2_rails7-0
|
99
|
+
ruby_version: 3.2.0
|
100
|
+
rails_version: 7.0.4.1
|
101
|
+
- bundle_lint_test:
|
102
|
+
name: ruby3-2_rails6-1
|
103
|
+
ruby_version: 3.2.0
|
104
|
+
rails_version: 6.1.7.1
|
105
|
+
- bundle_lint_test:
|
106
|
+
name: ruby3-2_rails6-0
|
107
|
+
ruby_version: 3.2.0
|
108
|
+
rails_version: 6.0.6.1
|
109
|
+
- bundle_lint_test:
|
110
|
+
name: ruby3-1_rails7-0
|
111
|
+
ruby_version: 3.1.3
|
112
|
+
rails_version: 7.0.4.1
|
113
|
+
- bundle_lint_test:
|
114
|
+
name: ruby3-1_rails6-1
|
115
|
+
ruby_version: 3.1.3
|
116
|
+
rails_version: 6.1.7.1
|
117
|
+
- bundle_lint_test:
|
118
|
+
name: ruby3-1_rails6-0
|
119
|
+
ruby_version: 3.1.3
|
120
|
+
rails_version: 6.0.6.1
|
121
|
+
- bundle_lint_test:
|
122
|
+
name: ruby3-0_rails7-0
|
123
|
+
ruby_version: 3.0.5
|
124
|
+
rails_version: 7.0.4.1
|
125
|
+
- bundle_lint_test:
|
126
|
+
name: ruby3-0_rails6-1
|
127
|
+
ruby_version: 3.0.5
|
128
|
+
rails_version: 6.1.7.1
|
129
|
+
- bundle_lint_test:
|
130
|
+
name: ruby3-0_rails6-0
|
131
|
+
ruby_version: 3.0.5
|
132
|
+
rails_version: 6.0.6.1
|
133
|
+
- bundle_lint_test:
|
134
|
+
name: ruby2-7_rails6-1
|
135
|
+
ruby_version: 2.7.7
|
136
|
+
rails_version: 6.1.7.1
|
137
|
+
- bundle_lint_test:
|
138
|
+
name: ruby2-7_rails6-0
|
139
|
+
ruby_version: 2.7.7
|
140
|
+
rails_version: 6.0.6.1
|
141
|
+
- bundle_lint_test:
|
142
|
+
name: ruby2-7_rails5-2
|
143
|
+
ruby_version: 2.7.7
|
144
|
+
rails_version: 5.2.8.1
|
data/.rubocop.yml
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -22,6 +22,28 @@ https://wiki.duraspace.org/display/samvera/Samvera+Community+Intellectual+Proper
|
|
22
22
|
|
23
23
|
You should also add yourself to the `CONTRIBUTORS.md` file in the root of the project.
|
24
24
|
|
25
|
+
## Language
|
26
|
+
|
27
|
+
The language we use matters. Today, tomorrow, and for years to come
|
28
|
+
people will read the code we write. They will judge us for our
|
29
|
+
design, logic, and the words we use to describe the system.
|
30
|
+
|
31
|
+
Our words should be accessible. Favor descriptive words that give
|
32
|
+
meaning while avoiding reinforcing systemic inequities. For example,
|
33
|
+
in the Samvera community, we should favor using allowed\_list instead
|
34
|
+
of whitelist, denied\_list instead of blacklist, or source/copy
|
35
|
+
instead of master/slave.
|
36
|
+
|
37
|
+
We're going to get it wrong, but this is a call to keep working to
|
38
|
+
make it right. View our code and the words we choose as a chance to
|
39
|
+
have a conversation. A chance to grow an understanding of the systems
|
40
|
+
we develop as well as the systems in which we live.
|
41
|
+
|
42
|
+
See [“Blacklists” and “whitelists”: a salutary warning concerning the
|
43
|
+
prevalence of racist language in discussions of predatory
|
44
|
+
publishing](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6148600/) for
|
45
|
+
further details.
|
46
|
+
|
25
47
|
## Contribution Tasks
|
26
48
|
|
27
49
|
* Reporting Issues
|
@@ -34,7 +56,7 @@ You should also add yourself to the `CONTRIBUTORS.md` file in the root of the pr
|
|
34
56
|
### Reporting Issues
|
35
57
|
|
36
58
|
* Make sure you have a [GitHub account](https://github.com/signup/free)
|
37
|
-
* Submit a [Github issue](https://github.com/samvera/
|
59
|
+
* Submit a [Github issue](https://github.com/samvera/{{library}}/issues/) by:
|
38
60
|
* Clearly describing the issue
|
39
61
|
* Provide a descriptive summary
|
40
62
|
* Explain the expected behavior
|
data/Gemfile
CHANGED
@@ -1,10 +1,20 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
group :development, :test do
|
4
|
-
gem 'bixby', '~> 1.0'
|
5
4
|
gem 'pry' unless ENV['CI']
|
6
5
|
gem 'pry-byebug' unless ENV['CI']
|
6
|
+
gem 'rspec_junit_formatter'
|
7
7
|
end
|
8
8
|
|
9
9
|
# Specify your gem's dependencies in hydra-pcdm.gemspec
|
10
10
|
gemspec
|
11
|
+
|
12
|
+
# rubocop:disable Bundler/DuplicatedGem
|
13
|
+
if ENV['RAILS_VERSION']
|
14
|
+
if ENV['RAILS_VERSION'] == 'edge'
|
15
|
+
gem 'rails', github: 'rails/rails'
|
16
|
+
else
|
17
|
+
gem 'rails', ENV['RAILS_VERSION']
|
18
|
+
end
|
19
|
+
end
|
20
|
+
# rubocop:enable Bundler/DuplicatedGem
|
data/README.md
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
# Hydra::PCDM
|
2
2
|
|
3
3
|
Code:
|
4
|
-
[![Version](https://badge.fury.io/rb/hydra-pcdm.png)](http://badge.fury.io/rb/hydra-pcdm)
|
5
|
-
[![Build Status](https://
|
6
|
-
[![Coverage Status](https://coveralls.io/repos/samvera/hydra-pcdm/badge.svg?branch=
|
7
|
-
[![Code Climate](https://codeclimate.com/github/projecthydra/hydra-pcdm/badges/gpa.svg)](https://codeclimate.com/github/projecthydra/hydra-pcdm)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/hydra-pcdm.png)](http://badge.fury.io/rb/hydra-pcdm)
|
5
|
+
[![Build Status](https://circleci.com/gh/samvera/hydra-pcdm.svg?style=svg)](https://circleci.com/gh/samvera/hydra-pcdm)
|
6
|
+
[![Coverage Status](https://coveralls.io/repos/samvera/hydra-pcdm/badge.svg?branch=main)](https://coveralls.io/r/samvera/hydra-pcdm?branch=main)
|
8
7
|
|
9
8
|
Docs:
|
10
|
-
[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
|
11
9
|
[![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
|
10
|
+
[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
|
12
11
|
[![API Docs](http://img.shields.io/badge/API-docs-blue.svg)](http://rubydoc.info/gems/hydra-pcdm)
|
13
12
|
|
14
|
-
|
13
|
+
Community Support: [![Samvera Community Slack](https://img.shields.io/badge/samvera-slack-blueviolet)](http://slack.samvera.org/)
|
15
14
|
|
16
15
|
# What is hydra-pcdm?
|
17
16
|
|
@@ -19,13 +18,13 @@ Samvera implementation of the Portland Common Data Model (PCDM)
|
|
19
18
|
|
20
19
|
## Product Owner & Maintenance
|
21
20
|
|
22
|
-
|
23
|
-
what this means can be found
|
24
|
-
[here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
|
21
|
+
`hydra-pcdm` was a Core Component of the Samvera Community. Given a decline in available labor required for maintenance, this project no longer has a dedicated Product Owner. The documentation for what this means can be found [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
|
25
22
|
|
26
23
|
### Product Owner
|
27
24
|
|
28
|
-
|
25
|
+
**Vacant**
|
26
|
+
|
27
|
+
_Until a Product Owner has been identified, we ask that you please direct all requests for support, bug reports, and general questions to the [`#dev` Channel on the Samvera Slack](https://samvera.slack.com/app_redirect?channel=dev)._
|
29
28
|
|
30
29
|
# Help
|
31
30
|
|
@@ -50,7 +49,7 @@ Or install it yourself:
|
|
50
49
|
|
51
50
|
## Access Controls
|
52
51
|
|
53
|
-
We are using [Web ACL](http://www.w3.org/wiki/WebAccessControl) as implemented in [hydra-access-controls](https://github.com/samvera/hydra-head/tree/
|
52
|
+
We are using [Web ACL](http://www.w3.org/wiki/WebAccessControl) as implemented in [hydra-access-controls](https://github.com/samvera/hydra-head/tree/main/hydra-access-controls).
|
54
53
|
|
55
54
|
## Portland Common Data Model
|
56
55
|
|
data/Rakefile
CHANGED
@@ -29,4 +29,16 @@ task ci: :rubocop do
|
|
29
29
|
Rake::Task['spec_with_app_load'].invoke
|
30
30
|
end
|
31
31
|
|
32
|
+
desc 'Start up test server'
|
33
|
+
task :test_server do
|
34
|
+
ENV["RAILS_ENV"] = "test"
|
35
|
+
with_test_server do
|
36
|
+
puts "Solr: http://localhost:#{ENV['SOLR_TEST_PORT']}/solr"
|
37
|
+
puts "Fedora: http://localhost:#{ENV['FCREPO_TEST_PORT']}/rest"
|
38
|
+
loop do
|
39
|
+
sleep(1)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
32
44
|
task default: :ci
|
data/hydra-pcdm.gemspec
CHANGED
@@ -10,8 +10,9 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['elr37@cornell.edu']
|
11
11
|
spec.summary = 'Portland Common Data Model (PCDM)'
|
12
12
|
spec.description = 'Portland Common Data Model (PCDM)'
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/samvera/hydra-pcdm'
|
14
14
|
spec.license = 'APACHE2'
|
15
|
+
spec.metadata = { "rubygems_mfa_required" => "true" }
|
15
16
|
spec.required_ruby_version = '>= 1.9.3'
|
16
17
|
|
17
18
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -19,13 +20,14 @@ Gem::Specification.new do |spec|
|
|
19
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
21
|
spec.require_paths = ['lib']
|
21
22
|
|
22
|
-
spec.add_dependency 'active-fedora', '>= 10', '<
|
23
|
+
spec.add_dependency 'active-fedora', '>= 10', '< 15'
|
23
24
|
spec.add_dependency 'mime-types', '>= 1'
|
25
|
+
spec.add_dependency 'rdf-vocab', '<=3.1.4'
|
24
26
|
|
25
|
-
spec.add_development_dependency '
|
26
|
-
spec.add_development_dependency '
|
27
|
-
spec.add_development_dependency '
|
27
|
+
spec.add_development_dependency 'bixby', '>= 5.0.2'
|
28
|
+
spec.add_development_dependency 'coveralls_reborn', '~> 0.24'
|
29
|
+
spec.add_development_dependency 'fcrepo_wrapper'
|
28
30
|
spec.add_development_dependency 'rake'
|
29
|
-
spec.add_development_dependency 'coveralls'
|
30
31
|
spec.add_development_dependency 'rspec'
|
32
|
+
spec.add_development_dependency 'solr_wrapper'
|
31
33
|
end
|
@@ -77,12 +77,6 @@ module Hydra::PCDM
|
|
77
77
|
ActiveFedora::Base.where(Config.indexing_member_ids_key => id)
|
78
78
|
end
|
79
79
|
|
80
|
-
##
|
81
|
-
# @return [Enumerable<String>] an ordered list of member ids
|
82
|
-
def ordered_member_ids
|
83
|
-
ordered_member_proxies.map(&:target_id)
|
84
|
-
end
|
85
|
-
|
86
80
|
##
|
87
81
|
# Gives the subset of #members that are PCDM objects
|
88
82
|
#
|
@@ -125,12 +119,6 @@ module Hydra::PCDM
|
|
125
119
|
in_collections.map(&:id)
|
126
120
|
end
|
127
121
|
|
128
|
-
##
|
129
|
-
# @return [Enumerable<String>]
|
130
|
-
def member_of_collection_ids
|
131
|
-
member_of_collections.map(&:id)
|
132
|
-
end
|
133
|
-
|
134
122
|
##
|
135
123
|
# @param [ActiveFedora::Base] potential_ancestor the resource to check for
|
136
124
|
# ancestorship
|
data/lib/hydra/pcdm/version.rb
CHANGED
@@ -8,7 +8,7 @@ describe Hydra::PCDM::File do
|
|
8
8
|
it 'sets an RDF type' do
|
9
9
|
file.content = 'stuff'
|
10
10
|
expect(file.save).to be true
|
11
|
-
expect(reloaded.metadata_node.query(
|
11
|
+
expect(reloaded.metadata_node.query([nil, RDF.type, Hydra::PCDM::Vocab::PCDMTerms.File]).map(&:object)).to eq [Hydra::PCDM::Vocab::PCDMTerms.File]
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
@@ -73,7 +73,8 @@ describe Hydra::PCDM::File do
|
|
73
73
|
expect(reloaded.mime_type).to eq ctype
|
74
74
|
end
|
75
75
|
|
76
|
-
|
76
|
+
# This may be resolved, as this test is now failing on CircleCI
|
77
|
+
xit 'does not save server managed properties' do
|
77
78
|
# Currently we can't write this property because Fedora
|
78
79
|
# complains that it's a server managed property. This test
|
79
80
|
# is mostly to document this situation.
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-pcdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- E. Lynette Rayle
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active-fedora
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '15'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '15'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: mime-types
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,47 +45,61 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: rdf-vocab
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - "<="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 3.1.4
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "<="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 3.1.4
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: bixby
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 5.0.2
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
version_requirements: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
|
-
- - "
|
72
|
+
- - ">="
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
74
|
+
version: 5.0.2
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
76
|
+
name: coveralls_reborn
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
79
|
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
81
|
+
version: '0.24'
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
86
|
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
88
|
+
version: '0.24'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
90
|
+
name: fcrepo_wrapper
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
78
92
|
requirements:
|
79
|
-
- - "
|
93
|
+
- - ">="
|
80
94
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0
|
95
|
+
version: '0'
|
82
96
|
type: :development
|
83
97
|
prerelease: false
|
84
98
|
version_requirements: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
|
-
- - "
|
100
|
+
- - ">="
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0
|
102
|
+
version: '0'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: rake
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,7 +115,7 @@ dependencies:
|
|
101
115
|
- !ruby/object:Gem::Version
|
102
116
|
version: '0'
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
118
|
+
name: rspec
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
106
120
|
requirements:
|
107
121
|
- - ">="
|
@@ -115,7 +129,7 @@ dependencies:
|
|
115
129
|
- !ruby/object:Gem::Version
|
116
130
|
version: '0'
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
132
|
+
name: solr_wrapper
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
120
134
|
requirements:
|
121
135
|
- - ">="
|
@@ -135,12 +149,12 @@ executables: []
|
|
135
149
|
extensions: []
|
136
150
|
extra_rdoc_files: []
|
137
151
|
files:
|
152
|
+
- ".circleci/config.yml"
|
138
153
|
- ".coveralls.yml"
|
139
154
|
- ".gitignore"
|
140
155
|
- ".rspec"
|
141
156
|
- ".rubocop.yml"
|
142
157
|
- ".rubocop_todo.yml"
|
143
|
-
- ".travis.yml"
|
144
158
|
- CODE_OF_CONDUCT.md
|
145
159
|
- CONTRIBUTING.md
|
146
160
|
- Gemfile
|
@@ -148,7 +162,9 @@ files:
|
|
148
162
|
- README.md
|
149
163
|
- Rakefile
|
150
164
|
- SUPPORT.md
|
165
|
+
- config/fcrepo_wrapper_test.yml
|
151
166
|
- config/jetty.yml
|
167
|
+
- config/solr_wrapper_test.yml
|
152
168
|
- hydra-pcdm.gemspec
|
153
169
|
- lib/hydra/pcdm.rb
|
154
170
|
- lib/hydra/pcdm/ancestor_checker.rb
|
@@ -172,22 +188,6 @@ files:
|
|
172
188
|
- lib/hydra/pcdm/validators/pcdm_validator.rb
|
173
189
|
- lib/hydra/pcdm/version.rb
|
174
190
|
- lib/hydra/pcdm/vocab/pcdm_terms.rb
|
175
|
-
- solr/config/_rest_managed.json
|
176
|
-
- solr/config/admin-extra.html
|
177
|
-
- solr/config/elevate.xml
|
178
|
-
- solr/config/mapping-ISOLatin1Accent.txt
|
179
|
-
- solr/config/protwords.txt
|
180
|
-
- solr/config/schema.xml
|
181
|
-
- solr/config/scripts.conf
|
182
|
-
- solr/config/solrconfig.xml
|
183
|
-
- solr/config/spellings.txt
|
184
|
-
- solr/config/stopwords.txt
|
185
|
-
- solr/config/stopwords_en.txt
|
186
|
-
- solr/config/synonyms.txt
|
187
|
-
- solr/config/xslt/example.xsl
|
188
|
-
- solr/config/xslt/example_atom.xsl
|
189
|
-
- solr/config/xslt/example_rss.xsl
|
190
|
-
- solr/config/xslt/luke.xsl
|
191
191
|
- spec/hydra/pcdm/ancestor_checker_spec.rb
|
192
192
|
- spec/hydra/pcdm/collection_indexer_spec.rb
|
193
193
|
- spec/hydra/pcdm/config_spec.rb
|
@@ -199,11 +199,12 @@ files:
|
|
199
199
|
- spec/hydra/pcdm/services/file/get_mime_type_spec.rb
|
200
200
|
- spec/hydra/pcdm_spec.rb
|
201
201
|
- spec/spec_helper.rb
|
202
|
-
homepage: https://github.com/
|
202
|
+
homepage: https://github.com/samvera/hydra-pcdm
|
203
203
|
licenses:
|
204
204
|
- APACHE2
|
205
|
-
metadata:
|
206
|
-
|
205
|
+
metadata:
|
206
|
+
rubygems_mfa_required: 'true'
|
207
|
+
post_install_message:
|
207
208
|
rdoc_options: []
|
208
209
|
require_paths:
|
209
210
|
- lib
|
@@ -218,8 +219,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
219
|
- !ruby/object:Gem::Version
|
219
220
|
version: '0'
|
220
221
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
222
|
-
signing_key:
|
222
|
+
rubygems_version: 3.4.1
|
223
|
+
signing_key:
|
223
224
|
specification_version: 4
|
224
225
|
summary: Portland Common Data Model (PCDM)
|
225
226
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
cache: bundler
|
3
|
-
sudo: false
|
4
|
-
bundler_args: --without debug
|
5
|
-
env:
|
6
|
-
global:
|
7
|
-
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
8
|
-
jdk:
|
9
|
-
- oraclejdk8
|
10
|
-
rvm:
|
11
|
-
- 2.2.7
|
12
|
-
- 2.3.4
|
13
|
-
- 2.4.1
|
14
|
-
- jruby-9.1.8.0
|
15
|
-
matrix:
|
16
|
-
allow_failures:
|
17
|
-
- rvm: jruby-9.1.8.0
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
-
contributor license agreements. See the NOTICE file distributed with
|
4
|
-
this work for additional information regarding copyright ownership.
|
5
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
-
(the "License"); you may not use this file except in compliance with
|
7
|
-
the License. You may obtain a copy of the License at
|
8
|
-
|
9
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
|
11
|
-
Unless required by applicable law or agreed to in writing, software
|
12
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
See the License for the specific language governing permissions and
|
15
|
-
limitations under the License.
|
16
|
-
-->
|
17
|
-
|
18
|
-
<!-- The content of this page will be statically included into the top
|
19
|
-
of the admin page. Uncomment this as an example to see there the content
|
20
|
-
will show up.
|
21
|
-
|
22
|
-
<hr>
|
23
|
-
<i>This line will appear before the first table</i>
|
24
|
-
<tr>
|
25
|
-
<td colspan="2">
|
26
|
-
This row will be appended to the end of the first table
|
27
|
-
</td>
|
28
|
-
</tr>
|
29
|
-
<hr>
|
30
|
-
|
31
|
-
-->
|