hyrax 2.7.1 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15c66e9b0693579023f7f5a57cd17c64d8e954e5178c4df7a4ac8b0ed006c1cb
|
|
4
|
+
data.tar.gz: 71707611232797f25219dd4f5bd6b7b8023d2a281fb1256dc04db210f1224d11
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88013dcbe9f0d04ee28edde4dae28fe811137c6c0d4681ab078a474f9991416fbd165fb71379c636a48f8836bf1676e9d6a85b8ce46f13eabcf00f98e6ea1510
|
|
7
|
+
data.tar.gz: e383285af351dd33e9141072201b264fbd4eb3947a6e9fce6fe75d9824357ba6813c27eba198569199469663504cc31453c1f1afaa49ea47ebd8f62ee5526a1c
|
|
@@ -31,7 +31,7 @@ module Hyrax
|
|
|
31
31
|
# @param env [Hyrax::Actors::Enviornment]
|
|
32
32
|
# @return [Boolean]
|
|
33
33
|
#
|
|
34
|
-
# rubocop:disable Metrics/MethodLength
|
|
34
|
+
# rubocop:disable Metrics/MethodLength, Metrics/AbcSize
|
|
35
35
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
|
36
36
|
def assign_nested_attributes_for_collection(env)
|
|
37
37
|
attributes_collection = env.attributes.delete(:member_of_collections_attributes)
|
|
@@ -56,13 +56,14 @@ module Hyrax
|
|
|
56
56
|
next unless existing_collections.include?(attributes['id'])
|
|
57
57
|
remove(env.curation_concern, attributes['id'])
|
|
58
58
|
else
|
|
59
|
+
next if existing_collections.include?(attributes['id'])
|
|
59
60
|
add(env, attributes['id'])
|
|
60
61
|
end
|
|
61
62
|
end
|
|
62
63
|
|
|
63
64
|
true
|
|
64
65
|
end
|
|
65
|
-
# rubocop:enable Metrics/MethodLength
|
|
66
|
+
# rubocop:enable Metrics/MethodLength, Metrics/AbcSize
|
|
66
67
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
|
67
68
|
|
|
68
69
|
##
|
data/lib/hyrax/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hyrax
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
@@ -14,7 +14,7 @@ authors:
|
|
|
14
14
|
autorequire:
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
|
-
date: 2020-
|
|
17
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: rails
|