@@ -335,6 +335,41 @@ def json(key)
335335 "parents" => [ "7d1b31e74ee336d15cbd21741bc88a537ed063a0" ]
336336 }
337337
338+ COMMITS_REST = [
339+ { "sha" => "7d1b31e74ee336d15cbd21741bc88a537ed063a0" ,
340+ "author" => {
341+ "name" => "Scott Chacon" ,
342+ "email" => "scott@github.com" ,
343+ "date" => "2008-07-08T16:13:30+12:00"
344+ } ,
345+ "committer" => {
346+ "name" => "Scott Chacon" ,
347+ "email" => "scott@github.com" ,
348+ "date" => "2008-07-08T16:13:30+12:00"
349+ } ,
350+ "message" => "my older commit message" ,
351+ "tree" => "392662aae29f314a428bfc6b619d97bd4ad4a727" ,
352+ "parents" => [ "afc99de753646e2c438203430e97671971740d35" ]
353+ } ,
354+ { "sha" => "afc99de753646e2c438203430e97671971740d35" ,
355+ "author" => {
356+ "name" => "Scott Chacon" ,
357+ "email" => "scott@github.com" ,
358+ "date" => "2008-07-07T16:13:30+12:00"
359+ } ,
360+ "committer" => {
361+ "name" => "Scott Chacon" ,
362+ "email" => "scott@github.com" ,
363+ "date" => "2008-07-07T16:13:30+12:00"
364+ } ,
365+ "message" => "my first commit message" ,
366+ "tree" => "8bcac778496eb77c1928aa9778f5112c6a822a19" ,
367+ "parents" => [ ]
368+ }
369+ ]
370+
371+ COMMITS = [ COMMIT ] + COMMITS_REST
372+
338373 TAG = {
339374 "sha" => "b8d04eddde9f53f3bc76dd048f3477062a27c91a" ,
340375 "tag" => "v1.0" ,
0 commit comments