pry-byebug 3.4.1 → 3.4.2
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 -0
- data/README.md +24 -8
- data/lib/pry-byebug/pry_ext.rb +1 -1
- data/lib/pry-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: 8227e9b31dce0d5fdc30e79c02f9a15a6a8a44ad
|
4
|
+
data.tar.gz: 8b687e5b2d7c2dd19aecab029e6b4fe6f620ce05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2923fe47bd965277c177adf34f2dfa056381c09efe5fc8c83734bc54719771e98818dbcf48211785e314a73e3c75906ee44c1cf09d464d2c0c43bf3f8087b00
|
7
|
+
data.tar.gz: ebee88b55aa7007995facd3896dc99e894ca081bd76ded074c3445c5dbe4a6e4575d4217b2784c83f8a1d837ec01714ec5abe2aa6dfe00f117a81b2342fd803b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
[![Gratipay][GratipayBadge]][GratipayURL]
|
7
7
|
[![Coverage][CoverageBadge]][CoverageURL]
|
8
8
|
|
9
|
-
Adds step-by-step debugging and stack navigation capabilities to [pry]
|
10
|
-
[byebug]
|
9
|
+
Adds step-by-step debugging and stack navigation capabilities to [pry] using
|
10
|
+
[byebug].
|
11
11
|
|
12
12
|
To use, invoke pry normally. No need to start your script or app differently.
|
13
13
|
Execution will stop in the first statement after your `binding.pry`.
|
@@ -24,8 +24,7 @@ puts 'Goodbye World' # Run 'next' in the console to move here.
|
|
24
24
|
|
25
25
|
## Requirements
|
26
26
|
|
27
|
-
* Required: MRI 2.0.0 or higher.
|
28
|
-
[pry-debugger][].
|
27
|
+
* Required: MRI 2.0.0 or higher.
|
29
28
|
|
30
29
|
* Recommended:
|
31
30
|
* MRI 2.1.8 or higher.
|
@@ -134,18 +133,35 @@ break --show 2 # Show details about breakpoint #2.
|
|
134
133
|
|
135
134
|
Type `break --help` from a Pry session to see all available options.
|
136
135
|
|
136
|
+
## Alternatives
|
137
|
+
|
138
|
+
Note that all of the alternatives here are incompatible with pry-byebug. If
|
139
|
+
your platform is supported by pry-byebug, you should remove any of the gems
|
140
|
+
mentioned here if they are present in your Gemfile.
|
141
|
+
|
142
|
+
* [pry-debugger]: Provides step-by-step debugging for MRI 1.9.3 or older
|
143
|
+
rubies. If you're still using those and need a step-by-step debugger to help
|
144
|
+
with the upgrade, pry-debugger can be handy.
|
145
|
+
|
146
|
+
* [pry-stack_explorer]: Provides stack navigation capabilities for MRI 1.9.3 or
|
147
|
+
older rubies. If you're still using those and need to navigate your stack to
|
148
|
+
help with the upgrade, pry-stack_explorer can be handy.
|
149
|
+
|
150
|
+
* [pry-nav]: Provides step-by-step debugging for JRuby.
|
151
|
+
|
137
152
|
## Credits
|
138
153
|
|
139
|
-
* Gopal Patel (@nixme), creator of [pry-debugger]
|
140
|
-
|
141
|
-
|
142
|
-
* John Mair (@banister), creator of [pry]
|
154
|
+
* Gopal Patel (@nixme), creator of [pry-debugger], and everybody who contributed
|
155
|
+
to it. pry-byebug is a fork of pry-debugger so it wouldn't exist as it is
|
156
|
+
without those contributions.
|
157
|
+
* John Mair (@banister), creator of [pry].
|
143
158
|
|
144
159
|
Patches and bug reports are welcome.
|
145
160
|
|
146
161
|
[pry]: http://pry.github.com
|
147
162
|
[byebug]: https://github.com/deivid-rodriguez/byebug
|
148
163
|
[pry-debugger]: https://github.com/nixme/pry-debugger
|
164
|
+
[pry-nav]: https://github.com/nixme/pry-nav
|
149
165
|
[pry-stack_explorer]: https://github.com/pry/pry-stack_explorer
|
150
166
|
|
151
167
|
[VersionBadge]: https://badge.fury.io/rb/pry-byebug.svg
|
data/lib/pry-byebug/pry_ext.rb
CHANGED
@@ -5,7 +5,7 @@ class << Pry
|
|
5
5
|
|
6
6
|
def start_with_pry_byebug(target = TOPLEVEL_BINDING, options = {})
|
7
7
|
if target.is_a?(Binding) && PryByebug.file_context?(target)
|
8
|
-
Byebug::PryProcessor.start
|
8
|
+
Byebug::PryProcessor.start unless ENV['DISABLE_PRY']
|
9
9
|
else
|
10
10
|
# No need for the tracer unless we have a file context to step through
|
11
11
|
start_without_pry_byebug(target, options)
|
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.2
|
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-12-06 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.6.
|
98
|
+
rubygems_version: 2.6.8
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Fast debugging with Pry.
|