revs-utils 2.1.6 → 2.1.7
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 +13 -5
- data/Gemfile.lock +1 -1
- data/lib/revs-utils/version.rb +1 -1
- data/lib/revs-utils.rb +4 -0
- metadata +18 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
MGIzMGRjOTU1MWNmOTdlYWIzNGE3NjQzYWY5MWVlNTY4NDEzNDFiNQ==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ZWYxY2RhMzc5MGZkMzcwYTg0Yzk4ZjBmNGUxMjMwNjg1MTA4ZTc1Yw==
|
|
5
7
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
N2ZhNzVjYjZmY2RiZmE1YTZkZDBkNWVjODg2NjUyYjE2YmRjYmQ4NDBhMzdh
|
|
10
|
+
ZDhhMDVkNjg1YTRhMWUzOTBmZTNlODYwYWQ4MWRhYTQxYjcxYjM5ZGQzZDky
|
|
11
|
+
OWQzMWVkODU3YzMxYTVhM2VhZmNhZTViZjBjN2QyNWM3NjQzZTg=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
NTE2NmY2MDVmNGY3MTRhMzgzOWJmNDk0NGFhOTIzYjI3NDg3MTY4OTMyOGRl
|
|
14
|
+
YTdkODk2MTBiMGJjZGEzN2EwZjVjMTRiMmU1MDg1NTU4ZDE2MmJkZTk1MjE4
|
|
15
|
+
NTgzOGRiZjE2ZjE0NmYyZWMyZmVlMWYxMWM3MzFlMmZiNjFlZmI=
|
data/Gemfile.lock
CHANGED
data/lib/revs-utils/version.rb
CHANGED
data/lib/revs-utils.rb
CHANGED
|
@@ -26,6 +26,10 @@ module Revs
|
|
|
26
26
|
AUTOMOBILE_LC_TERMS= File.open(REVS_LC_TERMS_FILENAME,'rb'){|io| Marshal.load(io)} if File.exists?(REVS_LC_TERMS_FILENAME)
|
|
27
27
|
REVS_MANIFEST_HEADERS_FILE = File.open(REVS_MANIFEST_HEADERS_FILEPATH)
|
|
28
28
|
REVS_MANIFEST_HEADERS = YAML.load( REVS_MANIFEST_HEADERS_FILE)
|
|
29
|
+
|
|
30
|
+
ARCHIVE_DRUIDS={:revs=>'nt028fd5773',:roadandtrack=>'mr163sv5231'} # a hash of druids of the master archives, keys are arbitrary but druids must match the druids in DOR
|
|
31
|
+
# these druids will be used to set the archive name in each document
|
|
32
|
+
MULTI_COLLECTION_ARCHIVES=[:revs] # list the keys from the hash above for any archives that contain multiple collections (like Revs), for which each item in DOR belongs to both a parent collection and the master archive collection ... since we do not want to also add the master archive name as another collection druid to each record, we skip them
|
|
29
33
|
|
|
30
34
|
# these are used in the revs solr document in the main revs digital library rails app, as well as the revs-indexing-service app
|
|
31
35
|
def revs_field_mappings
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: revs-utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Mangiafico
|
|
@@ -28,84 +28,84 @@ dependencies:
|
|
|
28
28
|
name: rdf
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ! '>='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ! '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: actionpack
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ! '>='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: 4.1.6
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ! '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 4.1.6
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: chronic
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ! '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ! '>='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - ~>
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '2.6'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - ~>
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '2.6'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: lyberteam-gems-devel
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- -
|
|
87
|
+
- - ! '>'
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: 1.0.0
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- -
|
|
94
|
+
- - ! '>'
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: 1.0.0
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: yard
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- -
|
|
101
|
+
- - ! '>='
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: '0'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- -
|
|
108
|
+
- - ! '>='
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
description: Shared methods and functions used by revs-indexer, pre-assembly and bulk
|
|
@@ -119,8 +119,8 @@ executables:
|
|
|
119
119
|
extensions: []
|
|
120
120
|
extra_rdoc_files: []
|
|
121
121
|
files:
|
|
122
|
-
-
|
|
123
|
-
-
|
|
122
|
+
- .gitignore
|
|
123
|
+
- .rvmrc.example
|
|
124
124
|
- Gemfile
|
|
125
125
|
- Gemfile.lock
|
|
126
126
|
- LICENSE
|
|
@@ -159,17 +159,17 @@ require_paths:
|
|
|
159
159
|
- lib
|
|
160
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
161
|
requirements:
|
|
162
|
-
- -
|
|
162
|
+
- - ! '>='
|
|
163
163
|
- !ruby/object:Gem::Version
|
|
164
164
|
version: '0'
|
|
165
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
requirements:
|
|
167
|
-
- -
|
|
167
|
+
- - ! '>='
|
|
168
168
|
- !ruby/object:Gem::Version
|
|
169
169
|
version: '0'
|
|
170
170
|
requirements: []
|
|
171
171
|
rubyforge_project:
|
|
172
|
-
rubygems_version: 2.4.
|
|
172
|
+
rubygems_version: 2.4.2
|
|
173
173
|
signing_key:
|
|
174
174
|
specification_version: 4
|
|
175
175
|
summary: Shared methods and functions used by revs-indexer, pre-assembly and bulk
|