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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af660124aa18b021abc3cf6f8d3ff89a2580b425b968bd4377a748d2fb46f7ba
4
- data.tar.gz: 72eb34d3e5418922e8159c7aeeeffb09ee38dd3a785c0c8d70f17481ab037311
3
+ metadata.gz: 3be851812ee9f5f4261f74bd8c43dcbbbcc0ac4f24567ebfe300fcc54f57dbf8
4
+ data.tar.gz: 85c0441dcdc513bae2ef6e5402fbb3d61dfc824d3ee373d9fe0c6288cc6b8535
5
5
  SHA512:
6
- metadata.gz: 60f756c7b57d38820ad7a098dc3cf62864e2dd65b7ec43bfd139cf80bb6d3313e80913346abfc436e8bf95527af3b517012477a3f8becb03983af83befe99c45
7
- data.tar.gz: 5a7e4cf88a3632ac2fbdfec47bc76b5d54c9605b3de6b8304d7ab48c709792225789efefb88ff99539bf841922bd88ab18f8f6f10805e3adaeb65fd939d37931
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.fetch('dmproadmap_featured', 'no')&.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.122'
4
+ VERSION = '0.0.123'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uc3-dmp-id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.122
4
+ version: 0.0.123
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Riley