https://github.com/mojombo/grit
**Grit is no longer maintained. Check out libgit2/rugged.** Grit gives you object oriented read/write access to Git repositories via Ruby.
https://github.com/mojombo/grit
Keywords from Contributors
activerecord activejob mvc sinatra rack feature-flag background-jobs rubygems job-scheduler job-queue
Last synced: about 3 hours ago
JSON representation
Repository metadata
**Grit is no longer maintained. Check out libgit2/rugged.** Grit gives you object oriented read/write access to Git repositories via Ruby.
- Host: GitHub
- URL: https://github.com/mojombo/grit
- Owner: mojombo
- License: mit
- Created: 2007-10-29T14:37:16.000Z (about 19 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T19:15:41.000Z (over 3 years ago)
- Last Synced: 2026-11-17T01:11:58.582Z (about 19 hours ago)
- Language: Ruby
- Homepage: http://grit.rubyforge.org/
- Size: 7.59 MB
- Stars: 2,046
- Watchers: 65
- Forks: 509
- Open Issues: 68
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: History.txt
- License: LICENSE
README.md
Grit
Grit is no longer maintained. Check out rugged.
Grit gives you object oriented read/write access to Git repositories via Ruby.
The main goals are stability and performance. To this end, some of the
interactions with Git repositories are done by shelling out to the system's
git command, and other interactions are done with pure Ruby
reimplementations of core Git functionality. This choice, however, is
transparent to end users, and you need not know which method is being used.
This software was developed to power GitHub, and should be considered
production ready. An extensive test suite is provided to verify its
correctness.
Grit is maintained by Tom Preston-Werner, Scott Chacon, Chris Wanstrath, and
PJ Hyett.
This documentation is accurate as of Grit 2.3.
Requirements
- git (http://git-scm.com) tested with 1.7.2.1
Install
Easiest install is via RubyGems:
$ gem install grit
Source
Grit's Git repo is available on GitHub, which can be browsed at:
http://github.com/mojombo/grit
and cloned with:
git clone git://github.com/mojombo/grit.git
Development
You will need these gems to get tests to pass:
- mocha
Contributing
If you'd like to hack on Grit, follow these instructions. To get all of the dependencies, install the gem first.
- Fork the project to your own account
- Clone down your fork
- Create a thoughtfully named topic branch to contain your change
- Hack away
- Add tests and make sure everything still passes by running
rake - If you are adding new functionality, document it in README.md
- Do not change the version number, I will do that on my end
- If necessary, rebase your commits into logical chunks, without errors
- Push the branch up to GitHub
- Send a pull request for your branch
Usage
Grit gives you object model access to your Git repositories. Once you have
created a Repo object, you can traverse it to find parent commits,
trees, blobs, etc.
Initialize a Repo object
The first step is to create a Grit::Repo object to represent your repo. In
this documentation I include the Grit module to reduce typing.
require 'grit'
repo = Grit::Repo.new("/Users/tom/dev/grit")
In the above example, the directory /Users/tom/dev/grit is my working
directory and contains the .git directory. You can also initialize Grit with
a bare repo.
repo = Repo.new("/var/git/grit.git")
Getting a list of commits
From the Repo object, you can get a list of commits as an array of Commit
objects.
repo.commits
# => [#<Grit::Commit "e80bbd2ce67651aa18e57fb0b43618ad4baf7750">,
#<Grit::Commit "91169e1f5fa4de2eaea3f176461f5dc784796769">,
#<Grit::Commit "038af8c329ef7c1bae4568b98bd5c58510465493">,
#<Grit::Commit "40d3057d09a7a4d61059bca9dca5ae698de58cbe">,
#<Grit::Commit "4ea50f4754937bf19461af58ce3b3d24c77311d9">]
Called without arguments, Repo#commits returns a list of up to ten commits
reachable by the master branch (starting at the latest commit). You can
ask for commits beginning at a different branch, commit, tag, etc.
repo.commits('mybranch')
repo.commits('40d3057d09a7a4d61059bca9dca5ae698de58cbe')
repo.commits('v0.1')
You can specify the maximum number of commits to return.
repo.commits('master', 100)
If you need paging, you can specify a number of commits to skip.
repo.commits('master', 10, 20)
The above will return commits 21-30 from the commit list.
The Commit object
Commit objects contain information about that commit.
head = repo.commits.first
head.id
# => "e80bbd2ce67651aa18e57fb0b43618ad4baf7750"
head.parents
# => [#<Grit::Commit "91169e1f5fa4de2eaea3f176461f5dc784796769">]
head.tree
# => #<Grit::Tree "3536eb9abac69c3e4db583ad38f3d30f8db4771f">
head.author
# => #<Grit::Actor "Tom Preston-Werner <tom@mojombo.com>">
head.authored_date
# => Wed Oct 24 22:02:31 -0700 2007
head.committer
# => #<Grit::Actor "Tom Preston-Werner <tom@mojombo.com>">
head.committed_date
# => Wed Oct 24 22:02:31 -0700 2007
head.message
# => "add Actor inspect"
You can traverse a commit's ancestry by chaining calls to #parents.
repo.commits.first.parents[0].parents[0].parents[0]
The above corresponds to master^^^ or master~3 in Git parlance.
The Tree object
A tree records pointers to the contents of a directory. Let's say you want
the root tree of the latest commit on the master branch.
tree = repo.commits.first.tree
# => #<Grit::Tree "3536eb9abac69c3e4db583ad38f3d30f8db4771f">
tree.id
# => "3536eb9abac69c3e4db583ad38f3d30f8db4771f"
Once you have a tree, you can get the contents.
contents = tree.contents
# => [#<Grit::Blob "4ebc8aea50e0a67e000ba29a30809d0a7b9b2666">,
#<Grit::Blob "81d2c27608b352814cbe979a6acd678d30219678">,
#<Grit::Tree "c3d07b0083f01a6e1ac969a0f32b8d06f20c62e5">,
#<Grit::Tree "4d00fe177a8407dbbc64a24dbfc564762c0922d8">]
This tree contains two Blob objects and two Tree objects. The trees are
subdirectories and the blobs are files. Trees below the root have additional
attributes.
contents.last.name
# => "lib"
contents.last.mode
# => "040000"
There is a convenience method that allows you to get a named sub-object
from a tree.
tree / "lib"
# => #<Grit::Tree "e74893a3d8a25cbb1367cf241cc741bfd503c4b2">
You can also get a tree directly from the repo if you know its name.
repo.tree
# => #<Grit::Tree "master">
repo.tree("91169e1f5fa4de2eaea3f176461f5dc784796769")
# => #<Grit::Tree "91169e1f5fa4de2eaea3f176461f5dc784796769">
The Blob object
A blob represents a file. Trees often contain blobs.
blob = tree.contents.first
# => #<Grit::Blob "4ebc8aea50e0a67e000ba29a30809d0a7b9b2666">
A blob has certain attributes.
blob.id
# => "4ebc8aea50e0a67e000ba29a30809d0a7b9b2666"
blob.name
# => "README.txt"
blob.mode
# => "100644"
blob.size
# => 7726
You can get the data of a blob as a string.
blob.data
# => "Grit is a library to ..."
You can also get a blob directly from the repo if you know its name.
repo.blob("4ebc8aea50e0a67e000ba29a30809d0a7b9b2666")
# => #<Grit::Blob "4ebc8aea50e0a67e000ba29a30809d0a7b9b2666">
Other
There are many more API methods available that are not documented here. Please
reference the code for more functionality.
Copyright
Copyright (c) 2010 Tom Preston-Werner. See LICENSE for details.
Owner metadata
- Name: Tom Preston-Werner
- Login: mojombo
- Email: tom@mojombo.com
- Kind: user
- Description:
- Website: http://tom.preston-werner.com
- Location: San Francisco
- Twitter: mojombo
- Company: @chatterbugapp, @redwoodjs, @preston-werner-ventures
- Icon url: https://avatars.githubusercontent.com/u/1?v=4
- Repositories: 66
- Last ynced at: 2026-11-15T01:36:37.230Z
- Profile URL: https://github.com/mojombo
GitHub Events
Total
- Commit comment event: 18
- Fork event: 31
- Issue comment event: 16
- Issues event: 14
- Watch event: 44
Last Year
- Commit comment event: 1
- Fork event: 2
- Issue comment event: 1
- Watch event: 12
Committers metadata
Last synced: 1 day ago
Total Commits: 456
Total Committers: 47
Avg Commits per committer: 9.702
Development Distribution Score (DDS): 0.656
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Tom Preston-Werner | t****m@m****m | 157 |
| Scott Chacon | s****n@g****m | 64 |
| Ryan Tomayko | r****o@g****m | 49 |
| rick | t****e@g****m | 44 |
| Chris Wanstrath | c****s@o****g | 27 |
| PJ Hyett | p****t@g****m | 17 |
| Rob Sanheim | r****m@g****m | 12 |
| Johan Sørensen | j****n@j****m | 10 |
| Bryce Kerley | b****e@w****t | 9 |
| Aman Gupta | a****n@t****t | 6 |
| Adam Keys | a****m@t****m | 4 |
| Brian Chapados | c****s@s****g | 4 |
| Tim Carey-Smith | t****m@s****n | 4 |
| David Kowis | d****s@r****m | 3 |
| Dave Copeland | d****0@g****m | 3 |
| Jeff King | p****f@p****t | 3 |
| Voker57 | v****7@g****m | 3 |
| Lee Jarvis | l****e@j****o | 2 |
| Cristi Balan | e****l@c****u | 2 |
| Hans Engel | e****l@e****o | 2 |
| Sebastian Staudt | k****r@g****m | 2 |
| Tim Dysinger | t****m@d****t | 2 |
| Vicent Marti | t****u@g****m | 2 |
| cho45 | c****5@l****t | 2 |
| gram.gibson@gmail.com | g****n@u****u | 1 |
| Wayne Larsen | w****e@l****t | 1 |
| Simon Rozet | s****n@r****e | 1 |
| Martin Traverso | m****o@a****g | 1 |
| Paul Hedderly | p****t@m****g | 1 |
| tom | t****m@t****) | 1 |
| and 17 more... | ||
Committer domains:
- github.com: 2
- uky.edu: 1
- lowreal.net: 1
- dysinger.net: 1
- engel.uk.to: 1
- che.lu: 1
- jarvis.co: 1
- peff.net: 1
- rackspace.com: 1
- spork.in: 1
- sciencegeeks.org: 1
- therealadam.com: 1
- tmm1.net: 1
- worldmedia.net: 1
- johansorensen.com: 1
- ozmm.org: 1
- mojombo.com: 1
- larsen.st: 1
- rozet.name: 1
- acm.org: 1
- mjr.org: 1
- taco.(none): 1
- railsnewbie.com: 1
- annesley.cc: 1
- ohnopublishing.net: 1
- nevercraft.net: 1
- catnook.com: 1
- mac.com: 1
- wiedler.ch: 1
- verrot.fr: 1
- spy.net: 1
- opensoul.org: 1
- hildebrand.cz: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 213
Total pull requests: 107
Average time to close issues: about 1 year
Average time to close pull requests: about 1 year
Total issue authors: 108
Total pull request authors: 80
Average comments per issue: 1.55
Average comments per pull request: 1.89
Merged pull request: 19
Bot issues: 16
Bot pull requests: 0
Past year issues: 15
Past year pull requests: 4
Past year average time to close issues: 1 minute
Past year average time to close pull requests: 3 months
Past year issue authors: 7
Past year pull request authors: 3
Past year average comments per issue: 0.13
Past year average comments per pull request: 0.25
Past year merged pull request: 0
Past year bot issues: 10
Past year bot pull requests: 0
Top Issue Authors
- weisso5 (33)
- thiagomgd (15)
- davidglassborow (11)
- flowhunt[bot] (9)
- candlerb (5)
- Les022 (5)
- ndregs (5)
- jtellojr13 (4)
- jeremytestapp[bot] (4)
- Eparchos (4)
- lockandkeyent (3)
- singhhari (3)
- TuanNguyen2807 (3)
- lolgear (2)
- masukomi (2)
Top Pull Request Authors
- jonmagic (6)
- pwnall (4)
- koraktor (4)
- peff (3)
- bobbywilson0 (2)
- snowyu (2)
- ef4 (2)
- rtomayko (2)
- schleyfox (2)
- styx (2)
- binki (2)
- joliss (2)
- bkeepers (2)
- pda (2)
- Karanpreet-ml (2)
Top Issue Labels
- bug (4)
- feature (1)
Top Pull Request Labels
Package metadata
- Total packages: 49
-
Total downloads:
- rubygems: 5,279,928 total
- Total docker downloads: 22
- Total dependent packages: 256 (may contain duplicates)
- Total dependent repositories: 3,372 (may contain duplicates)
- Total versions: 117
- Total maintainers: 6
gem.coop: grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/grit/
- Licenses: mit
- Latest release: 2.5.0 (published over 14 years ago)
- Last Synced: 2026-11-16T16:30:46.602Z (1 day ago)
- Versions: 12
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 2,519,737 Total
- Docker Downloads: 11
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.901%
- Docker downloads count: 1.479%
- Downloads: 2.125%
- Maintainers (2)
rubygems.org: grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/grit/
- Licenses: mit
- Latest release: 2.5.0 (published over 14 years ago)
- Last Synced: 2026-11-16T16:30:46.136Z (1 day ago)
- Versions: 12
- Dependent Packages: 246
- Dependent Repositories: 3,362
- Downloads: 2,519,737 Total
- Docker Downloads: 11
-
Rankings:
- Dependent packages count: 0.16%
- Dependent repos count: 0.54%
- Stargazers count: 1.151%
- Forks count: 1.169%
- Average: 1.418%
- Downloads: 1.878%
- Docker downloads count: 3.608%
- Maintainers (2)
proxy.golang.org: github.com/mojombo/grit
- Homepage:
- Documentation: https://pkg.go.dev/github.com/mojombo/grit#section-documentation
- Licenses: mit
- Latest release: v2.5.0+incompatible (published over 14 years ago)
- Last Synced: 2026-11-16T16:30:49.809Z (1 day ago)
- Versions: 15
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.442%
- Average: 5.624%
- Dependent repos count: 5.807%
rubygems.org: mojombo-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/mojombo-grit/
- Licenses: mit
- Latest release: 1.1.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:46.399Z (1 day ago)
- Versions: 5
- Dependent Packages: 8
- Dependent Repositories: 5
- Downloads: 16,507 Total
-
Rankings:
- Stargazers count: 1.144%
- Forks count: 1.163%
- Dependent packages count: 2.053%
- Dependent repos count: 9.876%
- Average: 10.211%
- Downloads: 36.819%
gem.coop: mojombo-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/mojombo-grit/
- Licenses: mit
- Latest release: 1.1.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:46.404Z (1 day ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 16,507 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 12.085%
- Downloads: 36.254%
gem.coop: klarrimore-routengn
RouteNGN is an Advanced SIP Redirect Routing Platform.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/klarrimore-routengn/
- Licenses: mit
- Latest release: 0.24 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.346Z (1 day ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 14,527 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 12.477%
- Downloads: 37.43%
rubygems.org: schleyfox-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/schleyfox-grit/
- Licenses: mit
- Latest release: 2.3.0.1 (published almost 16 years ago)
- Last Synced: 2026-11-16T16:30:50.699Z (1 day ago)
- Versions: 2
- Dependent Packages: 1
- Dependent Repositories: 2
- Downloads: 9,017 Total
-
Rankings:
- Stargazers count: 1.144%
- Forks count: 1.163%
- Dependent packages count: 7.75%
- Dependent repos count: 15.45%
- Average: 15.468%
- Downloads: 51.832%
- Maintainers (1)
gem.coop: idris-auto_complete_jquery
This plugin provides a auto-complete method for your controllers to be used with Dylan Verheul's jquery autocomplete plugin.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/idris-auto_complete_jquery/
- Licenses: mit
- Latest release: 0.1.2 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.894Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 9,568 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 16.251%
- Downloads: 48.753%
gem.coop: square-circle-triangle-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/square-circle-triangle-grit/
- Licenses: mit
- Latest release: 1.1.4 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:46.493Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 8,957 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 16.957%
- Downloads: 50.871%
gem.coop: schleyfox-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/schleyfox-grit/
- Licenses: mit
- Latest release: 2.3.0.1 (published almost 16 years ago)
- Last Synced: 2026-11-16T16:30:47.630Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 9,017 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 17.312%
- Downloads: 51.937%
- Maintainers (1)
gem.coop: rhomobile-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/rhomobile-grit/
- Licenses: mit
- Latest release: 2.4.2 (published over 15 years ago)
- Last Synced: 2026-11-16T16:30:45.963Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 8,540 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 17.886%
- Downloads: 53.659%
- Maintainers (1)
rubygems.org: rhomobile-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/rhomobile-grit/
- Licenses: mit
- Latest release: 2.4.2 (published over 15 years ago)
- Last Synced: 2026-11-16T16:30:57.182Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 8,540 Total
-
Rankings:
- Stargazers count: 1.144%
- Forks count: 1.163%
- Dependent packages count: 15.777%
- Average: 18.661%
- Dependent repos count: 21.718%
- Downloads: 53.503%
- Maintainers (1)
rubygems.org: jugyo-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/jugyo-grit/
- Licenses: mit
- Latest release: 2.4.2 (published over 15 years ago)
- Last Synced: 2026-11-16T16:30:46.110Z (1 day ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 2
- Downloads: 5,126 Total
-
Rankings:
- Stargazers count: 1.144%
- Forks count: 1.163%
- Dependent packages count: 7.75%
- Dependent repos count: 15.45%
- Average: 19.064%
- Downloads: 69.814%
- Maintainers (1)
gem.coop: davetron5000-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/davetron5000-grit/
- Licenses: mit
- Latest release: 1.1.3 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.858Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 7,017 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 19.459%
- Downloads: 58.377%
rubygems.org: klarrimore-routengn
RouteNGN is an Advanced SIP Redirect Routing Platform.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/klarrimore-routengn/
- Licenses: mit
- Latest release: 0.24 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:51.001Z (1 day ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 14,527 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.041%
- Dependent packages count: 15.706%
- Average: 20.376%
- Downloads: 37.466%
- Dependent repos count: 46.782%
gem.coop: relevance-grit
Grit is a Ruby library for extracting information from a git repository in and object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/relevance-grit/
- Licenses: mit
- Latest release: 0.8.3 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.590Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,136 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 20.869%
- Downloads: 62.608%
rubygems.org: idris-auto_complete_jquery
This plugin provides a auto-complete method for your controllers to be used with Dylan Verheul's jquery autocomplete plugin.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/idris-auto_complete_jquery/
- Licenses: mit
- Latest release: 0.1.2 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:57.177Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 9,568 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 22.86%
- Dependent repos count: 46.782%
- Downloads: 49.882%
rubygems.org: square-circle-triangle-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/square-circle-triangle-grit/
- Licenses: mit
- Latest release: 1.1.4 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:57.184Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 8,957 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.041%
- Dependent packages count: 15.706%
- Average: 23.244%
- Dependent repos count: 46.782%
- Downloads: 51.808%
rubygems.org: davetron5000-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/davetron5000-grit/
- Licenses: mit
- Latest release: 1.1.3 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.843Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 7,017 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 24.639%
- Dependent repos count: 46.782%
- Downloads: 58.774%
gem.coop: trans-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner. This release is from the styx fork, which corrects issue for use with Ruby 2.0.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/trans-grit/
- Licenses: mit
- Latest release: 2.5.0 (published over 13 years ago)
- Last Synced: 2026-11-16T16:30:50.579Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,516 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 25.334%
- Downloads: 76.001%
- Maintainers (1)
rubygems.org: relevance-grit
Grit is a Ruby library for extracting information from a git repository in and object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/relevance-grit/
- Licenses: mit
- Latest release: 0.8.3 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:51.180Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6,136 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 25.453%
- Dependent repos count: 46.782%
- Downloads: 62.847%
gem.coop: cho45-grit
Grit is a Ruby library for extracting information from a git repository in and object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/cho45-grit/
- Licenses: mit
- Latest release: 0.8.2 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:50.402Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,021 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 26.287%
- Downloads: 78.861%
gem.coop: edgerunner-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/edgerunner-globalite/
- Licenses: mit
- Latest release: 0.5.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.340Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,955 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 26.474%
- Downloads: 79.422%
gem.coop: jugyo-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/jugyo-grit/
- Licenses: mit
- Latest release: 2.4.2 (published over 15 years ago)
- Last Synced: 2026-11-16T16:30:48.940Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 5,126 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 26.691%
- Downloads: 80.073%
- Maintainers (1)
gem.coop: koke-grit
Grit is a Ruby library for extracting information from a git repository in and object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/koke-grit/
- Licenses: mit
- Latest release: 0.8.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:51.683Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,810 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.056%
- Downloads: 81.168%
gem.coop: steveh-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/steveh-grit/
- Licenses: mit
- Latest release: 1.1.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:50.716Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,786 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.123%
- Downloads: 81.368%
gem.coop: morhekil-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/morhekil-globalite/
- Licenses: mit
- Latest release: 0.5.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:53.493Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,733 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.292%
- Downloads: 81.876%
gem.coop: matta-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/matta-globalite/
- Licenses: mit
- Latest release: 0.5.0 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:53.553Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,704 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.465%
- Downloads: 82.396%
gem.coop: mattetti-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/mattetti-globalite/
- Licenses: mit
- Latest release: 0.5.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.087Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,672 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.539%
- Downloads: 82.618%
gem.coop: robinluckey-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/robinluckey-grit/
- Licenses: mit
- Latest release: 1.1.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.316Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,635 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.728%
- Downloads: 83.184%
rubygems.org: trans-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner. This release is from the styx fork, which corrects issue for use with Ruby 2.0.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/trans-grit/
- Licenses: mit
- Latest release: 2.5.0 (published over 13 years ago)
- Last Synced: 2026-11-16T16:30:47.023Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,516 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 28.421%
- Dependent repos count: 46.782%
- Downloads: 77.685%
- Maintainers (1)
rubygems.org: cho45-grit
Grit is a Ruby library for extracting information from a git repository in and object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/cho45-grit/
- Licenses: mit
- Latest release: 0.8.2 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.157Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,021 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 28.649%
- Dependent repos count: 46.782%
- Downloads: 78.826%
rubygems.org: edgerunner-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/edgerunner-globalite/
- Licenses: mit
- Latest release: 0.5.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:50.579Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,955 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 28.958%
- Dependent repos count: 46.782%
- Downloads: 80.373%
rubygems.org: steveh-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/steveh-grit/
- Licenses: mit
- Latest release: 1.1.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:50.651Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,786 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 29.305%
- Dependent repos count: 46.782%
- Downloads: 82.108%
rubygems.org: morhekil-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/morhekil-globalite/
- Licenses: mit
- Latest release: 0.5.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:51.580Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,733 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.041%
- Dependent packages count: 15.706%
- Average: 29.311%
- Dependent repos count: 46.782%
- Downloads: 82.142%
rubygems.org: koke-grit
Grit is a Ruby library for extracting information from a git repository in and object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/koke-grit/
- Licenses: mit
- Latest release: 0.8.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:53.832Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,810 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 29.382%
- Dependent repos count: 46.782%
- Downloads: 82.49%
rubygems.org: matta-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/matta-globalite/
- Licenses: mit
- Latest release: 0.5.0 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:46.906Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,704 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 29.456%
- Dependent repos count: 46.782%
- Downloads: 82.86%
rubygems.org: mattetti-globalite
Easy UI localization, Rails localization. (Localization of the core functions from rails), Simple yet powerful solution for user content availability in multiple languages.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/mattetti-globalite/
- Licenses: mit
- Latest release: 0.5.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:54.647Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,672 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.045%
- Dependent packages count: 15.706%
- Average: 29.489%
- Dependent repos count: 46.782%
- Downloads: 83.027%
rubygems.org: robinluckey-grit
Grit is a Ruby library for extracting information from a git repository in an object oriented manner.
- Homepage: http://github.com/mojombo/grit
- Documentation: http://www.rubydoc.info/gems/robinluckey-grit/
- Licenses: mit
- Latest release: 1.1.1 (published over 12 years ago)
- Last Synced: 2026-11-16T16:30:51.261Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,635 Total
-
Rankings:
- Forks count: 0.885%
- Stargazers count: 1.041%
- Dependent packages count: 15.706%
- Average: 29.537%
- Dependent repos count: 46.782%
- Downloads: 83.273%
debian-10: ruby-grit
- Homepage: http://github.com/mojombo/grit
- Documentation: https://packages.debian.org/buster/ruby-grit
- Licenses: mit
- Latest release: 2.8.2-2 (published 9 months ago)
- Last Synced: 2026-07-26T03:03:38.547Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-03-11T18:33:09.320Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Documentation: https://packages.debian.org/bullseye/ruby-grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-03-14T06:23:04.180Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.04: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-09-07T13:28:05.635Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.10: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-09-07T13:28:07.369Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Documentation: https://packages.debian.org/trixie/ruby-grit
- Licenses: mit
- Latest release: 2.8.3-1 (published 9 months ago)
- Last Synced: 2026-03-14T18:09:34.427Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-03-13T23:37:15.725Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-03-13T19:23:41.137Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-grit
- Homepage: https://github.com/mojombo/grit
- Documentation: https://packages.debian.org/bookworm/ruby-grit
- Licenses: mit
- Latest release: 2.8.2-3 (published 9 months ago)
- Last Synced: 2026-03-13T03:29:03.677Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- mocha >= 0 development
- diff-lcs ~> 1.1
- mime-types ~> 1.15
- posix-spawn ~> 0.3.6
Score: 26.986600359960043