Sha256: b6c1f46a665f9900550fcabddb721d2bf262f7acec44c70b0e1e33577618211f
Contents?: true
Size: 535 Bytes
Versions: 57
Compression:
Stored size: 535 Bytes
Contents
class KuberKit::EnvFileReader::EnvFileTempfileCreator include KuberKit::Import[ "env_file_reader.reader", "configs" ] Contract KuberKit::Shell::AbstractShell, KuberKit::Core::EnvFiles::AbstractEnvFile => String def call(shell, env_file) env_file_hash = reader.read(shell, env_file) env_file_raw = env_file_hash.to_a.map{|k,v| "#{k}=#{v}"}.join("\r\n") temp_file_path = File.join(configs.env_file_compile_dir, env_file.uniq_name) shell.write(temp_file_path, env_file_raw) temp_file_path end end
Version data entries
57 entries across 57 versions & 1 rubygems