lib/plist/parser.rb in plist-3.7.0 vs lib/plist/parser.rb in plist-3.7.1

- old
+ new

@@ -244,13 +244,13 @@ def to_ruby DateTime.parse(text) end end - require 'base64' class PData < PTag def to_ruby - data = Base64.decode64(text.gsub(/\s+/, '')) unless text.nil? + # unpack("m")[0] is equivalent to Base64.decode64 + data = text.gsub(/\s+/, '').unpack("m")[0] unless text.nil? begin return Marshal.load(data) if options[:marshal] rescue Exception end io = StringIO.new