Hello community,

here is the log from the commit of package rubygem-paint for openSUSE:Factory 
checked in at 2020-05-11 13:39:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-paint (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-paint.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-paint"

Mon May 11 13:39:15 2020 rev:6 rq:802360 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-paint/rubygem-paint.changes      
2020-03-07 21:39:23.312318739 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-paint.new.2738/rubygem-paint.changes    
2020-05-11 13:39:16.704856549 +0200
@@ -1,0 +2,10 @@
+Thu May  7 21:11:45 UTC 2020 - Stephan Kulow <[email protected]>
+
+- updated to version 2.2.0
+ see installed CHANGELOG.md
+
+  ### 2.2.0
+  
+  * Support NO_COLOR environment variable, implements #26 (see no-color.org)
+
+-------------------------------------------------------------------

Old:
----
  paint-2.1.1.gem

New:
----
  paint-2.2.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-paint.spec ++++++
--- /var/tmp/diff_new_pack.wOjTPN/_old  2020-05-11 13:39:17.272857739 +0200
+++ /var/tmp/diff_new_pack.wOjTPN/_new  2020-05-11 13:39:17.276857748 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-paint
-Version:        2.1.1
+Version:        2.2.0
 Release:        0
 %define mod_name paint
 %define mod_full_name %{mod_name}-%{version}
@@ -40,8 +40,8 @@
 Group:          Development/Languages/Ruby
 
 %description
-Terminal painter: No string extensions / RGB and 256 color support / effect
-support. Usage: Paint['string', :red, :bright].
+Terminal painter with RGB and 256 (fallback) color and terminal effects
+support. No string extensions! Usage: Paint['string', :red, :bright].
 
 %prep
 

++++++ paint-2.1.1.gem -> paint-2.2.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2019-08-28 09:33:16.000000000 +0200
+++ new/.travis.yml     2020-02-21 17:56:10.000000000 +0100
@@ -2,22 +2,24 @@
 language: ruby
 
 rvm:
-- 2.6.0
-- 2.5.3
-- 2.4.5
-- 2.3.8
+- 2.7
+- 2.6
+- 2.5
+- 2.4
+- 2.3
 - 2.2
 - 2.1
 - 2.0
 - 1.9.3
 - ruby-head
 - jruby-head
-- jruby-9.2.5.0
+- jruby-9.2.9.0
 - truffleruby
 
 matrix:
   allow_failures:
     - rvm: jruby-head
+    - rvm: 2.3
     - rvm: 2.2
     - rvm: 2.1
     - rvm: 2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2019-08-28 09:33:16.000000000 +0200
+++ new/CHANGELOG.md    2020-02-21 17:56:10.000000000 +0100
@@ -1,5 +1,9 @@
 # CHANGELOG
 
+### 2.2.0
+
+* Support NO_COLOR environment variable, implements #26 (see no-color.org)
+
 ### 2.1.1
 
 * Blacklist True Color support for urxvt, fixes #25
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIT-LICENSE.txt new/MIT-LICENSE.txt
--- old/MIT-LICENSE.txt 2019-08-28 09:33:16.000000000 +0200
+++ new/MIT-LICENSE.txt 2020-02-21 17:56:10.000000000 +0100
@@ -1,6 +1,6 @@
 The MIT LICENSE
 
-Copyright (c) 2011-2018 Jan Lelis
+Copyright (c) 2011-2020 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       2019-08-28 09:33:16.000000000 +0200
+++ new/README.md       2020-02-21 17:56:10.000000000 +0100
@@ -6,7 +6,7 @@
 
 * No string extensions (suitable for library development)
 * Simple API
-* Faster than other terminal color gems ([as of December 
2018](https://gist.github.com/janlelis/91413b9295c81ee873dc))
+* Faster than other terminal color gems ([as of January 
2020](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.6**, **2.5**, **2.4**, **2.3**
+* **2.7**, **2.6**, **2.5**, **2.4**
 
 Unsupported, but might still work:
 
-* **2.2**, **2.1**, **2.0**, **1.9**
+* **2.3**, **2.2**, **2.1**, **2.0**, **1.9**
 
 ## Setup
 
@@ -95,6 +95,8 @@
 
 ## More Details About Terminal Colors and Effects
 
+<img src="https://pbs.twimg.com/media/ENyLvgVXUAgeDTn.jpg"; />
+
 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`
@@ -188,7 +190,7 @@
 
 ## J-_-L
 
-Copyright (c) 2011-2018 Jan Lelis <https://janlelis.com>, released under the
+Copyright (c) 2011-2020 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)!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2019-08-28 09:33:16.000000000 +0200
+++ new/Rakefile        2020-02-21 17:56:10.000000000 +0100
@@ -35,7 +35,7 @@
 task :install => :gems do
   gemspecs.each{ |gemspec|
     spec = gemspec_spec_for(gemspec)
-    sh %{gem install pkg/#{spec.name}-#{spec.version}.gem --no-rdoc --no-ri}
+    sh %{gem install pkg/#{spec.name}-#{spec.version}.gem --no-doc}
   }
 end
 
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    2019-08-28 09:33:16.000000000 +0200
+++ new/lib/paint/version.rb    2020-02-21 17:56:10.000000000 +0100
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Paint
-  VERSION = "2.1.1"
+  VERSION = "2.2.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/paint.rb new/lib/paint.rb
--- old/lib/paint.rb    2019-08-28 09:33:16.000000000 +0200
+++ new/lib/paint.rb    2020-02-21 17:56:10.000000000 +0100
@@ -172,7 +172,9 @@
     # Determine supported colors
     # Note: there's no reliable test for 24-bit color support
     def detect_mode
-      if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ # windows
+      if ENV['NO_COLOR'] # see https://no-color.org/
+        0
+      elsif RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ # windows
         if ENV['ANSICON']
           16
         elsif ENV['ConEmuANSI'] == 'ON'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-08-28 09:33:16.000000000 +0200
+++ new/metadata        2020-02-21 17:56:10.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: paint
 version: !ruby/object:Gem::Version
-  version: 2.1.1
+  version: 2.2.0
 platform: ruby
 authors:
 - Jan Lelis
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-08-28 00:00:00.000000000 Z
+date: 2020-02-21 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rspec
@@ -72,14 +72,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '1.4'
+        version: '1.7'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '1.4'
+        version: '1.7'
 - !ruby/object:Gem::Dependency
   name: ansi
   requirement: !ruby/object:Gem::Requirement
@@ -114,17 +114,18 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '0.6'
+        version: '0.7'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '0.6'
-description: 'Terminal painter: No string extensions / RGB and 256 color 
support /
-  effect support. Usage: Paint[''string'', :red, :bright]'
-email: [email protected]
+        version: '0.7'
+description: 'Terminal painter with RGB and 256 (fallback) color and terminal 
effects
+  support. No string extensions! Usage: Paint[''string'', :red, :bright]'
+email:
+- [email protected]
 executables: []
 extensions: []
 extra_rdoc_files:
@@ -165,7 +166,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.0.6
 signing_key: 
 specification_version: 4
 summary: Terminal painter!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/paint.gemspec new/paint.gemspec
--- old/paint.gemspec   2019-08-28 09:33:16.000000000 +0200
+++ new/paint.gemspec   2020-02-21 17:56:10.000000000 +0100
@@ -6,10 +6,10 @@
   s.name        = "paint"
   s.version     = Paint::VERSION
   s.authors     = ["Jan Lelis"]
-  s.email       = "[email protected]"
+  s.email       = ["[email protected]"]
   s.homepage    = "https://github.com/janlelis/paint";
   s.summary     = "Terminal painter!"
-  s.description = "Terminal painter: No string extensions / RGB and 256 color 
support / effect support. Usage: Paint['string', :red, :bright]"
+  s.description = "Terminal painter with RGB and 256 (fallback) color and 
terminal effects support. No string extensions! Usage: Paint['string', :red, 
:bright]"
   s.license = 'MIT'
 
   s.files = %w[
@@ -36,8 +36,8 @@
   s.add_development_dependency 'rake', '~> 12.3'
   s.add_development_dependency 'benchmark-ips', '~> 2.7'
   s.add_development_dependency 'rainbow', '~> 3.0'
-  s.add_development_dependency 'term-ansicolor', '~> 1.4'
+  s.add_development_dependency 'term-ansicolor', '~> 1.7'
   s.add_development_dependency 'ansi', '~> 1.5'
   s.add_development_dependency 'hansi', '~> 0.2'
-  s.add_development_dependency 'pastel', '~> 0.6'
+  s.add_development_dependency 'pastel', '~> 0.7'
 end


Reply via email to