Hello community,
here is the log from the commit of package rubygem-paint for openSUSE:Factory checked in at 2019-03-04 09:20:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-paint (Old)
and /work/SRC/openSUSE:Factory/.rubygem-paint.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-paint"
Mon Mar 4 09:20:43 2019 rev:3 rq:679531 version:2.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-paint/rubygem-paint.changes 2017-12-22 12:18:31.703047747 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-paint.new.28833/rubygem-paint.changes 2019-03-04 09:20:47.800596431 +0100
@@ -1,0 +2,14 @@
+Wed Dec 19 07:12:42 UTC 2018 - Stephan Kulow
+
+- updated to version 2.0.3
+ see installed CHANGELOG.md
+
+ ### 2.0.3
+
+ * Add `gray` alias for `white` color, patch by @AlexWayfer
+
+ ### 2.0.2
+
+ * Remove `gunzip` deprecation warning
+
+-------------------------------------------------------------------
Old:
----
paint-2.0.1.gem
New:
----
paint-2.0.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-paint.spec ++++++
--- /var/tmp/diff_new_pack.Euyecb/_old 2019-03-04 09:20:48.396596324 +0100
+++ /var/tmp/diff_new_pack.Euyecb/_new 2019-03-04 09:20:48.408596321 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-paint
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-paint
-Version: 2.0.1
+Version: 2.0.3
Release: 0
%define mod_name paint
%define mod_full_name %{mod_name}-%{version}
++++++ paint-2.0.1.gem -> paint-2.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2017-11-01 15:28:07.000000000 +0100
+++ new/.travis.yml 2018-12-16 19:07:33.000000000 +0100
@@ -2,18 +2,20 @@
language: ruby
rvm:
-- 2.4.2
-- 2.3.5
+- 2.5.0
+- 2.4.3
+- 2.3.6
- 2.2
- 2.1
- 2.0
- 1.9.3
- ruby-head
- jruby-head
-- jruby-9.1.13.0
+- jruby-9.1.15.0
matrix:
allow_failures:
- rvm: jruby-head
+ - rvm: 2.1
- rvm: 2.0
- rvm: 1.9.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-11-01 15:28:07.000000000 +0100
+++ new/CHANGELOG.md 2018-12-16 19:07:33.000000000 +0100
@@ -1,5 +1,13 @@
# CHANGELOG
+### 2.0.3
+
+* Add `gray` alias for `white` color, patch by @AlexWayfer
+
+### 2.0.2
+
+* Remove `gunzip` deprecation warning
+
### 2.0.1
* Fix nested substitutions, patch by @mildmojo
@@ -26,7 +34,7 @@
* Improved performance
* Option for :random colors removed (see readme)
-* Seperate Paint::SHORTCUTS into extra gem
+* Separate Paint::SHORTCUTS into extra gem
* Drop support for Ruby 1 (inoffically still support 1.9.3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2017-11-01 15:28:07.000000000 +0100
+++ new/README.md 2018-12-16 19:07:33.000000000 +0100
@@ -25,11 +25,11 @@
## Supported Rubies
-* **2.4**, **2.3**, **2.2**, **2.1**
+* **2.5**, **2.4**, **2.3**, **2.2**
Unsupported, but might still work:
-* **2.0**, **1.9**
+* **2.1**, **2.0**, **1.9**
## Setup
@@ -104,7 +104,7 @@
* `:blue`
* `:magenta`
* `:cyan`
-* `:white`
+* `:white`, `:gray`
* (`:default`)
When combined with the `:bright` (= `:bold`) effect, the color in the terminal emulator often differs a little bit, thus it is possible to represent 16 colors.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/paint/constants.rb new/lib/paint/constants.rb
--- old/lib/paint/constants.rb 2017-11-01 15:28:07.000000000 +0100
+++ new/lib/paint/constants.rb 2018-12-16 19:07:33.000000000 +0100
@@ -15,7 +15,7 @@
:blue => 4,
:magenta => 5,
:cyan => 6,
- :white => 7,
+ :white => 7, :gray => 7,
:default => 9,
}.freeze
@@ -27,7 +27,7 @@
:blue => 34,
:magenta => 35,
:cyan => 36,
- :white => 37,
+ :white => 37, :gray => 37,
:default => 39,
}.freeze
@@ -39,7 +39,7 @@
:blue => 44,
:magenta => 45,
:cyan => 46,
- :white => 47,
+ :white => 47, :gray => 47,
:default => 49,
}.freeze
@@ -84,7 +84,7 @@
:blue => [ 0, 0, 238],
:magenta => [205, 0, 205],
:cyan => [ 0, 205, 205],
- :white => [229, 229, 229],
+ :white => [229, 229, 229], :gray => [229, 229, 229],
}.each { |k, v| v.freeze }.freeze
# A list of color names for standard bright ansi colors, needed for 16 color fallback mode
@@ -97,6 +97,6 @@
:blue => [ 92, 92, 255],
:magenta => [255, 0, 255],
:cyan => [ 0, 255, 255],
- :white => [255, 255, 255],
+ :white => [255, 255, 255], :gray => [255, 255, 255],
}.each { |k, v| v.freeze }.freeze
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/paint/rgb_colors.rb new/lib/paint/rgb_colors.rb
--- old/lib/paint/rgb_colors.rb 2017-11-01 15:28:07.000000000 +0100
+++ new/lib/paint/rgb_colors.rb 2018-12-16 19:07:33.000000000 +0100
@@ -1,11 +1,12 @@
+require "zlib"
+
module Paint
+ RGB_COLORS_INDEX_FILENAME = File.dirname(__FILE__) + "/../../data/rgb_colors.marshal.gz"
# A list of color names, based on X11's rgb.txt
- RGB_COLORS =
- Marshal.load(
- Gem.gunzip(
- File.binread(
- File.dirname(__FILE__) + '/../../data/rgb_colors.marshal.gz'
- )
- )
- )
+
+ File.open(RGB_COLORS_INDEX_FILENAME, "rb") do |file|
+ serialized_data = Zlib::GzipReader.new(file).read
+ serialized_data.force_encoding Encoding::BINARY
+ RGB_COLORS = Marshal.load(serialized_data)
+ end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/paint/version.rb new/lib/paint/version.rb
--- old/lib/paint/version.rb 2017-11-01 15:28:07.000000000 +0100
+++ new/lib/paint/version.rb 2018-12-16 19:07:33.000000000 +0100
@@ -1,3 +1,3 @@
module Paint
- VERSION = '2.0.1'.freeze
+ VERSION = "2.0.3".freeze
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-11-01 15:28:07.000000000 +0100
+++ new/metadata 2018-12-16 19:07:33.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: paint
version: !ruby/object:Gem::Version
- version: 2.0.1
+ version: 2.0.3
platform: ruby
authors:
- Jan Lelis
autorequire:
bindir: bin
cert_chain: []
-date: 2017-11-01 00:00:00.000000000 Z
+date: 2018-12-16 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec
@@ -167,7 +167,7 @@
requirements:
- 'Windows: ansicon (https://github.com/adoxa/ansicon) or ConEmu (http://code.google.com/p/conemu-maximus5)'
rubyforge_project:
-rubygems_version: 2.6.13
+rubygems_version: 2.7.7
signing_key:
specification_version: 4
summary: Terminal painter!