hydra-editor 5.0.4 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/inputs/multi_value_input.rb +2 -5
- data/lib/hydra_editor/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38ab055d213de3b1299c69bf11aa8265b72ba8f979857db58b9be7500c3f72b2
|
4
|
+
data.tar.gz: 3a2203ee73f2bf7362e155cb1f33d911d5a3a59cbc15e12ea26d8e5eac9a15d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 239f99bb9ab19061d074397e59b7e172f59cd14fac316ac3bc25d7a03c53370eaac8720baaa46d96aee409274ac5065b1acd0b7cebaebe5dcc27610be877a4de
|
7
|
+
data.tar.gz: 989a22a789fc9f71e59fbda9930d9b0259828a831bb696115307f5fbfc1268d738030a235d9c8434d69c0ae626487e5fb20953168a6a2dc4559bde8b9f5e641b
|
@@ -74,11 +74,8 @@ class MultiValueInput < SimpleForm::Inputs::CollectionInput
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def collection
|
77
|
-
@collection ||=
|
78
|
-
|
79
|
-
col = val.respond_to?(:to_ary) ? val.to_ary : val
|
80
|
-
col.reject { |value| value.to_s.strip.blank? } + ['']
|
81
|
-
end
|
77
|
+
@collection ||=
|
78
|
+
Array(object.send(attribute_name)).reject { |v| v.to_s.strip.blank? } + ['']
|
82
79
|
end
|
83
80
|
|
84
81
|
def multiple?; true; end
|
data/lib/hydra_editor/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
- David Chandek-Stark
|
9
9
|
- Thomas Johnson
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -402,7 +402,7 @@ files:
|
|
402
402
|
homepage: http://github.com/samvera/hydra-editor
|
403
403
|
licenses: []
|
404
404
|
metadata: {}
|
405
|
-
post_install_message:
|
405
|
+
post_install_message:
|
406
406
|
rdoc_options: []
|
407
407
|
require_paths:
|
408
408
|
- lib
|
@@ -417,8 +417,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
417
417
|
- !ruby/object:Gem::Version
|
418
418
|
version: '0'
|
419
419
|
requirements: []
|
420
|
-
rubygems_version: 3.1.
|
421
|
-
signing_key:
|
420
|
+
rubygems_version: 3.1.4
|
421
|
+
signing_key:
|
422
422
|
specification_version: 4
|
423
423
|
summary: A basic metadata editor for hydra-head
|
424
424
|
test_files: []
|