Sha256: 06a9450999bc903146661fbeee9dd407ae815061897dc0775f2deacc586ee277
Contents?: true
Size: 835 Bytes
Versions: 43
Compression:
Stored size: 835 Bytes
Contents
module RJGit import 'org.eclipse.jgit.revwalk' import 'org.eclipse.jgit.revwalk.RevTag' class Tag attr_reader :id, :jtag alias_method :get_name, :id 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
43 entries across 43 versions & 1 rubygems