gold 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/gold.rb +9 -1
- metadata +3 -3
data/History.txt
CHANGED
data/lib/gold.rb
CHANGED
@@ -126,7 +126,15 @@ gold review #{developer_name}/#{branch}
|
|
126
126
|
return error("Could not checkout #{remote}_#{branch}.") unless system("git co -b #{remote}_#{branch}")
|
127
127
|
return error("Could not pull #{remote_branch}.") unless system("git pull #{remote} #{branch}")
|
128
128
|
return error("Could not rebase.") unless system("git rebase #{gold_master}")
|
129
|
-
|
129
|
+
tmpf = Tempfile.new('gold_msg')
|
130
|
+
tmpf.write %Q{============= Commits ============
|
131
|
+
#{`git log #{gold_master}..HEAD`}
|
132
|
+
|
133
|
+
============= Diff ============
|
134
|
+
#{`git diff #{gold_master}`}
|
135
|
+
}
|
136
|
+
tmpf.close
|
137
|
+
system("$EDITOR #{tmpf.path}")
|
130
138
|
true
|
131
139
|
end
|
132
140
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 5
|
9
|
+
version: 0.4.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Gaspard Bucher
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-02 00:00:00 +02:00
|
18
18
|
default_executable: gold
|
19
19
|
dependencies: []
|
20
20
|
|