irb 1.6.1 → 1.6.2

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: 7a14d4867e5744e554edbcd7e87f397bd01305fd2e5dca129bfa4d0a49abdd12
4
- data.tar.gz: b6ed771b62fc49d60ac292a87cd5bafb2ec79b5715ec73bc816923fcb68de2ea
3
+ metadata.gz: 2f4318c00db4c9aaf6b89c57e116935705e2bdf7f576c16c3ee8862102468d64
4
+ data.tar.gz: a685194eca805c046ffa7084273da09a6b40eb0a4b711f80e2e3da49df03b585
5
5
  SHA512:
6
- metadata.gz: 0acdbeae9c9aa9a83677a903ddf5006f82dc2dd4697d1e089ec360d0f77f049ebbaf3492b3ca5bda0a7c8814bac0e5ccde351e5a2d2c487170761d874204f02c
7
- data.tar.gz: 4f92f7aadb2876a4d774ac52f27701cb8c723f400000a560f2452779b9562ad0d1a202b4534a52029662d0a2f910cdd816bdf43e275b800211c9ec062ae1241e
6
+ metadata.gz: fa16a155b6554feeb1876849e57032e25fbf6a6e5e094c96ae3602e82ef1c26f69c2ab169fb0a670178c3f0097912fbdb092e24285e0c41f0af0b7f381ea362f
7
+ data.tar.gz: acc20573c8b1291a87dba4fd244f7d408ba004c242c07f1d3afa9cde4e101c696e797059bbdbd310da96dec79213abcd68074f2fe76b0b9ce2368e049acd1db7
data/lib/irb/cmd/debug.rb CHANGED
@@ -102,13 +102,14 @@ module IRB
102
102
  return false unless debug_gem
103
103
 
104
104
  # Discover debug/debug.so under extensions for Ruby 3.2+
105
- debug_so = Gem.paths.path.flat_map do |path|
106
- Dir.glob("#{path}/extensions/**/#{File.basename(debug_gem)}/debug/debug.so")
105
+ ext_name = "/debug/debug.#{RbConfig::CONFIG['DLEXT']}"
106
+ ext_path = Gem.paths.path.flat_map do |path|
107
+ Dir.glob("#{path}/extensions/**/#{File.basename(debug_gem)}#{ext_name}")
107
108
  end.first
108
109
 
109
110
  # Attempt to forcibly load the bundled gem
110
- if debug_so
111
- $LOAD_PATH << debug_so.delete_suffix('/debug/debug.so')
111
+ if ext_path
112
+ $LOAD_PATH << ext_path.delete_suffix(ext_name)
112
113
  end
113
114
  $LOAD_PATH << "#{debug_gem}/lib"
114
115
  begin
data/lib/irb/version.rb CHANGED
@@ -11,7 +11,7 @@
11
11
  #
12
12
 
13
13
  module IRB # :nodoc:
14
- VERSION = "1.6.1"
14
+ VERSION = "1.6.2"
15
15
  @RELEASE_VERSION = VERSION
16
16
  @LAST_UPDATE_DATE = "2022-12-13"
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - aycabta
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-12-13 00:00:00.000000000 Z
12
+ date: 2022-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: reline