module Egads::LocalHelpers
Some helper methods for all local commands
Public Instance Methods
sha()
click to toggle source
# File lib/egads/local_helpers.rb, line 4 def sha @sha ||= run_with_code("git rev-parse --verify #{rev}").strip end
short_sha()
click to toggle source
# File lib/egads/local_helpers.rb, line 8 def short_sha sha[0,7] end
tarball()
click to toggle source
# File lib/egads/local_helpers.rb, line 12 def tarball @tarball ||= S3Tarball.new(sha, seed: options[:seed]) end