<commit_before>= git_hub
    by:: Arvicco
    url:: http://github.com/arvicco/git_hub

== DESCRIPTION:

git_hub is a library that wraps github API and exposes simple interface for
finding, creating and managing github repositories and other resources...

== FEATURES/PROBLEMS:

* FIXME (list of features or problems)
This project is quite new, so it's probably not ready for prime time just yet...
Contributors always welcome!

== SYNOPSIS:

  require 'git_hub'
  include GitHub

# Find existing repos:
  repo = Repo.find(:user=>user_name, :repo=>repo_name)
  repos = Repo.find(:user=>user_name)
  search_repos = Repo.find(:query=>['search','terms'])

# Retrieve tags, branches and commits for a repo:
  puts repo.tags['v0.1.0']
  puts repo.branches['master']
  repo.commits.each {|commit| p commit.author}

# Retrieve info for a specific commit:
commits = Commit.find(:user=>user_name, :repo=>repo_name, :branch=>'master')
commits = Commit.find(:user=>user_name, :repo=>repo_name, :branch=>'master', :path=>'README.rdoc')
commit = Commit.find(:user=>user_name, :repo=>repo_name, :sha=>'commit_sha')
# or, if repo is already retrieved:
commit = repo.commits.last
commit = repo.tags['v0.1.0']  #TODO - now returns only sha, not Commit

# Create new repo or delete existing repo (need to authenticate with your github credentials first)
Api.auth = {:user=>user_name, :token=>token}
new_repo = Repo.create(:name=>repo_name, :desc=>'Description', :homepage=>'http://your_page.org', :private=> false)
new_repo.delete

== REQUIREMENTS:

* FIXME (list of requirements)

== INSTALL:

$ sudo gem install git_hub

== LICENSE:

(The MIT License)

Copyright (c) 2009 Arvicco

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:<commit_msg>Readme fixed 2010-01-12 08:19:01 UTC<commit_after>= git_hub
    by: Arvicco
    url: http://github.com/arvicco/git_hub

== DESCRIPTION:

git_hub is a library that wraps github API and exposes simple interface for
finding, creating and managing github repositories and other resources...

== FEATURES/PROBLEMS:

* FIXME (list of features or problems)
This project is quite new, so it's probably not ready for prime time just yet...
Contributors always welcome!

== SYNOPSIS:

  require 'git_hub'
  include GitHub

# Find existing repos:
  repo = Repo.find(:user=>user_name, :repo=>repo_name)
  repos = Repo.find(:user=>user_name)
  search_repos = Repo.find(:query=>['search','terms'])

# Retrieve tags, branches and commits for a repo:
  puts repo.tags['v0.1.0'].committer
  puts repo.branches['master'].committed_date
  repo.commits.each {|commit| p commit.author}

# Retrieve info for a specific commit:
  commits = Commit.find(:user=>user_name, :repo=>repo_name, :branch=>'master')
  commits = Commit.find(:user=>user_name, :repo=>repo_name, :branch=>'master', :path=>'README.rdoc')
  commit = Commit.find(:user=>user_name, :repo=>repo_name, :sha=>'commit_sha')
  # or, if repo is already retrieved:
  commit = repo.commits.last
  commit = repo.tags['v0.1.0']
  commit = repo.branches['master']  # returns most recent commit for a branch

# Create new repo or delete existing repo (need to authenticate with your github credentials first)
  Api.auth = {:user=>user_name, :token=>token}
  new_repo = Repo.create(:name=>repo_name, :desc=>'Description', :homepage=>'http://your_page.org', :private=> false)
  new_repo.delete

== REQUIREMENTS:

* FIXME (list of requirements)

== INSTALL:

  $ sudo gem install git_hub

== LICENSE:

(The MIT License)

Copyright (c) 2009 Arvicco

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.007874015748031496, 'mean_word_length': 5.11756373937677, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3650705', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1318, 'n_words': 465}