lib/cmis/utils.rb in cmis-ruby-0.5.20 vs lib/cmis/utils.rb in cmis-ruby-0.5.21

- old
+ new

@@ -52,10 +52,10 @@ elsif value.is_a?(TrueClass) || value.is_a?(FalseClass) # boolean literal value else # treat as a character string literal - value = value.to_s + value = value.to_s.dup value.gsub!(/\\/, Regexp.escape('\\\\')) value.gsub!(/'/, Regexp.escape('\\\'')) "'#{value}'" end end