Sha256: 0ad10fcda791bf087568aea5bfcd305256fed84aaea2b29ccd4a02f5c41f4f06

Contents?: true

Size: 437 Bytes

Versions: 188

Compression:

Stored size: 437 Bytes

Contents

module Jets::Builders::ShimVars
  class Base
    include Jets::AwsServices
    extend Memoist

    def s3_bucket
      Jets.aws.s3_bucket
    end

    def rack_zip
      checksum_zip(:rack)
    end

    def bundled_zip
      checksum_zip(:bundled)
    end

  private
    def checksum_zip(name)
      checksum = Jets::Builders::Md5.checksums["stage/#{name}"]
      return unless checksum
      "#{name}-#{checksum}.zip"
    end
  end
end

Version data entries

188 entries across 188 versions & 4 rubygems

Version Path
jets-1.4.7 lib/jets/builders/shim_vars/base.rb
jets-1.4.6 lib/jets/builders/shim_vars/base.rb
jets-1.4.5 lib/jets/builders/shim_vars/base.rb
jets-1.4.4 lib/jets/builders/shim_vars/base.rb
jets-1.4.3 lib/jets/builders/shim_vars/base.rb
jets-1.4.2 lib/jets/builders/shim_vars/base.rb
jets-1.4.1 lib/jets/builders/shim_vars/base.rb
jets-1.4.0 lib/jets/builders/shim_vars/base.rb