uc3-dmp-id 0.0.121 → 0.0.122

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: 6a7b18e8a03e8b1fec669c319659352f4cee0fc5d726c92a45c178ea37116375
4
- data.tar.gz: 4239900d4abfe0c89126ba713d135b55ede35b05db53671390fabab773372933
3
+ metadata.gz: af660124aa18b021abc3cf6f8d3ff89a2580b425b968bd4377a748d2fb46f7ba
4
+ data.tar.gz: 72eb34d3e5418922e8159c7aeeeffb09ee38dd3a785c0c8d70f17481ab037311
5
5
  SHA512:
6
- metadata.gz: 8e2d9142e4adcc5604ee23d35d16f3f06c48f872476d049223293c6779c89ec5cdb5b5db80a0ad27ded0c46110d105ed41351b55b4dcc655b9eec698b56ddb1a
7
- data.tar.gz: 93393c6f351ceef8afdf2f59213f58ac8a908bde9511d67e263e780b1bc2d0120ed0d9de02a6a93e9151e5289176162473929afc7de65952aa1cab354ee781a6
6
+ metadata.gz: 60f756c7b57d38820ad7a098dc3cf62864e2dd65b7ec43bfd139cf80bb6d3313e80913346abfc436e8bf95527af3b517012477a3f8becb03983af83befe99c45
7
+ data.tar.gz: 5a7e4cf88a3632ac2fbdfec47bc76b5d54c9605b3de6b8304d7ab48c709792225789efefb88ff99539bf841922bd88ab18f8f6f10805e3adaeb65fd939d37931
@@ -185,7 +185,7 @@ module Uc3DmpId
185
185
  owner_org = extract_owner_org(json: json)
186
186
 
187
187
  # Set the :dmproadmap_featured flag appropriately
188
- annotated['dmproadmap_featured'] = bool_vals.include?(annotated['dmproadmap_featured']&.downcase) ? 1 : 0
188
+ annotated['dmproadmap_featured'] = bool_vals.include?(annotated.fetch('dmproadmap_featured', 'no')&.downcase) ? 1 : 0
189
189
 
190
190
  # Update the modification timestamps
191
191
  annotated['dmphub_modification_day'] = Time.now.strftime('%Y-%m-%d')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uc3DmpId
4
- VERSION = '0.0.121'
4
+ VERSION = '0.0.122'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.121
4
+ version: 0.0.122
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-03 00:00:00.000000000 Z
11
+ date: 2023-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json