Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-paint for openSUSE:Factory checked in at 2021-01-21 21:56:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-paint (Old) and /work/SRC/openSUSE:Factory/.rubygem-paint.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-paint" Thu Jan 21 21:56:32 2021 rev:7 rq:865242 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-paint/rubygem-paint.changes 2020-05-11 13:39:16.704856549 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-paint.new.28504/rubygem-paint.changes 2021-01-21 21:56:35.597841222 +0100 @@ -1,0 +2,11 @@ +Wed Jan 20 13:04:11 UTC 2021 - Stephan Kulow <[email protected]> + +updated to version 2.2.1 + see installed CHANGELOG.md + + ### 2.2.1 + + * Explicitly set mac's Terminal.app to 256 colors only, fixes #28 + + +------------------------------------------------------------------- Old: ---- paint-2.2.0.gem New: ---- paint-2.2.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-paint.spec ++++++ --- /var/tmp/diff_new_pack.jCVnGg/_old 2021-01-21 21:56:36.169841417 +0100 +++ /var/tmp/diff_new_pack.jCVnGg/_new 2021-01-21 21:56:36.173841418 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-paint # -# Copyright (c) 2020 SUSE LLC +# 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-paint -Version: 2.2.0 +Version: 2.2.1 Release: 0 %define mod_name paint %define mod_full_name %{mod_name}-%{version} ++++++ paint-2.2.0.gem -> paint-2.2.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2020-02-21 17:56:10.000000000 +0100 +++ new/CHANGELOG.md 2020-12-09 16:48:45.000000000 +0100 @@ -1,5 +1,9 @@ # CHANGELOG +### 2.2.1 + +* Explicitly set mac's Terminal.app to 256 colors only, fixes #28 + ### 2.2.0 * Support NO_COLOR environment variable, implements #26 (see no-color.org) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2020-02-21 17:56:10.000000000 +0100 +++ new/README.md 2020-12-09 16:48:45.000000000 +0100 @@ -2,6 +2,10 @@ 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. +Supported Rubies: **2.7**, **2.6**, **2.5** + +Unsupported, but might still work: **2.4**, **2.3**, **2.2**, **2.1**, **2.0**, **1.9** + ## Features * No string extensions (suitable for library development) @@ -23,14 +27,6 @@ - Manually set `Paint.mode = 256` at the beginning of your code - Please [open a new issue](https://github.com/janlelis/paint/issues/new) so we can figure out how to blacklist the terminal used -## Supported Rubies - -* **2.7**, **2.6**, **2.5**, **2.4** - -Unsupported, but might still work: - -* **2.3**, **2.2**, **2.1**, **2.0**, **1.9** - ## Setup Add to `Gemfile`: @@ -93,6 +89,8 @@ Paint tries to automatically detect the proper value your terminal is capable of, please [open an issue](https://github.com/janlelis/paint/issues/new) if `Paint.detect_mode` yields a wrong value for you. +`Paint.detect_mode` will return 0 if the [NO_COLOR environment variable is set](https://github.com/jcs/no_color/). + ## More Details About Terminal Colors and Effects <img src="https://pbs.twimg.com/media/ENyLvgVXUAgeDTn.jpg" /> @@ -186,7 +184,7 @@ ## Advanced Usage: Shortcuts -There is an extension gem available which allows you to define custom color definitions, which you can reuse later. See [SHORTCUTS.md](https://github.com/janlelis/paint/blob/master/SHORTCUTS.md) for documentation. This is completely optional. +There is an extension gem available which allows you to define custom color definitions, which you can reuse later. See [SHORTCUTS.md](https://github.com/janlelis/paint/blob/main/SHORTCUTS.md) for documentation. This is completely optional. ## J-_-L 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/version.rb new/lib/paint/version.rb --- old/lib/paint/version.rb 2020-02-21 17:56:10.000000000 +0100 +++ new/lib/paint/version.rb 2020-12-09 16:48:45.000000000 +0100 @@ -1,5 +1,5 @@ # frozen_string_literal: true module Paint - VERSION = "2.2.0" + VERSION = "2.2.1" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/paint.rb new/lib/paint.rb --- old/lib/paint.rb 2020-02-21 17:56:10.000000000 +0100 +++ new/lib/paint.rb 2020-12-09 16:48:45.000000000 +0100 @@ -182,6 +182,8 @@ else 0 end + elsif ENV['TERM_PROGRAM'] == 'Apple_Terminal' + 256 else case ENV['TERM'] when /^rxvt-(?:.*)-256color$/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2020-02-21 17:56:10.000000000 +0100 +++ new/metadata 2020-12-09 16:48:45.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: paint version: !ruby/object:Gem::Version - version: 2.2.0 + version: 2.2.1 platform: ruby authors: - Jan Lelis autorequire: bindir: bin cert_chain: [] -date: 2020-02-21 00:00:00.000000000 Z +date: 2020-12-09 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rspec @@ -166,7 +166,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.6 +rubygems_version: 3.1.2 signing_key: specification_version: 4 summary: Terminal painter!
