lib/lolcommits/git_info.rb in acmcommits-1.0.11 vs lib/lolcommits/git_info.rb in acmcommits-1.0.12
- old
+ new
@@ -1,6 +1,6 @@
-module Acmcommits
+module Lolcommits
class GitInfo
include Methadone::CLILogging
attr_accessor :sha, :message, :repo_internal_path, :repo
def initialize
@@ -14,14 +14,14 @@
self.sha = commit.sha[0..10]
self.repo_internal_path = g.repo.path
regex = /.*[:\/](\w*).git/
match = g.remote.url.match regex if g.remote.url
self.repo = match[1] if match
-
+
debug "GitInfo: parsed the following values from commit:"
debug "GitInfo: \t#{self.message}"
debug "GitInfo: \t#{self.sha}"
- debug "GitInfo: \t#{self.repo_internal_path}"
+ debug "GitInfo: \t#{self.repo_internal_path}"
debug "GitInfo: \t#{self.repo}"
end
end
end