dor-services 7.0.1 → 7.0.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: 975bc1a6b0e78711e06f3e67a33e5d4949ddf7381f1071d710031ece10f13999
4
- data.tar.gz: 2675298428c48873e52d617a64ea3dd547f91bf2ae51474740117ebbedb6a035
3
+ metadata.gz: 05abb7b8c6054c86ed4edeeef3baf7d768a7e0c97c3e6bfdedf25d708ba2291a
4
+ data.tar.gz: 5955774b7898520df8baf33298697cadf2c2d8b8fa9e41903a1bf9aca2c2cda0
5
5
  SHA512:
6
- metadata.gz: '0486a2ae1f83a7151e2dc482a8915afd007b710f440ab5e9d6f447dca41ab309e3bf51d6f57b08c3a59a4a3589bdf4ada10e5a051084f04c863e3c06ca82107f'
7
- data.tar.gz: 84cc3af029612fcd912a7895e554a4b1cfbf5f7c08717232e9f16ed12715dbf106a0cafcb504ca8d41dd2f4775a0756b480ca3ef4e114103c8b1a8cd8545a3e9
6
+ metadata.gz: 99a5e9dffd5f436ae3c2a0059903431b1d8ba59af633d58f3ef6894daa55f1aa32d6b37a7828c2610bc76c8c144806df95e831352d1718fd57fcff1e6008b53e
7
+ data.tar.gz: f9cea923019b4ceca95b5516a487683a98dcaeb702956cc082828c6eedb96a4541c478fe08cbc72017344760a5acf212593105069c262e136f6e5ead88ef70a5
@@ -52,7 +52,8 @@ module Dor
52
52
  item.collections.each do |collection|
53
53
  next if collection.id == item.id # recursive, so parents of parents are found, but we need to avoid an infinite loop if the collection references itself (i.e. bad data)
54
54
 
55
- return_tags = combine_two_release_tag_hashes(return_tags, collection.releases.release_tags_for_item_and_all_governing_sets)
55
+ release_service = self.class.for(collection)
56
+ return_tags = combine_two_release_tag_hashes(return_tags, release_service.release_tags_for_item_and_all_governing_sets)
56
57
  end
57
58
  return_tags
58
59
  end
data/lib/dor/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dor
4
- VERSION = '7.0.1'
4
+ VERSION = '7.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1
4
+ version: 7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein