Class: Yobi::TagChange

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/yobi/repository/tag.rb,
sig/yobi.rbs

Overview

One "changed" message from a tag run. old_snapshot_id is now stale: tags are part of a snapshot's content-addressed identity, so changing them produces a new snapshot ID.

Instance Method Summary collapse

Instance Method Details

#new_snapshot_idString

Returns:

  • (String)


85
86
87
# File 'lib/yobi/repository/tag.rb', line 85

def new_snapshot_id
  self["new_snapshot_id"]
end

#old_snapshot_idString

Returns:

  • (String)


80
81
82
# File 'lib/yobi/repository/tag.rb', line 80

def old_snapshot_id
  self["old_snapshot_id"]
end