Sha256: 49e7fafa1a79cadfd77d01e3298335a53c0b712ede1bbd13dfefaa170fbb188e

Contents?: true

Size: 215 Bytes

Versions: 113

Compression:

Stored size: 215 Bytes

Contents

class Commits
  def initialize(base_head)
    @base_head = base_head.strip.split(" ".freeze)
  end

  def base
    base_head.first
  end

  def head
    base_head.last
  end

  private

  attr_reader :base_head
end

Version data entries

113 entries across 113 versions & 1 rubygems

Version Path
danger-5.3.0 lib/danger/ci_source/support/commits.rb
danger-5.2.2 lib/danger/ci_source/support/commits.rb
danger-5.2.1 lib/danger/ci_source/support/commits.rb
danger-5.2.0 lib/danger/ci_source/support/commits.rb
danger-5.1.1 lib/danger/ci_source/support/commits.rb
danger-5.1.0 lib/danger/ci_source/support/commits.rb
danger-5.0.3 lib/danger/ci_source/support/commits.rb
danger-5.0.2 lib/danger/ci_source/support/commits.rb
danger-5.0.1 lib/danger/ci_source/support/commits.rb
danger-5.0.0 lib/danger/ci_source/support/commits.rb
danger-4.3.5 lib/danger/ci_source/support/commits.rb
danger-4.3.4 lib/danger/ci_source/support/commits.rb
danger-4.3.3 lib/danger/ci_source/support/commits.rb
danger-4.3.2 lib/danger/ci_source/support/commits.rb
danger-4.3.1 lib/danger/ci_source/support/commits.rb
danger-4.3.0 lib/danger/ci_source/support/commits.rb
danger-4.2.2 lib/danger/ci_source/support/commits.rb
danger-4.2.1 lib/danger/ci_source/support/commits.rb
danger-4.2.0 lib/danger/ci_source/support/commits.rb
danger-4.1.1 lib/danger/ci_source/support/commits.rb