github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

technicalpickles / le-git

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 15
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (2)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (2)
    • v0.2.0
    • v0.1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

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

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Regenerated gemspec for version 0.2.0 
technicalpickles (author)
Thu Jun 11 22:54:31 -0700 2009
commit  872c6a6923e8483ff223dfce61502834faa1d9c0
tree    9ff173afe0bbd6ec26f2c799994714ec02f9fee3
parent  984b8100960f2ca5772b6f58213d4736c0a69477
le-git /
name age
history
message
file .gitignore Loading commit data...
file LICENSE
file README.textile
file Rakefile
file VERSION.yml
file le-git.gemspec
directory lib/
directory rails/
directory test/
README.textile

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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server