Sha256: e1f27cc8b3bff0e24d09979d5971510a2d6b7a886b4d002a332dd4ff3a37aae8

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

require 'pathname'

require 'vagrant-s3auth/plugin'

module VagrantPlugins
  module S3Auth
    S3_HOST         = 's3.amazonaws.com'
    S3_HOST_MATCHER = /^s3([[:alnum:]\-\.]+)?\.amazonaws\.com$/
    BOX_URL_MATCHER = %r{^s3://(?<bucket>[[:alnum:]\-\.]+)(?<resource>.*)/?}

    def self.source_root
      @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-s3auth-0.1.0 lib/vagrant-s3auth.rb
vagrant-s3auth-0.1.0.alpha1 lib/vagrant-s3auth.rb