cdmbl 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cdmbl/formatters.rb +6 -0
- data/lib/cdmbl/transformer.rb +9 -2
- data/lib/cdmbl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f71820a90068da2a90ec3777846af857da6d6c1e
|
4
|
+
data.tar.gz: b6561f2a4ef980bc710e91ee23076418ca232701
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e842c4c2f36f46e6f43fdbd21f2cb1d35733bf902695560cb435c758c4ddbfd8bd7cbb5cd8b30cb572a7dab3474607a932da689f77fc9e4143573f23157d6db5
|
7
|
+
data.tar.gz: eef4836fb3480a7112f533ef0f4197782930999e39ee487e69ae19bb06e387d8a678907f022adc9edb626efd2b112089dd911642b6478d566e930babb574f32d
|
data/lib/cdmbl/formatters.rb
CHANGED
data/lib/cdmbl/transformer.rb
CHANGED
@@ -53,6 +53,9 @@ module CDMBL
|
|
53
53
|
{dest_path: 'collection_name_ssi', origin_path: '/', formatters: [AddSetSpecFormatter, CollectionNameFormatter]},
|
54
54
|
{dest_path: 'collection_name_tei', origin_path: '/', formatters: [AddSetSpecFormatter, CollectionNameFormatter]},
|
55
55
|
{dest_path: 'collection_description_tei', origin_path: '/', formatters: [AddSetSpecFormatter, CollectionDescriptionFormatter, FilterBadCollections]},
|
56
|
+
{dest_path: 'parent_collection_name_ssi', origin_path: 'par', formatters: [StripFormatter]},
|
57
|
+
{dest_path: 'parent_collection_name_tei', origin_path: 'par', formatters: [StripFormatter]},
|
58
|
+
{dest_path: 'parent_collection_description_tei', origin_path: 'par', formatters: [StripFormatter]},
|
56
59
|
{dest_path: 'title_tei', origin_path: 'title', formatters: [StripFormatter]},
|
57
60
|
{dest_path: 'title_ssi', origin_path: 'title', formatters: [StripFormatter]},
|
58
61
|
{dest_path: 'title_sort', origin_path: 'title', formatters: [StripFormatter]},
|
@@ -84,7 +87,10 @@ module CDMBL
|
|
84
87
|
{dest_path: 'subject_unstem_search', origin_path: 'subjec', formatters: [StripFormatter]},
|
85
88
|
{dest_path: 'subject_teim', origin_path: 'subjec', formatters: [StripFormatter, SplitFormatter, StripFormatter]},
|
86
89
|
{dest_path: 'subject_ssim', origin_path: 'subjec', formatters: [StripFormatter, SplitFormatter, StripFormatter]},
|
87
|
-
{dest_path: '
|
90
|
+
{dest_path: 'keyword_unstem_search', origin_path: '/', formatters: [KeywordFormatter, StripFormatter]},
|
91
|
+
{dest_path: 'keyword_teim', origin_path: '/', formatters: [KeywordFormatter, StripFormatter]},
|
92
|
+
{dest_path: 'keyword_ssim', origin_path: '/', formatters: [KeywordFormatter, StripFormatter]},
|
93
|
+
{dest_path: 'city_ssim', origin_path: 'city', formatters: [StripFormatter, SplitFormatter, StripFormatter]},
|
88
94
|
{dest_path: 'city_unstem_search', origin_path: 'city', formatters: [StripFormatter]},
|
89
95
|
{dest_path: 'district_ssi', origin_path: 'distri', formatters: [StripFormatter]},
|
90
96
|
{dest_path: 'district_unstem_search', origin_path: 'distri', formatters: [StripFormatter]},
|
@@ -139,7 +145,8 @@ module CDMBL
|
|
139
145
|
{dest_path: 'geographic_feature_ssim', origin_path: 'geogra', formatters: [Titlieze, StripFormatter, SplitFormatter, StripFormatter]},
|
140
146
|
{dest_path: 'geographic_feature_teim', origin_path: 'geogra', formatters: [StripFormatter]},
|
141
147
|
{dest_path: 'geographic_feature_unstem_search', origin_path: 'geogra', formatters: [StripFormatter]},
|
142
|
-
{dest_path: 'compound_objects_ts', origin_path: 'page', formatters: [ToJsonFormatter]}
|
148
|
+
{dest_path: 'compound_objects_ts', origin_path: 'page', formatters: [ToJsonFormatter]},
|
149
|
+
{dest_path: 'geonam_ssi', origin_path: 'geonam', formatters: [StripFormatter]}
|
143
150
|
]
|
144
151
|
end
|
145
152
|
end
|
data/lib/cdmbl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cdmbl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chadfennell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hash_at_path
|