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.10.1 lib/danger/ci_source/support/commits.rb
danger-5.10.0 lib/danger/ci_source/support/commits.rb
danger-5.9.1 lib/danger/ci_source/support/commits.rb
danger-5.9.0 lib/danger/ci_source/support/commits.rb
danger-5.8.2 lib/danger/ci_source/support/commits.rb
danger-5.8.1 lib/danger/ci_source/support/commits.rb
danger-5.8.0 lib/danger/ci_source/support/commits.rb
danger-5.7.1 lib/danger/ci_source/support/commits.rb
danger-5.7.0 lib/danger/ci_source/support/commits.rb
danger-5.6.7 lib/danger/ci_source/support/commits.rb
danger-5.6.6 lib/danger/ci_source/support/commits.rb
danger-5.6.5 lib/danger/ci_source/support/commits.rb
danger-5.6.4 lib/danger/ci_source/support/commits.rb
danger-5.6.3 lib/danger/ci_source/support/commits.rb
danger-5.6.2 lib/danger/ci_source/support/commits.rb
danger-5.6.1 lib/danger/ci_source/support/commits.rb
danger-5.6.0 lib/danger/ci_source/support/commits.rb
danger-5.5.13 lib/danger/ci_source/support/commits.rb
danger-5.5.12 lib/danger/ci_source/support/commits.rb
danger-5.5.11 lib/danger/ci_source/support/commits.rb