pry-byebug 3.5.0 → 3.5.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
- SHA1:
3
- metadata.gz: d864ccbb1e9620607d53fb090f82f2bc6d92be70
4
- data.tar.gz: 8e2ac7232e9cf252534d87bf861950bce50b4e24
2
+ SHA256:
3
+ metadata.gz: baaed7ad050205921d3aab1eaf69ffae1759a8448e7308c1b90fe4485b17e5c3
4
+ data.tar.gz: c1691a3a74b6242dca0d97caa7a3bab2a450320ee6ae7afe48430c8d7ba1f0b1
5
5
  SHA512:
6
- metadata.gz: ab7d1c97f4ae0af6184cb027d60f90d65fa8e9e9a515150e4bbcde7d006ac608c1d74ad6e5d4a67ec6d356d0fcf594155203e7f1dbd71785ea2fe8a9fa93a602
7
- data.tar.gz: 562f32fbe02ae69fcc10f6caea37566338e6616210867e760b7824f06be677c73668866033ba2123b69c32affe3cfc89c1798655d98fa0e56c88c8ec6c387b1b
6
+ metadata.gz: 8b63de4b0d291eb142e97f3d22ce78f9579b53b313893c812cbb248851e24d0458ed390751579c476afd9fee23583484289874f656d02b840082c7fad7bd397e
7
+ data.tar.gz: bccbd46b4c72f15f8f6b5023a2d09c07cb1f9c2d71e4da941b241337aa5b0b1715039e402e7f492c9250203e841535fee3e7e5616316c749457daaf11e3e7849
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Master (Unreleased)
4
4
 
5
+ ## 3.5.1 (2017-11-27)
6
+
7
+ ### Fixed
8
+
9
+ * Allow other threads like Pry. (#142)
10
+
5
11
  ## 3.5.0 (2017-08-23)
6
12
 
7
13
  ### Added
@@ -25,7 +25,7 @@ module Byebug
25
25
  return_value = nil
26
26
 
27
27
  command = catch(:breakout_nav) do # Throws from PryByebug::Commands
28
- return_value = yield
28
+ return_value = allowing_other_threads { yield }
29
29
  {} # Nothing thrown == no navigational command
30
30
  end
31
31
 
@@ -39,13 +39,13 @@ module PryByebug
39
39
  code = br.source_code.with_line_numbers.to_s
40
40
  condition = br.expr ? "#{text.bold('Condition:')} #{br.expr}\n" : ''
41
41
 
42
- output.puts <<-EOP.gsub(/ {8}/, '')
42
+ output.puts <<-BREAKPOINT.gsub(/ {8}/, '')
43
43
 
44
44
  #{text.bold(header)} #{br} (#{status}) #{condition}
45
45
 
46
46
  #{code}
47
47
 
48
- EOP
48
+ BREAKPOINT
49
49
  end
50
50
 
51
51
  #
@@ -65,12 +65,12 @@ module PryByebug
65
65
  def print_breakpoints_header
66
66
  header = "#{' ' * (max_width - 1)}# Enabled At "
67
67
 
68
- output.puts <<-EOP.gsub(/ {8}/, '')
68
+ output.puts <<-BREAKPOINTS.gsub(/ {8}/, '')
69
69
 
70
70
  #{text.bold(header)}
71
71
  #{text.bold('-' * header.size)}
72
72
 
73
- EOP
73
+ BREAKPOINTS
74
74
  end
75
75
 
76
76
  #
@@ -2,5 +2,5 @@
2
2
  # Main container module for Pry-Byebug functionality
3
3
  #
4
4
  module PryByebug
5
- VERSION = '3.5.0'.freeze
5
+ VERSION = '3.5.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-byebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodríguez
@@ -9,36 +9,36 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-26 00:00:00.000000000 Z
12
+ date: 2017-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: pry
15
+ name: byebug
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.10'
20
+ version: '9.1'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.10'
27
+ version: '9.1'
28
28
  - !ruby/object:Gem::Dependency
29
- name: byebug
29
+ name: pry
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '9.1'
34
+ version: '0.10'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '9.1'
41
+ version: '0.10'
42
42
  description: |-
43
43
  Combine 'pry' with 'byebug'. Adds 'step', 'next', 'finish',
44
44
  'continue' and 'break' commands to control execution.
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  requirements: []
97
97
  rubyforge_project:
98
- rubygems_version: 2.6.12
98
+ rubygems_version: 2.7.2
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: Fast debugging with Pry.