Sha256: fe993f7e2894ab8560d69c4123481805f838eba5d8a8ed32ea4610f990d047c1

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

# stdlib
require "uri"
require "openssl"
require "base64"
require "rack"

module Distack
  module URLSign
    def self.strip_heredoc(string)
      min    = string.scan(/^[ \t]*(?=\S)/).min
      indent = min ? min.length : 0
      string.gsub(/^[ \t]{#{indent}}/, '')
    end
  end
end

# urlsign
require "distack/urlsign/signer"
require "distack/urlsign/version"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
distack-urlsign-0.3.3 lib/distack/urlsign.rb
distack-urlsign-0.3.2 lib/distack/urlsign.rb
distack-urlsign-0.3.1 lib/distack/urlsign.rb
distack-urlsign-0.3.0 lib/distack/urlsign.rb
distack-urlsign-0.2.0 lib/distack/urlsign.rb