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.9.15 lib/jets/builders/shim_vars/base.rb
jets-1.9.14 lib/jets/builders/shim_vars/base.rb
jets-1.9.13 lib/jets/builders/shim_vars/base.rb
jets-1.9.12 lib/jets/builders/shim_vars/base.rb
jets-1.9.11 lib/jets/builders/shim_vars/base.rb
jets-1.9.10 lib/jets/builders/shim_vars/base.rb
jets-1.9.9 lib/jets/builders/shim_vars/base.rb
jets-1.9.8 lib/jets/builders/shim_vars/base.rb
jets-1.9.7 lib/jets/builders/shim_vars/base.rb
jets-1.9.6 lib/jets/builders/shim_vars/base.rb
jets-1.9.5 lib/jets/builders/shim_vars/base.rb
jets-1.9.4 lib/jets/builders/shim_vars/base.rb
jets-1.9.3 lib/jets/builders/shim_vars/base.rb
jets-1.9.2 lib/jets/builders/shim_vars/base.rb
jets-1.9.1 lib/jets/builders/shim_vars/base.rb
jets-1.9.0 lib/jets/builders/shim_vars/base.rb
jets-1.8.14 lib/jets/builders/shim_vars/base.rb
jets-1.8.13 lib/jets/builders/shim_vars/base.rb
jets-1.8.12 lib/jets/builders/shim_vars/base.rb
jets-1.8.11 lib/jets/builders/shim_vars/base.rb