pryx 0.8.2 → 0.8.3
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 +2 -2
- data/bin/irbx +1 -1
- data/bin/pryx +1 -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: 9d205e414efc1ea4ac36eff3d1915fb190fb38a031866fd685342e7c1c362867
|
4
|
+
data.tar.gz: a6ce936dc497223bc21f08c62e45d3712e48af0b88d23df30c9c80c12cfe4af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 956f80615dfc6b5e2688860c6a75b1fa24de53ce92cca11fa9b2bc60fb537ee92f543ff272cfc888c7d4d47e5452398d3a214474403bffea4f5ec956e4a8d540
|
7
|
+
data.tar.gz: 91cb6614b8fafab6249d9779a5a9d669f700c890000ffd80d8966bfa511d344634b872dd1b883fbef2d17cdae6c821e2926f801803e1642664d9170956b75b31
|
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.3
|
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)
|