Created
May 28, 2012 21:48
-
-
Save anonymous/2821328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
installs = {} | |
diags_container.blobs.each do|blob| | |
puts blob.url | |
blob.url =~ /\b([A-F0-9]{8}(?:-[A-F0-9]{4}){3}-[A-Z0-9]{12}\b)/i | |
unless $1.nil? | |
if installs[$1].nil? | |
installs[$1] = [] #init array | |
end | |
installs[$1] << blob.url | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment