Sha256: 8c8371d95b02d68fb956f3b7097013ecd3754b014188ce1062e3b5a69eeb16e3

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

require "thegarage/gitx/version"
require 'thegarage/gitx/version'
require 'thegarage/gitx/string_extensions'
require 'thegarage/gitx/git'
require 'thegarage/gitx/github'


module Thegarage
  module Gitx
    BASE_BRANCH = 'master'

    private

    # 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

4 entries across 4 versions & 1 rubygems

Version Path
thegarage-gitx-1.0.1 lib/thegarage/gitx.rb
thegarage-gitx-1.0.0 lib/thegarage/gitx.rb
thegarage-gitx-1.0.0.beta lib/thegarage/gitx.rb
thegarage-gitx-1.0.0.alpha lib/thegarage/gitx.rb