dpla-map 4.0.0.0.pre.8 → 4.0.0.0.pre.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/dpla/map/controlled/language.rb +1 -1
- data/lib/dpla/map/factories.rb +3 -0
- data/lib/dpla/map/version.rb +1 -1
- data/lib/rdf/iso_639_3.rb +59448 -2
- 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: d2063fc694ce71904737a8bfc591283bc6b17a62
|
4
|
+
data.tar.gz: 855a086f44019f0f03fefaf9d59e2ea3b77a846d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e5a97653bb586317d877bed131151013120b1034acab359038dac4095d4122df9e42a1b7393ac7ede78b0baa1df55e11c6635a21885b6b71af773be56801a9a
|
7
|
+
data.tar.gz: b10598774ac80637aa089ad1338c546d11f9e8ef1b79de20f95111149eadfd40fb6fd1ef1b3288b57f6706fc0abb399ca77419c37f8fec122fbcad8225ea67df
|
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module DPLA::MAP
|
2
2
|
module Controlled
|
3
|
-
class Language <
|
3
|
+
class Language < DPLA::MAP::Concept
|
4
4
|
include LinkedVocabs::Controlled
|
5
5
|
|
6
6
|
configure :base_uri => "http://lexvo.org/id/iso639-3/", :rdf_label => RDF::URI('http://www.w3.org/2008/05/skos#prefLabel')
|
data/lib/dpla/map/factories.rb
CHANGED
@@ -95,18 +95,21 @@ FactoryGirl.define do
|
|
95
95
|
initialize_with do
|
96
96
|
new('eng')
|
97
97
|
end
|
98
|
+
providedLabel 'English'
|
98
99
|
end
|
99
100
|
|
100
101
|
factory :dctype, class: DPLA::MAP::Controlled::DCMIType do
|
101
102
|
initialize_with do
|
102
103
|
new('Image')
|
103
104
|
end
|
105
|
+
providedLabel 'img'
|
104
106
|
end
|
105
107
|
|
106
108
|
factory :genre, class: DPLA::MAP::Controlled::Genre do
|
107
109
|
initialize_with do
|
108
110
|
new('300132472')
|
109
111
|
end
|
112
|
+
providedLabel 'Moomin'
|
110
113
|
end
|
111
114
|
end
|
112
115
|
|
data/lib/dpla/map/version.rb
CHANGED