modsulator 0.0.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/modsulator/modsulator_template.xlsx +0 -0
  3. data/lib/modsulator/modsulator_template.xml +1086 -51
  4. data/lib/modsulator.rb +3 -6
  5. data/spec/features/normalizer_unit_spec.rb +5 -4
  6. data/spec/fixtures/Fitch_Chavez.xlsx +0 -0
  7. data/spec/fixtures/Fitch_Chavez.xml +210 -210
  8. data/spec/fixtures/Fitch_King.xml +193 -193
  9. data/spec/fixtures/Heckrotte_ChartsOfCoastSurvey.xlsx +0 -0
  10. data/spec/fixtures/Heckrotte_ChartsOfCoastSurvey.xml +1835 -0
  11. data/spec/fixtures/M1463_AV_manifest.xml +43 -43
  12. data/spec/fixtures/Matter_manifest.csv +295 -295
  13. data/spec/fixtures/Matter_manifest.xml +359 -359
  14. data/spec/fixtures/PosadaSpreadsheet.xml +1 -1
  15. data/spec/fixtures/SC1049_metadata.xlsx +0 -0
  16. data/spec/fixtures/SC1049_metadata.xml +18644 -0
  17. data/spec/fixtures/ars0056_manifest.csv +261 -1
  18. data/spec/fixtures/ars0056_manifest.xml +18 -18
  19. data/spec/fixtures/crowdsourcing_bridget_1.xlsx +0 -0
  20. data/spec/fixtures/crowdsourcing_bridget_1.xml +1 -1
  21. data/spec/fixtures/crowdsourcing_bridget_2.xlsx +0 -0
  22. data/spec/fixtures/crowdsourcing_bridget_2.xml +1 -1
  23. data/spec/fixtures/manifest_v0174.csv +34 -34
  24. data/spec/fixtures/manifest_v0174.xml +32 -32
  25. data/spec/fixtures/roman_coins_mods.xlsx +0 -0
  26. data/spec/fixtures/roman_coins_mods.xml +7634 -0
  27. data/spec/fixtures/test:002.xml +1 -1
  28. data/spec/integration_tests/integration_spec.rb +4 -2
  29. metadata +14 -10
  30. data/spec/fixtures/SC0144_template.xlsx +0 -0
  31. data/spec/fixtures/SC0453_template.xlsx +0 -0
  32. data/spec/fixtures/roman_coins_mods_manifest.csv +0 -176
  33. data/spec/fixtures/roman_coins_mods_manifest.xml +0 -3025
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0"?>
2
- <xmlDocs xmlns="http://library.stanford.edu/xmlDocs" datetime="2015-04-23 02:28:13PM" sourceFile="M1463_AV_manifest.xlsx">
2
+ <xmlDocs xmlns="http://library.stanford.edu/xmlDocs" datetime="2016-02-05 03:55:00PM" sourceFile="M1463_AV_manifest.xlsx">
3
3
  <xmlDoc id="descMetadata" objectId="0008">
4
4
  <mods xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" version="3.5" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd">
5
5
  <titleInfo>
@@ -50,7 +50,7 @@
50
50
  <typeOfResource>moving image</typeOfResource>
51
51
  <genre>Video recordings</genre>
52
52
  <originInfo>
53
- <dateCreated keyDate="yes">1999 Dec</dateCreated>
53
+ <dateCreated>1999 Dec</dateCreated>
54
54
  </originInfo>
55
55
  <language>
56
56
  <languageTerm type="code">en</languageTerm>
@@ -86,7 +86,7 @@
86
86
  <typeOfResource>moving image</typeOfResource>
87
87
  <genre>Video recordings</genre>
88
88
  <originInfo>
89
- <dateCreated keyDate="yes">1997 Aug</dateCreated>
89
+ <dateCreated>1997 Aug</dateCreated>
90
90
  </originInfo>
91
91
  <language>
92
92
  <languageTerm type="code">en</languageTerm>
@@ -122,7 +122,7 @@
122
122
  <typeOfResource>moving image</typeOfResource>
123
123
  <genre>Video recordings</genre>
124
124
  <originInfo>
125
- <dateCreated keyDate="yes">1998 Dec</dateCreated>
125
+ <dateCreated>1998 Dec</dateCreated>
126
126
  </originInfo>
127
127
  <language>
128
128
  <languageTerm type="code">en</languageTerm>
@@ -158,7 +158,7 @@
158
158
  <typeOfResource>moving image</typeOfResource>
159
159
  <genre>Video recordings</genre>
160
160
  <originInfo>
161
- <dateCreated keyDate="yes">1997 Oct</dateCreated>
161
+ <dateCreated>1997 Oct</dateCreated>
162
162
  </originInfo>
163
163
  <language>
164
164
  <languageTerm type="code">en</languageTerm>
@@ -194,7 +194,7 @@
194
194
  <typeOfResource>moving image</typeOfResource>
195
195
  <genre>Video recordings</genre>
196
196
  <originInfo>
197
- <dateCreated keyDate="yes">1996 May</dateCreated>
197
+ <dateCreated>1996 May</dateCreated>
198
198
  </originInfo>
199
199
  <language>
200
200
  <languageTerm type="code">en</languageTerm>
@@ -263,7 +263,7 @@
263
263
  <typeOfResource>moving image</typeOfResource>
264
264
  <genre>Video recordings</genre>
265
265
  <originInfo>
266
- <dateCreated keyDate="yes">1997 Sep 6</dateCreated>
266
+ <dateCreated>1997 Sep 6</dateCreated>
267
267
  </originInfo>
268
268
  <language>
269
269
  <languageTerm type="code">en</languageTerm>
@@ -299,7 +299,7 @@
299
299
  <typeOfResource>moving image</typeOfResource>
300
300
  <genre>Video recordings</genre>
301
301
  <originInfo>
302
- <dateCreated keyDate="yes">1991 May 14</dateCreated>
302
+ <dateCreated>1991 May 14</dateCreated>
303
303
  </originInfo>
304
304
  <language>
305
305
  <languageTerm type="code">en</languageTerm>
@@ -335,7 +335,7 @@
335
335
  <typeOfResource>moving image</typeOfResource>
336
336
  <genre>Video recordings</genre>
337
337
  <originInfo>
338
- <dateCreated keyDate="yes">2002 Feb 13</dateCreated>
338
+ <dateCreated>2002 Feb 13</dateCreated>
339
339
  </originInfo>
340
340
  <language>
341
341
  <languageTerm type="code">en</languageTerm>
@@ -371,7 +371,7 @@
371
371
  <typeOfResource>moving image</typeOfResource>
372
372
  <genre>Video recordings</genre>
373
373
  <originInfo>
374
- <dateCreated keyDate="yes">1998 Mar 1</dateCreated>
374
+ <dateCreated>1998 Mar 1</dateCreated>
375
375
  </originInfo>
376
376
  <language>
377
377
  <languageTerm type="code">en</languageTerm>
@@ -473,7 +473,7 @@
473
473
  <typeOfResource>moving image</typeOfResource>
474
474
  <genre>Video recordings</genre>
475
475
  <originInfo>
476
- <dateCreated keyDate="yes">1997 May</dateCreated>
476
+ <dateCreated>1997 May</dateCreated>
477
477
  </originInfo>
478
478
  <language>
479
479
  <languageTerm type="code">en</languageTerm>
@@ -542,7 +542,7 @@
542
542
  <typeOfResource>moving image</typeOfResource>
543
543
  <genre>Video recordings</genre>
544
544
  <originInfo>
545
- <dateCreated keyDate="yes">1996 Feb</dateCreated>
545
+ <dateCreated>1996 Feb</dateCreated>
546
546
  </originInfo>
547
547
  <language>
548
548
  <languageTerm type="code">en</languageTerm>
@@ -578,7 +578,7 @@
578
578
  <typeOfResource>moving image</typeOfResource>
579
579
  <genre>Video recordings</genre>
580
580
  <originInfo>
581
- <dateCreated keyDate="yes">1996 Nov 15</dateCreated>
581
+ <dateCreated>1996 Nov 15</dateCreated>
582
582
  </originInfo>
583
583
  <language>
584
584
  <languageTerm type="code">en</languageTerm>
@@ -614,7 +614,7 @@
614
614
  <typeOfResource>moving image</typeOfResource>
615
615
  <genre>Video recordings</genre>
616
616
  <originInfo>
617
- <dateCreated keyDate="yes">1996 Nov 15</dateCreated>
617
+ <dateCreated>1996 Nov 15</dateCreated>
618
618
  </originInfo>
619
619
  <language>
620
620
  <languageTerm type="code">en</languageTerm>
@@ -683,7 +683,7 @@
683
683
  <typeOfResource>moving image</typeOfResource>
684
684
  <genre>Video recordings</genre>
685
685
  <originInfo>
686
- <dateCreated keyDate="yes">2000</dateCreated>
686
+ <dateCreated>2000</dateCreated>
687
687
  </originInfo>
688
688
  <language>
689
689
  <languageTerm type="code">en</languageTerm>
@@ -719,7 +719,7 @@
719
719
  <typeOfResource>moving image</typeOfResource>
720
720
  <genre>Video recordings</genre>
721
721
  <originInfo>
722
- <dateCreated keyDate="yes">2002</dateCreated>
722
+ <dateCreated>2002</dateCreated>
723
723
  </originInfo>
724
724
  <language>
725
725
  <languageTerm type="code">en</languageTerm>
@@ -821,7 +821,7 @@
821
821
  <typeOfResource>moving image</typeOfResource>
822
822
  <genre>Video recordings</genre>
823
823
  <originInfo>
824
- <dateCreated keyDate="yes">1997 Dec</dateCreated>
824
+ <dateCreated>1997 Dec</dateCreated>
825
825
  </originInfo>
826
826
  <language>
827
827
  <languageTerm type="code">en</languageTerm>
@@ -857,7 +857,7 @@
857
857
  <typeOfResource>moving image</typeOfResource>
858
858
  <genre>Video recordings</genre>
859
859
  <originInfo>
860
- <dateCreated keyDate="yes">1996 Oct 24</dateCreated>
860
+ <dateCreated>1996 Oct 24</dateCreated>
861
861
  </originInfo>
862
862
  <language>
863
863
  <languageTerm type="code">en</languageTerm>
@@ -893,7 +893,7 @@
893
893
  <typeOfResource>moving image</typeOfResource>
894
894
  <genre>Video recordings</genre>
895
895
  <originInfo>
896
- <dateCreated keyDate="yes">1998 Jul 8</dateCreated>
896
+ <dateCreated>1998 Jul 8</dateCreated>
897
897
  </originInfo>
898
898
  <language>
899
899
  <languageTerm type="code">en</languageTerm>
@@ -962,7 +962,7 @@
962
962
  <typeOfResource>moving image</typeOfResource>
963
963
  <genre>Video recordings</genre>
964
964
  <originInfo>
965
- <dateCreated keyDate="yes">1995 Dec 13</dateCreated>
965
+ <dateCreated>1995 Dec 13</dateCreated>
966
966
  </originInfo>
967
967
  <language>
968
968
  <languageTerm type="code">en</languageTerm>
@@ -998,7 +998,7 @@
998
998
  <typeOfResource>moving image</typeOfResource>
999
999
  <genre>Video recordings</genre>
1000
1000
  <originInfo>
1001
- <dateCreated keyDate="yes">1998 Feb 6</dateCreated>
1001
+ <dateCreated>1998 Feb 6</dateCreated>
1002
1002
  </originInfo>
1003
1003
  <language>
1004
1004
  <languageTerm type="code">en</languageTerm>
@@ -1034,7 +1034,7 @@
1034
1034
  <typeOfResource>moving image</typeOfResource>
1035
1035
  <genre>Video recordings</genre>
1036
1036
  <originInfo>
1037
- <dateCreated keyDate="yes">1998 Apr 27</dateCreated>
1037
+ <dateCreated>1998 Apr 27</dateCreated>
1038
1038
  </originInfo>
1039
1039
  <language>
1040
1040
  <languageTerm type="code">en</languageTerm>
@@ -1235,7 +1235,7 @@
1235
1235
  <typeOfResource>moving image</typeOfResource>
1236
1236
  <genre>Video recordings</genre>
1237
1237
  <originInfo>
1238
- <dateCreated keyDate="yes">1999 Oct 4</dateCreated>
1238
+ <dateCreated>1999 Oct 4</dateCreated>
1239
1239
  </originInfo>
1240
1240
  <language>
1241
1241
  <languageTerm type="code">en</languageTerm>
@@ -1271,7 +1271,7 @@
1271
1271
  <typeOfResource>moving image</typeOfResource>
1272
1272
  <genre>Video recordings</genre>
1273
1273
  <originInfo>
1274
- <dateCreated keyDate="yes">2000 Mar 18</dateCreated>
1274
+ <dateCreated>2000 Mar 18</dateCreated>
1275
1275
  </originInfo>
1276
1276
  <language>
1277
1277
  <languageTerm type="code">en</languageTerm>
@@ -1307,7 +1307,7 @@
1307
1307
  <typeOfResource>moving image</typeOfResource>
1308
1308
  <genre>Video recordings</genre>
1309
1309
  <originInfo>
1310
- <dateCreated keyDate="yes">2002</dateCreated>
1310
+ <dateCreated>2002</dateCreated>
1311
1311
  </originInfo>
1312
1312
  <language>
1313
1313
  <languageTerm type="code">en</languageTerm>
@@ -1343,7 +1343,7 @@
1343
1343
  <typeOfResource>moving image</typeOfResource>
1344
1344
  <genre>Video recordings</genre>
1345
1345
  <originInfo>
1346
- <dateCreated keyDate="yes">2001 May 19</dateCreated>
1346
+ <dateCreated>2001 May 19</dateCreated>
1347
1347
  </originInfo>
1348
1348
  <language>
1349
1349
  <languageTerm type="code">en</languageTerm>
@@ -1379,7 +1379,7 @@
1379
1379
  <typeOfResource>moving image</typeOfResource>
1380
1380
  <genre>Video recordings</genre>
1381
1381
  <originInfo>
1382
- <dateCreated keyDate="yes">2000 May</dateCreated>
1382
+ <dateCreated>2000 May</dateCreated>
1383
1383
  </originInfo>
1384
1384
  <language>
1385
1385
  <languageTerm type="code">en</languageTerm>
@@ -1415,7 +1415,7 @@
1415
1415
  <typeOfResource>moving image</typeOfResource>
1416
1416
  <genre>Video recordings</genre>
1417
1417
  <originInfo>
1418
- <dateCreated keyDate="yes">2000 Sep 19</dateCreated>
1418
+ <dateCreated>2000 Sep 19</dateCreated>
1419
1419
  </originInfo>
1420
1420
  <language>
1421
1421
  <languageTerm type="code">en</languageTerm>
@@ -1451,7 +1451,7 @@
1451
1451
  <typeOfResource>moving image</typeOfResource>
1452
1452
  <genre>Video recordings</genre>
1453
1453
  <originInfo>
1454
- <dateCreated keyDate="yes">1999</dateCreated>
1454
+ <dateCreated>1999</dateCreated>
1455
1455
  </originInfo>
1456
1456
  <language>
1457
1457
  <languageTerm type="code">en</languageTerm>
@@ -1487,7 +1487,7 @@
1487
1487
  <typeOfResource>moving image</typeOfResource>
1488
1488
  <genre>Video recordings</genre>
1489
1489
  <originInfo>
1490
- <dateCreated keyDate="yes">2000 Sep 1</dateCreated>
1490
+ <dateCreated>2000 Sep 1</dateCreated>
1491
1491
  </originInfo>
1492
1492
  <language>
1493
1493
  <languageTerm type="code">en</languageTerm>
@@ -1523,7 +1523,7 @@
1523
1523
  <typeOfResource>moving image</typeOfResource>
1524
1524
  <genre>Video recordings</genre>
1525
1525
  <originInfo>
1526
- <dateCreated keyDate="yes">2001 Mar 22</dateCreated>
1526
+ <dateCreated>2001 Mar 22</dateCreated>
1527
1527
  </originInfo>
1528
1528
  <language>
1529
1529
  <languageTerm type="code">en</languageTerm>
@@ -1625,7 +1625,7 @@
1625
1625
  <typeOfResource>moving image</typeOfResource>
1626
1626
  <genre>Video recordings</genre>
1627
1627
  <originInfo>
1628
- <dateCreated keyDate="yes">2002</dateCreated>
1628
+ <dateCreated>2002</dateCreated>
1629
1629
  </originInfo>
1630
1630
  <language>
1631
1631
  <languageTerm type="code">en</languageTerm>
@@ -1661,7 +1661,7 @@
1661
1661
  <typeOfResource>moving image</typeOfResource>
1662
1662
  <genre>Video recordings</genre>
1663
1663
  <originInfo>
1664
- <dateCreated keyDate="yes">1997 May 8</dateCreated>
1664
+ <dateCreated>1997 May 8</dateCreated>
1665
1665
  </originInfo>
1666
1666
  <language>
1667
1667
  <languageTerm type="code">en</languageTerm>
@@ -1697,7 +1697,7 @@
1697
1697
  <typeOfResource>moving image</typeOfResource>
1698
1698
  <genre>Video recordings</genre>
1699
1699
  <originInfo>
1700
- <dateCreated keyDate="yes">1997 Apr</dateCreated>
1700
+ <dateCreated>1997 Apr</dateCreated>
1701
1701
  </originInfo>
1702
1702
  <language>
1703
1703
  <languageTerm type="code">en</languageTerm>
@@ -1733,7 +1733,7 @@
1733
1733
  <typeOfResource>moving image</typeOfResource>
1734
1734
  <genre>Video recordings</genre>
1735
1735
  <originInfo>
1736
- <dateCreated keyDate="yes">1996 Mar</dateCreated>
1736
+ <dateCreated>1996 Mar</dateCreated>
1737
1737
  </originInfo>
1738
1738
  <language>
1739
1739
  <languageTerm type="code">en</languageTerm>
@@ -1769,7 +1769,7 @@
1769
1769
  <typeOfResource>moving image</typeOfResource>
1770
1770
  <genre>Video recordings</genre>
1771
1771
  <originInfo>
1772
- <dateCreated keyDate="yes">1999 Mar</dateCreated>
1772
+ <dateCreated>1999 Mar</dateCreated>
1773
1773
  </originInfo>
1774
1774
  <language>
1775
1775
  <languageTerm type="code">en</languageTerm>
@@ -1805,7 +1805,7 @@
1805
1805
  <typeOfResource>moving image</typeOfResource>
1806
1806
  <genre>Video recordings</genre>
1807
1807
  <originInfo>
1808
- <dateCreated keyDate="yes">1996 Sep 5</dateCreated>
1808
+ <dateCreated>1996 Sep 5</dateCreated>
1809
1809
  </originInfo>
1810
1810
  <language>
1811
1811
  <languageTerm type="code">en</languageTerm>
@@ -1874,7 +1874,7 @@
1874
1874
  <typeOfResource>moving image</typeOfResource>
1875
1875
  <genre>Video recordings</genre>
1876
1876
  <originInfo>
1877
- <dateCreated keyDate="yes">2000 Oct</dateCreated>
1877
+ <dateCreated>2000 Oct</dateCreated>
1878
1878
  </originInfo>
1879
1879
  <language>
1880
1880
  <languageTerm type="code">en</languageTerm>
@@ -1943,7 +1943,7 @@
1943
1943
  <typeOfResource>moving image</typeOfResource>
1944
1944
  <genre>Video recordings</genre>
1945
1945
  <originInfo>
1946
- <dateCreated keyDate="yes">1998 Jul</dateCreated>
1946
+ <dateCreated>1998 Jul</dateCreated>
1947
1947
  </originInfo>
1948
1948
  <language>
1949
1949
  <languageTerm type="code">en</languageTerm>
@@ -1979,7 +1979,7 @@
1979
1979
  <typeOfResource>moving image</typeOfResource>
1980
1980
  <genre>Video recordings</genre>
1981
1981
  <originInfo>
1982
- <dateCreated keyDate="yes">1998 Sep</dateCreated>
1982
+ <dateCreated>1998 Sep</dateCreated>
1983
1983
  </originInfo>
1984
1984
  <language>
1985
1985
  <languageTerm type="code">en</languageTerm>
@@ -2048,7 +2048,7 @@
2048
2048
  <typeOfResource>moving image</typeOfResource>
2049
2049
  <genre>Video recordings</genre>
2050
2050
  <originInfo>
2051
- <dateCreated keyDate="yes">1996 Jun</dateCreated>
2051
+ <dateCreated>1996 Jun</dateCreated>
2052
2052
  </originInfo>
2053
2053
  <language>
2054
2054
  <languageTerm type="code">en</languageTerm>
@@ -2084,7 +2084,7 @@
2084
2084
  <typeOfResource>moving image</typeOfResource>
2085
2085
  <genre>Video recordings</genre>
2086
2086
  <originInfo>
2087
- <dateCreated keyDate="yes">1999 Apr</dateCreated>
2087
+ <dateCreated>1999 Apr</dateCreated>
2088
2088
  </originInfo>
2089
2089
  <language>
2090
2090
  <languageTerm type="code">en</languageTerm>
@@ -2285,7 +2285,7 @@
2285
2285
  <typeOfResource>moving image</typeOfResource>
2286
2286
  <genre>Video recordings</genre>
2287
2287
  <originInfo>
2288
- <dateCreated keyDate="yes">1996 Sep</dateCreated>
2288
+ <dateCreated>1996 Sep</dateCreated>
2289
2289
  </originInfo>
2290
2290
  <language>
2291
2291
  <languageTerm type="code">en</languageTerm>