lib/dpla/map/factories.rb in dpla-map-4.0.0.0.pre.5 vs lib/dpla/map/factories.rb in dpla-map-4.0.0.0.pre.6
- old
+ new
@@ -18,17 +18,18 @@
publisher { |agent| agent.association :agent, :label => 'Penguin Books', :strategy => :build }
relation ['Stonewall Inn [1]', 'Stonewall Inn [3]']
#isReplacedBy
#replaces
rights "The New York Public Library is interested in learning more about items you've seen on our websites or elsewhere online. If you have any more information about an item or its copyright status, we want to hear from you. Please contact DigitalCollections@nypl.org with your contact information and a link to the relevant content."
+ rightsHolder { |agent| agent.association :agent, :label => 'John Palfrey', :strategy => :build }
subject { |concept| concept.association :concept, :strategy => :build }
temporal '1969'
title 'Stonewall Inn [2]'
dctype { |type| type.association :dctype, :strategy => :build }
end
factory :aggregation, class: DPLA::MAP::Aggregation do
- aggregatedCHO { |sr| sr.association :source_resource, :strategy => :build }
+ sourceResource { |sr| sr.association :source_resource, :strategy => :build }
dataProvider { |agent| agent.association :agent, :label => 'Manuscripts and Archives Division. The New York Public Library', :strategy => :build }
originalRecord { RDF::URI('http://api.dp.la/originalRecord/12345') }
hasView { |wr| wr.association :web_resource, :strategy => :build }
intermediateProvider { |agent| agent.association :agent, :label => 'The New York Public Library', :strategy => :build }
isShownAt { |wr| wr.association :isShownAt, :strategy => :build }