byebug 8.0.0 → 8.0.1

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
  SHA1:
3
- metadata.gz: d5f07ccaa5a4aa1349f40bc2cf000ba1b38923c8
4
- data.tar.gz: a751bfe958abd5e9067ee0af534d021bfd2db7b5
3
+ metadata.gz: d7ebb05ed06b0a41e17825cbe8b946f70b7778eb
4
+ data.tar.gz: a0f18c28ca31209d72bb95c979fb5de138d0769d
5
5
  SHA512:
6
- metadata.gz: a14bb16fc28b18e031e94a4ec9e2e9615d2e9fd4543afee5dd39c11f4b8339d9d3d3098e7906c192289d659e4f10e8b13aba0d4d7d7c3e0aba4b1730d671e493
7
- data.tar.gz: 785e5764ddad295fdf8559e63d470c111869a56c3bae74895b5f9a6da0d4f08485d0e12799268938ab8f0ce7e48e54267bb7c23b20b0de3860d5af19a0ca06fe
6
+ metadata.gz: 0f3e3edd460a1fa7748f603dc9e6e4e5993fd7ef64872f4bf46b5768c94086a60a0544fd3a76e425fcc5458e0ba650fd29c72f5c58b2827bcae9f498fdf48032
7
+ data.tar.gz: 832bb3c1c505a040168ada9f6a7858b4aa00af29ab6f2040fdeb2d704ad807f71739039bd2cbe00ab4e7777b389e1539c9f3a67451df41873b4657ca8011565b
@@ -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]((https://github.com/deivid-rodriguez/byebug/issues/183). Compilation
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))
@@ -63,12 +63,12 @@ module Byebug
63
63
  # Temporarily disable output to $stderr
64
64
  #
65
65
  def without_stderr
66
- stderr = $stderr
67
- $stderr.reopen(IO::NULL)
66
+ old_stderr = $stderr
67
+ $stderr = StringIO.new
68
68
 
69
69
  yield
70
70
  ensure
71
- $stderr.reopen(stderr)
71
+ $stderr = old_stderr
72
72
  end
73
73
  end
74
74
  end
@@ -2,5 +2,5 @@
2
2
  # Reopen main module to define the library version
3
3
  #
4
4
  module Byebug
5
- VERSION = '8.0.0'
5
+ VERSION = '8.0.1'
6
6
  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: 8.0.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-05 00:00:00.000000000 Z
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.4.5.1
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