• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kevinjalbert / git_statistics / 411 / 2
83%
master: 84%

Build:
Build:
LAST BUILD BRANCH: statistics-class
DEFAULT BRANCH: master
Ran 29 Sep 2013 11:33PM UTC
Files 9
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Sep 2013 11:33PM UTC coverage: 95.058%. First build
1.9.3

push

travis-ci

kevinjalbert
Add initial support for libgit2/rugged involving massive changes

Large change set here! Difficult to split this up into modular changes
as Grit at the time was the heart of the processing. The initial
implementation done here for Rugged works, and all the specs are
currently passing.

The GPG signing issue is no longer an issue, and Rugged also provides
a substantial speed boost and memory reduction than the Grit
implementation. The current state also run on Ruby 2.0.x as we are not
held back by Grit.

Remove:
 * The use of Grit for git processing
 * repo.rb as Rugged::Repository provided sufficient repo finding
   capabilities
 * Mixin for Grit::Blob to include LanguageSniffer functionality
 * blob_finder.rb as Rugged::Diff::Patch provides sufficient
   functionality to acquire the individual SHA's of blobs affected in
   the diff, which then can be Rugged::Repository.lookup(sha)
 * FileSummary struct and instead just use the patch information from
   DiffSummary

Add:
 * Rugged for git processing
 * Direct use of LanguageSniffer in diff_summary to detect the language
   of the diff's content (using the blob in question)
 * Additional functionality to diff_summary.rb as it now is responsible
   for working with patches (provides #additions, #deletions, #status)
 * Additional information on LanguageSummary (:added_files,
   :deleted_files, :modified_files)

Refactor:
 * How we found the commits to process, Grit::Commit.find_all(…) was
   replaces with Rugged::Walker
 * spec_helper.rb to now use Rugged::Repository instead of our own class
 * The terminology of :create, :delete to :added_files, :deleted_files

Fix:
 * The ability to handle time_since and time_until for commits to work
   with Rugged (check on each commit if it is valid -- #valid_commit?)
 * Specs to work with new implementation and terminologies
 * fixtures to use the updated key names

327 of 344 relevant lines covered (95.06%)

126.77 hits per line

Source Files on job 411.2 (1.9.3)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 411
  • Travis Job 411.2
  • 3d703a79 on github
  • Next Job for 1.9.3 on move-to-rugged (#413.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc