-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reviewed all files. updated name to le git. updated README to include…
… laundry list of needed gems. got tests running (but failing).
- Loading branch information
Dan Croak
committed
May 26, 2009
1 parent
0f4ea3c
commit edbfb10
Showing
15 changed files
with
63 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
tags | ||
pkg | ||
*.swp | ||
*.swo | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
h1. Le Git | ||
|
||
bq. French for "Ruby wrapper around the Github API (v2)". | ||
|
||
Le Git provides a Ruby wrapper around the "The GitHub API":http://github.com/guides/the-github-api using "rest-client":http://rdoc.info/projects/adamwiggins/rest-client and "happymapper":http://rdoc.info/projects/jnunemaker/happymapper. | ||
|
||
h2. Example usage | ||
|
||
require 'rubygems' | ||
require 'le_git' | ||
|
||
commits = GitHub::Commit.find "caged", "gitnub", :all | ||
|
||
commit = GitHub::Commit.find "defunkt", "github-gem", "c26d4ce9807ecf57d3f9eefe19ae64e75bcaaa8b" | ||
|
||
repositories = GitHub::Repository.search "merb" | ||
|
||
user = GitHub::User.find "defunkt" | ||
|
||
h2. Maintainers | ||
|
||
Running the test suite requires: | ||
|
||
sudo gem install happymapper fakeweb rcov jeremymcanally-context jeremymcanally-matchy jeremymcanally-pending thoughtbot-quietbacktrace redgreen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
require 'rubygems' | ||
|
||
require 'happymapper' | ||
require 'rest_client' | ||
|
||
require 'le_git/repository' | ||
require 'le_git/user' | ||
require 'le_git/commit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
require 'test/unit' | ||
require 'rubygems' | ||
require 'context' | ||
require 'matchy' | ||
require 'pending' | ||
require 'fake_web' | ||
require 'quietbacktrace' | ||
require 'redgreen' | ||
|
||
FakeWeb.allow_net_connect = false | ||
|
||
CONTEXT_NOISE = %w(context) | ||
|
||
backtrace_cleaner = QuietBacktrace::BacktraceCleaner.new | ||
backtrace_cleaner.add_silencer { |line| line.include?(CONTEXT_NOISE) } | ||
|
||
require 'context' | ||
require 'matchy' | ||
require 'pending' | ||
|
||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib') ) | ||
require 'github_party' | ||
require 'le_git' | ||
|