lib/lorj/compat.rb in lorj-1.0.13 vs lib/lorj/compat.rb in lorj-1.0.14

- old
+ new

@@ -84,10 +84,10 @@ module Base64 # Returns the Base64-encoded version of +bin+. # This method complies with RFC 4648. # No line feeds are added. def strict_encode64(bin) - [bin].pack('m0') + [bin].pack('m0').strip end # Returns the Base64-decoded version of +str+. # This method complies with RFC 4648. # ArgumentError is raised if +str+ is incorrectly padded or contains