Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-ruby-progressbar for
openSUSE:Factory checked in at 2021-01-21 21:56:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-progressbar (Old)
and /work/SRC/openSUSE:Factory/.rubygem-ruby-progressbar.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-ruby-progressbar"
Thu Jan 21 21:56:25 2021 rev:2 rq:865231 version:1.11.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-ruby-progressbar/rubygem-ruby-progressbar.changes
2019-10-12 22:29:40.195778914 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-ruby-progressbar.new.28504/rubygem-ruby-progressbar.changes
2021-01-21 21:56:27.289838388 +0100
@@ -1,0 +2,6 @@
+Wed Jan 20 13:17:38 UTC 2021 - Stephan Kulow <[email protected]>
+
+updated to version 1.11.0
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
ruby-progressbar-1.10.1.gem
New:
----
ruby-progressbar-1.11.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-ruby-progressbar.spec ++++++
--- /var/tmp/diff_new_pack.VTsZsy/_old 2021-01-21 21:56:27.973838621 +0100
+++ /var/tmp/diff_new_pack.VTsZsy/_new 2021-01-21 21:56:27.977838622 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-ruby-progressbar
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
#
Name: rubygem-ruby-progressbar
-Version: 1.10.1
+Version: 1.11.0
Release: 0
%define mod_name ruby-progressbar
%define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
-Url: https://github.com/jfelchner/ruby-progressbar
+URL: https://github.com/jfelchner/ruby-progressbar
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Ruby/ProgressBar is a flexible text progress bar library for
Ruby
++++++ ruby-progressbar-1.10.1.gem -> ruby-progressbar-1.11.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt
--- old/LICENSE.txt 2019-05-28 01:39:02.000000000 +0200
+++ new/LICENSE.txt 2020-12-31 03:59:48.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2010-2016 The Kompanee, Ltd
+Copyright (c) 2010-2019 The Kompanee, Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2019-05-28 01:39:02.000000000 +0200
+++ new/README.md 2020-12-31 03:59:48.000000000 +0100
@@ -1,38 +1,131 @@
Ruby/ProgressBar
-================================
-[](https://rubygems.org/gems/ruby-progressbar)


 [](http://travis-ci.org/jfelchner/ruby-progressbar)
[](https://codeclimate.com/github/jfelchner/ruby-progressbar)
[](https://codeclimate.com/github/jfelchner/ruby-progressbar)
+================================================================================
+
+<div align="center">
+ <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Version">
+ <img
src="https://img.shields.io/gem/v/ruby-progressbar.svg?style=flat-square&label=current-version"
alt="RubyGems Version" />
+ </a>
+
+ <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Rank
Overall">
+ <img
src="https://img.shields.io/gem/rt/ruby-progressbar.svg?style=flat-square&label=total-rank"
alt="RubyGems Rank Overall" />
+ </a>
+
+ <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems Rank
Daily">
+ <img
src="https://img.shields.io/gem/rd/ruby-progressbar.svg?style=flat-square&label=daily-rank"
alt="RubyGems Rank Daily" />
+ </a>
+
+ <a href="https://rubygems.org/gems/ruby-progressbar" alt="RubyGems
Downloads">
+ <img
src="https://img.shields.io/gem/dt/ruby-progressbar.svg?style=flat-square&label=total-downloads"
alt="RubyGems Downloads" />
+ </a>
+
+ <a
href="https://github.com/jfelchner/ruby-progressbar/actions?query=workflow%3ABuild"
alt="Build Status">
+ <img
src="https://img.shields.io/github/workflow/status/jfelchner/ruby-progressbar/Build?label=CI&style=flat-square&logo=github"
alt="Build Status" />
+ </a>
+
+ <a href="#" alt="Maintainability">
+ <img
src="https://img.shields.io/codeclimate/maintainability/jfelchner/ruby-progressbar?style=flat-square&label=grade"
alt="Maintainability" />
+ </a>
+</div>
+
+<br>
<img
src="https://kompanee-public-assets.s3.amazonaws.com/readmes/ruby-progressbar-cage.png"
align="right" />
-The **ultimate** text progress bar library for Ruby! It'll **SMASH YOU OVER
THE HEAD** with a **PURE RUSH** of progress bar excitement!
+The **ultimate** text progress bar library for Ruby! It'll **SMASH YOU OVER
THE
+HEAD** with a **PURE RUSH** of progress bar excitement!
-Don't miss out on what all the kids are talking about! If you want everyone
to know that your gem or app can survive _in the cage_ then YOU WANT
**RUBY-PROGRESSBAR**!
+Don't miss out on what all the kids are talking about! If you want everyone to
+know that your gem or app can survive _in the cage_ then YOU WANT
+**RUBY-PROGRESSBAR**!
-<br><br><br>
+<br>
-Full Reference
---------------------------------
+It's Better Than The Other 186,312 Progress Bar Libraries Because
+--------------------------------------------------------------------------------
+
+* It has [stood the test of time][history] (2008-today)
+
+* Full test suite
+
+* [_**ZERO**_ dependencies][gemspec]
+
+* Used by [tons of other open source projects][dependencies] (which means we
+ find out about bugs quickly)
+
+* It's pretty [freakin' sweet](https://www.youtube.com/watch?v=On3IoVhf_GM)
+
+* And most importantly... our awesome [contributors][contributors]
+
+Basic Usage
+--------------------------------------------------------------------------------
+
+### Creation
+
+It's simple to get started:
-There's gotten to be too much awesome to pack into one page. Visit the
[wiki](https://github.com/jfelchner/ruby-progressbar/wiki) for the full
documentation.
+```ruby
+progressbar = ProgressBar.create
+```
+
+Creates a basic progress bar beginning at `0`, a maximum capacity of `100` and
+tells it to start.
+
+```text
+Progress: |
|
+```
+
+### Marking Progress
+
+Every call to `#increment` will advance the bar by `1`. Therefore:
+
+```ruby
+50.times { progressbar.increment }
+```
+
+Would output an advancing line which would end up here:
+
+```text
+Progress: |===================================
|
+```
+
+### Animation
+
+
+
+Full Reference
+--------------------------------------------------------------------------------
-Here's a [quick
link](https://github.com/jfelchner/ruby-progressbar/wiki/Basic-Usage) to the
'Basic Usage' section.
+There's gotten to be too much awesome to pack into one page. Visit the
+[wiki][wiki] for the full documentation.
Issues
---------------------------------
+--------------------------------------------------------------------------------
-If you have problems, please create a [Github
issue](https://github.com/jfelchner/ruby-progressbar/issues).
+If you have problems, please create a [Github issue][issues].
Credits
---------------------------------
+--------------------------------------------------------------------------------
-
+![The Kompanee][kompanee-logo]
-ruby-progressbar is maintained by [The Kompanee,
Ltd.](http://www.thekompanee.com)
+ruby-progressbar is maintained by [The Kompanee, Ltd.][kompanee-site]
The names and logos for The Kompanee are trademarks of The Kompanee, Ltd.
License
---------------------------------
+--------------------------------------------------------------------------------
-ruby-progressbar 1.0 is Copyright © 2011-2018 The Kompanee. It is free
software, and may be redistributed under the terms specified in the LICENSE
file.
-ruby-progressbar 0.9.0 is Copyright © 2008 [Satoru
Takabayashi](http://0xcc.net)
+ruby-progressbar 1.0 is Copyright © 2011-2021 The Kompanee. It is free
+software, and may be redistributed under the terms specified in the LICENSE
+file.
+ruby-progressbar 0.9.0 is Copyright © 2008 [Satoru Takabayashi][satoru]
+
+[contributors]:
https://github.com/jfelchner/ruby-progressbar/graphs/contributors
+[dependencies]:
https://github.com/jfelchner/ruby-progressbar/network/dependents
+[gemspec]:
https://github.com/jfelchner/ruby-progressbar/blob/master/ruby-progressbar.gemspec
+[history]: https://github.com/jfelchner/ruby-progressbar/wiki/History
+[issues]: https://github.com/jfelchner/ruby-progressbar/issues
+[kompanee-logo]:
https://kompanee-public-assets.s3.amazonaws.com/readmes/kompanee-horizontal-black.png
+[kompanee-site]: http://www.thekompanee.com
+[satoru]: http://0xcc.net
+[wiki]: https://github.com/jfelchner/ruby-progressbar/wiki
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/ruby-progressbar/base.rb
new/lib/ruby-progressbar/base.rb
--- old/lib/ruby-progressbar/base.rb 2019-05-28 01:39:02.000000000 +0200
+++ new/lib/ruby-progressbar/base.rb 2020-12-31 03:59:48.000000000 +0100
@@ -13,7 +13,7 @@
:progress,
:total
- def initialize(options = {})
+ def initialize(options = {}) # rubocop:disable Metrics/AbcSize
self.autostart = options.fetch(:autostart, true)
self.autofinish = options.fetch(:autofinish, true)
self.finished = false
@@ -123,7 +123,7 @@
Format::Formatter.process(@format, output.length, self)
end
- # rubocop:disable Metrics/AbcSize, Metrics/LineLength
+ # rubocop:disable Metrics/AbcSize, Layout/LineLength
def to_h
{
'output_stream' => output.__send__(:stream),
@@ -145,7 +145,7 @@
'finished?' => finished?
}
end
- # rubocop:enable Metrics/AbcSize, Metrics/LineLength
+ # rubocop:enable Metrics/AbcSize, Layout/LineLength
def inspect
"#<ProgressBar:#{progress}/#{total || 'unknown'}>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/ruby-progressbar/components/time.rb
new/lib/ruby-progressbar/components/time.rb
--- old/lib/ruby-progressbar/components/time.rb 2019-05-28 01:39:02.000000000
+0200
+++ new/lib/ruby-progressbar/components/time.rb 2020-12-31 03:59:48.000000000
+0100
@@ -12,6 +12,10 @@
NO_TIME_ELAPSED_TEXT = '--:--:--'.freeze
ESTIMATED_LABEL = ' ETA'.freeze
ELAPSED_LABEL = 'Time'.freeze
+ OOB_TEXT_TO_FORMAT = {
+ :unknown => OOB_UNKNOWN_TIME_TEXT,
+ :friendly => OOB_FRIENDLY_TIME_TEXT
+ }.freeze
def initialize(options = {})
self.out_of_bounds_time_format = options[:out_of_bounds_time_format]
@@ -53,8 +57,7 @@
def out_of_bounds_time_format=(format)
unless OOB_TIME_FORMATS.include? format
- fail 'Invalid Out Of Bounds time format. Valid formats are ' +
- OOB_TIME_FORMATS.inspect
+ fail StandardError, "Invalid Out Of Bounds time format. Valid formats
are #{OOB_TIME_FORMATS.inspect}"
end
@out_of_bounds_time_format = format
@@ -70,7 +73,7 @@
hours, minutes, seconds =
timer.divide_seconds(memo_estimated_seconds_remaining)
if hours > OOB_LIMIT_IN_HOURS && out_of_bounds_time_format
- out_of_bounds_time
+ OOB_TEXT_TO_FORMAT[out_of_bounds_time_format]
else
TIME_FORMAT % [hours, minutes, seconds]
end
@@ -89,19 +92,10 @@
end
def estimated_seconds_remaining
- return if progress.unknown? || progress.none? || timer.stopped?
+ return if progress.unknown? || progress.none? || timer.stopped? ||
timer.reset?
(timer.elapsed_seconds * (progress.total / progress.running_average -
1)).round
end
-
- def out_of_bounds_time
- case out_of_bounds_time_format
- when :unknown
- OOB_UNKNOWN_TIME_TEXT
- when :friendly
- OOB_FRIENDLY_TIME_TEXT
- end
- end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/ruby-progressbar/format/string.rb
new/lib/ruby-progressbar/format/string.rb
--- old/lib/ruby-progressbar/format/string.rb 2019-05-28 01:39:02.000000000
+0200
+++ new/lib/ruby-progressbar/format/string.rb 2020-12-31 03:59:48.000000000
+0100
@@ -29,7 +29,7 @@
end
molecules
- end
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/ruby-progressbar/outputs/tty.rb
new/lib/ruby-progressbar/outputs/tty.rb
--- old/lib/ruby-progressbar/outputs/tty.rb 2019-05-28 01:39:02.000000000
+0200
+++ new/lib/ruby-progressbar/outputs/tty.rb 2020-12-31 03:59:48.000000000
+0100
@@ -17,7 +17,7 @@
end
def default_format
- DEFAULT_FORMAT_STRING
+ ENV['RUBY_PROGRESS_BAR_FORMAT'] || DEFAULT_FORMAT_STRING
end
def resolve_format(other_format)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/ruby-progressbar/refinements/enumerator.rb
new/lib/ruby-progressbar/refinements/enumerator.rb
--- old/lib/ruby-progressbar/refinements/enumerator.rb 2019-05-28
01:39:02.000000000 +0200
+++ new/lib/ruby-progressbar/refinements/enumerator.rb 2020-12-31
03:59:48.000000000 +0100
@@ -13,7 +13,7 @@
end
end
- return chain unless block_given?
+ return chain unless block
chain.each(&block)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/ruby-progressbar/version.rb
new/lib/ruby-progressbar/version.rb
--- old/lib/ruby-progressbar/version.rb 2019-05-28 01:39:02.000000000 +0200
+++ new/lib/ruby-progressbar/version.rb 2020-12-31 03:59:48.000000000 +0100
@@ -1,3 +1,3 @@
class ProgressBar
- VERSION = '1.10.1'.freeze
+ VERSION = '1.11.0'.freeze
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-05-28 01:39:02.000000000 +0200
+++ new/metadata 2020-12-31 03:59:48.000000000 +0100
@@ -1,19 +1,19 @@
--- !ruby/object:Gem::Specification
name: ruby-progressbar
version: !ruby/object:Gem::Version
- version: 1.10.1
+ version: 1.11.0
platform: ruby
authors:
- thekompanee
- jfelchner
-autorequire:
+autorequire:
bindir: bin
cert_chain:
- |
-----BEGIN CERTIFICATE-----
- MIIEdjCCAt6gAwIBAgIBATANBgkqh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aIRoPM/T7b1LrRsZO3DwGFAasSrR27+ZgU
+ Sv+7zM1SqVOK2Vhp99UBBVIZTHSJWh4sCU7dJrUJTqvwwS3ayTiUlIi5TdQ=
-----END CERTIFICATE-----
-date: 2019-05-27 00:00:00.000000000 Z
+date: 2020-12-31 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec
@@ -81,20 +79,6 @@
- !ruby/object:Gem::Version
version: '2.3'
- !ruby/object:Gem::Dependency
- name: warning_filter
- requirement: !ruby/object:Gem::Requirement
- requirements:
- - - "~>"
- - !ruby/object:Gem::Version
- version: 0.0.6
- type: :development
- prerelease: false
- version_requirements: !ruby/object:Gem::Requirement
- requirements:
- - - "~>"
- - !ruby/object:Gem::Version
- version: 0.0.6
-- !ruby/object:Gem::Dependency
name: timecop
requirement: !ruby/object:Gem::Requirement
requirements:
@@ -152,11 +136,11 @@
metadata:
bug_tracker_uri: https://github.com/jfelchner/ruby-progressbar/issues
changelog_uri:
https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md
- documentation_uri:
https://github.com/jfelchner/ruby-progressbar/tree/releases/v1.10.1
+ documentation_uri:
https://github.com/jfelchner/ruby-progressbar/tree/releases/v1.11.0
homepage_uri: https://github.com/jfelchner/ruby-progressbar
source_code_uri: https://github.com/jfelchner/ruby-progressbar
wiki_uri: https://github.com/jfelchner/ruby-progressbar/wiki
-post_install_message:
+post_install_message:
rdoc_options: []
require_paths:
- lib
@@ -171,8 +155,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
-signing_key:
+rubygems_version: 3.2.3
+signing_key:
specification_version: 4
summary: Ruby/ProgressBar is a flexible text progress bar library for Ruby.
test_files: []
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ