Ruby interface to common SCMs
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.document
.gitignore
.rspec
.yardopts
ChangeLog.md
LICENSE.txt
README.md
Rakefile
gemspec.yml
scm.gemspec

README.md

SCM

Description

{SCM} is a simple Ruby library for interacting with common SCMs, such as Git, Mercurial (Hg) and SubVersion (SVN).

Features

Examples

require 'scm'

repo = SCM::Git.new('path/to/repo')

repo.branches
# => [...]

repo.tags
# => [...]

repo.status
# => {...}

repo.log

Install

$ gem install scm

Copyright

Copyright (c) 2011 Hal Brodigan

See {file:LICENSE.txt} for details.