pryx 0.8.1 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f103fdc3949130cba0098bf43e28c8de891a98a45ba2cc47a39e3acceae96ba4
4
- data.tar.gz: f923206b67cba8f0c8c6932a6f4ebcbb69348ecca558b1a255eac233de74ebab
3
+ metadata.gz: d7421b2883be187afe07d771287fdf53908136c62cc795a6b4fd6f9030c71d9f
4
+ data.tar.gz: ac5aba055317fc12c5bfdf3b0574e5bcffa484547ed5998930779d3e6741046f
5
5
  SHA512:
6
- metadata.gz: 9f315016c8cebcefc7cb0c3de0c24ca16018c42f0dbdf63595138ada13152cc5ccfdc0ce80349265ed0a4e45d949c0ac421780fd5e0dc347983eceaf0bade22a
7
- data.tar.gz: df142f61ddb4d41660c1f895a1ba5c4371be097166b991c71016f3a1b54ef77f16824716c88aa02763dcfda770cfb41e9c33f16afe8b0b54929da4a5f8c7d7a8
6
+ metadata.gz: 20417e730575de7f13b4b9a42423300167982385566cf8e987f9e33273bcd45a906968640f71cf4fcc810e52ce71b367bab7393757e5201f9e3f2cb435ee7a61
7
+ data.tar.gz: 39e37f2c2a21d2f24c9518e4ffdd9734e2d8fe703c6c99070fb3ebca629ae39b1d7064a5ced9070dc896c4f707ae706779675c67436ee1d3d86e262669c5d147
data/bin/pryx CHANGED
@@ -8,6 +8,7 @@ $0 = 'pry'
8
8
 
9
9
  require 'pry'
10
10
  require 'pryx'
11
+ require 'pryx/ap_hack'
11
12
 
12
13
  # Process command line options and run Pry
13
14
  opts = Pry::CLI.parse_options
data/bin/pryx_rails ADDED
@@ -0,0 +1,18 @@
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)
@@ -0,0 +1,13 @@
1
+ require 'awesome_print'
2
+
3
+ # AwesomePrint.defaults = {
4
+ # index: false
5
+ # }
6
+
7
+ if defined? AwesomePrint
8
+ if defined? Pry
9
+ AwesomePrint.pry!
10
+ else
11
+ AwesomePrint.irb!
12
+ end
13
+ end
@@ -5,20 +5,7 @@ require 'clipboard'
5
5
  # See https://github.com/oggy/looksee/issues/57
6
6
  # 但是,ap_hack 必须放到 break_hack 前面,调换顺序,上面的 hack 失效。
7
7
  # WARN: 下面两行 require 代码顺序不要换。
8
- require 'awesome_print'
9
-
10
- # AwesomePrint.defaults = {
11
- # index: false
12
- # }
13
-
14
- if defined? AwesomePrint
15
- if defined? Pry
16
- AwesomePrint.pry!
17
- else
18
- AwesomePrint.irb!
19
- end
20
- end
21
-
8
+ require 'pryx/ap_hack'
22
9
  require 'break'
23
10
  Pry.commands.alias_command 'n', 'next'
24
11
  Pry.commands.alias_command 's', 'step'
data/lib/pryx/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pryx
4
- VERSION = [0, 8, 1]
4
+ VERSION = [0, 8, 2]
5
5
 
6
6
  class << VERSION
7
7
  include Comparable
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.8.1
4
+ version: 0.8.2
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-05-07 00:00:00.000000000 Z
11
+ date: 2022-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -227,6 +227,7 @@ executables:
227
227
  - irbx
228
228
  - pry!
229
229
  - pryx
230
+ - pryx_rails
230
231
  extensions: []
231
232
  extra_rdoc_files: []
232
233
  files:
@@ -235,6 +236,7 @@ files:
235
236
  - bin/irbx
236
237
  - bin/pry!
237
238
  - bin/pryx
239
+ - bin/pryx_rails
238
240
  - lib/pry-byebug.rb
239
241
  - lib/pry-byebug/WARN
240
242
  - lib/pry-byebug/base.rb
@@ -249,6 +251,7 @@ files:
249
251
  - lib/pry-state/printer.rb
250
252
  - lib/pry-yes.rb
251
253
  - lib/pryx.rb
254
+ - lib/pryx/ap_hack.rb
252
255
  - lib/pryx/background.rb
253
256
  - lib/pryx/common_plugins.rb
254
257
  - lib/pryx/drip.wav