Path to this page:
Subject: CVS commit: pkgsrc/sysutils/ruby-repofetch
From: Takahiro Kambe
Date: 2023-01-21 15:04:18
Message id: 20230121140418.C3E9DFA90@cvs.NetBSD.org
Log Message:
sysutils/ruby-repofetch: update to 0.5.0
0.5.0 (2023-01-21)
Added
* Stat#format(theme) to create styled stats
* Stat#style_label to style the label without mutating the original Stat
instance
* Plugin#matches_path? and Plugin#from_path to allow plugins to initialize
from paths, not
* just git repositories
Changed
* Bitbucket Cloud header to be bold and blue
* Stat#style_label! to accept one or more styles as parameters
* Plugin#matches_repo? to return false instead of raising an error when it
is not overridden
Fixed
* length of separator to match visual length of header
Potentially Breaking for 3rd-party Plugins
Changed
* Repofetch::Util to be a module
* clean_s to be called remove_format_params
* Moved default_remote and default_remote_url to be in Repofetch::Util
* Stat#to_s to return an unstyled value
* Header text and stats will now automatically be bold and use the value
returned by Plugin#primary_color
Files: