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<