From d3c648ce84572012f48b5665b09e53e85d230677 Mon Sep 17 00:00:00 2001 From: "main()" Date: Sun, 1 Jan 2012 17:10:34 +0100 Subject: [PATCH] Coding in a language you don't know is awesome. --- Baxter.rb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Baxter.rb b/Baxter.rb index b4e694c..a1a4faa 100755 --- a/Baxter.rb +++ b/Baxter.rb @@ -28,6 +28,19 @@ def issue(section, issue) end return url end + def commit(sections, hash) + actualresults = [] + sections.each do |section| + actualsection = $urlhelpers[section] + url = "https://github.com/Multiverse/Multiverse-#{actualsection}/commit/#{hash}" + begin + doc = Nokogiri::HTML(open(url)) + actualresults<