Sha256: 74ea34386c84107284329a0e167d431aa021e2534c49e3ee0b53cc7149a7ed71
Contents?: true
Size: 803 Bytes
Versions: 17
Compression:
Stored size: 803 Bytes
Contents
module RJGit import 'org.eclipse.jgit.revwalk' import 'org.eclipse.jgit.revwalk.RevTag' class Tag attr_reader :id, :jtag RJGit.delegate_to(RevTag, :@jtag) def initialize(jtag) @jtag = jtag @id = ObjectId.to_string(jtag.get_id) end def full_message @full_message ||= @jtag.get_full_message end def short_message @short_message ||= @jtag.get_short_message end def actor @actor ||= Actor.new_from_person_ident(@jtag.get_tagger_ident) end def name @name ||= @jtag.get_tag_name end def type @type ||= @jtag.get_type end def object @object ||= @jtag.get_object end def object_type @object_type ||= object.get_type end end end
Version data entries
17 entries across 17 versions & 1 rubygems