irb 1.8.2 → 1.8.3

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: 811c1b4343957dac57d58178adbc13195e6d53de980f63810ec83eec09d1f8c1
4
- data.tar.gz: bbc99d3f46a8e7afa6a7a8e32dc137300e3da15935631e05a56b203a901887fb
3
+ metadata.gz: 332023cd842d367c49ca245616a926f8f8df1f724c16b22d18447f1456710290
4
+ data.tar.gz: c6b7ab4d628a6fb766bed6f93b124490b1c364ba79b7ce8c1e4e21d67df64545
5
5
  SHA512:
6
- metadata.gz: 76b770cf0a8012031f11306cc96879173d819cbd0501efdd41c434571028c3dee8bc12b5928696232d61215f6e22ecec3b9a6e3ff93e085349282c035c9389ec
7
- data.tar.gz: f48e1f3912d5bb59acfa041718014dafb24d7f39ac23e1f0b267047ca4e4f937af77bdb0d40a940813da71f5920f53b5bbdc987b9dc50d16e5bdb85a754e02b7
6
+ metadata.gz: 8962b3e7359c4292bb09c75f3a5f1548b5dd53c3053a4a736a0a295c83126b065eca7578a185a0bf218468053399a3f029e47a06860ac69713756fb346945d08
7
+ data.tar.gz: '0109b52f17e50b944d5fb3e9e40b432a3a3bafbf45ed9b0dd5725de43527e5ca3926db65b44bf39c646f76c38c4dee07cd2eb8fcb33690dc071dcd4a66b99b87'
@@ -415,4 +415,20 @@ module IRB
415
415
  end
416
416
  end
417
417
  end
418
+
419
+ module InputCompletor
420
+ class << self
421
+ private def regexp_completor
422
+ @regexp_completor ||= RegexpCompletor.new
423
+ end
424
+
425
+ def retrieve_completion_data(input, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding, doc_namespace: false)
426
+ regexp_completor.retrieve_completion_data(input, bind: bind, doc_namespace: doc_namespace)
427
+ end
428
+ end
429
+ CompletionProc = ->(target, preposing = nil, postposing = nil) {
430
+ regexp_completor.completion_candidates(preposing, target, postposing, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding)
431
+ }
432
+ end
433
+ deprecate_constant :InputCompletor
418
434
  end
data/lib/irb/version.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module IRB # :nodoc:
8
- VERSION = "1.8.2"
8
+ VERSION = "1.8.3"
9
9
  @RELEASE_VERSION = VERSION
10
- @LAST_UPDATE_DATE = "2023-10-12"
10
+ @LAST_UPDATE_DATE = "2023-10-14"
11
11
  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.8.2
4
+ version: 1.8.3
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: 2023-10-12 00:00:00.000000000 Z
12
+ date: 2023-10-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: reline