lib/chronicle/etl/configurable.rb in chronicle-etl-0.4.0 vs lib/chronicle/etl/configurable.rb in chronicle-etl-0.4.1

- old
+ new

@@ -87,9 +87,17 @@ def coerce_string(value) value.to_s end + def coerce_boolean(value) + if value.is_a?(String) + value.downcase == "true" + else + value + end + end + def coerce_time(value) # TODO: handle durations like '3h' if value.is_a?(String) Time.parse(value) else