byebug 11.1.1 → 11.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0d841fd0b5728301f257aaf1e5c5113f94ea186d2820b27e71815d3ae9a51f0
4
- data.tar.gz: 659295491c2ef882c1eb82cc35b4f6658d7c43fbae91493d8faa8d14567e1059
3
+ metadata.gz: 6a4a7621cca4f17abae5109522f9c2db37c15461b7d83c3da57d002d379afcb7
4
+ data.tar.gz: c41193cf7ff5b62c6d1f2d877874c415371b05e36eb30aeef6b021b74db212e1
5
5
  SHA512:
6
- metadata.gz: 6ec0567c5d0d2f368bd688d73133be3a2f3fc0d1d90b4079c7fd76c61cd6ebfc62bbda1b58e14122008c57c05b6f3956defe080ccec69b61c77bd87e32870934
7
- data.tar.gz: d81a9b61741c459ccc0d64ba9edd092ecd579d0ca3af2e630541ea383174e80c65553ca99bb79855e938b87bfcbdeb3ff48ca1dc00002efbcd85846a973fe50a
6
+ metadata.gz: f6ef259c30c9ab0f40661b9acbec14e398bb99f0650915492fefc4d488419d6b179c817088c08e8345714b4f95609853fb5ebc2bd1be86f7b64963e495b1b381
7
+ data.tar.gz: 52be93b9e2dbc76d98f44553443dea45f0fc652386ebb993ef1583d76b2aa58174a649108dd551c84ed959f86f6ac00ba302a73349c570910542fac64e34d225
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [11.1.2] - 2020-04-17
6
+
7
+ ### Fixed
8
+
9
+ * [#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]).
10
+
5
11
  ## [11.1.1] - 2020-01-24
6
12
 
7
13
  ### Fixed
@@ -808,7 +814,8 @@
808
814
 
809
815
  * Initial release.
810
816
 
811
- [Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...HEAD
817
+ [Unreleased]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.2...HEAD
818
+ [11.1.2]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.1...v11.1.2
812
819
  [11.1.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.1.0...v11.1.1
813
820
  [11.1.0]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.1...v11.1.0
814
821
  [11.0.1]: https://github.com/deivid-rodriguez/byebug/compare/v11.0.0...v11.0.1
@@ -911,6 +918,7 @@
911
918
  [@sethk]: https://github.com/sethk
912
919
  [@shuky19]: https://github.com/shuky19
913
920
  [@tacnoman]: https://github.com/tacnoman
921
+ [@terceiro]: https://github.com/terceiro
914
922
  [@tzmfreedom]: https://github.com/tzmfreedom
915
923
  [@wallace]: https://github.com/wallace
916
924
  [@windwiny]: https://github.com/windwiny
data/README.md CHANGED
@@ -2,17 +2,14 @@
2
2
 
3
3
  [![Version][gem]][gem_url]
4
4
  [![Tidelift][tid]][tid_url]
5
- [![Coverage][cov]][cov_url]
6
5
  [![Gitter][irc]][irc_url]
7
6
 
8
7
  [gem]: https://img.shields.io/gem/v/byebug.svg
9
- [tid]: https://tidelift.com/badges/github/deivid-rodriguez/byebug
10
- [cov]: https://api.codeclimate.com/v1/badges/f1a1bec582752c22da80/test_coverage
8
+ [tid]: https://tidelift.com/badges/package/rubygems/byebug
11
9
  [irc]: https://img.shields.io/badge/IRC%20(gitter)-devs%20%26%20users-brightgreen.svg
12
10
 
13
11
  [gem_url]: https://rubygems.org/gems/byebug
14
12
  [tid_url]: https://tidelift.com/subscription/pkg/rubygems-byebug?utm_source=rubygems-byebug&utm_medium=readme_badge
15
- [cov_url]: https://codeclimate.com/github/deivid-rodriguez/byebug/test_coverage
16
13
  [irc_url]: https://gitter.im/deivid-rodriguez/byebug
17
14
 
18
15
  Byebug is a simple to use and feature rich debugger for Ruby. It uses the
@@ -39,12 +36,8 @@ more][Tidelift for enterprise].
39
36
 
40
37
  ## Build Status
41
38
 
42
- Linux ![](https://github.com/deivid-rodriguez/byebug/workflows/build/badge.svg)
43
- Windows [![Vey][vey]][vey_url]
44
-
45
- [vey]: https://ci.appveyor.com/api/projects/status/github/deivid-rodriguez/byebug?svg=true
46
-
47
- [vey_url]: https://ci.appveyor.com/project/deivid-rodriguez/byebug
39
+ ![ubuntu](https://github.com/deivid-rodriguez/byebug/workflows/ubuntu/badge.svg)
40
+ ![windows](https://github.com/deivid-rodriguez/byebug/workflows/windows/badge.svg)
48
41
 
49
42
  ## Requirements
50
43
 
data/exe/byebug CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require_relative "../lib/byebug/runner"
4
+ require "byebug/runner"
5
5
 
6
6
  Byebug::Runner.new.run
@@ -21,7 +21,7 @@ module Byebug
21
21
  # @param prompt Prompt to be displayed.
22
22
  #
23
23
  def readline(prompt)
24
- with_repl_like_sigint { Readline.readline(prompt) || EOF_ALIAS }
24
+ with_repl_like_sigint { without_readline_completion { Readline.readline(prompt) || EOF_ALIAS } }
25
25
  end
26
26
 
27
27
  #
@@ -40,5 +40,24 @@ module Byebug
40
40
  ensure
41
41
  trap("INT", orig_handler)
42
42
  end
43
+
44
+ #
45
+ # Disable any Readline completion procs.
46
+ #
47
+ # Other gems, for example, IRB could've installed completion procs that are
48
+ # dependent on them being loaded. Disable those while byebug is the REPL
49
+ # making use of Readline.
50
+ #
51
+ def without_readline_completion
52
+ orig_completion = Readline.completion_proc
53
+ return yield unless orig_completion
54
+
55
+ begin
56
+ Readline.completion_proc = nil
57
+ yield
58
+ ensure
59
+ Readline.completion_proc = orig_completion
60
+ end
61
+ end
43
62
  end
44
63
  end
@@ -4,5 +4,5 @@
4
4
  # Reopen main module to define the library version
5
5
  #
6
6
  module Byebug
7
- VERSION = "11.1.1"
7
+ VERSION = "11.1.2"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: byebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.1.1
4
+ version: 11.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodriguez
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-01-24 00:00:00.000000000 Z
13
+ date: 2020-04-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  requirements: []
195
- rubygems_version: 3.1.2
195
+ rubygems_version: 3.2.0.pre1
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Ruby fast debugger - base + CLI