bin/jgd in jgd-1.7 vs bin/jgd in jgd-1.7.1
- old
+ new
@@ -13,10 +13,10 @@
end
branch = opts[:branch]
fail 'branch can\'t be empty' if branch.empty?
url = opts[:url]
-url = `git config --get remote.origin.url` if url.empty?
+url = `git config --get remote.origin.url`.strip if url.empty?
spec = Gem::Specification.find_by_name('jgd')
root = spec.gem_dir
script = File.join(root, 'bash/deploy.sh')