Sha256: 32752afca78d3252cb82aeacee1da58b9748db64621be32fa92a0d2096d29b28

Contents?: true

Size: 550 Bytes

Versions: 16

Compression:

Stored size: 550 Bytes

Contents

module Jack
  module EbConfig
    class Update < Base
      attr_reader :eb_config_path
      def initialize(options={})
        super
      end

      def platform
        env.solution_stack_name
      end

      def app_name
        env.application_name
      end
   
      def env
        return @env if @env
        envs = describe_environments
        @env = envs[:environments].first
      end

      # useful for specs
      def describe_environments
        eb.describe_environments(environment_names: [@env_name])
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
jack-eb-1.0.1 lib/jack/eb_config/update.rb
jack-eb-1.0.0 lib/jack/eb_config/update.rb
jack-eb-0.3.0 lib/jack/eb_config/update.rb
jack-eb-0.2.0 lib/jack/eb_config/update.rb
jack-eb-0.1.6 lib/jack/eb_config/update.rb
jack-eb-0.1.5 lib/jack/eb_config/update.rb
jack-eb-0.1.4 lib/jack/eb_config/update.rb
jack-eb-0.1.3 lib/jack/eb_config/update.rb
jack-eb-0.1.2 lib/jack/eb_config/update.rb
jack-eb-0.1.1 lib/jack/eb_config/update.rb
jack-eb-0.1.0 lib/jack/eb_config/update.rb
jack-eb-0.0.9 lib/jack/eb_config/update.rb
jack-eb-0.0.8 lib/jack/eb_config/update.rb
jack-eb-0.0.7 lib/jack/eb_config/update.rb
jack-eb-0.0.6 lib/jack/eb_config/update.rb
jack-eb-0.0.4 lib/jack/eb_config/update.rb