Sha256: 64a832a6f66bef0d9e3d83ad7601848d977f703293a7f2868d98d921ec00900c

Contents?: true

Size: 333 Bytes

Versions: 57

Compression:

Stored size: 333 Bytes

Contents

module Redcar
  module Scm
    module Git
      class Commit
        include Redcar::Scm::ScmCommitsMirror::Commit
        
        def initialize(commit)
          @commit = commit
        end
        
        def text
          @commit.sha[0, 7] + " - " + @commit.message.split("\n").first
        end
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 2 rubygems

Version Path
redcar-0.13 plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.13.5dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.13.4dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.13.3dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.13.2dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.13.1dev plugins/scm_git/lib/scm_git/commit.rb
redcar-0.12.1 plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.13.0dev plugins/scm_git/lib/scm_git/commit.rb
redcar-0.12 plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.27dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.26dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.25dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.24dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.23dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.22dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.21dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.20dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.19dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.18dev plugins/scm_git/lib/scm_git/commit.rb
redcar-dev-0.12.17dev plugins/scm_git/lib/scm_git/commit.rb