Sha256: 1fadad95488669e3f59ede5b3776982a4bad023459cf56c6d830057f5240f3ab
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
require 'rubygems' require 'socialcast-git-extensions/version' require 'socialcast-git-extensions/string_ext' require 'socialcast-git-extensions/git' require 'socialcast-git-extensions/github' module Socialcast module Gitx # execute a shell command and raise an error if non-zero exit code is returned def run_cmd(cmd) say "\n> " say cmd.gsub("'", ''), :red raise "#{cmd} failed" unless system cmd end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
socialcast-git-extensions-3.0.0.pre | lib/socialcast-git-extensions.rb |