pryx 0.6.0 → 0.6.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/README.md +1 -3
- data/lib/pryx/pry-stack_explorer_hack.rb +12 -0
- data/lib/pryx/pry_plugins.rb +1 -0
- data/lib/pryx/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09a8d65224c56092b01d8230556c4ef522637b1b6e1932c5333ce018c3f0ce93'
|
4
|
+
data.tar.gz: 5426012f47fa266763061e41ce8e8d45a34ab61ad0cf70de517a98312a40722b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3df7840a906cbe572d6c60bda02e17b5ad5dff15568e34307a031ac7f1fdc9416445e55f62197983d7e983d769be4dc484ee722468545457e4f60c3cb6907878
|
7
|
+
data.tar.gz: 864ab3c3f5ec04563fda87ccfc7f3ad25097a75495bc977a613e123de0a2228ad4afea4e1c0b1d650e0230b860cf55f654345948ab9081cffad3f791a01064fb
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Pryx [](https://travis-ci.com/zw963/pryx)
|
1
|
+
# Pryx [](https://app.travis-ci.com/github/zw963/pryx)[](http://badge.fury.io/rb/pryx)
|
2
2
|
|
3
3
|
Three Virtues of a Programmer: Laziness, Impatience, and Hubris. -- Larry Wall, the author of Perl Programming language.
|
4
4
|
|
@@ -143,8 +143,6 @@ But, you should only use it in development, though, it was tested is run in cont
|
|
143
143
|
|
144
144
|
1. `break` not work well if you add more than one break point, but still use `next` goto the next break point,
|
145
145
|
See https://github.com/gsamokovarov/break/issues/12
|
146
|
-
2. because `pry!` use binding.of\_caller, when work with pry-stack\_explorer up command, you can see two
|
147
|
-
more stack get pushed. so, you have to up 3 times instead 1 time in normal case.
|
148
146
|
|
149
147
|
## Support
|
150
148
|
|
data/lib/pryx/pry_plugins.rb
CHANGED
@@ -15,6 +15,7 @@ Pry::Commands.alias_command 'aa', 'aa_ancestors'
|
|
15
15
|
# 这个必须在最后才有效, 但是目前存在一个问题,就是会将 pry3, pry! 加入 stacks
|
16
16
|
# stack 显示 stack 的列表,frame 显示当前所在 stack, stack N 也可以根据数字跳转到 N
|
17
17
|
require 'pry-stack_explorer' # Support: up, down, bottom, top, stack, frame
|
18
|
+
require 'pryx/pry-stack_explorer_hack'
|
18
19
|
|
19
20
|
Pry::Commands.block_command 'cc', 'Continue, but stop in pry! breakpoint' do
|
20
21
|
Pry.instance_variable_set(:@initial_session, true)
|
data/lib/pryx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pryx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Billy.Zheng(zw963)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -243,6 +243,7 @@ files:
|
|
243
243
|
- lib/pryx/drip.wav
|
244
244
|
- lib/pryx/irb_hack.rb
|
245
245
|
- lib/pryx/looksee_hack.rb
|
246
|
+
- lib/pryx/pry-stack_explorer_hack.rb
|
246
247
|
- lib/pryx/pry_hack.rb
|
247
248
|
- lib/pryx/pry_plugins.rb
|
248
249
|
- lib/pryx/trap_backtrace.rb
|