Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby interface to common SCMs
Ruby
branch: master
Failed to load latest commit information.
lib Allow Repositories to store global options which are included in ever…
spec Raise an exception if :bare is passed to Hg.create.
.document Initial commit.
.gitignore
.rspec Initial commit.
.yardopts Initial commit.
ChangeLog.md Updated the ChangeLog.
LICENSE.txt Initial commit.
README.md Initial commit.
Rakefile Use warn.
gemspec.yml Use rubygems-tasks ~> 0.1.
scm.gemspec Populate $LOAD_PATH before loading the version.rb file.

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.

Something went wrong with that request. Please try again.