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-2.0.3 lib/jets/builders/shim_vars/base.rb
jets-2.0.1 lib/jets/builders/shim_vars/base.rb
jets-2.0.0 lib/jets/builders/shim_vars/base.rb
jets-1.9.32 lib/jets/builders/shim_vars/base.rb
jets-1.9.31 lib/jets/builders/shim_vars/base.rb
jets-1.9.30 lib/jets/builders/shim_vars/base.rb
jets-1.9.29 lib/jets/builders/shim_vars/base.rb
jets-1.9.28 lib/jets/builders/shim_vars/base.rb
jets-1.9.27 lib/jets/builders/shim_vars/base.rb
jets-1.9.26 lib/jets/builders/shim_vars/base.rb
jets-1.9.25 lib/jets/builders/shim_vars/base.rb
jets-1.9.24 lib/jets/builders/shim_vars/base.rb
jets-1.9.23 lib/jets/builders/shim_vars/base.rb
jets-1.9.22 lib/jets/builders/shim_vars/base.rb
jets-1.9.21 lib/jets/builders/shim_vars/base.rb
jets-1.9.20 lib/jets/builders/shim_vars/base.rb
jets-1.9.19 lib/jets/builders/shim_vars/base.rb
jets-1.9.18 lib/jets/builders/shim_vars/base.rb
jets-1.9.17 lib/jets/builders/shim_vars/base.rb
jets-1.9.16 lib/jets/builders/shim_vars/base.rb