reviewr 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/reviewr/git.rb CHANGED
@@ -43,7 +43,7 @@ module Reviewr
43
43
  end
44
44
 
45
45
  def push_branch(branch_name)
46
- execute("git push origin #{branch_name}")
46
+ execute("git push #{remote_repo} #{branch_name}")
47
47
  end
48
48
 
49
49
  def origin_location
@@ -52,7 +52,7 @@ module Reviewr
52
52
  end
53
53
 
54
54
  def origin_master_commit
55
- r = execute("git ls-remote origin refs/heads/master")
55
+ r = execute("git ls-remote #{remote_repo} refs/heads/master")
56
56
  r && r.split(/\s+/)[0]
57
57
  end
58
58
 
@@ -1,3 +1,3 @@
1
1
  module Reviewr
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Burrows
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-12 00:00:00 -07:00
17
+ date: 2010-04-13 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency