dor_indexing 1.2.0 → 1.3.1

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: 4f96b1edca0c99a853cac890e429096d4ee379121eec7e27f720f7d2104df009
4
- data.tar.gz: aebbbf721ff6be98736396ca4090eb70b27c3bf52979d4a6418a3d773a4eff99
3
+ metadata.gz: 83583cc273179a722bf069396bfab8ee5e67da1cc3562c1e2de31b0c987c6bda
4
+ data.tar.gz: f823aa9a76740bf9b2ea785aaab80aa69958e16b8b7ad27b92869996de188066
5
5
  SHA512:
6
- metadata.gz: f37e66d699421ae5c886b4e6561a2779783e258e5923bd1213fc4ddd3221bf7f69b0ee97a2dff57ff0500a3ad63a942df73bb2236a545839bedba6bd0ce27c61
7
- data.tar.gz: 2dc30cddf8d8f9660ad0dbcc9c821364bc205694f2503668a6f40ec6d8ccca300d404ac8fcf6ff71e32829b06959708623d8236642d7c2568e45ac2d7e97d22a
6
+ metadata.gz: 047fb2b8f9050f083201622629419c82a203cb65867f8f1fce35026b50ceaebbe341ab5d2182c0e89e74f43a671ba42a00080e0aab2906d7c4a8f6477e7ebe60
7
+ data.tar.gz: 2c908c0b6f3d4c1f4380f4e34a502eaa7508aa0037954cd32863982fe33892e9759d8db7f6e3b06ac70c4acedb3c5be728b3defd265e7242cf8566a9e75add86
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dor_indexing (1.2.0)
5
- cocina-models (~> 0.94.1)
4
+ dor_indexing (1.3.1)
5
+ cocina-models (~> 0.95.0)
6
6
  dor-workflow-client (~> 7.0)
7
7
  honeybadger
8
8
  marc-vocab (~> 0.3.0)
@@ -28,7 +28,7 @@ GEM
28
28
  base64 (0.2.0)
29
29
  bigdecimal (3.1.6)
30
30
  byebug (11.1.3)
31
- cocina-models (0.94.2)
31
+ cocina-models (0.95.0)
32
32
  activesupport
33
33
  deprecation
34
34
  dry-struct (~> 1.0)
@@ -147,7 +147,7 @@ GEM
147
147
  rspec-support (3.12.1)
148
148
  rss (0.3.0)
149
149
  rexml
150
- rubocop (1.60.1)
150
+ rubocop (1.60.2)
151
151
  json (~> 2.3)
152
152
  language_server-protocol (>= 3.17.0)
153
153
  parallel (~> 1.10)
data/dor_indexing.gemspec CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
33
 
34
- spec.add_dependency 'cocina-models', '~> 0.94.1'
34
+ spec.add_dependency 'cocina-models', '~> 0.95.0'
35
35
  spec.add_dependency 'dor-workflow-client', '~> 7.0'
36
36
  spec.add_dependency 'honeybadger'
37
37
  spec.add_dependency 'marc-vocab', '~> 0.3.0'
@@ -6,7 +6,7 @@ class DorIndexing
6
6
  class DocumentBuilder
7
7
  ADMIN_POLICY_INDEXER = DorIndexing::Indexers::CompositeIndexer.new(
8
8
  DorIndexing::Indexers::AdministrativeTagIndexer,
9
- DorIndexing::Indexers::DataIndexer,
9
+ DorIndexing::Indexers::BasicIndexer,
10
10
  DorIndexing::Indexers::RoleMetadataIndexer,
11
11
  DorIndexing::Indexers::DefaultObjectRightsIndexer,
12
12
  DorIndexing::Indexers::IdentityMetadataIndexer,
@@ -17,7 +17,7 @@ class DorIndexing
17
17
 
18
18
  COLLECTION_INDEXER = DorIndexing::Indexers::CompositeIndexer.new(
19
19
  DorIndexing::Indexers::AdministrativeTagIndexer,
20
- DorIndexing::Indexers::DataIndexer,
20
+ DorIndexing::Indexers::BasicIndexer,
21
21
  DorIndexing::Indexers::RightsMetadataIndexer,
22
22
  DorIndexing::Indexers::IdentityMetadataIndexer,
23
23
  DorIndexing::Indexers::DescriptiveMetadataIndexer,
@@ -28,7 +28,7 @@ class DorIndexing
28
28
 
29
29
  ITEM_INDEXER = DorIndexing::Indexers::CompositeIndexer.new(
30
30
  DorIndexing::Indexers::AdministrativeTagIndexer,
31
- DorIndexing::Indexers::DataIndexer,
31
+ DorIndexing::Indexers::BasicIndexer,
32
32
  DorIndexing::Indexers::RightsMetadataIndexer,
33
33
  DorIndexing::Indexers::IdentityMetadataIndexer,
34
34
  DorIndexing::Indexers::DescriptiveMetadataIndexer,
@@ -2,7 +2,8 @@
2
2
 
3
3
  class DorIndexing
4
4
  module Builders
5
- # Builds the author fields for a solr document
5
+ # class methods return the name values to go in Solr document fields
6
+ # used for both contributors and for topics
6
7
  class NameBuilder
7
8
  # @param [Symbol] strategy ":first" is the strategy for how to choose a name if primary and display name is not found
8
9
  # @return [Array<String>] names
@@ -2,8 +2,8 @@
2
2
 
3
3
  class DorIndexing
4
4
  module Indexers
5
- # Indexing provided by ActiveFedora
6
- class DataIndexer
5
+ # Basic indexing for all objects
6
+ class BasicIndexer
7
7
  attr_reader :cocina, :workflow_client
8
8
 
9
9
  def initialize(cocina:, workflow_client:, **)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class DorIndexing
4
- VERSION = '1.2.0'
4
+ VERSION = '1.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor_indexing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Littman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocina-models
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.94.1
19
+ version: 0.95.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.94.1
26
+ version: 0.95.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dor-workflow-client
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -137,10 +137,10 @@ files:
137
137
  - lib/dor_indexing/builders/topic_builder.rb
138
138
  - lib/dor_indexing/cocina_repository.rb
139
139
  - lib/dor_indexing/indexers/administrative_tag_indexer.rb
140
+ - lib/dor_indexing/indexers/basic_indexer.rb
140
141
  - lib/dor_indexing/indexers/collection_title_indexer.rb
141
142
  - lib/dor_indexing/indexers/composite_indexer.rb
142
143
  - lib/dor_indexing/indexers/content_metadata_indexer.rb
143
- - lib/dor_indexing/indexers/data_indexer.rb
144
144
  - lib/dor_indexing/indexers/default_object_rights_indexer.rb
145
145
  - lib/dor_indexing/indexers/descriptive_metadata_indexer.rb
146
146
  - lib/dor_indexing/indexers/embargo_metadata_indexer.rb
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.4.13
183
+ rubygems_version: 3.4.10
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Library for creating Solr documents for SDR indexing.