Sha256: 9c38e632b2b86a15da1c96cdb87cc14e4130130f875fd57a823b8a2269d237fd
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
class Tasks::Toolbelt::Push < Tasks::Toolbelt def call Storage.create( output_file, File.open(input_file) ) end def input_file @input_file ||= [ release_path, revision, 'tar.gz' ].compact.join(".") end def output_file @output_file ||= File.basename([ release_path, options.platform, options.revision, 'tar.gz' ].compact.join(".")) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
quandl-0.2.22 | tasks/toolbelt/push.rb |