hydra-works 1.2.0 → 2.1.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 +154 -0
- data/.rubocop.yml +1 -1
- data/.solr_wrapper +1 -0
- data/Gemfile +11 -3
- data/README.md +31 -14
- data/hydra-works.gemspec +9 -7
- data/lib/hydra/works/version.rb +1 -1
- data/lib/hydra/works/virus_scanner.rb +17 -1
- data/spec/hydra/works/services/characterization_service_spec.rb +1 -1
- data/spec/hydra/works/services/persist_derivatives_spec.rb +7 -2
- data/spec/hydra/works/virus_scanner_spec.rb +31 -0
- metadata +48 -33
- data/.travis.yml +0 -15
- data/lib/hydra/works/characterization/fits_mapper.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 299915df094f99166ceb8580278c609aae957c1b2730e43fa59ef8f04dab6a44
|
4
|
+
data.tar.gz: e02e90ef61fb828758714a41fccfb3c80d4e78a1820492fe1475a7d70f472e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8339edf5dc4ff96f1ec1bec49af72b624b87be9d93786522b991d49305269f08ee750ba1ceee12758a0e6c21f379941c36a91336ab6e9d3b086945c4f8d189ac
|
7
|
+
data.tar.gz: ba1ddb8186a4d86186fa322052327bebf2ef80f7d212b90adc802b41e23d994f698eada5676c68a89ca0345390a3ffbbce9bd526316d5759b69f4340d169ab0c
|
@@ -0,0 +1,154 @@
|
|
1
|
+
---
|
2
|
+
version: 2.1
|
3
|
+
orbs:
|
4
|
+
samvera: samvera/circleci-orb@1.0
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
parameters:
|
8
|
+
ruby_version:
|
9
|
+
type: string
|
10
|
+
bundler_version:
|
11
|
+
type: string
|
12
|
+
default: 2.3.10
|
13
|
+
rails_version:
|
14
|
+
type: string
|
15
|
+
environment:
|
16
|
+
RAILS_VERSION: << parameters.rails_version >>
|
17
|
+
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
|
18
|
+
executor:
|
19
|
+
name: 'samvera/ruby_fcrepo_solr_redis_postgres'
|
20
|
+
ruby_version: << parameters.ruby_version >>
|
21
|
+
steps:
|
22
|
+
- run: 'sudo apt-get update'
|
23
|
+
- run: 'sudo apt-get install -y clamav libsqlite3-dev'
|
24
|
+
- run: 'sudo freshclam'
|
25
|
+
|
26
|
+
- samvera/cached_checkout
|
27
|
+
|
28
|
+
- samvera/bundle_for_gem:
|
29
|
+
ruby_version: << parameters.ruby_version >>
|
30
|
+
bundler_version: << parameters.bundler_version >>
|
31
|
+
project: hydra-works
|
32
|
+
|
33
|
+
- samvera/install_solr_core
|
34
|
+
|
35
|
+
- samvera/parallel_rspec
|
36
|
+
|
37
|
+
workflows:
|
38
|
+
version: 2
|
39
|
+
ci:
|
40
|
+
jobs:
|
41
|
+
# Rails 7.0
|
42
|
+
- test:
|
43
|
+
name: ruby3-2_rails7-0
|
44
|
+
ruby_version: 3.2.0
|
45
|
+
rails_version: 7.0.4.1
|
46
|
+
- test:
|
47
|
+
name: ruby3-1_rails7-0
|
48
|
+
ruby_version: 3.1.3
|
49
|
+
rails_version: 7.0.4.1
|
50
|
+
- test:
|
51
|
+
name: ruby3-0_rails7-0
|
52
|
+
ruby_version: 3.0.5
|
53
|
+
rails_version: 7.0.4.1
|
54
|
+
# Rails 6.1
|
55
|
+
- test:
|
56
|
+
name: ruby3-2_rails6-1
|
57
|
+
ruby_version: 3.2.0
|
58
|
+
rails_version: 6.1.7.1
|
59
|
+
- test:
|
60
|
+
name: ruby3-1_rails6-1
|
61
|
+
ruby_version: 3.1.3
|
62
|
+
rails_version: 6.1.7.1
|
63
|
+
- test:
|
64
|
+
name: ruby3-0_rails6-1
|
65
|
+
ruby_version: 3.0.5
|
66
|
+
rails_version: 6.1.7.1
|
67
|
+
- test:
|
68
|
+
name: ruby2-7_rails6-1
|
69
|
+
ruby_version: 2.7.7
|
70
|
+
rails_version: 6.1.7.1
|
71
|
+
# Rails 6.0
|
72
|
+
- test:
|
73
|
+
name: ruby3-2_rails6-0
|
74
|
+
ruby_version: 3.2.0
|
75
|
+
rails_version: 6.0.6.1
|
76
|
+
- test:
|
77
|
+
name: ruby3-1_rails6-0
|
78
|
+
ruby_version: 3.1.3
|
79
|
+
rails_version: 6.0.6.1
|
80
|
+
- test:
|
81
|
+
name: ruby3-0_rails6-0
|
82
|
+
ruby_version: 3.0.5
|
83
|
+
rails_version: 6.0.6.1
|
84
|
+
- test:
|
85
|
+
name: ruby2-7_rails6-0
|
86
|
+
ruby_version: 2.7.7
|
87
|
+
rails_version: 6.0.6.1
|
88
|
+
# Rails 5.2
|
89
|
+
- test:
|
90
|
+
name: ruby2-7_rails5-2
|
91
|
+
ruby_version: 2.7.7
|
92
|
+
rails_version: 5.2.8.1
|
93
|
+
|
94
|
+
nightly:
|
95
|
+
triggers:
|
96
|
+
- schedule:
|
97
|
+
cron: "0 0 * * *"
|
98
|
+
filters:
|
99
|
+
branches:
|
100
|
+
only:
|
101
|
+
- main
|
102
|
+
jobs:
|
103
|
+
# Rails 7.0
|
104
|
+
- test:
|
105
|
+
name: ruby3-2_rails7-0
|
106
|
+
ruby_version: 3.2.0
|
107
|
+
rails_version: 7.0.4.1
|
108
|
+
- test:
|
109
|
+
name: ruby3-1_rails7-0
|
110
|
+
ruby_version: 3.1.3
|
111
|
+
rails_version: 7.0.4.1
|
112
|
+
- test:
|
113
|
+
name: ruby3-0_rails7-0
|
114
|
+
ruby_version: 3.0.5
|
115
|
+
rails_version: 7.0.4.1
|
116
|
+
# Rails 6.1
|
117
|
+
- test:
|
118
|
+
name: ruby3-2_rails6-1
|
119
|
+
ruby_version: 3.2.0
|
120
|
+
rails_version: 6.1.7.1
|
121
|
+
- test:
|
122
|
+
name: ruby3-1_rails6-1
|
123
|
+
ruby_version: 3.1.3
|
124
|
+
rails_version: 6.1.7.1
|
125
|
+
- test:
|
126
|
+
name: ruby3-0_rails6-1
|
127
|
+
ruby_version: 3.0.5
|
128
|
+
rails_version: 6.1.7.1
|
129
|
+
- test:
|
130
|
+
name: ruby2-7_rails6-1
|
131
|
+
ruby_version: 2.7.7
|
132
|
+
rails_version: 6.1.7.1
|
133
|
+
# Rails 6.0
|
134
|
+
- test:
|
135
|
+
name: ruby3-2_rails6-0
|
136
|
+
ruby_version: 3.2.0
|
137
|
+
rails_version: 6.0.6.1
|
138
|
+
- test:
|
139
|
+
name: ruby3-1_rails6-0
|
140
|
+
ruby_version: 3.1.3
|
141
|
+
rails_version: 6.0.6.1
|
142
|
+
- test:
|
143
|
+
name: ruby3-0_rails6-0
|
144
|
+
ruby_version: 3.0.5
|
145
|
+
rails_version: 6.0.6.1
|
146
|
+
- test:
|
147
|
+
name: ruby2-7_rails6-0
|
148
|
+
ruby_version: 2.7.7
|
149
|
+
rails_version: 6.0.6.1
|
150
|
+
# Rails 5.2
|
151
|
+
- test:
|
152
|
+
name: ruby2-7_rails5-2
|
153
|
+
ruby_version: 2.7.7
|
154
|
+
rails_version: 5.2.8.1
|
data/.rubocop.yml
CHANGED
data/.solr_wrapper
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
version: 7.7.2
|
data/Gemfile
CHANGED
@@ -6,8 +6,16 @@ gemspec
|
|
6
6
|
gem 'slop', '~> 3.6' # For byebug
|
7
7
|
|
8
8
|
group :development, :test do
|
9
|
-
gem '
|
10
|
-
gem 'rubocop-rspec', '~> 1.13.0', require: false
|
11
|
-
gem 'pry' unless ENV['CI']
|
9
|
+
gem 'clamby'
|
12
10
|
gem 'pry-byebug' unless ENV['CI']
|
11
|
+
gem 'rubocop', require: false
|
12
|
+
gem 'rubocop-rspec', require: false
|
13
|
+
end
|
14
|
+
|
15
|
+
if ENV['RAILS_VERSION']
|
16
|
+
if ENV['RAILS_VERSION'] == 'edge'
|
17
|
+
gem 'rails', github: 'rails/rails'
|
18
|
+
else
|
19
|
+
gem 'rails', ENV['RAILS_VERSION']
|
20
|
+
end
|
13
21
|
end
|
data/README.md
CHANGED
@@ -1,27 +1,30 @@
|
|
1
1
|
# Hydra::Works
|
2
2
|
|
3
|
-
|
4
|
-
[![
|
5
|
-
[![
|
3
|
+
Code:
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/hydra-works.png)](http://badge.fury.io/rb/hydra-works)
|
5
|
+
[![Build Status](https://circleci.com/gh/samvera/hydra-works.svg?style=svg)](https://circleci.com/gh/samvera/hydra-works)
|
6
|
+
[![Coverage Status](https://coveralls.io/repos/samvera/hydra-works/badge.svg?branch=main)](https://coveralls.io/r/samvera/hydra-works?branch=main)
|
6
7
|
[![Code Climate](https://codeclimate.com/github/samvera/hydra-works/badges/gpa.svg)](https://codeclimate.com/github/samvera/hydra-works)
|
7
|
-
|
8
|
+
|
9
|
+
Docs:
|
8
10
|
[![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
|
11
|
+
[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
|
9
12
|
[![API Docs](http://img.shields.io/badge/API-docs-blue.svg)](http://rubydoc.info/gems/hydra-works)
|
10
13
|
|
11
|
-
|
14
|
+
Community Support: [![Samvera Community Slack](https://img.shields.io/badge/samvera-slack-blueviolet)](http://slack.samvera.org/)
|
12
15
|
|
13
16
|
# What is hydra-works?
|
14
|
-
The Hydra::Works gem implements the [PCDM](https://github.com/duraspace/pcdm/wiki) [Works](https://github.com/duraspace/pcdm/blob/
|
17
|
+
The Hydra::Works gem implements the [PCDM](https://github.com/duraspace/pcdm/wiki) [Works](https://github.com/duraspace/pcdm/blob/main/pcdm-ext/works.rdf) data model using ActiveFedora-based models. In addition to the models, Hydra::Works includes associated behaviors around the broad concept of describable "works" or intellectual entities, the need for which was expressed by a variety of [Samvera community use cases](https://github.com/samvera/hydra-works/tree/main/use-cases).
|
15
18
|
|
16
19
|
## Product Owner & Maintenance
|
17
20
|
|
18
|
-
hydra-works
|
19
|
-
what this means can be found
|
20
|
-
[here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
|
21
|
+
`hydra-works` 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).
|
21
22
|
|
22
23
|
### Product Owner
|
23
24
|
|
24
|
-
|
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)._
|
25
28
|
|
26
29
|
# Help
|
27
30
|
|
@@ -43,7 +46,19 @@ Behaviors included in the model include:
|
|
43
46
|
* Virus checking of original files
|
44
47
|
* Full-text extraction from original files
|
45
48
|
|
46
|
-
|
49
|
+
## Dependencies
|
50
|
+
|
51
|
+
Check out the [Hydra::Derivatives README](https://github.com/samvera/hydra-derivatives#dependencies) for dependencies.
|
52
|
+
|
53
|
+
## Additional dependencies required for specs
|
54
|
+
|
55
|
+
#### ClamAV
|
56
|
+
* Mac installation
|
57
|
+
```
|
58
|
+
$ brew install clamav
|
59
|
+
$ cp /usr/local/etc/clamav/freshclam.conf.sample /usr/local/etc/clamav/freshclam.conf
|
60
|
+
$ freshclam
|
61
|
+
```
|
47
62
|
|
48
63
|
## Installation
|
49
64
|
|
@@ -93,9 +108,11 @@ page.save
|
|
93
108
|
|
94
109
|
## Virus Detection
|
95
110
|
|
96
|
-
To turn on virus detection, install clamav on your system and add the `
|
111
|
+
To turn on virus detection, install [ClamAV](https://www.clamav.net/documents/installing-clamav) on your system and add the `clamby` gem to your Gemfile
|
97
112
|
|
98
|
-
|
113
|
+
```ruby
|
114
|
+
gem 'clamby'
|
115
|
+
```
|
99
116
|
|
100
117
|
Then include the `VirusCheck` module in your `FileSet` class:
|
101
118
|
|
@@ -108,7 +125,7 @@ end
|
|
108
125
|
|
109
126
|
## Access controls
|
110
127
|
|
111
|
-
We are using [Web ACL](http://www.w3.org/wiki/WebAccessControl) as implemented by [hydra-access-controls](https://github.com/samvera/hydra-head/tree/
|
128
|
+
We are using [Web ACL](http://www.w3.org/wiki/WebAccessControl) as implemented by [hydra-access-controls](https://github.com/samvera/hydra-head/tree/main/hydra-access-controls).
|
112
129
|
|
113
130
|
## How to contribute
|
114
131
|
|
data/hydra-works.gemspec
CHANGED
@@ -13,23 +13,25 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = %q{Using this data model should enable easy collaboration amongst Samvera projects.}
|
14
14
|
spec.homepage = 'https://github.com/samvera/hydra-works'
|
15
15
|
spec.license = 'APACHE2'
|
16
|
+
spec.metadata = { "rubygems_mfa_required" => "true" }
|
16
17
|
|
17
18
|
spec.files = `git ls-files -z`.split("\x0") - DO_NOT_SHIP
|
18
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
21
|
spec.require_paths = ['lib']
|
21
22
|
|
22
|
-
spec.add_dependency 'activesupport', '>=
|
23
|
-
spec.add_dependency 'hydra-derivatives', '~> 3.
|
23
|
+
spec.add_dependency 'activesupport', '>= 5.2', '< 7.1'
|
24
|
+
spec.add_dependency 'hydra-derivatives', '~> 3.6'
|
24
25
|
spec.add_dependency 'hydra-file_characterization', '~> 1.0'
|
25
26
|
spec.add_dependency 'hydra-pcdm', '>= 0.9'
|
26
27
|
|
27
|
-
spec.add_development_dependency 'bundler', '
|
28
|
+
spec.add_development_dependency 'bundler', '>= 1.7'
|
28
29
|
spec.add_development_dependency 'coveralls'
|
29
|
-
spec.add_development_dependency 'fcrepo_wrapper'
|
30
|
-
spec.add_development_dependency 'rake'
|
30
|
+
spec.add_development_dependency 'fcrepo_wrapper'
|
31
|
+
spec.add_development_dependency 'rake'
|
31
32
|
spec.add_development_dependency 'rspec'
|
32
|
-
spec.add_development_dependency 'rspec-rails'
|
33
|
-
spec.add_development_dependency 'solr_wrapper'
|
33
|
+
spec.add_development_dependency 'rspec-rails'
|
34
|
+
spec.add_development_dependency 'solr_wrapper'
|
34
35
|
spec.add_development_dependency 'sqlite3'
|
36
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
35
37
|
end
|
data/lib/hydra/works/version.rb
CHANGED
@@ -30,16 +30,32 @@ module Hydra::Works
|
|
30
30
|
# Override this method to use your own virus checking software
|
31
31
|
# @return [Boolean]
|
32
32
|
def infected?
|
33
|
-
defined?(
|
33
|
+
if defined?(Clamby)
|
34
|
+
clamby_scanner
|
35
|
+
elsif defined?(ClamAV)
|
36
|
+
clam_av_scanner
|
37
|
+
else
|
38
|
+
null_scanner
|
39
|
+
end
|
34
40
|
end
|
35
41
|
|
36
42
|
def clam_av_scanner
|
43
|
+
Deprecation.warn(self, "The ClamAV has been replaced by Clamby " \
|
44
|
+
"as the supported virus scanner for hydra-works. " \
|
45
|
+
"ClamAV support will be removed in hydra-works 2.0 ")
|
37
46
|
scan_result = ClamAV.instance.method(:scanfile).call(file)
|
38
47
|
return false if scan_result == 0
|
39
48
|
warning "A virus was found in #{file}: #{scan_result}"
|
40
49
|
true
|
41
50
|
end
|
42
51
|
|
52
|
+
# @return [Boolean]
|
53
|
+
def clamby_scanner
|
54
|
+
scan_result = Clamby.virus?(file)
|
55
|
+
warning("A virus was found in #{file}") if scan_result
|
56
|
+
scan_result
|
57
|
+
end
|
58
|
+
|
43
59
|
# Always return zero if there's nothing available to check for viruses. This means that
|
44
60
|
# we assume all files have no viruses because we can't conclusively say if they have or not.
|
45
61
|
def null_scanner
|
@@ -19,7 +19,7 @@ describe Hydra::Works::CharacterizationService do
|
|
19
19
|
# Persist our file with some content and reload
|
20
20
|
file.content = "junk"
|
21
21
|
expect(file.save).to be true
|
22
|
-
expect(file.reload).to
|
22
|
+
expect(file.reload).to be_empty
|
23
23
|
# Re-check property values
|
24
24
|
expect(file.file_size).to eq(["7618"])
|
25
25
|
expect(file.file_title).to eq(["sample-file"])
|
@@ -61,7 +61,9 @@ describe Hydra::Works::PersistDerivative do
|
|
61
61
|
expect(file_set.thumbnail).to be_nil
|
62
62
|
end
|
63
63
|
|
64
|
-
|
64
|
+
# For Ruby 2.5.z releases, the following error is found within CircleCI environments:
|
65
|
+
# `gm mogrify: Unrecognized option (-flatten)`
|
66
|
+
xit 'uses PersistDerivative service to generate a thumbnail derivative' do
|
65
67
|
file_set.create_derivatives
|
66
68
|
expect(Hydra::Derivatives.output_file_service).to eq(described_class)
|
67
69
|
expect(file_set.thumbnail).to have_content
|
@@ -93,7 +95,10 @@ describe Hydra::Works::PersistDerivative do
|
|
93
95
|
expect(file_set.thumbnail).to be_nil
|
94
96
|
end
|
95
97
|
|
96
|
-
|
98
|
+
# This needs to be enabled once ImageMagick can be built with JPEG2000 support in CircleCI containers
|
99
|
+
# The following error is raised:
|
100
|
+
# `identify-im6.q16: no decode delegate for this image format `JP2' @ error/constitute.c/ReadImage/560.`
|
101
|
+
xit 'generates a thumbnail on job run' do
|
97
102
|
file_set.create_derivatives
|
98
103
|
expect(file_set.thumbnail).to have_content
|
99
104
|
expect(file_set.thumbnail.mime_type).to eq('image/jpeg')
|
@@ -10,6 +10,8 @@ describe Hydra::Works::VirusScanner do
|
|
10
10
|
|
11
11
|
context 'when ClamAV is defined' do
|
12
12
|
before do
|
13
|
+
hide_const('Clamby')
|
14
|
+
|
13
15
|
class ClamAV
|
14
16
|
def self.instance
|
15
17
|
@instance ||= ClamAV.new
|
@@ -20,9 +22,11 @@ describe Hydra::Works::VirusScanner do
|
|
20
22
|
end
|
21
23
|
end
|
22
24
|
end
|
25
|
+
|
23
26
|
after do
|
24
27
|
Object.send(:remove_const, :ClamAV)
|
25
28
|
end
|
29
|
+
|
26
30
|
context 'with a clean file' do
|
27
31
|
before { allow(ClamAV.instance).to receive(:scanfile).with('/tmp/path').and_return(0) }
|
28
32
|
it 'returns false with no warning' do
|
@@ -30,6 +34,7 @@ describe Hydra::Works::VirusScanner do
|
|
30
34
|
is_expected.not_to be_infected
|
31
35
|
end
|
32
36
|
end
|
37
|
+
|
33
38
|
context 'with an infected file' do
|
34
39
|
before { allow(ClamAV.instance).to receive(:scanfile).with('/tmp/path').and_return(1) }
|
35
40
|
it 'returns true with a warning' do
|
@@ -40,9 +45,35 @@ describe Hydra::Works::VirusScanner do
|
|
40
45
|
end
|
41
46
|
|
42
47
|
context 'when ClamAV is not defined' do
|
48
|
+
before do
|
49
|
+
hide_const('Clamby')
|
50
|
+
end
|
51
|
+
|
43
52
|
it 'returns false with a warning' do
|
44
53
|
expect(ActiveFedora::Base.logger).to receive(:warn).with(kind_of(String))
|
45
54
|
is_expected.not_to be_infected
|
46
55
|
end
|
47
56
|
end
|
57
|
+
|
58
|
+
context 'Clamby integration tests' do
|
59
|
+
before do
|
60
|
+
require 'clamby'
|
61
|
+
end
|
62
|
+
|
63
|
+
context "when it's infected" do
|
64
|
+
let(:file) { File.join(fixture_path, 'eicar.txt') }
|
65
|
+
|
66
|
+
it 'finds a virus' do
|
67
|
+
is_expected.to be_infected
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
context "when it's clean" do
|
72
|
+
let(:file) { File.join(fixture_path, 'piano_note.wav') }
|
73
|
+
|
74
|
+
it 'finds no virus' do
|
75
|
+
is_expected.not_to be_infected
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
48
79
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-works
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,34 +16,34 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '5.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: '5.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: hydra-derivatives
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '3.
|
39
|
+
version: '3.6'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '3.
|
46
|
+
version: '3.6'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: hydra-file_characterization
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,14 +76,14 @@ dependencies:
|
|
76
76
|
name: bundler
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '1.7'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - "
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '1.7'
|
89
89
|
- !ruby/object:Gem::Dependency
|
@@ -104,30 +104,30 @@ dependencies:
|
|
104
104
|
name: fcrepo_wrapper
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - "
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0
|
109
|
+
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- - "
|
114
|
+
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0
|
116
|
+
version: '0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rake
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- - "
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '0'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- - "
|
128
|
+
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: rspec
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,30 +146,30 @@ dependencies:
|
|
146
146
|
name: rspec-rails
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - "
|
149
|
+
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
151
|
+
version: '0'
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
|
-
- - "
|
156
|
+
- - ">="
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
158
|
+
version: '0'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: solr_wrapper
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
|
-
- - "
|
163
|
+
- - ">="
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
165
|
+
version: '0'
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
|
-
- - "
|
170
|
+
- - ">="
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
172
|
+
version: '0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: sqlite3
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,6 +184,20 @@ dependencies:
|
|
184
184
|
- - ">="
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rspec_junit_formatter
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
187
201
|
description: Using this data model should enable easy collaboration amongst Samvera
|
188
202
|
projects.
|
189
203
|
email:
|
@@ -192,12 +206,13 @@ executables: []
|
|
192
206
|
extensions: []
|
193
207
|
extra_rdoc_files: []
|
194
208
|
files:
|
209
|
+
- ".circleci/config.yml"
|
195
210
|
- ".coveralls.yml"
|
196
211
|
- ".gitignore"
|
197
212
|
- ".rspec"
|
198
213
|
- ".rubocop.yml"
|
199
214
|
- ".rubocop_todo.yml"
|
200
|
-
- ".
|
215
|
+
- ".solr_wrapper"
|
201
216
|
- CHANGELOG.md
|
202
217
|
- CODE_OF_CONDUCT.md
|
203
218
|
- CONTRIBUTING.md
|
@@ -210,7 +225,6 @@ files:
|
|
210
225
|
- lib/hydra/works.rb
|
211
226
|
- lib/hydra/works/characterization.rb
|
212
227
|
- lib/hydra/works/characterization/fits_document.rb
|
213
|
-
- lib/hydra/works/characterization/fits_mapper.rb
|
214
228
|
- lib/hydra/works/characterization/schema/audio_schema.rb
|
215
229
|
- lib/hydra/works/characterization/schema/base_schema.rb
|
216
230
|
- lib/hydra/works/characterization/schema/document_schema.rb
|
@@ -300,8 +314,9 @@ files:
|
|
300
314
|
homepage: https://github.com/samvera/hydra-works
|
301
315
|
licenses:
|
302
316
|
- APACHE2
|
303
|
-
metadata:
|
304
|
-
|
317
|
+
metadata:
|
318
|
+
rubygems_mfa_required: 'true'
|
319
|
+
post_install_message:
|
305
320
|
rdoc_options: []
|
306
321
|
require_paths:
|
307
322
|
- lib
|
@@ -316,8 +331,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
316
331
|
- !ruby/object:Gem::Version
|
317
332
|
version: '0'
|
318
333
|
requirements: []
|
319
|
-
rubygems_version: 3.
|
320
|
-
signing_key:
|
334
|
+
rubygems_version: 3.4.6
|
335
|
+
signing_key:
|
321
336
|
specification_version: 4
|
322
337
|
summary: Fundamental repository data model for Samvera applications
|
323
338
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,15 +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
|
-
rvm:
|
9
|
-
- 2.5.1
|
10
|
-
- 2.4.4
|
11
|
-
before_script:
|
12
|
-
- jdk_switcher use oraclejdk8
|
13
|
-
|
14
|
-
before_install:
|
15
|
-
- gem update --system
|
File without changes
|