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 +4 -4
- data/lib/irb/cmd/debug.rb +5 -4
- data/lib/irb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f4318c00db4c9aaf6b89c57e116935705e2bdf7f576c16c3ee8862102468d64
|
4
|
+
data.tar.gz: a685194eca805c046ffa7084273da09a6b40eb0a4b711f80e2e3da49df03b585
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
106
|
-
|
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
|
111
|
-
$LOAD_PATH <<
|
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
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.
|
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-
|
12
|
+
date: 2022-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: reline
|