pryx 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1cb8e0fb8fe257e6d65d07e9e00184716a1b9f445f5750a62fd8ce1e2707b4cf
4
- data.tar.gz: d4821c497b6515d20124e60c443010aeff35864a8ae418be052d5ee57ee862c0
3
+ metadata.gz: 9e9df58b33aa6664a4dde048917ca07b3bef6657887f375519e55b6af5057233
4
+ data.tar.gz: 989c5847170b26ddc25b5df9bdefd57b7637fcfc6e35c2aa02ed9233611dfc53
5
5
  SHA512:
6
- metadata.gz: 900109fc6a7cd7668945b6c2bf1a04818796834e7d9421d220ddef4cfe83e3b1f5796998acfeeeba9c75bb3c8b04b5308d647f0339fe286947e46204504352a4
7
- data.tar.gz: 8a3631de30224033da1ff976b67d317decd6ecb3302038098add08be935f21bd993425ec950109f899a2d9c94b72372b572d3c1183b483ea027f27310e1b0964
6
+ metadata.gz: 62f46e7621471d1f1392df46414b0ca2b9547787f1fc59eed17fc1b67377bbe33c3a63688a643c0cc8da41b907ba92a4cf2c3df3668b07a4bfb8a404ab21f855
7
+ data.tar.gz: 74a2b738793ac8000341f0828a9f13f22e54edbbcdb848050e7aa6554c2255d239951466261e7c28831d7a9456cdf2e376a0b77adea0a7ebfa09ca03e1155ffd
data/lib/pryx/pry_hack.rb CHANGED
@@ -30,7 +30,7 @@ class Binding
30
30
  end
31
31
  end
32
32
 
33
- def _irb(_host=nil, _port=nil, _options={})
33
+ def _irb(_host=nil)
34
34
  warn 'loading irb ...'
35
35
 
36
36
  self.irb
@@ -49,14 +49,14 @@ module Kernel
49
49
  port = 9876
50
50
  end
51
51
 
52
- pry3(caller, remote:, port:)
52
+ pry3(caller, remote: remote, port: port)
53
53
 
54
54
  # 这里如果有代码, 将会让 pry! 进入这个方法, 因此保持为空.
55
55
  end
56
56
 
57
57
  # 注意:pryr 总是会被拦截。
58
58
  def pryr
59
- pry3(caller = 2, remote: '0.0.0.0', port: 9876)
59
+ pry3(caller=2, remote: '0.0.0.0', port: 9876)
60
60
  end
61
61
 
62
62
  # 在 pry! 之前如果输入这个,会让下次执行的 pry! 被拦截一次, 而不管之前是否有执行过 pry!
@@ -72,7 +72,7 @@ module Kernel
72
72
  require 'pry-state'
73
73
  ENV['Pry_was_started'] = 'true'
74
74
 
75
- pry3(caller, remote:, port:)
75
+ pry3(caller, remote: remote, port: port)
76
76
 
77
77
  # 这里如果有代码, 将会让 pry! 进入这个方法, 因此保持为空.
78
78
  end
data/lib/pryx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pryx
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.2.0
4
+ version: 0.2.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-20 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print