OVERVIEW
Project | Ed |
---|---|
Homepage | https://github.com/robgleeson/ed |
Wiki | https://github.com/robgleeson/ed/wiki |
Documentation | http://rubydoc.info/gems/ed/frames |
Author | Rob Gleeson |
DESCRIPTION
Ed is a library that you can use to talk to Git from Ruby.
It is useful when you'd like to run Ruby code in the context of multiple
commits, tags, or branchs.
EXAMPLE
The example below shows how you can run the test suite of two different
tags from a remote repository.
The examples directory
has a few other examples you might want to check out.
1.
Run the tests for tag 'v0.1.0' and tag 'v0.2.0'.
Ed.new "git://github.com/robgleeson/observe.git" do
tag "v0.1.0" do |path|
system "cd '#{path}' && rake test"
end
tag "v0.2.0" do |path|
system "cd '#{path}' && rake test"
end
end
PLATFORM SUPPORT
supported
- CRuby 1.9
INSTALL
gem install ed
LICENSE
See LICENSE.txt