bulkrax 5.2.0 → 5.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/parsers/bulkrax/bagit_parser.rb +4 -3
- data/app/parsers/bulkrax/oai_dc_parser.rb +2 -0
- data/lib/bulkrax/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a811bef32bb83948c7ea8fe9cbc3aead7e9fa3e09f88fe6d3ec45e4cdef7461
|
4
|
+
data.tar.gz: 253314c9d1a35505b50ad70e6fb0f9dec0f5331a55cdee6555cb137fff697e08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c8281a0c12778d8db9a6e3e8dc39a9c591e2d81e9d668b9b52da400b65e48012f40b51b86aa75182fc26b7bf8d20e761af7a00b6c1c798df34dba35da7890fc
|
7
|
+
data.tar.gz: d71d16a09cfa1d9b0c3954bf2be9f2778bacdaa98e0a99d301c0b0762d8be04b0213f99463e05e6aab33321b64a9284551b32a1435e97569097e32c23e74f95d
|
@@ -1,4 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
require 'bagit'
|
2
3
|
|
3
4
|
module Bulkrax
|
4
5
|
class BagitParser < CsvParser # rubocop:disable Metrics/ClassLength
|
@@ -94,9 +95,9 @@ module Bulkrax
|
|
94
95
|
|
95
96
|
folder_count = 1
|
96
97
|
records_in_folder = 0
|
97
|
-
work_entries = importerexporter.entries.where(
|
98
|
-
collection_entries = importerexporter.entries.where(
|
99
|
-
file_set_entries = importerexporter.entries.where(
|
98
|
+
work_entries = importerexporter.entries.where(type: work_entry_class.to_s)
|
99
|
+
collection_entries = importerexporter.entries.where(type: collection_entry_class.to_s)
|
100
|
+
file_set_entries = importerexporter.entries.where(type: file_set_entry_class.to_s)
|
100
101
|
|
101
102
|
work_entries[0..limit || total].each do |entry|
|
102
103
|
record = ActiveFedora::Base.find(entry.identifier)
|
data/lib/bulkrax/version.rb
CHANGED
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.2.
|
4
|
+
version: 5.2.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-04-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -427,7 +427,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
427
427
|
- !ruby/object:Gem::Version
|
428
428
|
version: '0'
|
429
429
|
requirements: []
|
430
|
-
rubygems_version: 3.
|
430
|
+
rubygems_version: 3.0.3
|
431
431
|
signing_key:
|
432
432
|
specification_version: 4
|
433
433
|
summary: Import and export tool for Hyrax and Hyku
|