bulkrax 5.4.0 → 5.4.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: 56ac96f944d880492d7f7aa50870557ba81cf2ed23875751509b3ec23411644b
4
- data.tar.gz: f18c9fa1d5a968d9214587476f2f949e04015e1402f6cb2ac516616669567c0e
3
+ metadata.gz: 4561533e5e3bb65767c53d52be32e51848c0c2c81da51eb15709927b3499234f
4
+ data.tar.gz: 0c35135671a7536ed858246c4e7793c9b0743aef17caeeadd6e045e44b44200f
5
5
  SHA512:
6
- metadata.gz: 0556a64e91eb41a27597b717fbf9e1de0682d666f116397e64a1b58a64fffaaadfd2dac645fbd256e3bd14ffb9065ce5f0ceaac920296f6623629199a6e130b5
7
- data.tar.gz: dada612e0ee38d0b74ceacedc5c034cb39e26111edc90c39afd0d04338f77c1e0c0857a4d983bd7bd24fe8d7e601e2b8a6c32242e3142b2faad3a3369cbf82c1
6
+ metadata.gz: 26c5cd6fd88dd94546b906f64762fb02ebdd1a830683202352616a3e347b7efc18900ba293d42ad162df176731bd7ccd7a7962db3180f16fcbbff95d2e577b46
7
+ data.tar.gz: 1aa71ab730fff3055537c003e02e3ea19696316f07b70e0c86ef8babc964f1b40c4aa2dc84736e841bfba31457ff8c81f98e4468eb95b174dd6c06522d2dc733
@@ -103,7 +103,11 @@ module Bulkrax
103
103
  end
104
104
 
105
105
  def search_by_identifier
106
- work_index = ::ActiveFedora.index_field_mapper.solr_name(work_identifier, :facetable)
106
+ # TODO(alishaevn): return the proper `work_index` value below
107
+ # ref: https://github.com/samvera-labs/bulkrax/issues/866
108
+ # ref:https://github.com/samvera-labs/bulkrax/issues/867
109
+ # work_index = ::ActiveFedora.index_field_mapper.solr_name(work_identifier, :facetable)
110
+ work_index = work_identifier
107
111
  query = { work_index =>
108
112
  source_identifier_value }
109
113
  # Query can return partial matches (something6 matches both something6 and something68)
@@ -11,7 +11,7 @@
11
11
  ['Public', 'open'],
12
12
  ['Private', 'restricted'],
13
13
  ['Institution', 'authenticated']
14
- ],x
14
+ ],
15
15
  selected: importer.parser_fields['visibility'] || 'open',
16
16
  input_html: { class: 'form-control' }
17
17
  %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bulkrax
4
- VERSION = '5.4.0'
4
+ VERSION = '5.4.1'
5
5
  end
data/lib/bulkrax.rb CHANGED
@@ -152,7 +152,7 @@ module Bulkrax
152
152
  "publisher" => { from: ["publisher"] },
153
153
  "related_url" => { from: ["relation"] },
154
154
  "rights_statement" => { from: ["rights"] },
155
- "source" => { from: ["source"] },
155
+ # "source" => { from: ["source"], source_identifier: true },
156
156
  "subject" => { from: ["subject"], parsed: true },
157
157
  "title" => { from: ["title"] },
158
158
  "resource_type" => { from: ["type"], parsed: true },
@@ -172,7 +172,7 @@ module Bulkrax
172
172
  "related_url" => { from: ["relation"] },
173
173
  "rights_holder" => { from: ["rightsHolder"] },
174
174
  "rights_statement" => { from: ["rights"] },
175
- "source" => { from: ["source"] },
175
+ # "source" => { from: ["source"], source_identifier: true },
176
176
  "subject" => { from: ["subject"], parsed: true },
177
177
  "title" => { from: ["title"] },
178
178
  "resource_type" => { from: ["type"], parsed: true },
@@ -182,6 +182,9 @@ module Bulkrax
182
182
  "Bulkrax::CsvParser" => {},
183
183
  'Bulkrax::BagitParser' => {},
184
184
  'Bulkrax::XmlParser' => {}
185
+ # "Bulkrax::CsvParser" => { "source" => { from: ["source"], source_identifier: true } },
186
+ # 'Bulkrax::BagitParser' => { "source" => { from: ["source"], source_identifier: true } },
187
+ # 'Bulkrax::XmlParser' => { "source" => { from: ["source"], source_identifier: true } }
185
188
  }
186
189
 
187
190
  # Lambda to set the default field mapping
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulkrax
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.0
4
+ version: 5.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Kaufman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-02 00:00:00.000000000 Z
11
+ date: 2023-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails