cul_scv_hydra 0.21.8 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <mods xmlns="http://www.loc.gov/mods/v3"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns:xlink="http://www.w3.org/1999/xlink"
5
+ xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd"
6
+ version="3.5">
7
+ </mods>
@@ -0,0 +1,100 @@
1
+ <record xmlns='http://www.loc.gov/MARC21/slim'>
2
+ <leader>01316cam a2200361 a 4500</leader>
3
+ <controlfield tag='001'>3867996</controlfield>
4
+ <controlfield tag='005'>20100210190726.0</controlfield>
5
+ <controlfield tag='008'>000922s1898 ja a j 000 1 eng d</controlfield>
6
+ <datafield ind1=' ' ind2=' ' tag='035'>
7
+ <subfield code='a'>(OCoLC)502907050</subfield>
8
+ </datafield>
9
+ <datafield ind1=' ' ind2=' ' tag='035'>
10
+ <subfield code='a'>(OCoLC)ocn502907050</subfield>
11
+ </datafield>
12
+ <datafield ind1=' ' ind2=' ' tag='035'>
13
+ <subfield code='a'>(CStRLIN)NYCP00-B10039</subfield>
14
+ </datafield>
15
+ <datafield ind1=' ' ind2=' ' tag='035'>
16
+ <subfield code='a'>(NNC)3867996</subfield>
17
+ </datafield>
18
+ <datafield ind1=' ' ind2=' ' tag='040'>
19
+ <subfield code='a'>NNC</subfield>
20
+ <subfield code='c'>NNC</subfield>
21
+ </datafield>
22
+ <datafield ind1=' ' ind2='4' tag='050'>
23
+ <subfield code='a'>GR340</subfield>
24
+ <subfield code='b'>.B69 1898</subfield>
25
+ </datafield>
26
+ <datafield ind1=' ' ind2=' ' tag='066'>
27
+ <subfield code='c'>$1</subfield>
28
+ </datafield>
29
+ <datafield ind1=' ' ind2=' ' tag='079'>
30
+ <subfield code='a'>ocm03317411</subfield>
31
+ </datafield>
32
+ <datafield ind1=' ' ind2=' ' tag='090'>
33
+ <subfield code='a'>SPECIAL COLL. GR340</subfield>
34
+ <subfield code='b'>.B69 1898</subfield>
35
+ <subfield code='i'>09/25/00 X</subfield>
36
+ <subfield code='h'>09/22/00 N</subfield>
37
+ </datafield>
38
+ <datafield ind1='0' ind2='4' tag='245'>
39
+ <subfield code='a'>The Boy who drew cats /</subfield>
40
+ <subfield code='c'>rendered into English by Lafcadio Hearn.</subfield>
41
+ </datafield>
42
+ <datafield ind1=' ' ind2=' ' tag='260'>
43
+ <subfield code='6'>880-01</subfield>
44
+ <subfield code='a'>Tōkyō :</subfield>
45
+ <subfield code='b'>Hasegawa Takejirō,</subfield>
46
+ <subfield code='c'>Meiji 31 [1898]</subfield>
47
+ </datafield>
48
+ <datafield ind1=' ' ind2=' ' tag='300'>
49
+ <subfield code='a'>[10] leaves :</subfield>
50
+ <subfield code='b'>col. ill. ;</subfield>
51
+ <subfield code='c'>18 cm.</subfield>
52
+ </datafield>
53
+ <datafield ind1='1' ind2=' ' tag='490'>
54
+ <subfield code='a'>Japanese fairy tale series ;</subfield>
55
+ <subfield code='v'>no. 18</subfield>
56
+ </datafield>
57
+ <datafield ind1=' ' ind2=' ' tag='500'>
58
+ <subfield code='a'>Cover title.</subfield>
59
+ </datafield>
60
+ <datafield ind1=' ' ind2=' ' tag='500'>
61
+ <subfield code='a'>Printed on double leaves of crepe paper, folded in the Japanese style.</subfield>
62
+ </datafield>
63
+ <datafield ind1=' ' ind2=' ' tag='590'>
64
+ <subfield code='a'>Housed in Special Collection.</subfield>
65
+ </datafield>
66
+ <datafield ind1='1' ind2=' ' tag='700'>
67
+ <subfield code='a'>Hearn, Lafcadio,</subfield>
68
+ <subfield code='d'>1850-1904.</subfield>
69
+ </datafield>
70
+ <datafield ind1='2' ind2=' ' tag='797'>
71
+ <subfield code='a'>JASP</subfield>
72
+ </datafield>
73
+ <datafield ind1=' ' ind2='0' tag='830'>
74
+ <subfield code='a'>Japanese fairy tale series ;</subfield>
75
+ <subfield code='v'>no. 18.</subfield>
76
+ </datafield>
77
+ <datafield ind1=' ' ind2=' ' tag='880'>
78
+ <subfield code='6'>260-01/$1</subfield>
79
+ <subfield code='a'>東京 :</subfield>
80
+ <subfield code='b'>長谷川 武次郎,</subfield>
81
+ <subfield code='c'>明治 31 [1898]</subfield>
82
+ </datafield>
83
+ <datafield ind1=' ' ind2=' ' tag='900'>
84
+ <subfield code='a'>AUTH</subfield>
85
+ </datafield>
86
+ <datafield ind1=' ' ind2=' ' tag='990'>
87
+ <subfield code='a'>GR</subfield>
88
+ </datafield>
89
+ <datafield ind1=' ' ind2=' ' tag='991'>
90
+ <subfield code='a'>GR340.B69 1898</subfield>
91
+ <subfield code='b'>loc+GR-+0340+00000000+B6900000+001898</subfield>
92
+ </datafield>
93
+ <datafield ind1=' ' ind2=' ' tag='992'>
94
+ <subfield code='a'>East Asian</subfield>
95
+ <subfield code='b'>East Asian Special Collection (Non-Circulating) &gt;&gt; SPECIAL COLL. GR340.B69 1898|DELIM|4397398</subfield>
96
+ </datafield>
97
+ <datafield ind1=' ' ind2=' ' tag='995'>
98
+ <subfield code='a'>catalog</subfield>
99
+ </datafield>
100
+ </record>
@@ -2,7 +2,7 @@
2
2
  module Cul
3
3
  module Scv
4
4
  module Hydra
5
- VERSION = '0.21.8'
5
+ VERSION = '0.22.0'
6
6
  def self.version
7
7
  VERSION
8
8
  end
@@ -0,0 +1,23 @@
1
+ namespace :cul_scv_hydra do
2
+
3
+ namespace :transform do
4
+
5
+ task :marc => :environment do
6
+
7
+ begin
8
+ src_path = File.join(Rails.root,'fixtures','spec','MARCXML','3867996.xml')
9
+ xsl_path = File.join(Rails.root,'config','xsl','marc_to_mods.xsl')
10
+ doc = Nokogiri::XML(File.read(src_path))
11
+ xslt = Nokogiri::XSLT(File.read(xsl_path))
12
+ puts xslt.transform(doc)
13
+ rescue => e
14
+ puts 'Error: ' + e.message
15
+ puts e.backtrace
16
+ next
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cul_scv_hydra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.8
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Armintor
@@ -324,14 +324,15 @@ files:
324
324
  - app/models/static_audio_aggregator.rb
325
325
  - app/models/static_image_aggregator.rb
326
326
  - bin/rails
327
- - config/fedora.yml
327
+ - config/fedora.yml2
328
328
  - config/jetty.yml
329
329
  - config/locales/ldpd_hydra.en.yml
330
+ - config/locales/nnc.ntriples
330
331
  - config/predicate_mappings.yml
331
- - config/solr.yml
332
332
  - config/solr_mappings.yml
333
333
  - config/solr_value_maps.yml
334
334
  - config/subs.yml
335
+ - config/xsl/marc_to_mods.xsl
335
336
  - fixtures/cmodels/ldpd_ADLMetadata.xml
336
337
  - fixtures/cmodels/ldpd_AESMetadata.xml
337
338
  - fixtures/cmodels/ldpd_BagAggregator.xml
@@ -410,6 +411,8 @@ files:
410
411
  - fixtures/spec/FOXML/resource-screen.xml
411
412
  - fixtures/spec/FOXML/resource-thumb.xml
412
413
  - fixtures/spec/FOXML/static-image-aggregator.xml
414
+ - fixtures/spec/MARCXML/3867996.mods.xml
415
+ - fixtures/spec/MARCXML/3867996.xml
413
416
  - fixtures/spec/STRUCTMAP/structmap-examples.xml
414
417
  - fixtures/spec/STRUCTMAP/structmap-nested.xml
415
418
  - fixtures/spec/STRUCTMAP/structmap-recto.xml
@@ -450,10 +453,10 @@ files:
450
453
  - lib/cul_scv_hydra/solrizer/terminology_based_solrizer.rb
451
454
  - lib/cul_scv_hydra/solrizer/value_mapper.rb
452
455
  - lib/cul_scv_hydra/version.rb
453
- - lib/cul_scv_hydra/version.rb~
454
456
  - lib/tasks/cmodel.rake
455
457
  - lib/tasks/cul_hydra_dev.rake
456
458
  - lib/tasks/index.rake
459
+ - lib/tasks/transform.rake
457
460
  homepage: https://github.com/cul/cul_scv_hydra
458
461
  licenses: []
459
462
  metadata: {}
@@ -476,7 +479,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
476
479
  version: '0'
477
480
  requirements: []
478
481
  rubyforge_project:
479
- rubygems_version: 2.4.3
482
+ rubygems_version: 2.2.2
480
483
  signing_key:
481
484
  specification_version: 4
482
485
  summary: ActiveFedora, OM, and Solrizer implementations for CUL Staff Collection Viewer
data/config/fedora.yml DELETED
@@ -1,17 +0,0 @@
1
- development:
2
- :user: fedoraAdmin
3
- :password: fedoraAdmin
4
- :url: http://localhost:8983/fedora-test
5
- :time_zone: "America/New_York"
6
-
7
- test:
8
- :user: fedoraAdmin
9
- :password: fedoraAdmin
10
- :url: http://localhost:8983/fedora-test
11
- :time_zone: "America/New_York"
12
-
13
- production:
14
- :user: fedoraAdmin
15
- :password: f+BULUS*^
16
- :url: http://alcott.cul.columbia.edu:8080/fedora
17
- :time_zone: "America/New_York"
data/config/solr.yml DELETED
@@ -1,8 +0,0 @@
1
- development:
2
- url: http://localhost:8983/solr/test
3
-
4
- test:
5
- url: http://localhost:8983/solr/test
6
-
7
- production:
8
- url: http://katana.cul.columbia.edu:8080/solr-4.7/dcv_private_dev
@@ -1,11 +0,0 @@
1
-
2
- module Cul
3
- module Scv
4
- module Hydra
5
- VERSION = '0.21.7'
6
- def self.version
7
- VERSION
8
- end
9
- end
10
- end
11
- end