public
Fork of pjhyett/github-services
Description: Official GitHub Services Integration
Homepage: http://github.com/blog/53-github-services-ipo
Clone URL: git://github.com/tekkub/github-services.git
Why not announce added and removed files as well
tekkub (author)
Thu Jul 24 00:23:40 -0700 2008
commit  308fb8f213a03297d7ccf8328337a1abcf9add17
tree    3f575391e25a09f4cac8f8205e8804a994e63fc3
parent  bbbd1580ed88e325490bc2a5f4ca1362af6b7ef4
...
5
6
7
 
 
8
9
10
...
24
25
26
27
 
28
29
30
...
5
6
7
8
9
10
11
12
...
26
27
28
 
29
30
31
32
0
@@ -5,6 +5,8 @@ def build_cia_commit(repository, branch, sha1, commit, size = 1)
0
   dt = DateTime.parse(commit['timestamp']).new_offset
0
   timestamp = Time.send(:gm, dt.year, dt.month, dt.day, dt.hour, dt.min, dt.sec).to_i
0
 
0
+ files = commit['modified'] + commit['added'] + commit['removed']
0
+
0
   <<-MSG
0
     <message>
0
       <generator>
0
@@ -24,7 +26,7 @@ def build_cia_commit(repository, branch, sha1, commit, size = 1)
0
           <log>#{log}</log>
0
           <url>#{commit['url']}</url>
0
           <files>
0
- <file> #{commit['modified'].join("</file>\n<file>")} </file>
0
+ <file> #{files.join("</file>\n<file>")} </file>
0
           </files>
0
         </commit>
0
       </body>

Comments

    No one has commented yet.