pry-byebug 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +3 -6
- data/lib/pry-byebug.rb +1 -4
- data/lib/pry-byebug/cli.rb +1 -0
- data/lib/pry-byebug/control_d_handler.rb +2 -2
- data/lib/pry-byebug/version.rb +1 -2
- 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: c82e5e0e33e86fda5905a320f13357d01e039a7f
|
4
|
+
data.tar.gz: 275275905238abca852d9f7e29331dc6c2ebda6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7518ce6362f5060ffd905806e222a0142196890a86ce6726cca46a80443eaf9fb70ea81f6e588c35fba16aa6bd9ee51a15f61d013c7e11f4dba21602047daef
|
7
|
+
data.tar.gz: d28ed5fbd07fd7d1eb0b87cdfa8129a1daab759bea763ace086c5e3b2e9518dd7be0058621fd01b83697d954ec9580a265c64ffb02531e0c08e651c03472bd0c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Version][VersionBadge]][VersionURL]
|
4
4
|
[![Build][TravisBadge]][TravisURL]
|
5
5
|
[![Inline docs][InchCIBadge]][InchCIURL]
|
6
|
-
[![
|
6
|
+
[![Gratipay][GratipayBadge]][GratipayURL]
|
7
7
|
[![Coverage][CoverageBadge]][CoverageURL]
|
8
8
|
|
9
9
|
Adds step-by-step debugging and stack navigation capabilities to [pry][] using
|
@@ -22,7 +22,6 @@ some_method # Execution will stop here.
|
|
22
22
|
puts 'Goodbye World' # Run 'next' in the console to move here.
|
23
23
|
```
|
24
24
|
|
25
|
-
|
26
25
|
## Requirements
|
27
26
|
|
28
27
|
* Required: MRI 2.0.0 or higher. For debugging ruby 1.9.3 or older, use
|
@@ -106,7 +105,6 @@ Pry::Commands.command /^$/, "repeat last command" do
|
|
106
105
|
end
|
107
106
|
```
|
108
107
|
|
109
|
-
|
110
108
|
## Breakpoints
|
111
109
|
|
112
110
|
You can set and adjust breakpoints directly from a Pry session using the
|
@@ -136,7 +134,6 @@ break --show 2 # Show details about breakpoint #2.
|
|
136
134
|
|
137
135
|
Type `break --help` from a Pry session to see all available options.
|
138
136
|
|
139
|
-
|
140
137
|
## Credits
|
141
138
|
|
142
139
|
* Gopal Patel (@nixme), creator of [pry-debugger][], and everybody who
|
@@ -157,7 +154,7 @@ Patches and bug reports are welcome.
|
|
157
154
|
[TravisURL]: http://travis-ci.org/deivid-rodriguez/pry-byebug
|
158
155
|
[InchCIBadge]: http://inch-ci.org/github/deivid-rodriguez/pry-byebug.svg?branch=master
|
159
156
|
[InchCIURL]: http://inch-ci.org/github/deivid-rodriguez/pry-byebug
|
160
|
-
[
|
161
|
-
[
|
157
|
+
[GratipayBadge]: http://img.shields.io/gratipay/pry-byebug.svg
|
158
|
+
[GratipayURL]: https://www.gratipay.com/pry-byebug
|
162
159
|
[CoverageBadge]: https://img.shields.io/codeclimate/coverage/github/deivid-rodriguez/pry-byebug.svg
|
163
160
|
[CoverageURL]: https://codeclimate.com/github/deivid-rodriguez/pry-byebug
|
data/lib/pry-byebug.rb
CHANGED
data/lib/pry-byebug/cli.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
original_handler = Pry.config.control_d_handler
|
2
2
|
|
3
|
-
Pry.config.control_d_handler = proc do |eval_string,
|
3
|
+
Pry.config.control_d_handler = proc do |eval_string, pry_instance|
|
4
4
|
Byebug.stop if Byebug.stoppable?
|
5
5
|
|
6
|
-
original_handler.call(eval_string,
|
6
|
+
original_handler.call(eval_string, pry_instance)
|
7
7
|
end
|
data/lib/pry-byebug/version.rb
CHANGED
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.4.
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Rodríguez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|
@@ -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.
|
98
|
+
rubygems_version: 2.6.7
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Fast debugging with Pry.
|