From 450b7ee7f33a8c560811b512f508b2a6b6ae6166 Mon Sep 17 00:00:00 2001 From: geo1004 Date: Tue, 21 Feb 2023 09:59:38 +0100 Subject: [PATCH] support uuid type --- lib/wash_out/param.rb | 1 + lib/wash_out/version.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/wash_out/param.rb b/lib/wash_out/param.rb index 83c9bf5e..a6ccdbec 100644 --- a/lib/wash_out/param.rb +++ b/lib/wash_out/param.rb @@ -71,6 +71,7 @@ def load(data, key) when 'datetime'; :to_datetime when 'time'; :to_time when 'base64Binary'; lambda{|dat| Base64.decode64(dat)} + when 'uuid'; :to_s else raise RuntimeError, "Invalid WashOut simple type: #{type}" end diff --git a/lib/wash_out/version.rb b/lib/wash_out/version.rb index f015a044..02ff9bd2 100644 --- a/lib/wash_out/version.rb +++ b/lib/wash_out/version.rb @@ -1,3 +1,3 @@ module WashOut - VERSION = "0.12.0" + VERSION = "0.12.1" end