lib/travis/client/repository.rb in travis-1.2.6 vs lib/travis/client/repository.rb in travis-1.2.7

- old
+ new

@@ -12,10 +12,10 @@ @to_s = data end def encrypt(value) encrypted = to_rsa.public_encrypt(value) - Base64.encode64(encrypted).strip + Base64.encode64(encrypted).gsub(/\s+/, "") end def to_rsa @to_rsa ||= OpenSSL::PKey::RSA.new(to_s) rescue OpenSSL::PKey::RSAError