Sha256: dc3d9bb665e6ad2baa64b2e165cb81669eb1ab73711937dbdfaa62993ba2623b

Contents?: true

Size: 258 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
pronto-0.1.4 lib/pronto/rugged/repository.rb
pronto-0.1.3 lib/pronto/rugged/repository.rb
pronto-0.1.2 lib/rugged/repository.rb
pronto-0.1.1 lib/rugged/repository.rb
pronto-0.1.0 lib/rugged/repository.rb