Hello community,

here is the log from the commit of package rubygem-byebug for openSUSE:Factory 
checked in at 2020-04-29 20:41:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-byebug (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-byebug.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-byebug"

Wed Apr 29 20:41:48 2020 rev:21 rq:798273 version:11.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-byebug/rubygem-byebug.changes    
2020-01-30 09:36:14.869324646 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-byebug.new.2738/rubygem-byebug.changes  
2020-04-29 20:42:17.331628017 +0200
@@ -1,0 +2,10 @@
+Mon Apr 27 13:17:08 UTC 2020 - Manuel Schnitzer <[email protected]>
+
+- updated to version 11.1.3
+
+  ### Fixed
+
+  * [#674](https://github.com/deivid-rodriguez/byebug/pull/674):
+    crash when using byebug on ruby 2.7.0 on Windows.
+
+-------------------------------------------------------------------

Old:
----
  byebug-11.1.1.gem

New:
----
  byebug-11.1.3.gem

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

Other differences:
------------------
++++++ rubygem-byebug.spec ++++++
--- /var/tmp/diff_new_pack.JEY1GT/_old  2020-04-29 20:42:17.823629299 +0200
+++ /var/tmp/diff_new_pack.JEY1GT/_new  2020-04-29 20:42:17.823629299 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-byebug
 #
-# Copyright (c) 2020 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
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-byebug
-Version:        11.1.1
+Version:        11.1.3
 Release:        0
 %define mod_name byebug
 %define mod_full_name %{mod_name}-%{version}
@@ -39,7 +39,7 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
-Url:            https://github.com/deivid-rodriguez/byebug
+URL:            https://github.com/deivid-rodriguez/byebug
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        rubygem-byebug-rpmlintrc
 Source2:        gem2rpm.yml

++++++ byebug-11.1.1.gem -> byebug-11.1.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2020-01-24 01:13:12.000000000 +0100
+++ new/CHANGELOG.md    2020-04-23 12:01:00.000000000 +0200
@@ -2,6 +2,18 @@
 
 ## [Unreleased]
 
+## [11.1.3] - 2020-04-23
+
+### Fixed
+
+* [#674](https://github.com/deivid-rodriguez/byebug/pull/674): crash when 
using byebug on ruby 2.7.0 on Windows.
+
+## [11.1.2] - 2020-04-17
+
+### Fixed
+
+* [#657](https://github.com/deivid-rodriguez/byebug/pull/657): crash when 
hitting \<TAB\> due to IRB completion mechanism included in the default ruby 
2.7 version of the `irb` gem ([@terceiro]).
+
 ## [11.1.1] - 2020-01-24
 
 ### Fixed
@@ -808,7 +820,9 @@
 
 * Initial release.
 
-[Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...HEAD
+[Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.3...HEAD
+[11.1.3]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.2...v11.1.3
+[11.1.2]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.1...v11.1.2
 [11.1.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.0...v11.1.1
 [11.1.0]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.1...v11.1.0
 [11.0.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.0...v11.0.1
@@ -911,6 +925,7 @@
 [@sethk]: https://github.com/sethk
 [@shuky19]: https://github.com/shuky19
 [@tacnoman]: https://github.com/tacnoman
+[@terceiro]: https://github.com/terceiro
 [@tzmfreedom]: https://github.com/tzmfreedom
 [@wallace]: https://github.com/wallace
 [@windwiny]: https://github.com/windwiny
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2020-01-24 01:13:12.000000000 +0100
+++ new/README.md       2020-04-23 12:01:00.000000000 +0200
@@ -2,17 +2,14 @@
 
 [![Version][gem]][gem_url]
 [![Tidelift][tid]][tid_url]
-[![Coverage][cov]][cov_url]
 [![Gitter][irc]][irc_url]
 
 [gem]: https://img.shields.io/gem/v/byebug.svg
-[tid]: https://tidelift.com/badges/github/deivid-rodriguez/byebug
-[cov]: https://api.codeclimate.com/v1/badges/f1a1bec582752c22da80/test_coverage
+[tid]: https://tidelift.com/badges/package/rubygems/byebug
 [irc]: 
https://img.shields.io/badge/IRC%20(gitter)-devs%20%26%20users-brightgreen.svg
 
 [gem_url]: https://rubygems.org/gems/byebug
 [tid_url]: 
https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_badge
-[cov_url]: https://codeclimate.com/github/deivid-rodriguez/byebug/test_coverage
 [irc_url]: https://gitter.im/deivid-rodriguez/byebug
 
 Byebug is a simple to use and feature rich debugger for Ruby. It uses the
@@ -39,12 +36,8 @@
 
 ## Build Status
 
-Linux ![](https://github.com/deivid-rodriguez/byebug/workflows/build/badge.svg)
-Windows [![Vey][vey]][vey_url]
-
-[vey]: 
https://ci.appveyor.com/api/projects/status/github/deivid-rodriguez/byebug?svg=true
-
-[vey_url]: https://ci.appveyor.com/project/deivid-rodriguez/byebug
+![ubuntu](https://github.com/deivid-rodriguez/byebug/workflows/ubuntu/badge.svg)
+![windows](https://github.com/deivid-rodriguez/byebug/workflows/windows/badge.svg)
 
 ## Requirements
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/exe/byebug new/exe/byebug
--- old/exe/byebug      2020-01-24 01:13:12.000000000 +0100
+++ new/exe/byebug      2020-04-23 12:01:00.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
 # frozen_string_literal: true
 
-require_relative "../lib/byebug/runner"
+require "byebug/runner"
 
 Byebug::Runner.new.run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/byebug/interfaces/local_interface.rb 
new/lib/byebug/interfaces/local_interface.rb
--- old/lib/byebug/interfaces/local_interface.rb        2020-01-24 
01:13:12.000000000 +0100
+++ new/lib/byebug/interfaces/local_interface.rb        2020-04-23 
12:01:00.000000000 +0200
@@ -21,7 +21,7 @@
     # @param prompt Prompt to be displayed.
     #
     def readline(prompt)
-      with_repl_like_sigint { Readline.readline(prompt) || EOF_ALIAS }
+      with_repl_like_sigint { without_readline_completion { 
Readline.readline(prompt) || EOF_ALIAS } }
     end
 
     #
@@ -40,5 +40,24 @@
     ensure
       trap("INT", orig_handler)
     end
+
+    #
+    # Disable any Readline completion procs.
+    #
+    # Other gems, for example, IRB could've installed completion procs that are
+    # dependent on them being loaded. Disable those while byebug is the REPL
+    # making use of Readline.
+    #
+    def without_readline_completion
+      orig_completion = Readline.completion_proc
+      return yield unless orig_completion
+
+      begin
+        Readline.completion_proc = ->(_) { nil }
+        yield
+      ensure
+        Readline.completion_proc = orig_completion
+      end
+    end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/byebug/version.rb new/lib/byebug/version.rb
--- old/lib/byebug/version.rb   2020-01-24 01:13:12.000000000 +0100
+++ new/lib/byebug/version.rb   2020-04-23 12:01:00.000000000 +0200
@@ -4,5 +4,5 @@
 # Reopen main module to define the library version
 #
 module Byebug
-  VERSION = "11.1.1"
+  VERSION = "11.1.3"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-01-24 01:13:12.000000000 +0100
+++ new/metadata        2020-04-23 12:01:00.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: byebug
 version: !ruby/object:Gem::Version
-  version: 11.1.1
+  version: 11.1.3
 platform: ruby
 authors:
 - David Rodriguez
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: exe
 cert_chain: []
-date: 2020-01-24 00:00:00.000000000 Z
+date: 2020-04-23 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: bundler
@@ -192,7 +192,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.1.2
+rubygems_version: 3.2.0.pre1
 signing_key: 
 specification_version: 4
 summary: Ruby fast debugger - base + CLI


Reply via email to