ddr-core 1.12.1 → 1.12.2

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
  SHA256:
3
- metadata.gz: b2fb22566402591b70a20f82b4eb16431e59d2b2cac43598a98177c514dc881b
4
- data.tar.gz: c1c6c7c5499a5240d884f99e58e48affb3b1db774d6af4e8aafeb53875384981
3
+ metadata.gz: 1747ec2e17d7996e200306167e43b58e2dc131e90dc53e60cea8e743330d427e
4
+ data.tar.gz: 198b5d9ec8d996df0d90244e28b2256494f7dacd97e3f912f7f9aa35a0b43dd2
5
5
  SHA512:
6
- metadata.gz: b7027ca1bd94ffc0f311156a868043de326ac3bbb98d4168d1a3fa074bc92842169b0af2a00cdf7ce47dfed65659f063386d455f4afb65e7147c7b993da722bd
7
- data.tar.gz: a155703a1c63651a9e3b1b27ea0f0dcebe908b873c5355c97a1b60fe88197ac4ef5bb3cb6aa4ebcfef8865702ac319f3c8ab4f350a3fca5ea08e1fa357b19c50
6
+ metadata.gz: 66cb2bce2d80a04dcad5fa2fc4903ea3f2a73a98acb419ee108acaf8410864444f7e149f35fe841e672b070f06531fa5f750a053e73d1f13a1ef0bf4c9c96bc7
7
+ data.tar.gz: 1e13d74efb54b66264639ccefeecf9b9b0a07496d76bff8d93e7207562637bac6cd22e0376f0cfb2a6a61a5d9a09a82ee9a1eb1a6a8393dfa9301655adb4f4db
@@ -59,9 +59,11 @@ module Ddr::Index
59
59
  end
60
60
 
61
61
  def objects
62
+ resource_factory = Valkyrie::MetadataAdapter.find(:index_solr).resource_factory
63
+
62
64
  Enumerator.new do |e|
63
- each_id do |id|
64
- e << ActiveFedora::Base.find(id)
65
+ each do |obj|
66
+ e << resource_factory.to_resource(object: obj)
65
67
  end
66
68
  end
67
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddr-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.1
4
+ version: 1.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Coble
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-04-04 00:00:00.000000000 Z
14
+ date: 2022-04-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activeresource
@@ -447,7 +447,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
447
447
  - !ruby/object:Gem::Version
448
448
  version: '0'
449
449
  requirements: []
450
- rubygems_version: 3.3.10
450
+ rubygems_version: 3.3.11
451
451
  signing_key:
452
452
  specification_version: 4
453
453
  summary: Models used in the Duke Digital Repository