reviewr 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/README.md +1 -3
- data/lib/reviewr/cli/main.rb +1 -0
- data/lib/reviewr/git.rb +2 -2
- data/lib/reviewr/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/README.md
CHANGED
@@ -12,15 +12,13 @@ This will result in the following actions:
|
|
12
12
|
|
13
13
|
* Create a code review branch
|
14
14
|
* Create a commit with information about the code review request
|
15
|
-
* Push the code review branch to the
|
15
|
+
* Push the code review branch to the remote repository
|
16
16
|
* Send an email to <email> requesting a code review of the branch
|
17
17
|
The email will include a link to Github's compare view for the
|
18
18
|
changes
|
19
19
|
|
20
20
|
## Limitations
|
21
21
|
|
22
|
-
* Right now reviewr considers the origin/master the branch that the
|
23
|
-
reviewed code will be merged into when approved
|
24
22
|
* Email can only be sent from a Gmail (or Google Apps for my domain)
|
25
23
|
address
|
26
24
|
|
data/lib/reviewr/cli/main.rb
CHANGED
data/lib/reviewr/git.rb
CHANGED
@@ -34,7 +34,7 @@ module Reviewr
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def push_branch(branch_name)
|
37
|
-
execute("git push
|
37
|
+
execute("git push #{remote_repo} #{branch_name}")
|
38
38
|
end
|
39
39
|
|
40
40
|
def origin_location
|
@@ -43,7 +43,7 @@ module Reviewr
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def origin_master_commit
|
46
|
-
r = execute("git ls-remote
|
46
|
+
r = execute("git ls-remote #{remote_repo} refs/heads/master")
|
47
47
|
r && r.split(/\s+/)[0]
|
48
48
|
end
|
49
49
|
|
data/lib/reviewr/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
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-
|
17
|
+
date: 2010-04-09 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|