Skip to content

Commit

Permalink
Merge branch 'cleanup-load-path'
Browse files Browse the repository at this point in the history
* cleanup-load-path:
  bump version
  Tweak load path to avoid requiring absolute paths
  • Loading branch information
wireframe committed Dec 10, 2014
2 parents 230b2fc + 0904ecc commit 2632636
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
3 changes: 2 additions & 1 deletion bin/git-buildtag
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'buildtag_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/buildtag_command'
args = ARGV.dup.unshift('buildtag')
Thegarage::Gitx::Cli::BuildtagCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-cleanup
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'cleanup_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/cleanup_command'
args = ARGV.dup.unshift('cleanup')
Thegarage::Gitx::Cli::CleanupCommand.start(args)

3 changes: 2 additions & 1 deletion bin/git-integrate
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'integrate_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/integrate_command'
args = ARGV.dup.unshift('integrate')
Thegarage::Gitx::Cli::IntegrateCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-nuke
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'nuke_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/nuke_command'
args = ARGV.dup.unshift('nuke')
Thegarage::Gitx::Cli::NukeCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-release
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'release_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/release_command'
args = ARGV.dup.unshift('release')
Thegarage::Gitx::Cli::ReleaseCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-review
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'review_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/review_command'
args = ARGV.dup.unshift('review')
Thegarage::Gitx::Cli::ReviewCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-reviewrequest
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

puts 'WARNING: git reviewrequest has been deprecated. use `git review` instead'

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'review_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/review_command'
args = ARGV.dup.unshift('review')
Thegarage::Gitx::Cli::ReviewCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-share
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'share_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/share_command'
args = ARGV.dup.unshift('share')
Thegarage::Gitx::Cli::ShareCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-start
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'start_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/start_command'
args = ARGV.dup.unshift('start')
Thegarage::Gitx::Cli::StartCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-track
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'track_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/track_command'
args = ARGV.dup.unshift('track')
Thegarage::Gitx::Cli::TrackCommand.start(args)
3 changes: 2 additions & 1 deletion bin/git-update
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'thegarage/gitx/cli', 'update_command.rb')
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'thegarage/gitx/cli/update_command'
args = ARGV.dup.unshift('update')
Thegarage::Gitx::Cli::UpdateCommand.start(args)
2 changes: 1 addition & 1 deletion lib/thegarage/gitx/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Thegarage
module Gitx
VERSION = '2.8.0'
VERSION = '2.8.1'
end
end

0 comments on commit 2632636

Please sign in to comment.