mirror of
https://github.com/foomo/neosproxy.git
synced 2026-11-30 08:41:46 +00:00
7 lines
160 B
Ruby
7 lines
160 B
Ruby
#!/usr/bin/env ruby
|
|
|
|
log = ARGF.read
|
|
|
|
formatted = log.gsub(/commit ([\da-f]{40})\nAuthor: .*\nDate: +.*\n\n {4}(.*)\n(?:\ {4}.*\n)*/, '|\1|\2|')
|
|
|
|
puts formatted |