-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: remove whitespace bump version reorg Created MergeError Class & modified specs bump version bump version bump version Refactor integration command removed extra whitespace removed map, changed spec description, updated ver fixed merge conflicts and added red to error removed return true and changed to_a.map to .map changed version added ask feature for when branch doesn't exist fixed merge conflict error message changed version to 2.5.0.alpha1 changed resume option to string and fixed tests added in --resume flag to integrate command
- Loading branch information
Showing
5 changed files
with
118 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Thegarage | ||
module Gitx | ||
VERSION = '2.4.2' | ||
VERSION = '2.5.0' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
# protip to prevent execution of shell commands during testsuite | ||
# see http://stackoverflow.com/questions/1628586/mock-system-call-in-ruby | ||
module ShellExecutionStub | ||
def included(base) | ||
base.class_eval do | ||
alias_method :execute_without_stub, :` | ||
alias_method :`, :execute_with_stub | ||
end | ||
end | ||
|
||
module Kernel | ||
def execute_with_stub(cmd) | ||
if cmd.include?('git') | ||
puts "WARNING: stubbing command execution within tests of command: #{cmd}", :red | ||
else | ||
execute_without_stub(cmd) | ||
end | ||
end | ||
end | ||
|
||
Kernel.send(:include, ShellExecutionStub) | ||
alias_method :execute_without_stub, :` | ||
alias_method :`, :execute_with_stub | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters