dpla-map 4.0.0.0.pre.10 → 4.0.0.0.pre.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27ff0eb8bbd79c0a006276e145fccfff34dfa349
4
- data.tar.gz: 5fc0b9aa876f6b4e71e4ef1245fb71cb5f477cb9
3
+ metadata.gz: e1a9b43fd14e8d0e12b60b293c75112589dcd6fe
4
+ data.tar.gz: 7254051109b36fd179f8df23d896d60298429b6d
5
5
  SHA512:
6
- metadata.gz: 526c47d0f5dafe1db101733faa254c1f21feeba2bd5175ae73d32b2f968a694b4cefcf84a041d731b875947d98ee3eecf7a27282d99481c638808538951cee98
7
- data.tar.gz: 8362b2c19a3581114cf041c777f08c403158d50d8d6d688178eeac87050245b2386286eb65020bc95e32392a0cfb5468027a2a6b9bc475fdd74ee8228633318e
6
+ metadata.gz: 6fe5fd84b8d22e9ed3936a4c04a5ec2e6e9e2011a63f14fb0eaa36417bfc9ebab288f1814fe28c39f7246bbe156898ab7c5aa212499dca5974ed83d67511c182
7
+ data.tar.gz: 9abefaa90b57c69876d42c6d0699c72b53c43be7eecc711df25f7546be254ddb7cfd41e934f50cbeb6edcab0889211bf7d0d07cbe33e0f251d290d0f6d07ad00
data/.gitignore CHANGED
@@ -1,2 +1 @@
1
- Gemfile.lock
2
- *.gem
1
+ Gemfile.lock
@@ -3,11 +3,11 @@ module DPLA::MAP
3
3
  class Language < DPLA::MAP::Concept
4
4
  include LinkedVocabs::Controlled
5
5
 
6
- configure :base_uri => "http://lexvo.org/id/iso639-3/", :rdf_label => RDF::URI('http://www.w3.org/2008/05/skos#prefLabel')
6
+ configure :base_uri => "http://lexvo.org/id/iso639-3/",
7
+ :rdf_label => RDF::SKOS.prefLabel,
8
+ :type => RDF::DC.LinguisticSystem
7
9
 
8
10
  use_vocabulary :iso_639_3
9
-
10
- property :prefLabel, :predicate => RDF::SKOS.prefLabel
11
11
  end
12
12
  end
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module DPLA
2
2
  module MAP
3
- VERSION = '4.0.0.0.pre.10'
3
+ VERSION = '4.0.0.0.pre.11'
4
4
  end
5
5
  end
@@ -8,5 +8,19 @@ describe DPLA::MAP::SourceResource do
8
8
  expect(subject.type).to eq [RDF::URI('http://dp.la/about/map/SourceResource')]
9
9
  end
10
10
 
11
- end
11
+ it 'has an edm:hasType that is a DPLA::MAP::Controlled::Genre' do
12
+ expect(subject.genre).to contain_exactly(an_instance_of(DPLA::MAP::Controlled::Genre))
13
+ end
14
+
15
+ it 'has a dcterms:language that is a DPLA::MAP::Controlled::Language' do
16
+ expect(subject.language).to contain_exactly(an_instance_of(DPLA::MAP::Controlled::Language))
17
+ end
12
18
 
19
+ it 'has a dcterms:subject that is a DPLA::MAP::Concept' do
20
+ expect(subject.subject).to contain_exactly(an_instance_of(DPLA::MAP::Concept))
21
+ end
22
+
23
+ it 'has a dcterms:type that is a DPLA::MAP::Controlled::DCMIType' do
24
+ expect(subject.dctype).to contain_exactly(an_instance_of(DPLA::MAP::Controlled::DCMIType))
25
+ end
26
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpla-map
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.0.pre.10
4
+ version: 4.0.0.0.pre.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Johnson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-triples