pryx 0.8.2 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bin/irbx +1 -1
- data/bin/pryx +2 -2
- data/lib/pryx/version.rb +1 -1
- data/lib/pryx_cli.rb +16 -0
- metadata +2 -3
- data/bin/pryx_rails +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1f968aa8906d4c846907eca6e1f0c9b0729c191e3fbe917876b45a4139ef644
|
4
|
+
data.tar.gz: a078c90f55368509ba6efac19615d2fdad3cb98733313bb7e30d12288b58ffb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0436364c1e5b81852c0cf61ebf725b1ec3f8a4fa1c0743dbcffa970c01f9ac1a1b4902d447ce0a159769615c31de9a4a1de3291c1ecf3e13069644bbac00cac3
|
7
|
+
data.tar.gz: 7f88e7b33521041215279acdd98b383f9516ed83388b2298048a3e9aed7c35112c7e08fc57961d62a6e4d069cc420ca99fd5fc79e3becfdb6d9179b8b1d9e6c4
|
data/README.md
CHANGED
@@ -123,12 +123,12 @@ but above plugins and libraries all correct configured.
|
|
123
123
|
|
124
124
|
we have another Kernel#pry?, which enable `pry-state` automatically, see [pry-state](https://github.com/SudhagarS/pry-state)
|
125
125
|
|
126
|
-
### Add
|
126
|
+
### Add CLI command, rescue, kill-pry-rescue, pryx, irbx, pry!
|
127
127
|
|
128
128
|
`rescue` and `kill-pry-rescue` come from `pry-rescue` gem, it not load by default, but you can use rescue command from command line directly.
|
129
129
|
see [pry-rescue](https://github.com/ConradIrwin/pry-rescue)
|
130
130
|
|
131
|
-
pryx is same as pry, but, with plugins and libraries correct configured.
|
131
|
+
pryx is same as pry, but, with plugins and libraries correct configured, it will load `./config/environment.rb` if this file exists.
|
132
132
|
|
133
133
|
irbx is same things for irb.
|
134
134
|
|
data/bin/irbx
CHANGED
data/bin/pryx
CHANGED
data/lib/pryx/version.rb
CHANGED
data/lib/pryx_cli.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'clipboard'
|
2
|
+
|
3
|
+
require 'pryx/ap_hack'
|
4
|
+
|
5
|
+
# This require is needed, because can't require looksee in method when use with bundler.
|
6
|
+
# bundler remove looksee from $LOAD_PATH when start with rails.
|
7
|
+
require 'looksee'
|
8
|
+
require 'pryx/looksee_hack'
|
9
|
+
|
10
|
+
require 'pryx'
|
11
|
+
|
12
|
+
if File.exist? 'config/environment.rb'
|
13
|
+
$LOAD_PATH.unshift('.')
|
14
|
+
puts "\033[0;33mLoading with ./config/environment.rb ...\033[0m"
|
15
|
+
require 'config/environment'
|
16
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pryx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Billy.Zheng(zw963)
|
@@ -227,7 +227,6 @@ executables:
|
|
227
227
|
- irbx
|
228
228
|
- pry!
|
229
229
|
- pryx
|
230
|
-
- pryx_rails
|
231
230
|
extensions: []
|
232
231
|
extra_rdoc_files: []
|
233
232
|
files:
|
@@ -236,7 +235,6 @@ files:
|
|
236
235
|
- bin/irbx
|
237
236
|
- bin/pry!
|
238
237
|
- bin/pryx
|
239
|
-
- bin/pryx_rails
|
240
238
|
- lib/pry-byebug.rb
|
241
239
|
- lib/pry-byebug/WARN
|
242
240
|
- lib/pry-byebug/base.rb
|
@@ -262,6 +260,7 @@ files:
|
|
262
260
|
- lib/pryx/pry_plugins.rb
|
263
261
|
- lib/pryx/trap_backtrace.rb
|
264
262
|
- lib/pryx/version.rb
|
263
|
+
- lib/pryx_cli.rb
|
265
264
|
- lib/pryx_irb.rb
|
266
265
|
homepage: http://github.com/zw963/pryx
|
267
266
|
licenses:
|
data/bin/pryx_rails
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
# (C) John Mair (banisterfiend)
|
5
|
-
# MIT license
|
6
|
-
|
7
|
-
$0 = 'pry'
|
8
|
-
|
9
|
-
$LOAD_PATH.unshift('.')
|
10
|
-
require 'config/environment'
|
11
|
-
|
12
|
-
require 'pry'
|
13
|
-
require 'pryx'
|
14
|
-
require 'pryx/ap_hack'
|
15
|
-
|
16
|
-
# Process command line options and run Pry
|
17
|
-
opts = Pry::CLI.parse_options
|
18
|
-
Pry::CLI.start(opts)
|