irb 1.14.1 → 1.15.1
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 +4 -4
- data/Gemfile +3 -1
- data/README.md +13 -299
- data/Rakefile +4 -6
- data/irb.gemspec +2 -2
- data/lib/irb/color.rb +1 -0
- data/lib/irb/color_printer.rb +10 -9
- data/lib/irb/command/base.rb +3 -7
- data/lib/irb/command/copy.rb +73 -0
- data/lib/irb/command/history.rb +1 -1
- data/lib/irb/command/internal_helpers.rb +1 -1
- data/lib/irb/command/ls.rb +23 -11
- data/lib/irb/completion.rb +12 -5
- data/lib/irb/context.rb +105 -56
- data/lib/irb/debug/ui.rb +2 -4
- data/lib/irb/debug.rb +1 -0
- data/lib/irb/default_commands.rb +4 -1
- data/lib/irb/easter-egg.rb +2 -1
- data/lib/irb/history.rb +84 -55
- data/lib/irb/init.rb +4 -2
- data/lib/irb/input-method.rb +9 -1
- data/lib/irb/inspector.rb +11 -6
- data/lib/irb/lc/ja/help-message +4 -4
- data/lib/irb/nesting_parser.rb +1 -1
- data/lib/irb/pager.rb +125 -7
- data/lib/irb/source_finder.rb +2 -3
- data/lib/irb/statement.rb +21 -0
- data/lib/irb/version.rb +2 -2
- data/lib/irb/workspace.rb +6 -26
- data/lib/irb.rb +46 -901
- data/man/irb.1 +37 -2
- metadata +19 -8
- data/.document +0 -4
data/man/irb.1
CHANGED
@@ -180,7 +180,7 @@ The default value is 16.
|
|
180
180
|
.El
|
181
181
|
.Pp
|
182
182
|
.Sh ENVIRONMENT
|
183
|
-
.Bl -tag -compact -width "
|
183
|
+
.Bl -tag -compact -width "IRB_USE_AUTOCOMPLETE"
|
184
184
|
.It Ev IRB_LANG
|
185
185
|
The locale used for
|
186
186
|
.Nm .
|
@@ -190,10 +190,45 @@ The path to the personal initialization file.
|
|
190
190
|
.Pp
|
191
191
|
.It Ev XDG_CONFIG_HOME
|
192
192
|
.Nm
|
193
|
-
respects XDG_CONFIG_HOME. If
|
193
|
+
respects XDG_CONFIG_HOME. If it is set and
|
194
|
+
.Ev IRBRC
|
195
|
+
is unset, load
|
194
196
|
.Pa $XDG_CONFIG_HOME/irb/irbrc
|
195
197
|
as a personal initialization file.
|
196
198
|
.Pp
|
199
|
+
.It Ev RI_PAGER
|
200
|
+
The command specified would be used as a pager.
|
201
|
+
.Pp
|
202
|
+
.It Ev PAGER
|
203
|
+
The command specified would be used as a pager if
|
204
|
+
.Ev RI_PAGER
|
205
|
+
is unset.
|
206
|
+
.Pp
|
207
|
+
.It Ev VISUAL
|
208
|
+
Its value would be used to open files by the edit command.
|
209
|
+
.Pp
|
210
|
+
.It Ev EDITOR
|
211
|
+
Its value would be used to open files by the edit command if
|
212
|
+
.Ev VISUAL
|
213
|
+
is unset.
|
214
|
+
.Pp
|
215
|
+
.It Ev NO_COLOR
|
216
|
+
Assigning a value to it disables colorization.
|
217
|
+
.Pp
|
218
|
+
.It Ev IRB_USE_AUTOCOMPLETE
|
219
|
+
Assigning
|
220
|
+
.Sy false
|
221
|
+
to it disables autocompletion.
|
222
|
+
.Pp
|
223
|
+
.It Ev IRB_COMPLETOR
|
224
|
+
Autocompletion behavior. Allowed values are
|
225
|
+
.Sy regexp
|
226
|
+
or
|
227
|
+
.Sy type
|
228
|
+
.
|
229
|
+
.Pp
|
230
|
+
.It Ev IRB_COPY_COMMAND
|
231
|
+
Overrides the default program used to interface with the system clipboard.
|
197
232
|
.El
|
198
233
|
.Pp
|
199
234
|
Also
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aycabta
|
8
8
|
- Keiju ISHITSUKA
|
9
|
-
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: reline
|
@@ -39,6 +38,20 @@ dependencies:
|
|
39
38
|
- - ">="
|
40
39
|
- !ruby/object:Gem::Version
|
41
40
|
version: 4.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pp
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.6.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.6.0
|
42
55
|
description: Interactive Ruby command-line tool for REPL (Read Eval Print Loop).
|
43
56
|
email:
|
44
57
|
- aycabta@gmail.com
|
@@ -48,7 +61,6 @@ executables:
|
|
48
61
|
extensions: []
|
49
62
|
extra_rdoc_files: []
|
50
63
|
files:
|
51
|
-
- ".document"
|
52
64
|
- Gemfile
|
53
65
|
- LICENSE.txt
|
54
66
|
- README.md
|
@@ -72,6 +84,7 @@ files:
|
|
72
84
|
- lib/irb/command/chws.rb
|
73
85
|
- lib/irb/command/context.rb
|
74
86
|
- lib/irb/command/continue.rb
|
87
|
+
- lib/irb/command/copy.rb
|
75
88
|
- lib/irb/command/debug.rb
|
76
89
|
- lib/irb/command/delete.rb
|
77
90
|
- lib/irb/command/disable_irb.rb
|
@@ -141,9 +154,8 @@ licenses:
|
|
141
154
|
metadata:
|
142
155
|
homepage_uri: https://github.com/ruby/irb
|
143
156
|
source_code_uri: https://github.com/ruby/irb
|
144
|
-
documentation_uri: https://github.
|
157
|
+
documentation_uri: https://ruby.github.io/irb/
|
145
158
|
changelog_uri: https://github.com/ruby/irb/releases
|
146
|
-
post_install_message:
|
147
159
|
rdoc_options: []
|
148
160
|
require_paths:
|
149
161
|
- lib
|
@@ -158,8 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
170
|
- !ruby/object:Gem::Version
|
159
171
|
version: '0'
|
160
172
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
162
|
-
signing_key:
|
173
|
+
rubygems_version: 3.6.3
|
163
174
|
specification_version: 4
|
164
175
|
summary: Interactive Ruby command-line tool for REPL (Read Eval Print Loop).
|
165
176
|
test_files: []
|
data/.document
DELETED