hydra-editor 5.0.1 → 5.0.5
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 +4 -4
- data/README.md +15 -0
- data/app/assets/stylesheets/hydra-editor/multi_value_fields.scss +2 -2
- data/app/inputs/multi_value_input.rb +2 -5
- data/lib/hydra_editor/version.rb +1 -1
- metadata +10 -24
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
|
data/README.md
CHANGED
|
@@ -156,6 +156,21 @@ end
|
|
|
156
156
|
|
|
157
157
|
If you are not mounting the engine or using its default routes, you can include RecordsControllerBehavior in your own controller and add the appropriate routes to your app's config/routes.rb.
|
|
158
158
|
|
|
159
|
+
## Releasing
|
|
160
|
+
|
|
161
|
+
1. `bundle install`
|
|
162
|
+
2. Increase the version number in `lib/hydra_editor/version.rb`
|
|
163
|
+
3. Increase the same version number in `.github_changelog_generator`
|
|
164
|
+
4. Update `CHANGELOG.md` by running this command:
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
github_changelog_generator --user samvera --project hydra-editor --token YOUR_GITHUB_TOKEN_HERE
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
5. Commit these changes to the master branch
|
|
171
|
+
|
|
172
|
+
6. Run `rake release`
|
|
173
|
+
|
|
159
174
|
# Acknowledgments
|
|
160
175
|
|
|
161
176
|
This software has been developed by and is brought to you by the Samvera community. Learn more at the
|
|
@@ -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:
|
|
13
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activerecord
|
|
@@ -136,34 +136,20 @@ dependencies:
|
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0'
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: thor
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - "~>"
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: '0.19'
|
|
146
|
-
type: :runtime
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - "~>"
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '0.19'
|
|
153
139
|
- !ruby/object:Gem::Dependency
|
|
154
140
|
name: bixby
|
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
|
156
142
|
requirements:
|
|
157
|
-
- - "
|
|
143
|
+
- - "~>"
|
|
158
144
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: '0'
|
|
145
|
+
version: '3.0'
|
|
160
146
|
type: :development
|
|
161
147
|
prerelease: false
|
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
149
|
requirements:
|
|
164
|
-
- - "
|
|
150
|
+
- - "~>"
|
|
165
151
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '0'
|
|
152
|
+
version: '3.0'
|
|
167
153
|
- !ruby/object:Gem::Dependency
|
|
168
154
|
name: capybara
|
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -416,7 +402,7 @@ files:
|
|
|
416
402
|
homepage: http://github.com/samvera/hydra-editor
|
|
417
403
|
licenses: []
|
|
418
404
|
metadata: {}
|
|
419
|
-
post_install_message:
|
|
405
|
+
post_install_message:
|
|
420
406
|
rdoc_options: []
|
|
421
407
|
require_paths:
|
|
422
408
|
- lib
|
|
@@ -431,8 +417,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
431
417
|
- !ruby/object:Gem::Version
|
|
432
418
|
version: '0'
|
|
433
419
|
requirements: []
|
|
434
|
-
rubygems_version: 3.
|
|
435
|
-
signing_key:
|
|
420
|
+
rubygems_version: 3.1.4
|
|
421
|
+
signing_key:
|
|
436
422
|
specification_version: 4
|
|
437
423
|
summary: A basic metadata editor for hydra-head
|
|
438
424
|
test_files: []
|