Sha256: 8b84a89a9dd94324b1953b137ca663e2cf3b3d9f053e30a054a980fa2cdd69aa

Contents?: true

Size: 406 Bytes

Versions: 15

Compression:

Stored size: 406 Bytes

Contents

module Ufo::TaskDefinition::Helpers
  module Vars
    def env(text)
      Builder.new(text: text).env
    end
    alias_method :env_vars, :env
    alias_method :environment, :env

    def env_file(path=nil)
      Builder.new(file: path).env
    end

    def secrets(text)
      Builder.new(text: text).secrets
    end

    def secrets_file(path=nil)
      Builder.new(file: path).secrets
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ufo-6.3.13 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.12 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.11 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.10 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.9 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.8 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.7 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.6 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.5 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.4 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.3 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.2 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.1 lib/ufo/task_definition/helpers/vars.rb
ufo-6.3.0 lib/ufo/task_definition/helpers/vars.rb
ufo-6.2.5 lib/ufo/task_definition/helpers/vars.rb