pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ruby-progressbar misc/ruby-progressbar: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98f290682fc2
branches:  trunk
changeset: 377265:98f290682fc2
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Mar 14 14:32:05 2018 +0000

description:
misc/ruby-progressbar: update to 1.9.0

Version v1.9.0 - September 27, 2017

Performance

* don't shell out when it's avoidable.

Change

* Don't allow user to override total or starting_at in Enumerator
* print_and_flush to be explicitly a private method

Uncategorized

* Enumerator#to_progressbar as a refinement

Remove

* Explicit clear on start

Fix

* Components::Time to allow #estimated_seconds_remaining to be called

Add

* Base#to_h to expose all of the data about the current bar state
* Outputs::Null for users who don't want the bar sent anywhere
* Ability to specify a completely custom output stream
* %u format flag to show ?? if total is unknown

diffstat:

 misc/ruby-progressbar/Makefile |   4 ++--
 misc/ruby-progressbar/PLIST    |   6 ++++--
 misc/ruby-progressbar/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 9 deletions(-)

diffs (56 lines):

diff -r 98ea501a93ce -r 98f290682fc2 misc/ruby-progressbar/Makefile
--- a/misc/ruby-progressbar/Makefile    Wed Mar 14 14:28:53 2018 +0000
+++ b/misc/ruby-progressbar/Makefile    Wed Mar 14 14:32:05 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2017/09/18 00:59:47 taca Exp $
+# $NetBSD: Makefile,v 1.18 2018/03/14 14:32:05 taca Exp $
 
-DISTNAME=      ruby-progressbar-1.8.3
+DISTNAME=      ruby-progressbar-1.9.0
 PKGNAME=       ${DISTNAME:S/ruby-/${RUBY_PKGPREFIX}-/}
 CATEGORIES=    misc ruby
 
diff -r 98ea501a93ce -r 98f290682fc2 misc/ruby-progressbar/PLIST
--- a/misc/ruby-progressbar/PLIST       Wed Mar 14 14:28:53 2018 +0000
+++ b/misc/ruby-progressbar/PLIST       Wed Mar 14 14:32:05 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2017/09/18 00:59:47 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/03/14 14:32:05 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/LICENSE.txt
 ${GEM_LIBDIR}/README.md
@@ -6,7 +6,6 @@
 ${GEM_LIBDIR}/lib/ruby-progressbar.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/base.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/calculators/length.rb
-${GEM_LIBDIR}/lib/ruby-progressbar/calculators/length_spec.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/calculators/running_average.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/components.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/components/bar.rb
@@ -21,8 +20,11 @@
 ${GEM_LIBDIR}/lib/ruby-progressbar/format/string.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/output.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/outputs/non_tty.rb
+${GEM_LIBDIR}/lib/ruby-progressbar/outputs/null.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/outputs/tty.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/progress.rb
+${GEM_LIBDIR}/lib/ruby-progressbar/refinements.rb
+${GEM_LIBDIR}/lib/ruby-progressbar/refinements/enumerator.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/throttle.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/time.rb
 ${GEM_LIBDIR}/lib/ruby-progressbar/timer.rb
diff -r 98ea501a93ce -r 98f290682fc2 misc/ruby-progressbar/distinfo
--- a/misc/ruby-progressbar/distinfo    Wed Mar 14 14:28:53 2018 +0000
+++ b/misc/ruby-progressbar/distinfo    Wed Mar 14 14:32:05 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/09/18 00:59:47 taca Exp $
+$NetBSD: distinfo,v 1.6 2018/03/14 14:32:05 taca Exp $
 
-SHA1 (ruby-progressbar-1.8.3.gem) = 5821c2884e0fd66b82a4e1b2531a6a14a90e6fe4
-RMD160 (ruby-progressbar-1.8.3.gem) = b32f9a0ad834ead41910e46acdb90788c52590e1
-SHA512 (ruby-progressbar-1.8.3.gem) = b6959c91e612e1cf2c806a8c81372e22a251431973abe133068be60cfa4f7fd0cc03dcc88e3b9fbd7b6559e5eb447e24013bf6cdd79cf393b2d6a5a16801443f
-Size (ruby-progressbar-1.8.3.gem) = 16896 bytes
+SHA1 (ruby-progressbar-1.9.0.gem) = 0f115658e414b65e3e080fe2243c7c157833a189
+RMD160 (ruby-progressbar-1.9.0.gem) = f3abb16eda58d8a23dab9da1ebac191f4286cb0d
+SHA512 (ruby-progressbar-1.9.0.gem) = c95bc065c96a2f11cd4d77a351dad0d3bd9928a1c8463107984bb3b100b7916bd744a33d856e91039cecee6a216dbcf7e122a3709dc332cb41cbc70e96dfd097
+Size (ruby-progressbar-1.9.0.gem) = 17408 bytes



Home | Main Index | Thread Index | Old Index