Class: RoCommands::Gem

Inherits:
Base show all
Defined in:
lib/ro_commands/gem.rb

Instance Method Summary collapse

Methods inherited from Base

describe, inherited, method_added, meths, start, usage

Methods included from Bash

#_bash, #add_time, #bash, #bash_capture, #bash_capture_array, #bash_lines, #bash_per, #bash_system, #bundle_exec, #err, err, #handle_path, #kernel_system, out, #out, #status, status

Instance Method Details

#install(*args) ⇒ Object



5
6
7
# File 'lib/ro_commands/gem.rb', line 5

def install(*args)
	bashs "bundle exec guard -P install --no-interactions"
end

#release(*args) ⇒ Object



10
11
12
13
14
# File 'lib/ro_commands/gem.rb', line 10

def release(*args)
	bash "git add ."
  bash "git commit -am 'release new version'"
  bash 'rake release'
end