From ae2d1487fae8f5b08c5057257e4725c8ece42a2f Mon Sep 17 00:00:00 2001 From: Todd Fisher Date: Thu, 11 Jun 2015 15:24:19 -0400 Subject: [PATCH] Update util.rb line 128, Float type is also not something that can be dup'ed, similar to Fixnum and friends --- middleman-core/lib/middleman-core/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/util.rb b/middleman-core/lib/middleman-core/util.rb index 8a00eb9d..7d8512f0 100644 --- a/middleman-core/lib/middleman-core/util.rb +++ b/middleman-core/lib/middleman-core/util.rb @@ -122,7 +122,7 @@ module Middleman Hamster::Set.new(res) when Hamster::Vector, Hamster::Set, Hamster::SortedSet obj.map { |element| recursively_enhance(element) } - when ::TrueClass, ::FalseClass, ::Fixnum, ::Symbol, ::NilClass + when ::TrueClass, ::FalseClass, ::Fixnum, ::Symbol, ::NilClass, ::Float obj else obj.dup.freeze