uc3-dmp-id 0.0.20 → 0.0.21
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 +3 -0
- 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: fa1a63e00e317587dc9bba2ce165b400a4f2ea4cb72f9af62db6703ba83ebe88
|
4
|
+
data.tar.gz: 778c12434dc38726d18260912b4d46f488f865afad4ab000fc76d97b689a7cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65e1c3f23cd91b366f59c67f85d210736dcdf54c63d5c5e3a727300ecaf7479c88af91c5ed91e08662f972050e83fa44bf3d411a43f3463fd97539b73cd1415a
|
7
|
+
data.tar.gz: d996426a6899f7ce753256818af9b68ad8552756711b4da755d465f42f3d0312c4e6b302802d833bb1262890c8537fd9bf482156b2bf582123dae2dee7de79be
|
data/lib/uc3-dmp-id/helper.rb
CHANGED
@@ -116,6 +116,9 @@ module Uc3DmpId
|
|
116
116
|
def cleanse_dmp_json(json:)
|
117
117
|
return json unless json.is_a?(Hash) || json.is_a?(Array)
|
118
118
|
|
119
|
+
puts "CLEANSING"
|
120
|
+
puts json
|
121
|
+
|
119
122
|
# If it's an array clean each of the objects individually
|
120
123
|
return json.map { |obj| cleanse_dmp_json(json: obj) }.compact if json.is_a?(Array)
|
121
124
|
|
data/lib/uc3-dmp-id/version.rb
CHANGED