Hello community, here is the log from the commit of package rubygem-paint for openSUSE:Factory checked in at 2019-06-19 21:00:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-paint (Old) and /work/SRC/openSUSE:Factory/.rubygem-paint.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-paint" Wed Jun 19 21:00:41 2019 rev:4 rq:706012 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-paint/rubygem-paint.changes 2019-03-04 09:20:47.800596431 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-paint.new.4811/rubygem-paint.changes 2019-06-19 21:00:43.458104421 +0200 @@ -1,0 +2,10 @@ +Sat Mar 2 15:28:38 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to version 2.1.0 + see installed CHANGELOG.md + + ### 2.1.0 + + * Set True Color as default mode on more terminals, patch by @smoochbot + +------------------------------------------------------------------- Old: ---- paint-2.0.3.gem New: ---- paint-2.1.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-paint.spec ++++++ --- /var/tmp/diff_new_pack.i24DSW/_old 2019-06-19 21:00:44.146104999 +0200 +++ /var/tmp/diff_new_pack.i24DSW/_new 2019-06-19 21:00:44.146104999 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-paint # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -24,7 +24,7 @@ # Name: rubygem-paint -Version: 2.0.3 +Version: 2.1.0 Release: 0 %define mod_name paint %define mod_full_name %{mod_name}-%{version} ++++++ paint-2.0.3.gem -> paint-2.1.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-12-16 19:07:33.000000000 +0100 +++ new/.travis.yml 2019-01-17 14:08:37.000000000 +0100 @@ -2,20 +2,24 @@ language: ruby rvm: -- 2.5.0 -- 2.4.3 -- 2.3.6 +- 2.6.0 +- 2.5.3 +- 2.4.5 +- 2.3.8 - 2.2 - 2.1 - 2.0 - 1.9.3 - ruby-head - jruby-head -- jruby-9.1.15.0 +- jruby-9.2.5.0 +- truffleruby matrix: allow_failures: - rvm: jruby-head + - rvm: 2.2 - rvm: 2.1 - rvm: 2.0 - rvm: 1.9.3 + - rvm: truffleruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2018-12-16 19:07:33.000000000 +0100 +++ new/CHANGELOG.md 2019-01-17 14:08:37.000000000 +0100 @@ -1,5 +1,9 @@ # CHANGELOG +### 2.1.0 + +* Set True Color as default mode on more terminals, patch by @smoochbot + ### 2.0.3 * Add `gray` alias for `white` color, patch by @AlexWayfer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIT-LICENSE.txt new/MIT-LICENSE.txt --- old/MIT-LICENSE.txt 2018-12-16 19:07:33.000000000 +0100 +++ new/MIT-LICENSE.txt 2019-01-17 14:08:37.000000000 +0100 @@ -1,6 +1,6 @@ The MIT LICENSE -Copyright (c) 2011-2016 Jan Lelis +Copyright (c) 2011-2018 Jan Lelis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2018-12-16 19:07:33.000000000 +0100 +++ new/README.md 2019-01-17 14:08:37.000000000 +0100 @@ -1,4 +1,4 @@ -# Ruby Paint [<img src="https://badge.fury.io/rb/paint.svg" />](http://badge.fury.io/rb/paint) [<img src="https://travis-ci.org/janlelis/paint.svg" />](https://travis-ci.org/janlelis/paint) +# Ruby Paint [<img src="https://badge.fury.io/rb/paint.svg" />](https://badge.fury.io/rb/paint) [<img src="https://travis-ci.org/janlelis/paint.svg" />](https://travis-ci.org/janlelis/paint) Paint creates terminal colors and effects for you. It combines the strengths of **term-ansicolor**, **rainbow**, and similar projects into a simple to use, however still flexible terminal colors gem with no core extensions by default. @@ -6,7 +6,7 @@ * No string extensions (suitable for library development) * Simple API -* Faster than other terminal color gems ([as of December 2016](https://gist.github.com/janlelis/91413b9295c81ee873dc)) +* Faster than other terminal color gems ([as of December 2018](https://gist.github.com/janlelis/91413b9295c81ee873dc)) * Supports *true color* or 256 colors (for capable terminals) * Allows you to set any terminal effects * `Paint.mode`: Fall-back modes for terminals with less colors, supported modes: @@ -25,11 +25,11 @@ ## Supported Rubies -* **2.5**, **2.4**, **2.3**, **2.2** +* **2.6**, **2.5**, **2.4**, **2.3** Unsupported, but might still work: -* **2.1**, **2.0**, **1.9** +* **2.2**, **2.1**, **2.0**, **1.9** ## Setup @@ -79,7 +79,7 @@ ## Windows Support -For ANSI support in Windows OS, you can use [ansicon](https://github.com/adoxa/ansicon) or [ConEmu](http://code.google.com/p/conemu-maximus5/). +For ANSI support in Windows OS, you can use [ansicon](https://github.com/adoxa/ansicon) or [ConEmu](https://conemu.github.io/) or WSL(https://docs.microsoft.com/en-us/windows/wsl/install-win10). ## `Paint.mode` @@ -95,7 +95,7 @@ ## More Details About Terminal Colors and Effects -Terminal colors/effects get created by [ANSI escape sequences](http://en.wikipedia.org/wiki/ANSI_escape_code). These are strings that look like this: `\e[X;X;X;X;X]m` where X are integers with some meaning. For example, `0` means *reset*, `31` means *red foreground* and `41` stands for red background. When you tell **Paint** to use one of the eight ANSI base colors as foreground color, it just inserts a number between `30` and `37` into the sequence. The following colors are available: +Terminal colors/effects get created by [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code). These are strings that look like this: `\e[X;X;X;X;X]m` where X are integers with some meaning. For example, `0` means *reset*, `31` means *red foreground* and `41` stands for red background. When you tell **Paint** to use one of the eight ANSI base colors as foreground color, it just inserts a number between `30` and `37` into the sequence. The following colors are available: * `:black` * `:red` @@ -115,7 +115,7 @@ ### Effects -See [en.wikipedia.org/wiki/ANSI_escape_code](http://en.wikipedia.org/wiki/ANSI_escape_code) for a more detailed discussion: +See [en.wikipedia.org/wiki/ANSI_escape_code](https://en.wikipedia.org/wiki/ANSI_escape_code) for a more detailed discussion: #### Often supported @@ -188,7 +188,7 @@ ## J-_-L -Copyright (c) 2011-2016 Jan Lelis <http://janlelis.com>, released under the +Copyright (c) 2011-2018 Jan Lelis <https://janlelis.com>, released under the MIT license. Thank you to [rainbow](https://github.com/sickill/rainbow) and [term-ansicolor](https://github.com/flori/term-ansicolor) for ideas and inspiration. Also, a lot of thanks to all the [contributors](https://github.com/janlelis/paint/contributors)! 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 2018-12-16 19:07:33.000000000 +0100 +++ new/lib/paint/constants.rb 2019-01-17 14:08:37.000000000 +0100 @@ -44,7 +44,7 @@ }.freeze # Terminal effects - most of them are not supported ;) - # See http://en.wikipedia.org/wiki/ANSI_escape_code + # See https://en.wikipedia.org/wiki/ANSI_escape_code ANSI_EFFECTS = { :reset => 0, :nothing => 0, # usually supported :bright => 1, :bold => 1, # usually supported @@ -75,7 +75,7 @@ }.freeze # A list of color names for standard ansi colors, needed for 16/8 color fallback mode - # See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors + # See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors RGB_COLORS_ANSI = { :black => [ 0, 0, 0], :red => [205, 0, 0], @@ -88,7 +88,7 @@ }.each { |k, v| v.freeze }.freeze # A list of color names for standard bright ansi colors, needed for 16 color fallback mode - # See http://en.wikipedia.org/wiki/ANSI_escape_code#Colors + # See https://en.wikipedia.org/wiki/ANSI_escape_code#Colors RGB_COLORS_ANSI_BRIGHT = { :black => [127, 127, 127], :red => [255, 0, 0], 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 2018-12-16 19:07:33.000000000 +0100 +++ new/lib/paint/version.rb 2019-01-17 14:08:37.000000000 +0100 @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Paint - VERSION = "2.0.3".freeze + VERSION = "2.1.0" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/paint.rb new/lib/paint.rb --- old/lib/paint.rb 2018-12-16 19:07:33.000000000 +0100 +++ new/lib/paint.rb 2019-01-17 14:08:37.000000000 +0100 @@ -182,12 +182,10 @@ end else case ENV['TERM'] - when /-256color$/, 'xterm' - 256 when /-color$/, 'rxvt' 16 else # optimistic default - 256 + TRUE_COLOR end end end @@ -226,7 +224,7 @@ end # Returns best ANSI color matching an RGB value, without fore-/background information - # See http://mail.python.org/pipermail/python-list/2008-December/1150496.html + # See https://mail.python.org/pipermail/python-list/2008-December/1150496.html def rgb_to_ansi(red, green, blue, use_bright = false) color_pool = RGB_COLORS_ANSI.values color_pool += RGB_COLORS_ANSI_BRIGHT.values if use_bright diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-12-16 19:07:33.000000000 +0100 +++ new/metadata 2019-01-17 14:08:37.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: paint version: !ruby/object:Gem::Version - version: 2.0.3 + version: 2.1.0 platform: ruby authors: - Jan Lelis autorequire: bindir: bin cert_chain: [] -date: 2018-12-16 00:00:00.000000000 Z +date: 2019-01-17 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rspec @@ -30,14 +30,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '10.4' + version: '12.3' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '10.4' + version: '12.3' - !ruby/object:Gem::Dependency name: benchmark-ips requirement: !ruby/object:Gem::Requirement @@ -58,14 +58,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '2.1' + version: '3.0' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '2.1' + version: '3.0' - !ruby/object:Gem::Dependency name: term-ansicolor requirement: !ruby/object:Gem::Requirement @@ -164,8 +164,7 @@ - - ">=" - !ruby/object:Gem::Version version: '0' -requirements: -- 'Windows: ansicon (https://github.com/adoxa/ansicon) or ConEmu (http://code.google.com/p/conemu-maximus5)' +requirements: [] rubyforge_project: rubygems_version: 2.7.7 signing_key: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/paint.gemspec new/paint.gemspec --- old/paint.gemspec 2018-12-16 19:07:33.000000000 +0100 +++ new/paint.gemspec 2019-01-17 14:08:37.000000000 +0100 @@ -32,11 +32,10 @@ ] s.required_ruby_version = '>= 1.9.3' - s.requirements = ['Windows: ansicon (https://github.com/adoxa/ansicon) or ConEmu (http://code.google.com/p/conemu-maximus5)'] s.add_development_dependency 'rspec', '~> 3.2' - s.add_development_dependency 'rake', '~> 10.4' + s.add_development_dependency 'rake', '~> 12.3' s.add_development_dependency 'benchmark-ips', '~> 2.7' - s.add_development_dependency 'rainbow', '~> 2.1' + s.add_development_dependency 'rainbow', '~> 3.0' s.add_development_dependency 'term-ansicolor', '~> 1.4' s.add_development_dependency 'ansi', '~> 1.5' s.add_development_dependency 'hansi', '~> 0.2'
