lib/cose/key/curve_key.rb in cose-1.0.0 vs lib/cose/key/curve_key.rb in cose-1.1.0
- old
+ new
@@ -33,16 +33,14 @@
@d = d
end
end
def map
- map = super.merge(
+ super.merge(
LABEL_CRV => crv,
LABEL_X => x,
LABEL_D => d
- )
-
- map.reject { |_k, v| v.nil? }
+ ).compact
end
end
end
end