commit rubygem-lolcat for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-lolcat for openSUSE:Factory checked in at 2020-03-04 09:48:01 Comparing /work/SRC/openSUSE:Factory/rubygem-lolcat (Old) and /work/SRC/openSUSE:Factory/.rubygem-lolcat.new.26092 (New) Package is "rubygem-lolcat" Wed Mar 4 09:48:01 2020 rev:2 rq:781309 version:100.0.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-lolcat/rubygem-lolcat.changes 2019-08-30 14:41:24.605420926 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-lolcat.new.26092/rubygem-lolcat.changes 2020-03-04 09:48:18.966212273 +0100 @@ -1,0 +2,6 @@ +Sun Mar 1 18:14:07 UTC 2020 - Andreas Stieger + +- update to v100.0.1: + * allow using paint 2.2.0 + +--- Old: lolcat-100.0.0.gem New: lolcat-100.0.1.gem Other differences: -- ++ rubygem-lolcat.spec ++ --- /var/tmp/diff_new_pack.n02qAq/_old 2020-03-04 09:48:19.994212889 +0100 +++ /var/tmp/diff_new_pack.n02qAq/_new 2020-03-04 09:48:19.994212889 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-lolcat # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,34 +16,34 @@ # +%define mod_name lolcat +%define mod_full_name %{mod_name}-%{version} # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # - Name: rubygem-lolcat -Version:100.0.0 +Version:100.0.1 Release:0 -%define mod_name lolcat -%define mod_full_name %{mod_name}-%{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary:Add the colors of the rainbow to your terminal a.k.a. Rainbows and Unicorns! +License:BSD-3-Clause +Group: Development/Languages/Ruby +URL:https://github.com/busyloop/lolcat +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives -Url:https://github.com/busyloop/lolcat -Source: https://rubygems.org/gems/%{mod_full_name}.gem -Source1:gem2rpm.yml -Summary:Add the colors of the rainbow to your terminal a.k.a. Rainbows and Unicorns! -License:BSD-3-Clause -Group: Development/Languages/Ruby +# FIXME: use proper Requires(pre/post/preun/...) PreReq: update-alternatives %description This is a console program that transforms text from files or stdin by adding crazy rainbow colors or even animations. + %prep %build ++ lolcat-100.0.0.gem -> lolcat-100.0.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2019-08-12 09:33:03.0 +0200 +++ new/README.md 2020-02-22 11:48:23.0 +0100 @@ -11,3 +11,9 @@ ```bash $ gem install lolcat ``` + +Or using [homebrew](https://brew.sh): + +```bash +$ brew install lolcat +``` Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/version.rb new/lib/lolcat/version.rb --- old/lib/lolcat/version.rb 2019-08-12 09:33:03.0 +0200 +++ new/lib/lolcat/version.rb 2020-02-22 11:48:23.0 +0100 @@ -1,3 +1,3 @@ module Lolcat - VERSION = "100.0.0" + VERSION = "100.0.1" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lolcat.gemspec new/lolcat.gemspec --- old/lolcat.gemspec 2019-08-12 09:33:03.0 +0200 +++ new/lolcat.gemspec 2020-02-22 11:48:23.0 +0100 @@ -12,7 +12,7 @@ s.summary = %q{Okay, no unicorns. But rainbows!!} s.add_development_dependency "rake" - s.add_dependency "paint", "~> 2.1.0" + s.add_dependency "paint", "~> 2.1" s.add_dependency "optimist", "~> 3.0.0" s.add_dependency "manpages", "~> 0.6.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2019-08-12 09:33:03.0 +0200 +++ new/metadata2020-02-22 11:48:23.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: lolcat version: !ruby/object:Gem::Version - version: 100.0.0 + version: 100.0.1 platform: ruby authors: - Moe autorequire: bind
commit rubygem-lolcat for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-lolcat for openSUSE:Factory checked in at 2019-01-21 10:25:25 Comparing /work/SRC/openSUSE:Factory/rubygem-lolcat (Old) and /work/SRC/openSUSE:Factory/.rubygem-lolcat.new.28833 (New) Package is "rubygem-lolcat" Mon Jan 21 10:25:25 2019 rev:5 rq:656367 version:99.9.20 Changes: --- /work/SRC/openSUSE:Factory/rubygem-lolcat/rubygem-lolcat.changes 2018-10-17 08:42:36.821794068 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-lolcat.new.28833/rubygem-lolcat.changes 2019-01-21 10:25:27.229744008 +0100 @@ -1,0 +2,6 @@ +Sat Dec 8 16:25:01 UTC 2018 - Stephan Kulow + +- updated to version 99.9.20 + no changelog found + +--- Old: lolcat-99.9.19.gem New: lolcat-99.9.20.gem Other differences: -- ++ rubygem-lolcat.spec ++ --- /var/tmp/diff_new_pack.Wv3CAN/_old 2019-01-21 10:25:27.625743572 +0100 +++ /var/tmp/diff_new_pack.Wv3CAN/_new 2019-01-21 10:25:27.625743572 +0100 @@ -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-lolcat -Version:99.9.19 +Version:99.9.20 Release:0 %define mod_name lolcat %define mod_full_name %{mod_name}-%{version} ++ lolcat-99.9.19.gem -> lolcat-99.9.20.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/cat.rb new/lib/lolcat/cat.rb --- old/lib/lolcat/cat.rb 2018-08-30 16:59:41.0 +0200 +++ new/lib/lolcat/cat.rb 2018-12-02 07:10:59.0 +0100 @@ -27,11 +27,11 @@ require "lolcat/lol" require 'stringio' -require 'trollop' +require 'optimist' module Lol def self.cat! -p = Trollop::Parser.new do +p = Optimist::Parser.new do version "lolcat #{Lolcat::VERSION} (c)2011 m...@busyloop.net" banner < 2.0.0" - s.add_dependency "trollop", "= 2.1.3" + s.add_dependency "optimist", "~> 3.0.0" s.add_dependency "manpages", "~> 0.6.1" s.files = `git ls-files`.split("\n") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-08-30 16:59:41.0 +0200 +++ new/metadata2018-12-02 07:10:59.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: lolcat version: !ruby/object:Gem::Version - version: 99.9.19 + version: 99.9.20 platform: ruby authors: - Moe autorequire: bindir: bin cert_chain: [] -date: 2018-08-30 00:00:00.0 Z +date: 2018-12-02 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -39,19 +39,19 @@ - !ruby/object:Gem::Version version: 2.0.0 - !ruby/object:Gem::Dependency - name: trollop + name: optimist requirement: !ruby/object:Gem::Requirement requirements: -- - '=' +- - "~>" - !ruby/object:Gem::Version -version: 2.1.3 +version: 3.0.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: -- - '=' +- - "~>" - !ruby/object:Gem::Version -version: 2.1.3 +version: 3.0.0 - !ruby/object:Gem::Dependency name: manpages requirement: !ruby/object:Gem::Requirement
commit rubygem-lolcat for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-lolcat for openSUSE:Factory checked in at 2018-10-17 08:41:30 Comparing /work/SRC/openSUSE:Factory/rubygem-lolcat (Old) and /work/SRC/openSUSE:Factory/.rubygem-lolcat.new (New) Package is "rubygem-lolcat" Wed Oct 17 08:41:30 2018 rev:4 rq:642181 version:99.9.19 Changes: --- /work/SRC/openSUSE:Factory/rubygem-lolcat/rubygem-lolcat.changes 2017-08-16 16:12:28.731783339 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-lolcat.new/rubygem-lolcat.changes 2018-10-17 08:42:36.821794068 +0200 @@ -1,0 +2,23 @@ +Wed Sep 5 10:26:28 UTC 2018 - co...@suse.com + +- updated to version 99.9.19 + no changelog found + +--- +Thu Apr 19 00:13:11 UTC 2018 - factory-a...@kulow.org + +- updated to version 99.9.11 + no changelog found + +--- +Mon Apr 16 09:39:17 UTC 2018 - matthias.gerst...@suse.com + +- remove .gitignore from install tree + +--- +Mon Apr 9 04:30:00 UTC 2018 - factory-a...@kulow.org + +- updated to version 99.9.10 + no changelog found + +--- Old: lolcat-90.8.8.gem New: lolcat-99.9.19.gem Other differences: -- ++ rubygem-lolcat.spec ++ --- /var/tmp/diff_new_pack.0iQg6N/_old 2018-10-17 08:42:37.185793759 +0200 +++ /var/tmp/diff_new_pack.0iQg6N/_new 2018-10-17 08:42:37.189793756 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-lolcat # -# 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 @@ -24,7 +24,7 @@ # Name: rubygem-lolcat -Version:90.8.8 +Version:99.9.19 Release:0 %define mod_name lolcat %define mod_full_name %{mod_name}-%{version} @@ -34,7 +34,7 @@ BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url:https://github.com/busyloop/lolcat -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Add the colors of the rainbow to your terminal a.k.a. Rainbows and Unicorns! License:BSD-3-Clause ++ lolcat-90.8.8.gem -> lolcat-99.9.19.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/cat.rb new/lib/lolcat/cat.rb --- old/lib/lolcat/cat.rb 2017-07-14 19:52:21.0 +0200 +++ new/lib/lolcat/cat.rb 2018-08-30 16:59:41.0 +0200 @@ -82,7 +82,7 @@ :spread => 8.0, :freq => 0.3 } -Lol.cat buf.read.split(/(?<=\n)/), opts +Lol.cat buf, opts puts buf.close exit 1 @@ -112,9 +112,7 @@ $stdout.write(line) end else - until fd.eof? do -$stdout.write(fd.read(8192)) - end + IO.copy_stream(fd, $stdout) end end rescue Errno::ENOENT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/lol.rb new/lib/lolcat/lol.rb --- old/lib/lolcat/lol.rb 2017-07-14 19:52:21.0 +0200 +++ new/lib/lolcat/lol.rb 2018-08-30 16:59:41.0 +0200 @@ -27,7 +27,9 @@ require 'paint' module Lol - STRIP_ANSI = Regexp.compile '\e\[[\d;]*[m|K]', nil + ANSI_ESCAPE = /((?:\e(?:[ -\/]+.|[\]PX^_][^\a\e]*|\[[0-?]*.|.))*)(.?)/m + INCOMPLETE_ESCAPE = /\e(?:[ -\/]*|[\]PX^_][^\a\e]*|\[[0-?]*)$/ + @paint_detected_mode = Paint.detect_mode def self.rainbow(freq, i) @@ -39,18 +41,32 @@ def self.cat(fd, opts={}) print "\e[?25l" if opts[:animate] -fd.each do |line| - opts[:os] += 1 - println(line, opts) +while true do + buf = '' + begin +begin + buf += fd.sysread(4096) + invalid_encoding = !buf.dup.force_encoding(fd.external_encoding).valid_encoding? +end while invalid_encoding or buf.match(INCOMPLETE_ESCAPE) + rescue EOFError +break + end + buf.force_encoding(fd.external_encoding) + buf.lines.each do |line| +opts[:os] += 1 +println(line, opts) + end end ensure -print "\e[?25h" if opts[:animate] +if STDOUT.tty? then +print "\e[m\e[?25h\e[?1;5;2004l" +sy
commit rubygem-lolcat for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-lolcat for openSUSE:Factory checked in at 2017-08-16 16:12:13 Comparing /work/SRC/openSUSE:Factory/rubygem-lolcat (Old) and /work/SRC/openSUSE:Factory/.rubygem-lolcat.new (New) Package is "rubygem-lolcat" Wed Aug 16 16:12:13 2017 rev:3 rq:514522 version:90.8.8 Changes: --- /work/SRC/openSUSE:Factory/rubygem-lolcat/rubygem-lolcat.changes 2017-06-20 09:40:45.237034543 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-lolcat.new/rubygem-lolcat.changes 2017-08-16 16:12:28.731783339 +0200 @@ -1,0 +2,6 @@ +Thu Aug 3 19:26:04 UTC 2017 - co...@suse.com + +- updated to version 90.8.8 + no changelog found + +--- Old: lolcat-42.24.1.gem New: lolcat-90.8.8.gem Other differences: -- ++ rubygem-lolcat.spec ++ --- /var/tmp/diff_new_pack.W8vvVr/_old 2017-08-16 16:12:29.311701936 +0200 +++ /var/tmp/diff_new_pack.W8vvVr/_new 2017-08-16 16:12:29.315701375 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-lolcat -Version:42.24.1 +Version:90.8.8 Release:0 %define mod_name lolcat %define mod_full_name %{mod_name}-%{version} ++ lolcat-42.24.1.gem -> lolcat-90.8.8.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/cat.rb new/lib/lolcat/cat.rb --- old/lib/lolcat/cat.rb 2017-06-11 21:01:42.0 +0200 +++ new/lib/lolcat/cat.rb 2017-07-14 19:52:21.0 +0200 @@ -82,7 +82,7 @@ :spread => 8.0, :freq => 0.3 } -Lol.cat buf.read.split("\n"), opts +Lol.cat buf.read.split(/(?<=\n)/), opts puts buf.close exit 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/lol.rb new/lib/lolcat/lol.rb --- old/lib/lolcat/lol.rb 2017-06-11 21:01:42.0 +0200 +++ new/lib/lolcat/lol.rb 2017-07-14 19:52:21.0 +0200 @@ -49,11 +49,11 @@ def self.println(str, defaults={}, opts={}) opts.merge!(defaults) -str.chomp! +chomped = str.chomp! str.gsub! STRIP_ANSI, '' if !str.nil? and ($stdout.tty? or opts[:force]) str.gsub! "\t", "" opts[:animate] ? println_ani(str, opts) : println_plain(str, opts) -puts +puts if chomped end private diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/version.rb new/lib/lolcat/version.rb --- old/lib/lolcat/version.rb 2017-06-11 21:01:42.0 +0200 +++ new/lib/lolcat/version.rb 2017-07-14 19:52:21.0 +0200 @@ -1,3 +1,3 @@ module Lolcat - VERSION = "42.24.1" + VERSION = "90.8.8" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2017-06-11 21:01:42.0 +0200 +++ new/metadata2017-07-14 19:52:21.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: lolcat version: !ruby/object:Gem::Version - version: 42.24.1 + version: 90.8.8 platform: ruby authors: - Moe autorequire: bindir: bin cert_chain: [] -date: 2017-06-11 00:00:00.0 Z +date: 2017-07-14 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rake
commit rubygem-lolcat for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-lolcat for openSUSE:Factory checked in at 2017-06-20 09:40:41 Comparing /work/SRC/openSUSE:Factory/rubygem-lolcat (Old) and /work/SRC/openSUSE:Factory/.rubygem-lolcat.new (New) Package is "rubygem-lolcat" Tue Jun 20 09:40:41 2017 rev:2 rq:504642 version:42.24.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-lolcat/rubygem-lolcat.changes 2017-03-12 20:02:34.225894114 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-lolcat.new/rubygem-lolcat.changes 2017-06-20 09:40:45.237034543 +0200 @@ -1,0 +2,6 @@ +Tue Jun 13 20:49:54 UTC 2017 - co...@suse.com + +- updated to version 42.24.1 + no changelog found + +--- Old: lolcat-42.24.0.gem New: lolcat-42.24.1.gem Other differences: -- ++ rubygem-lolcat.spec ++ --- /var/tmp/diff_new_pack.mHjS5U/_old 2017-06-20 09:40:45.824951651 +0200 +++ /var/tmp/diff_new_pack.mHjS5U/_new 2017-06-20 09:40:45.828951086 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-lolcat # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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-lolcat -Version:42.24.0 +Version:42.24.1 Release:0 %define mod_name lolcat %define mod_full_name %{mod_name}-%{version} ++ lolcat-42.24.0.gem -> lolcat-42.24.1.gem ++ Binary files old/ass/screenshot.png and new/ass/screenshot.png differ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/cat.rb new/lib/lolcat/cat.rb --- old/lib/lolcat/cat.rb 2016-12-26 13:52:54.0 +0100 +++ new/lib/lolcat/cat.rb 2017-06-11 21:01:42.0 +0200 @@ -100,15 +100,21 @@ begin files = ARGV.empty? ? [:stdin] : ARGV[0..-1] files.each do |file| -fd = ARGF if file == '-' or file == :stdin +fd = $stdin if file == '-' or file == :stdin begin - fd = File.open file unless fd == ARGF + fd = File.open(file, "r") unless fd == $stdin if $stdout.tty? or opts[:force] Lol.cat fd, opts else -until fd.eof? do - $stdout.write(fd.read(8192)) +if fd.tty? + fd.each do |line| +$stdout.write(line) + end +else + until fd.eof? do +$stdout.write(fd.read(8192)) + end end end rescue Errno::ENOENT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/lolcat/version.rb new/lib/lolcat/version.rb --- old/lib/lolcat/version.rb 2016-12-26 13:52:54.0 +0100 +++ new/lib/lolcat/version.rb 2017-06-11 21:01:42.0 +0200 @@ -1,3 +1,3 @@ module Lolcat - VERSION = "42.24.0" + VERSION = "42.24.1" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2016-12-26 13:52:54.0 +0100 +++ new/metadata2017-06-11 21:01:42.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: lolcat version: !ruby/object:Gem::Version - version: 42.24.0 + version: 42.24.1 platform: ruby authors: - Moe autorequire: bindir: bin cert_chain: [] -date: 2016-12-26 00:00:00.0 Z +date: 2017-06-11 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rake