irb 1.14.2 → 1.14.3

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: 606da5c01c0630f572812c844da8f331fd487fa50060db8c95a61aef14660d68
4
- data.tar.gz: 5d1749fea9672c734b9bdce740f6f43d90b2479e2a06de09d9604265317fab1e
3
+ metadata.gz: 3f1a9b1cbe12db08853604fff0b28f7b66ae1e724d54580ce507e15feb9e0f63
4
+ data.tar.gz: ce18f088328360ab8d39c4c3902984f0110e704b5a6d953e171d8d35c7b545a8
5
5
  SHA512:
6
- metadata.gz: 478ceef6ddf60e4bf8ddf2f1586129eab9bcff9e40bb9af8662a1c7f46d7c406f7d896395d3459cbde5ac2a427b73e474327033647e6c742691c185a553a1d71
7
- data.tar.gz: da1f92f1403c9fee631f7fc85f1bf60120db710bd171a98be1b428a22c4545fed4d4e4dd7692d90220520609047bd4fc6d00882da0bce7bf1a67e05dc41dd8e1
6
+ metadata.gz: a3a46b3c4b9b03dd97175f71cb1a41b02482b996f63b98fa1128c91e741dd17eff1c5af6d314c6756050f4b0e92c398aed1a3ad7adac035d1df0c266e8bd8de0
7
+ data.tar.gz: 57a389d3e32a394e256beb720d9e124f0f48d9bddb26cc8f4913eba2bb7cdd258f30cda97c87cc3bd028f0501d6247a9cbc97eff7279652805d65cdadef67d4c
data/.document CHANGED
@@ -1,4 +1,8 @@
1
1
  LICENSE.txt
2
2
  README.md
3
+ EXTEND_IRB.md
4
+ COMPARED_WITH_PRY.md
3
5
  doc/irb/indexes.md
4
- lib/**/*.rb
6
+ lib/irb.rb
7
+ lib/irb/context.rb
8
+ lib/irb/command/base.rb
data/Rakefile CHANGED
@@ -46,8 +46,6 @@ task :default => :test
46
46
 
47
47
  RDoc::Task.new do |rdoc|
48
48
  rdoc.title = "IRB"
49
- rdoc.rdoc_files.include("*.md", "lib/**/*.rb")
50
- rdoc.rdoc_files.exclude("lib/irb/xmp.rb")
51
49
  rdoc.rdoc_dir = "docs"
52
50
  rdoc.main = "README.md"
53
51
  rdoc.options.push("--copy-files", "LICENSE.txt")
@@ -5,13 +5,11 @@
5
5
  #
6
6
 
7
7
  module IRB
8
- # :stopdoc:
9
-
10
8
  module Command
11
- class CommandArgumentError < StandardError; end
9
+ class CommandArgumentError < StandardError; end # :nodoc:
12
10
 
13
11
  class << self
14
- def extract_ruby_args(*args, **kwargs)
12
+ def extract_ruby_args(*args, **kwargs) # :nodoc:
15
13
  throw :EXTRACT_RUBY_ARGS, [args, kwargs]
16
14
  end
17
15
  end
@@ -57,8 +55,6 @@ module IRB
57
55
  end
58
56
  end
59
57
 
60
- Nop = Base
58
+ Nop = Base # :nodoc:
61
59
  end
62
-
63
- # :startdoc:
64
60
  end
data/lib/irb/debug.rb CHANGED
@@ -81,6 +81,7 @@ module IRB
81
81
  IRB.instance_variable_set(:@debugger_irb, irb)
82
82
  irb.context.with_debugger = true
83
83
  irb.context.irb_name += ":rdbg"
84
+ irb.context.io.load_history if irb.context.io.class < HistorySavingAbility
84
85
  end
85
86
 
86
87
  module SkipPathHelperForIRB
data/lib/irb/version.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module IRB # :nodoc:
8
- VERSION = "1.14.2"
8
+ VERSION = "1.14.3"
9
9
  @RELEASE_VERSION = VERSION
10
- @LAST_UPDATE_DATE = "2024-12-12"
10
+ @LAST_UPDATE_DATE = "2024-12-18"
11
11
  end
data/lib/irb.rb CHANGED
@@ -75,7 +75,7 @@ require_relative "irb/pager"
75
75
  # 2. Constructs the initial session context from [hash
76
76
  # IRB.conf](rdoc-ref:IRB@Hash+IRB.conf) and from default values; the hash
77
77
  # content may have been affected by [command-line
78
- # options](rdoc-ref:IB@Command-Line+Options), and by direct assignments in
78
+ # options](rdoc-ref:IRB@Command-Line+Options), and by direct assignments in
79
79
  # the configuration file.
80
80
  # 3. Assigns the context to variable `conf`.
81
81
  # 4. Assigns command-line arguments to variable `ARGV`.
@@ -879,7 +879,7 @@ require_relative "irb/pager"
879
879
  module IRB
880
880
 
881
881
  # An exception raised by IRB.irb_abort
882
- class Abort < Exception;end
882
+ class Abort < Exception;end # :nodoc:
883
883
 
884
884
  class << self
885
885
  # The current IRB::Context of the session, see IRB.conf
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.14.2
4
+ version: 1.14.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: 2024-12-12 00:00:00.000000000 Z
12
+ date: 2024-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: reline