hydra-editor 6.1.0 → 6.3.0

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: a46aebaeb52cb4f45f4a98fab3c5edf0b079397383792d82aa3cad4bffc05f6f
4
- data.tar.gz: 3859d727deb6cfb98be2c7b6f4f350a6714ec52c136492e0e95c2ef2d4dd38b0
3
+ metadata.gz: a8998ef2f429c723ba76246a8386679c0bd9f2881e2fd1283f9ba262df0e2dc5
4
+ data.tar.gz: 9053ab6b1ef68ee1167998af709b26894c8d0a8b04da83b887111c957444d97a
5
5
  SHA512:
6
- metadata.gz: 5cbd76d1225a2a3d27867deddb57db119fefa6341195fcc117c6c38f01ba82da1f5213b2eb359593b997244debf4e423db6f1a7e383f78aa392852c75ef32979
7
- data.tar.gz: 1262882532c6de80679c8241c87a4803ce9089d46614a69169244c4037a1fe4bfeb4978eae7fb424ec95f35b90015dacea707458c7884c6d7ef6e93a18a18396
6
+ metadata.gz: 41a8ee21dd9705c34006e688673693b8e0d5a8436356cfb100115237415d582a5d7a099640a2e963d5ee5d01b5b7d77955c61d7f9640b2d306a22431c28eb3ba
7
+ data.tar.gz: a514ee0b4d936c0cba9a399bef32f1171bce678cbd77004a430de860248e1e3f9709f3508f66d6d68362e31eb4f8665d264b3b094372f269d20b5da7bad8a7c7
data/README.md CHANGED
@@ -9,7 +9,7 @@ Docs:
9
9
  [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
10
10
  [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE.txt)
11
11
 
12
- Jump in: [![Slack Status](http://slack.samvera.org/badge.svg)](http://slack.samvera.org/)
12
+ Community Support: [![Samvera Community Slack](https://img.shields.io/badge/samvera-slack-blueviolet)](http://slack.samvera.org/)
13
13
 
14
14
  # What is hydra-editor?
15
15
 
@@ -17,13 +17,13 @@ A basic metadata editor for Rails applications based on hydra-head.
17
17
 
18
18
  ## Product Owner & Maintenance
19
19
 
20
- **hydra-editor** is a Core Component of the Samvera community. The documentation for
21
- what this means can be found
22
- [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
20
+ `hydra-editor` was a Core Component of the Samvera Community. Given a decline in available labor required for maintenance, this project no longer has a dedicated Product Owner. The documentation for what this means can be found [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).
23
21
 
24
22
  ### Product Owner
25
23
 
26
- [jrgriffiniii](https://github.com/jrgriffiniii)
24
+ **Vacant**
25
+
26
+ _Until a Product Owner has been identified, we ask that you please direct all requests for support, bug reports, and general questions to the [`#dev` Channel on the Samvera Slack](https://samvera.slack.com/app_redirect?channel=dev)._
27
27
 
28
28
  # Help
29
29
 
@@ -123,7 +123,7 @@ protected
123
123
 
124
124
  # Get resource ivar based on the current resource controller.
125
125
  #
126
- def get_resource_ivar #:nodoc:
126
+ def get_resource_ivar # :nodoc:
127
127
  instance_variable_get("@#{resource_instance_name}")
128
128
  end
129
129
 
@@ -1,7 +1,5 @@
1
1
  module HydraEditor
2
2
  module Form
3
- extend ActiveSupport::Autoload
4
- autoload :Permissions
5
3
  extend ActiveSupport::Concern
6
4
 
7
5
  include Hydra::Presenter
@@ -56,7 +54,7 @@ module HydraEditor
56
54
  # ImageForm.model_attributes(params[:image])
57
55
  # # => { title: 'My new image' }
58
56
  def model_attributes(form_params)
59
- sanitize_params(form_params).tap do |clean_params|
57
+ sanitize_params(form_params).to_h.tap do |clean_params|
60
58
  terms.each do |key|
61
59
  if clean_params[key]
62
60
  if multiple?(key)
@@ -3,6 +3,8 @@ module HydraEditor
3
3
  require 'simple_form'
4
4
  require 'sprockets/es6'
5
5
  require 'almond-rails'
6
+ require 'hydra/head'
7
+
6
8
  engine_name 'hydra_editor'
7
9
  config.eager_load_paths += %W[
8
10
  #{config.root}/app/helpers/concerns
@@ -1,3 +1,3 @@
1
1
  module HydraEditor
2
- VERSION = '6.1.0'.freeze
2
+ VERSION = '6.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-08-03 00:00:00.000000000 Z
13
+ date: 2024-10-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '5.2'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '6.2'
24
+ version: '8.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: '5.2'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '6.2'
34
+ version: '8.0'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: active-fedora
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -64,16 +64,16 @@ dependencies:
64
64
  name: cancancan
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '1.8'
69
+ version: '0'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '1.8'
76
+ version: '0'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: psych
79
79
  requirement: !ruby/object:Gem::Requirement
@@ -103,7 +103,7 @@ dependencies:
103
103
  version: '5.2'
104
104
  - - "<"
105
105
  - !ruby/object:Gem::Version
106
- version: '6.2'
106
+ version: '8.0'
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
@@ -113,7 +113,7 @@ dependencies:
113
113
  version: '5.2'
114
114
  - - "<"
115
115
  - !ruby/object:Gem::Version
116
- version: '6.2'
116
+ version: '8.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: simple_form
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +123,7 @@ dependencies:
123
123
  version: 4.1.0
124
124
  - - "<"
125
125
  - !ruby/object:Gem::Version
126
- version: '6.0'
126
+ version: '5.2'
127
127
  type: :runtime
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ dependencies:
133
133
  version: 4.1.0
134
134
  - - "<"
135
135
  - !ruby/object:Gem::Version
136
- version: '6.0'
136
+ version: '5.2'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: sprockets
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -166,16 +166,16 @@ dependencies:
166
166
  name: bixby
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
- - - "~>"
169
+ - - ">="
170
170
  - !ruby/object:Gem::Version
171
- version: '3.0'
171
+ version: '0'
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - "~>"
176
+ - - ">="
177
177
  - !ruby/object:Gem::Version
178
- version: '3.0'
178
+ version: '0'
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: capybara
181
181
  requirement: !ruby/object:Gem::Requirement
@@ -236,16 +236,16 @@ dependencies:
236
236
  name: fcrepo_wrapper
237
237
  requirement: !ruby/object:Gem::Requirement
238
238
  requirements:
239
- - - "~>"
239
+ - - ">="
240
240
  - !ruby/object:Gem::Version
241
- version: '0.5'
241
+ version: '0'
242
242
  type: :development
243
243
  prerelease: false
244
244
  version_requirements: !ruby/object:Gem::Requirement
245
245
  requirements:
246
- - - "~>"
246
+ - - ">="
247
247
  - !ruby/object:Gem::Version
248
- version: '0.5'
248
+ version: '0'
249
249
  - !ruby/object:Gem::Dependency
250
250
  name: hydra-head
251
251
  requirement: !ruby/object:Gem::Requirement
@@ -348,16 +348,16 @@ dependencies:
348
348
  name: solr_wrapper
349
349
  requirement: !ruby/object:Gem::Requirement
350
350
  requirements:
351
- - - "~>"
351
+ - - ">="
352
352
  - !ruby/object:Gem::Version
353
- version: '0.15'
353
+ version: '0'
354
354
  type: :development
355
355
  prerelease: false
356
356
  version_requirements: !ruby/object:Gem::Requirement
357
357
  requirements:
358
- - - "~>"
358
+ - - ">="
359
359
  - !ruby/object:Gem::Version
360
- version: '0.15'
360
+ version: '0'
361
361
  - !ruby/object:Gem::Dependency
362
362
  name: sqlite3
363
363
  requirement: !ruby/object:Gem::Requirement
@@ -413,7 +413,8 @@ files:
413
413
  - lib/tasks/hydra-editor_tasks.rake
414
414
  homepage: http://github.com/samvera/hydra-editor
415
415
  licenses: []
416
- metadata: {}
416
+ metadata:
417
+ rubygems_mfa_required: 'true'
417
418
  post_install_message:
418
419
  rdoc_options: []
419
420
  require_paths:
@@ -429,7 +430,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
429
430
  - !ruby/object:Gem::Version
430
431
  version: '0'
431
432
  requirements: []
432
- rubygems_version: 3.1.6
433
+ rubygems_version: 3.4.1
433
434
  signing_key:
434
435
  specification_version: 4
435
436
  summary: A basic metadata editor for hydra-head