Skip to content

technicalpickles/le-git

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Le Git

French for “Ruby wrapper around the Github API (v2)”.

Le Git provides a Ruby wrapper around the The Github API using rest-client and happymapper.

Installing

  gem sources -a http://gems.github.com
  sudo gem install technicalpickles-le-git

Example usage

  $ irb -rrubygems -rle-git
  >> user = Github::User.find("dancroak")
  => #<Github::User:0x110655c @followers=50, @location="Boston", @repos=18, @language="Ruby", @created=#<DateTime: 42413926183/17280,0,2299161>, type"user", fullname"Dan Croak", actions35, name"dancroak", pushed#<DateTime: 106054886255767/43200000,0,2299161, @username="dancroak", @score=3.8655705, @id="user-198">

  >> repository = user.repositories.last
  => #<Github::Repository:0x301100 @private=false, @forks=0, @url="http://github.com/dancroak/le-git", @homepage="", @watchers=1, @name="le-git", @description="Ruby wrapper for the GitHub API v2.", @fork=true, @owner="dancroak">

  >> repository.commits.first
  => #<Github::Commit:0x12db33c @message="updating Repository model to use v2 API. associated User & Repository models. filled out complete API for User.", @tree="d27ed042222fe8a55681e1af260e3eb2847e9f33", @url="http://github.com/dancroak/le-git/commit/1f0111c91344062052f65922171d220a06810d4a", @id="1f0111c91344062052f65922171d220a06810d4a">

Maintainers

Running the test suite requires:

sudo gem install rest-client happymapper fakeweb jeremymcanally-context jeremymcanally-matchy jeremymcanally-pending thoughtbot-quietbacktrace redgreen rcov

About

It's a GitHub party and you're invited! Ruby wrapper for the GitHub API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages