berkeley_library-tind 0.4.2 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +1 -1
- data/.idea/inspectionProfiles/Project_Default.xml +18 -0
- data/.idea/tind.iml +91 -87
- data/.ruby-version +1 -1
- data/CHANGES.md +28 -1
- data/README.md +15 -1
- data/berkeley_library-tind.gemspec +2 -1
- data/lib/berkeley_library/tind/marc/xml_builder.rb +70 -0
- data/lib/berkeley_library/tind/marc/xml_reader.rb +32 -19
- data/lib/berkeley_library/tind/marc/xml_writer.rb +152 -0
- data/lib/berkeley_library/tind/module_info.rb +1 -1
- data/lib/berkeley_library/util/files.rb +39 -0
- data/spec/berkeley_library/tind/export/table_spec.rb +2 -0
- data/spec/berkeley_library/tind/marc/xml_reader_spec.rb +42 -1
- data/spec/berkeley_library/tind/marc/xml_writer_spec.rb +194 -0
- data/spec/data/issue-4.xml +157 -0
- data/spec/data/new-records.xml +46 -0
- metadata +34 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: berkeley_library-tind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Moles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: berkeley_library-logging
|
@@ -30,14 +30,20 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.3.0
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.3.1
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "~>"
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
43
|
+
version: 0.3.0
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.3.1
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: berkeley_library-util
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,6 +198,20 @@ dependencies:
|
|
192
198
|
- - "~>"
|
193
199
|
- !ruby/object:Gem::Version
|
194
200
|
version: '2.7'
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: equivalent-xml
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0.6'
|
208
|
+
type: :development
|
209
|
+
prerelease: false
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - "~>"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0.6'
|
195
215
|
- !ruby/object:Gem::Dependency
|
196
216
|
name: rake
|
197
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -389,8 +409,11 @@ files:
|
|
389
409
|
- lib/berkeley_library/tind/export/table.rb
|
390
410
|
- lib/berkeley_library/tind/export/table_metrics.rb
|
391
411
|
- lib/berkeley_library/tind/marc.rb
|
412
|
+
- lib/berkeley_library/tind/marc/xml_builder.rb
|
392
413
|
- lib/berkeley_library/tind/marc/xml_reader.rb
|
414
|
+
- lib/berkeley_library/tind/marc/xml_writer.rb
|
393
415
|
- lib/berkeley_library/tind/module_info.rb
|
416
|
+
- lib/berkeley_library/util/files.rb
|
394
417
|
- lib/berkeley_library/util/ods/spreadsheet.rb
|
395
418
|
- lib/berkeley_library/util/ods/xml/content_doc.rb
|
396
419
|
- lib/berkeley_library/util/ods/xml/document_node.rb
|
@@ -454,6 +477,7 @@ files:
|
|
454
477
|
- spec/berkeley_library/tind/export/row_spec.rb
|
455
478
|
- spec/berkeley_library/tind/export/table_spec.rb
|
456
479
|
- spec/berkeley_library/tind/marc/xml_reader_spec.rb
|
480
|
+
- spec/berkeley_library/tind/marc/xml_writer_spec.rb
|
457
481
|
- spec/berkeley_library/util/ods/spreadsheet_spec.rb
|
458
482
|
- spec/berkeley_library/util/ods/xml/content_doc_spec.rb
|
459
483
|
- spec/berkeley_library/util/ods/xml/manifest/file_entry_spec.rb
|
@@ -466,6 +490,8 @@ files:
|
|
466
490
|
- spec/data/collection-names.txt
|
467
491
|
- spec/data/collections.json
|
468
492
|
- spec/data/disjoint-records.xml
|
493
|
+
- spec/data/issue-4.xml
|
494
|
+
- spec/data/new-records.xml
|
469
495
|
- spec/data/record-184453.xml
|
470
496
|
- spec/data/record-184458.xml
|
471
497
|
- spec/data/record-187888.xml
|
@@ -501,7 +527,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
501
527
|
- !ruby/object:Gem::Version
|
502
528
|
version: '0'
|
503
529
|
requirements: []
|
504
|
-
rubygems_version: 3.1.
|
530
|
+
rubygems_version: 3.1.6
|
505
531
|
signing_key:
|
506
532
|
specification_version: 4
|
507
533
|
summary: TIND DA utilities for the UC Berkeley Library
|
@@ -525,6 +551,7 @@ test_files:
|
|
525
551
|
- spec/berkeley_library/tind/export/row_spec.rb
|
526
552
|
- spec/berkeley_library/tind/export/table_spec.rb
|
527
553
|
- spec/berkeley_library/tind/marc/xml_reader_spec.rb
|
554
|
+
- spec/berkeley_library/tind/marc/xml_writer_spec.rb
|
528
555
|
- spec/berkeley_library/util/ods/spreadsheet_spec.rb
|
529
556
|
- spec/berkeley_library/util/ods/xml/content_doc_spec.rb
|
530
557
|
- spec/berkeley_library/util/ods/xml/manifest/file_entry_spec.rb
|
@@ -537,6 +564,8 @@ test_files:
|
|
537
564
|
- spec/data/collection-names.txt
|
538
565
|
- spec/data/collections.json
|
539
566
|
- spec/data/disjoint-records.xml
|
567
|
+
- spec/data/issue-4.xml
|
568
|
+
- spec/data/new-records.xml
|
540
569
|
- spec/data/record-184453.xml
|
541
570
|
- spec/data/record-184458.xml
|
542
571
|
- spec/data/record-187888.xml
|