Class: ChkBuild::Build::GitHub
- Inherits:
-
Object
- Object
- ChkBuild::Build::GitHub
- Defined in:
- lib/chkbuild/scm/git.rb
Instance Method Summary collapse
- #commit_uri(commit_hash) ⇒ Object
-
#initialize(user, project) ⇒ GitHub
constructor
A new instance of GitHub.
Constructor Details
#initialize(user, project) ⇒ GitHub
Returns a new instance of GitHub.
198 199 200 201 |
# File 'lib/chkbuild/scm/git.rb', line 198 def initialize(user, project) @user = user @project = project end |
Instance Method Details
#commit_uri(commit_hash) ⇒ Object
203 204 205 206 |
# File 'lib/chkbuild/scm/git.rb', line 203 def commit_uri(commit_hash) # http://github.com/brixen/rubyspec/commit/b8f8eb6765afe915f2ecfdbbe59a53e6393d6865 "http://github.com/#{@user}/#{@project}/commit/#{commit_hash}" end |