Age | Commit message (Collapse) | Author |
|
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
|
|
+ Added
- Bitbucket Cloud plugin
- Simple help message for the GitLab plugin (`repofetch --plugin Repofetch::Gitlab -- --help`)
- `--path` option, which is an alias for `--repository`
- SSH url stat to GitHub and GitLab plugins
+ Changed
- "URL" stat in GitHub and GitLab plugins to "HTTP(S)"
- GitLab header to be styled
+ Fixed
- Confusing error on incorrect CLI args for the GitLab plugin
+ Breaking for users
+ Changed
- The `--plugin` short option to `-P`
- `-p` to be the short option for `--path`
+ Breaking for 3rd-party plugins
+ Changed
- The exception that is caught when initializing a plugin from ArgumentError to `Repofetch::PluginUsageError`
|
|
## Added
- GitLab plugin
Enable by adding - repofetch/gitlab to your config file
## Other
- Publish gem with GitHub Actions
## Breaking for 3rd-party plugins
- Changed
Configuration to be a class variable on Repofetch instead of a value that's
passed to various instantiation and rendering methods
Stats to automatically receive theme from the base Plugin class
|
|
|