Sha256: e786c2d50274a76cfa28b9fdd77a0a8a61e5464150edce884e7723aac29984d7

Contents?: true

Size: 182 Bytes

Versions: 7

Compression:

Stored size: 182 Bytes

Contents

require 'base64'
# Backport from ruby-1.9 to ruby-1.8
unless Base64.respond_to?(:strict_encode64)
  def Base64.strict_encode64(str)
    Base64.encode64(str).gsub("\n", "")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
signet-0.7.3 lib/compat/base64.rb
signet-0.7.2 lib/compat/base64.rb
signet-0.7.1 lib/compat/base64.rb
signet-0.7.0 lib/compat/base64.rb
signet-0.6.1 lib/compat/base64.rb
signet-0.6.0 lib/compat/base64.rb
signet-0.5.1 lib/compat/base64.rb