uc3-dmp-id 0.0.121 → 0.0.123

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: 6a7b18e8a03e8b1fec669c319659352f4cee0fc5d726c92a45c178ea37116375
4
- data.tar.gz: 4239900d4abfe0c89126ba713d135b55ede35b05db53671390fabab773372933
3
+ metadata.gz: 3be851812ee9f5f4261f74bd8c43dcbbbcc0ac4f24567ebfe300fcc54f57dbf8
4
+ data.tar.gz: 85c0441dcdc513bae2ef6e5402fbb3d61dfc824d3ee373d9fe0c6288cc6b8535
5
5
  SHA512:
6
- metadata.gz: 8e2d9142e4adcc5604ee23d35d16f3f06c48f872476d049223293c6779c89ec5cdb5b5db80a0ad27ded0c46110d105ed41351b55b4dcc655b9eec698b56ddb1a
7
- data.tar.gz: 93393c6f351ceef8afdf2f59213f58ac8a908bde9511d67e263e780b1bc2d0120ed0d9de02a6a93e9151e5289176162473929afc7de65952aa1cab354ee781a6
6
+ metadata.gz: 5b168ff1e3bc5111877fba15cdf5f89a59b8da20cee2a667e7114b2cd7bbaa9cbfe9696f3f397bc0106057e10757d24770ab1c9236d6751c421ff52bdeac2fb4
7
+ data.tar.gz: 93b4fa5cf52047e00fe4f594f80b701f492ac022d79abf3e06f8fb7598a4665a342126924772fe2b9f29586e2eb914eb72c438bbb0f12a1e2a94a70f4312ebb1
@@ -185,7 +185,8 @@ 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
+ featured = annotated.fetch('dmproadmap_featured', 'no')
189
+ annotated['dmproadmap_featured'] = bool_vals.include?(featured.to_s.downcase) ? 1 : 0
189
190
 
190
191
  # Update the modification timestamps
191
192
  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.123'
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.123
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