uc3-dmp-id 0.0.122 → 0.0.123
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/helper.rb +2 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3be851812ee9f5f4261f74bd8c43dcbbbcc0ac4f24567ebfe300fcc54f57dbf8
|
4
|
+
data.tar.gz: 85c0441dcdc513bae2ef6e5402fbb3d61dfc824d3ee373d9fe0c6288cc6b8535
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b168ff1e3bc5111877fba15cdf5f89a59b8da20cee2a667e7114b2cd7bbaa9cbfe9696f3f397bc0106057e10757d24770ab1c9236d6751c421ff52bdeac2fb4
|
7
|
+
data.tar.gz: 93b4fa5cf52047e00fe4f594f80b701f492ac022d79abf3e06f8fb7598a4665a342126924772fe2b9f29586e2eb914eb72c438bbb0f12a1e2a94a70f4312ebb1
|
data/lib/uc3-dmp-id/helper.rb
CHANGED
@@ -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
|
-
|
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')
|
data/lib/uc3-dmp-id/version.rb
CHANGED