Skip to content

Commit

Permalink
Merge pull request #4662 from sul-dlss/update-dependencies
Browse files Browse the repository at this point in the history
Merged by automated merge script
  • Loading branch information
mjgiarlo authored Dec 18, 2023
2 parents dc3ef47 + a4a2ef7 commit 098581b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ GEM
ast (2.4.2)
attr_extras (7.1.0)
base64 (0.2.0)
bigdecimal (3.1.4)
bigdecimal (3.1.5)
bootsnap (1.17.0)
msgpack (~> 1.2)
builder (3.2.4)
Expand Down Expand Up @@ -244,13 +244,13 @@ GEM
sprockets-rails
graphql (2.1.7)
racc (~> 1.4)
hashdiff (1.0.1)
hashdiff (1.1.0)
hashie (5.0.0)
honeybadger (5.4.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
io-console (0.6.0)
io-console (0.7.1)
irb (1.10.1)
rdoc
reline (>= 0.3.8)
Expand Down Expand Up @@ -305,7 +305,7 @@ GEM
multi_json (1.15.0)
multi_xml (0.6.0)
mutex_m (0.2.0)
net-imap (0.4.7)
net-imap (0.4.8)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -339,7 +339,7 @@ GEM
commonmarker (~> 0.17)
openapi_parser (1.0.0)
optimist (3.1.0)
parallel (1.23.0)
parallel (1.24.0)
parser (3.2.2.4)
ast (~> 2.4.1)
racc
Expand Down Expand Up @@ -406,7 +406,7 @@ GEM
rainbow (3.1.1)
rake (12.3.3)
rbtree (0.4.6)
rdoc (6.6.1)
rdoc (6.6.2)
psych (>= 4.0.0)
redis-client (0.19.0)
connection_pool
Expand Down Expand Up @@ -458,10 +458,10 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.24.0)
rubocop (~> 1.33)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.22.2)
rubocop-performance (1.20.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rails (2.23.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand Down Expand Up @@ -546,7 +546,7 @@ GEM
tty-cursor (~> 0.7)
tty-screen (~> 0.8)
unicode-display_width (>= 1.6, < 3.0)
tty-screen (0.8.1)
tty-screen (0.8.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
Expand Down
4 changes: 2 additions & 2 deletions app/services/cocina/to_datacite/form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def self_deposit_type(cocina_self_deposit_form)
end

def self_deposit_subtypes(cocina_self_deposit_form)
cocina_self_deposit_form&.structuredValue&.map do |struct_val|
cocina_self_deposit_form&.structuredValue&.filter_map do |struct_val|
struct_val.value if struct_val.type == 'subtype'
end&.compact
end
end

def self_deposit_form?(cocina_form)
Expand Down

0 comments on commit 098581b

Please sign in to comment.