dpla-map 4.0.0.0.pre.7 → 4.0.0.0.pre.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dpla/map/factories.rb +2 -2
- data/lib/dpla/map/source_resource.rb +1 -1
- data/lib/dpla/map/version.rb +1 -1
- data/lib/dpla/map/web_resource.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: 4960ac58bc2641a7e1ad35e596f8c91ad03e3d2d
|
4
|
+
data.tar.gz: d267b60d953f247127b0ea0a30c1adf4c343181a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbfa068acd7ff362ac7c8c298327413ee39afe8c296a17f02d746f4857a85f3dad1b37fa253f3c03ee29142f7edeafa49a1727c26cfe77df3fa1f87f0a9eb8a6
|
7
|
+
data.tar.gz: d50d4bfe01228bfbbaa522db528ce8d63bdc698014841d835526cc5d4862acdcd54823da84838150ca9924bb6227905fa67126d633d8248a028a98abd4a20979
|
data/lib/dpla/map/factories.rb
CHANGED
@@ -10,7 +10,7 @@ FactoryGirl.define do
|
|
10
10
|
date { |timespan| timespan.association :timespan, :strategy => :build }
|
11
11
|
description 'Window of the Stonewall Bar N.Y. 1969. The other half of the graffiti was erased by the time Diana photographed it.'
|
12
12
|
extent '10x12 cm'
|
13
|
-
|
13
|
+
dcformat 'Silver Gelatin Print'
|
14
14
|
genre { |genre| genre.association :genre, :strategy => :build }
|
15
15
|
identifier '510d47e3-57d2-a3d9-e040-e00a18064a99'
|
16
16
|
language { |language| language.association :language, :strategy => :build }
|
@@ -41,7 +41,7 @@ FactoryGirl.define do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
factory :web_resource, class: DPLA::MAP::WebResource do
|
44
|
-
|
44
|
+
dcformat 'image/tiff'
|
45
45
|
rights 'Public Domain'
|
46
46
|
rightsStatement { ActiveTriples::Resource.new('http://creativecommons.org/publicdomain/mark/1.0/') }
|
47
47
|
|
@@ -12,7 +12,7 @@ module DPLA::MAP
|
|
12
12
|
property :date, :predicate => RDF::DC11.date, :class_name => 'DPLA::MAP::TimeSpan'
|
13
13
|
property :description, :predicate => RDF::DC.description
|
14
14
|
property :extent, :predicate => RDF::DC.extent
|
15
|
-
property :
|
15
|
+
property :dcformat, :predicate => RDF::DC11.format
|
16
16
|
property :genre, :predicate => RDF::EDM.hasType, :class_name => 'DPLA::MAP::Controlled::Genre'
|
17
17
|
property :identifier, :predicate => RDF::DC11.identifier
|
18
18
|
property :language, :predicate => RDF::DC.language, :class_name => 'DPLA::MAP::Controlled::Language'
|
data/lib/dpla/map/version.rb
CHANGED
@@ -2,7 +2,7 @@ module DPLA::MAP
|
|
2
2
|
class WebResource < ActiveTriples::Resource
|
3
3
|
configure :type => RDF::EDM.WebResource
|
4
4
|
|
5
|
-
property :
|
5
|
+
property :dcformat, :predicate => RDF::DC11.format
|
6
6
|
property :rights, :predicate => RDF::DC11.rights
|
7
7
|
property :rightsStatement, :predicate => RDF::EDM.rights, :class_name => 'DPLA::MAP::RightsStatement'
|
8
8
|
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.
|
4
|
+
version: 4.0.0.0.pre.8
|
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-01-
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active-triples
|