byebug 8.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/byebug/commands/break.rb +1 -0
- data/lib/byebug/helpers/parse.rb +3 -3
- data/lib/byebug/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7ebb05ed06b0a41e17825cbe8b946f70b7778eb
|
4
|
+
data.tar.gz: a0f18c28ca31209d72bb95c979fb5de138d0769d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f3e3edd460a1fa7748f603dc9e6e4e5993fd7ef64872f4bf46b5768c94086a60a0544fd3a76e425fcc5458e0ba650fd29c72f5c58b2827bcae9f498fdf48032
|
7
|
+
data.tar.gz: 832bb3c1c505a040168ada9f6a7858b4aa00af29ab6f2040fdeb2d704ad807f71739039bd2cbe00ab4e7777b389e1539c9f3a67451df41873b4657ca8011565b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
## 8.0.1 - 2015-11-07
|
2
|
+
### Fixed
|
3
|
+
* Error stream wouldn't be properly reset when using standalone `byebug`.
|
4
|
+
* Confusing error message for invalid breakpoint locations.
|
5
|
+
|
1
6
|
## 8.0.0 - 2015-11-05
|
2
7
|
### Fixed
|
3
|
-
* [#183](
|
8
|
+
* [#183](https://github.com/deivid-rodriguez/byebug/issues/183). Compilation
|
4
9
|
in Ruby 2.0. Regression introduced in 7.0.0
|
5
10
|
* "Return value is: nil" would be displayed when stopping right before the end
|
6
11
|
of a class definition. We want to avoid showing anything instead.
|
@@ -38,6 +38,7 @@ module Byebug
|
|
38
38
|
return puts(help) unless @match[1]
|
39
39
|
|
40
40
|
b = line_breakpoint(@match[1]) || method_breakpoint(@match[1])
|
41
|
+
return errmsg(pr('break.errors.location')) unless b
|
41
42
|
|
42
43
|
if syntax_valid?(@match[2])
|
43
44
|
return puts(pr('break.created', id: b.id, file: b.source, line: b.pos))
|
data/lib/byebug/helpers/parse.rb
CHANGED
@@ -63,12 +63,12 @@ module Byebug
|
|
63
63
|
# Temporarily disable output to $stderr
|
64
64
|
#
|
65
65
|
def without_stderr
|
66
|
-
|
67
|
-
$stderr.
|
66
|
+
old_stderr = $stderr
|
67
|
+
$stderr = StringIO.new
|
68
68
|
|
69
69
|
yield
|
70
70
|
ensure
|
71
|
-
$stderr
|
71
|
+
$stderr = old_stderr
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
data/lib/byebug/version.rb
CHANGED
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: 8.0.
|
4
|
+
version: 8.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Rodriguez
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-11-
|
13
|
+
date: 2015-11-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
190
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.
|
191
|
+
rubygems_version: 2.5.0
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: Ruby 2.0 fast debugger - base + CLI
|