dpla-map 4.0.0.0.pre.12 → 4.0.0.0.pre.13

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: e236a1a3ba86fb86369bdec3c3ed2d1ab7574cac
4
- data.tar.gz: b77d05ed046373454880c183274389e33b00833d
3
+ metadata.gz: 19a17b0c11771dd99a07b956c56fe5d3e8d14555
4
+ data.tar.gz: e74dec34b82adf2129e7ce09eddc241587edd375
5
5
  SHA512:
6
- metadata.gz: 2f37276c9a897a15106d8cd4e7214b41ae0c393dd75e48df09774dd3cb179113046104cb8ab3e74b13bf98ce6f5805f27450680450bb18016a092c888f3cae98
7
- data.tar.gz: 26a0832c886399b4926a71caa50f01e9a7fc712b345b00d55a90077e0fbee1a5d5ddf7dbf87b2b0518c315c0c070f6487868a9b3bf53d9bb0ba187e6c1e44846
6
+ metadata.gz: 4c5b1e9b8aef8ac7481ea31dedb0fa2ab56e08123d1ea8e12d9df057086042528d2a7871eba4fe4e928a09cc409c0e3c2144ecc3e2e82c81380cb0b6dbcbcf85
7
+ data.tar.gz: e12badd4ab32c21542411b14feba6d5f66e502de6f4ec7c52ed1473b27b42e4beab96e96dd2929016403c68fdd6b610ebd47a1b96efcb307ae5fc789414d5615
@@ -1,10 +1,15 @@
1
1
  language: ruby
2
2
  bundler_args: --without debug
3
+ sudo: false
4
+ before_install: gem install -v '~> 1.10' bundler
3
5
  script: "bundle exec rspec spec"
4
6
  rvm:
5
7
  - 1.9.3
6
8
  - 2.0.0
7
- - 2.1.0
8
- - 2.1.1
9
9
  - 2.1.3
10
+ - 2.1.6
11
+ - 2.1.8
12
+ - 2.2.4
13
+ - 2.3.0
14
+ - ruby-head
10
15
 
@@ -25,4 +25,5 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency 'pry'
26
26
  s.add_development_dependency 'pry-doc'
27
27
  s.add_development_dependency 'factory_girl', '~>4.4.0'
28
+ s.add_development_dependency 'bundler', '~> 1.10'
28
29
  end
@@ -4,6 +4,7 @@ module DPLA::MAP
4
4
 
5
5
  validates_presence_of :providedLabel
6
6
 
7
+ property :prefLabel, :predicate => RDF::SKOS.prefLabel
7
8
  property :providedLabel, :predicate => RDF::DPLA.providedLabel
8
9
  property :begin, :predicate => RDF::EDM.begin
9
10
  property :end, :predicate => RDF::EDM.end
@@ -1,5 +1,5 @@
1
1
  module DPLA
2
2
  module MAP
3
- VERSION = '4.0.0.0.pre.12'
3
+ VERSION = '4.0.0.0.pre.13'
4
4
  end
5
5
  end
@@ -12,6 +12,10 @@ describe DPLA::MAP::SourceResource do
12
12
  expect(subject.genre).to contain_exactly(an_instance_of(DPLA::MAP::Controlled::Genre))
13
13
  end
14
14
 
15
+ it 'has a dc:date that is a DPLA::MAP::TimeSpan' do
16
+ expect(subject.date).to contain_exactly(an_instance_of(DPLA::MAP::TimeSpan))
17
+ end
18
+
15
19
  it 'has a dcterms:language that is a DPLA::MAP::Controlled::Language' do
16
20
  expect(subject.language).to contain_exactly(an_instance_of(DPLA::MAP::Controlled::Language))
17
21
  end
@@ -31,6 +35,8 @@ describe DPLA::MAP::Aggregation do
31
35
  it 'has nested values' do
32
36
  expect(subject.sourceResource.first.subject.first.prefLabel)
33
37
  .to contain_exactly('Gay activists')
38
+ expect(subject.sourceResource.first.date.first.providedLabel)
39
+ .to contain_exactly('1969.')
34
40
  end
35
41
 
36
42
  context 'when built from parsed graph' do
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.12
4
+ version: 4.0.0.0.pre.13
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-08-18 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-triples
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 4.4.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.10'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.10'
83
97
  description: DPLA's metadata application profile in ActiveTriples.
84
98
  email: tom@dp.la
85
99
  executables: []
@@ -147,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
161
  version: 1.3.1
148
162
  requirements: []
149
163
  rubyforge_project:
150
- rubygems_version: 2.2.1
164
+ rubygems_version: 2.2.0
151
165
  signing_key:
152
166
  specification_version: 4
153
167
  summary: DPLA's metadata application profile in ActiveTriples.