Sha256: 0228d2c0db6aa5a5e4070756f7252e11223add968176df8d0eb81b19f90fae19

Contents?: true

Size: 258 Bytes

Versions: 6

Compression:

Stored size: 258 Bytes

Contents

require 'grit'

module Rugged
  class Repository
    def blame(filepath)
      # TODO: Using grit blame implementation for now.
      # Replace it with Rugged implementation when it's available.
      ::Grit::Repo.new(path).blame(filepath)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pronto-0.2.2 lib/pronto/rugged/repository.rb
pronto-0.2.1 lib/pronto/rugged/repository.rb
pronto-0.2.0 lib/pronto/rugged/repository.rb
pronto-0.1.7 lib/pronto/rugged/repository.rb
pronto-0.1.6 lib/pronto/rugged/repository.rb
pronto-0.1.5 lib/pronto/rugged/repository.rb