class RspecProfiling::VCS::Svn
Public Instance Methods
branch()
click to toggle source
# File lib/rspec_profiling/vcs/svn.rb, line 6 def branch nil end
sha()
click to toggle source
# File lib/rspec_profiling/vcs/svn.rb, line 10 def sha `svn info -r 'HEAD' | grep "Revision" | cut -f2 -d' '` end
time()
click to toggle source
# File lib/rspec_profiling/vcs/svn.rb, line 14 def time Time.parse `svn info -r 'HEAD' | grep "Last Changed Date" | cut -f4,5,6 -d' '` end