class Release::Notes::System
Attributes
opts[R]
Public Class Methods
first_commit()
click to toggle source
Call Git.first_commit
method
@return [String] shell output of running Git.first_commit
# File lib/release/notes/system.rb, line 40 def first_commit `#{Git.first_commit}` end
last_tag()
click to toggle source
Call Git.last_tag
method
@return [String] shell output of running Git.last_tag
# File lib/release/notes/system.rb, line 58 def last_tag `#{Git.last_tag}` end
new(**opts)
click to toggle source
Release::Notes::System
initializer
@param **opts
@return none
# File lib/release/notes/system.rb, line 16 def initialize(**opts) @opts = opts return unless opts.delete(:log_all) == true opts[:label] = config_all_labels opts[:invert_grep] = " --invert-grep" end
tag_date(tag: nil)
click to toggle source
Call Git.tag_date
method
@param [String] tag - a tag that you want to get the date created for
@return [String] shell output of running Git.tag_date
# File lib/release/notes/system.rb, line 69 def tag_date(tag: nil) `#{Git.tag_date(tag || last_tag)}` end