pry-byebug 3.10.0 → 3.10.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 -0
- data/README.md +1 -1
- data/lib/pry-byebug/pry_ext.rb +9 -2
- data/lib/pry-byebug/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3bff5ce219c6e5c0acf109be04d7c3e0232f16e9c2b459d8432b9b380b4c9ce5
|
|
4
|
+
data.tar.gz: 0b00bae23422f150b7ffb96e920ebc9ed87998344367c4d1f432f05976722b75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ee481a6d35a160364db2eae31e36ad80fc708dc708f9b31f1daa574d150b6b2a25ca4610a342b79ffed646f3b02086d0df726bd191f87c645140214f53e88b0
|
|
7
|
+
data.tar.gz: 6908e1d26692ceffc98ba54664622ef3b5abbcdd6a72962424e52d34712df708f17da8e886e6f61a9df46f12eeda558acbb908437652c7b06b1ad8258b26dcef
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -175,7 +175,7 @@ Tidelift will coordinate the fix and disclosure.
|
|
|
175
175
|
|
|
176
176
|
Patches and bug reports are welcome.
|
|
177
177
|
|
|
178
|
-
[pry]:
|
|
178
|
+
[pry]: https://pry.github.io
|
|
179
179
|
[byebug]: https://github.com/deivid-rodriguez/byebug
|
|
180
180
|
[pry-debugger]: https://github.com/nixme/pry-debugger
|
|
181
181
|
[pry-nav]: https://github.com/nixme/pry-nav
|
data/lib/pry-byebug/pry_ext.rb
CHANGED
|
@@ -5,8 +5,15 @@ require "byebug/processors/pry_processor"
|
|
|
5
5
|
class << Pry::REPL
|
|
6
6
|
alias start_without_pry_byebug start
|
|
7
7
|
|
|
8
|
-
def start_with_pry_byebug(
|
|
9
|
-
|
|
8
|
+
def start_with_pry_byebug(options = {})
|
|
9
|
+
target = options[:target]
|
|
10
|
+
|
|
11
|
+
if target.is_a?(Binding) && PryByebug.file_context?(target)
|
|
12
|
+
Byebug::PryProcessor.start unless ENV["DISABLE_PRY"]
|
|
13
|
+
else
|
|
14
|
+
# No need for the tracer unless we have a file context to step through
|
|
15
|
+
start_without_pry_byebug(options)
|
|
16
|
+
end
|
|
10
17
|
end
|
|
11
18
|
|
|
12
19
|
alias start start_with_pry_byebug
|
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.10.
|
|
4
|
+
version: 3.10.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: 2022-08-
|
|
12
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: byebug
|