class Hookers::Changelog::History
Public Class Methods
between(from, to)
click to toggle source
# File lib/hookers/changelog/history.rb, line 10 def self.between(from, to) lines = %x[git log --pretty=oneline #{from}..#{to}].split(/\n/) end
first()
click to toggle source
# File lib/hookers/changelog/history.rb, line 6 def self.first %x[git rev-list --all --reverse | head -1].strip end