class Change::Changelog

Defined in:

change/changelog.cr

Constant Summary

LINKS_SEPARATOR = "<!-- links -->"
UNRELEASED_RE = /^## ([^ ]+ - )?\[?Unreleased\]?/

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.create(repo : String | Nil = nil) : self #

[View source]
def self.new(changelog : String, repo : String | Nil = nil) #

[View source]

Class Method Detail

def self.extract_version(header : String) : String #

[View source]

Instance Method Detail

def bump(version : String | Nil = nil, date : Time = Time.local) #

[View source]
def linkify : Array(String) #

Add links to release headers.


[View source]
def releases #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def unlinkify #

Remove links from release headers.


[View source]