Commits on Dec 6, 2015
  1. Version bump (0.8.0)

    [ci skip]
    committed Dec 6, 2015
  2. Merge pull request #63 from kevinjalbert/fix-rugged-and-other-updates

    Fix Rugged and other updates
    committed Dec 6, 2015
  3. Fix Rugged and other updates

    This fixes major issues as runtime gems weren't locked down, so Rugged
    actually updated and caused breaking changes.
    
     - Update gemspec to lock in minor version of runtime gems
     - Use pessimistic version for gemfile
     - Fix up rubocop issues, update rubocop rules
     - Convert specs to use RSpec 3 newer `expect` and `allow` methods
     - Group it blocks in RSpec for quicker tests
     - Remove Gitter badge on README
     - Specify the use of ruby 2.2.0 in travis ci
     - Remove .ruby-version file
     - Fix use of Rugged's updated version; how we acquire the repository
       and branch as the original methods changed
     - Minor style changes (newlines, quotes)
    committed Dec 5, 2015
Commits on May 22, 2014
Commits on May 21, 2014
Commits on May 9, 2014
Commits on May 8, 2014
Commits on Jan 29, 2014
  1. Update README with Gitter badge, remove Bitdeli

    [ci skip]
    committed Jan 29, 2014
Commits on Dec 31, 2013
  1. Fix #6: Language output is sorted alphabetically

    Fix:
     * Unsorted languages in console output
    committed Dec 31, 2013
Commits on Oct 11, 2013
  1. Version bump (0.7.0)

    [ci skip]
    committed Oct 10, 2013
  2. Merge pull request #61 from kevinjalbert/move-to-rugged

    Move from Grit to Rugged for git processing
    committed Oct 10, 2013
Commits on Oct 10, 2013
  1. Adjust branch option to specify the branch to collect statistics on

    Change:
     * The function of the branch CLI flag to specify the specific branch
       we want to collect statistics on. This differs from the original
       function since we use to be able to collect all commits on a set of
       branches. Rugged only allows us to walk through from the HEAD of one
       branch at a time (we might be able to expand on this by doing
       multiple walks from the HEAD of each branch).
    
    Refactor:
     * spec_helper to require git_statistics since it will include CLI class
       and by default it will also include the initialize file
     * The way we pass the branch into the collection method (pass it within
       the options hash)
    
    Add:
     * Default branch constant in CLI class
    committed Oct 9, 2013
Commits on Oct 4, 2013
  1. Update minimum Ruby version to 1.9.3, add travis-ci support for 2.0.0

    Update:
     * gemspec's minimum Ruby version to >= 1.9.3
     * .ruby-version to use 2.0.0 (newest supported ruby version)
    
    Remove:
     * Ruby 1.9.2 testing for travis-ci
    
    Add:
     * Ruby 2.0.0 testing for travis-ci
    committed Oct 3, 2013
Commits on Sep 29, 2013
  1. 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
    committed Sep 29, 2013
Commits on Sep 22, 2013
  1. Add Bitdeli Badge to README

    [ci skip]
    committed Sep 22, 2013
  2. Remove split_file class and spec, as they are not needed anymore (Grit)

    Remove:
     * split_file class
     * split_file spec
    committed Sep 22, 2013
  3. Merge pull request #54 from kevinjalbert/commit-object

    Merge commit-object into master
    committed Sep 22, 2013
  4. Forgot to remove old methods and move specs from 353ba53 (blob_finder)

    Remove:
     * Old methods in utilities.rb, which were moved to blob_finder.rb
    
    Move:
     * Specs related to the blob_finder from utilities.rb spec location
    committed Sep 22, 2013
  5. Fix flushing of commits to always force flush the last batch

    Fix:
     * Flushing commits to take a 'force' param to force the last batch of
       commits to be flushed (the last set was not being saved to JSON)
     * A shadowing issue of the variable 'file' in commits.rb
    committed Sep 22, 2013
Commits on Sep 21, 2013
  1. Add regex time check to collector_spec#extract_commit with valid commit

    Add:
     * Spec to check the time using regex for time format matching, this was
       removed back in 4c56172
    committed Sep 21, 2013
  2. Refactor location of #get_blob and #find_blob_in_tree to own module

    Refactor:
     * #get_blob and #find_blob_in_tree to its own module
    committed Sep 21, 2013
  3. Refactor blob language acquisition, check for instance of 'tree'

    Refactor:
     * Blob language acquisition (determine_file_summary)
    
    Add:
     * Additional check on blob to see if it is an instances of Grit::Tree,
       these trees don't have a language (and the sub blobs are still
       covered via the rest of the diff stats)
     * tree? method to diff_summary
     * 'Submodule' as a language
    committed Sep 21, 2013
Commits on Jun 28, 2013
  1. Remove time check on collector_spec#extract_commit with valid commit

    Remove:
     * The spec for checking the time of the valid commit as Grit on travis
       CI does not use the same timezone information and causes this spec
       to fail
    committed Jun 28, 2013
  2. Attempt to fix travis-ci build (Grit needs the master branch present)

    Add:
     * Comments in the .travis.yml explaining some of the before_scripts
     * Additional before_scripts for acquiring the master branch
    committed Jun 28, 2013
Commits on Jun 8, 2013
  1. Cache expensive results in the commit_summary for performance gains

    Add:
     * Simple caching of the commit's show and file_stats. A well needed
       increase in performance (16s to 5s on current git_statistics repo),
       which puts the performance back to par using git logs as the
       collection method
    committed Jun 7, 2013
  2. Refactor collection process to use Grit/CommitSummary vs Git Logs

    Massive commit here which does a number of significant changes to the
    source. Namely the collection process has been simplified to use Grit
    and the newly CommitSummary class. This approach completely removes the
    use of acquiring and parsing the Git Logs manually to extract commit and
    file information.
    
    Add:
     * Grit git timeout and max_size overrides (for larger repos/commits)
     * The ability to iterate over Grit commits of the repo in question
     * The integration of using the CommitSummary class to collect details
       for each commit object
     * Additional logic to calculate_statistics using exported files, or
       just in memory commits
     * Additional work on determine_file_summary(…) for working with the
       new changes, and for conforming to the 'hash' data for integration of
       the reports (for the time being)
    
    Remove:
     * All git log acquisition code
     * All git log parsing code (i.e., parsers, regex and buffers)
     * The 'force' option when flushing commits
     * Old and unneeded fixtures (git log, branches, buffers)
    
    Refactor:
     * The collect process to use Grit's options hash to pass in information
       such as the time_since and time_until
     * Specs to conform to the new/renamed hash attributes (i.e., filestatus
       and new_files/removed_files)
     * Existing fixtures of exported author json files to conform to the new
       changes (i.e., single_author_pretty and multiple_authors)
    committed Jun 7, 2013