pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/ruby-repofetch



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Jan 21 14:04:18 UTC 2023

Modified Files:
        pkgsrc/sysutils/ruby-repofetch: Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/ruby-repofetch/Makefile \
    pkgsrc/sysutils/ruby-repofetch/PLIST \
    pkgsrc/sysutils/ruby-repofetch/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/ruby-repofetch/Makefile
diff -u pkgsrc/sysutils/ruby-repofetch/Makefile:1.2 pkgsrc/sysutils/ruby-repofetch/Makefile:1.3
--- pkgsrc/sysutils/ruby-repofetch/Makefile:1.2 Sun Jan 15 15:48:01 2023
+++ pkgsrc/sysutils/ruby-repofetch/Makefile     Sat Jan 21 14:04:18 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2023/01/15 15:48:01 taca Exp $
+# $NetBSD: Makefile,v 1.3 2023/01/21 14:04:18 taca Exp $
 
-DISTNAME=      repofetch-0.4.4
+DISTNAME=      repofetch-0.5.0
 CATEGORIES=    sysutils
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/sysutils/ruby-repofetch/PLIST
diff -u pkgsrc/sysutils/ruby-repofetch/PLIST:1.2 pkgsrc/sysutils/ruby-repofetch/PLIST:1.3
--- pkgsrc/sysutils/ruby-repofetch/PLIST:1.2    Sun Jan 15 15:48:01 2023
+++ pkgsrc/sysutils/ruby-repofetch/PLIST        Sat Jan 21 14:04:18 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/01/15 15:48:01 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/01/21 14:04:18 taca Exp $
 bin/repofetch${RUBY_VER}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
@@ -17,6 +17,7 @@ ${GEM_LIBDIR}/lib/repofetch.rb
 ${GEM_LIBDIR}/lib/repofetch/DEFAULT_CONFIG
 ${GEM_LIBDIR}/lib/repofetch/bitbucketcloud.rb
 ${GEM_LIBDIR}/lib/repofetch/bitbucketcloud/ASCII
+${GEM_LIBDIR}/lib/repofetch/bitbucketcloud/stats.rb
 ${GEM_LIBDIR}/lib/repofetch/cli.rb
 ${GEM_LIBDIR}/lib/repofetch/config.rb
 ${GEM_LIBDIR}/lib/repofetch/env.rb
@@ -25,6 +26,9 @@ ${GEM_LIBDIR}/lib/repofetch/github.rb
 ${GEM_LIBDIR}/lib/repofetch/github/ASCII
 ${GEM_LIBDIR}/lib/repofetch/gitlab.rb
 ${GEM_LIBDIR}/lib/repofetch/gitlab/ASCII
+${GEM_LIBDIR}/lib/repofetch/plugin.rb
+${GEM_LIBDIR}/lib/repofetch/stat.rb
 ${GEM_LIBDIR}/lib/repofetch/theme.rb
+${GEM_LIBDIR}/lib/repofetch/timespan_stat.rb
 ${GEM_LIBDIR}/lib/repofetch/util.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/sysutils/ruby-repofetch/distinfo
diff -u pkgsrc/sysutils/ruby-repofetch/distinfo:1.2 pkgsrc/sysutils/ruby-repofetch/distinfo:1.3
--- pkgsrc/sysutils/ruby-repofetch/distinfo:1.2 Sun Jan 15 15:48:01 2023
+++ pkgsrc/sysutils/ruby-repofetch/distinfo     Sat Jan 21 14:04:18 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/01/15 15:48:01 taca Exp $
+$NetBSD: distinfo,v 1.3 2023/01/21 14:04:18 taca Exp $
 
-BLAKE2s (repofetch-0.4.4.gem) = 053ded6a9eb8d09f6f81b451d35a183528f634ab2a810e322167dd2a231fd2a6
-SHA512 (repofetch-0.4.4.gem) = e55f5a814eab18fef9c38e8726b91b7cc5c4e1ad6365382c0b797fa85ece3821bd41c7f7135e4fa70ce9c94435e41b87c9239b54ea29b12a0553a5a60454016c
-Size (repofetch-0.4.4.gem) = 19456 bytes
+BLAKE2s (repofetch-0.5.0.gem) = 542fa6e025da151088c096dc4bd5a24d6c7737ef5cf236330cbe4930c5d3278c
+SHA512 (repofetch-0.5.0.gem) = 15f0b4f02f48a1dc0f7bfbb6308a7aa2a805f606eef5da0730b7ae6b61d33f74ba21aaba7bc90be030e75d396d053afa13f1631dcc9b5381dd159643fe9092bd
+Size (repofetch-0.5.0.gem) = 20992 bytes



Home | Main Index | Thread Index | Old Index