irbtools 4.0.7 → 4.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +11 -11
- data/README.md +2 -2
- data/irbtools.gemspec +2 -2
- data/lib/irbtools/commands/code.rb +3 -3
- data/lib/irbtools/commands/howtocall.rb +3 -3
- data/lib/irbtools/commands/look.rb +3 -3
- data/lib/irbtools/commands/shadow.rb +3 -3
- data/lib/irbtools/commands/sys.rb +3 -3
- data/lib/irbtools/configure.rb +0 -1
- data/lib/irbtools/version.rb +1 -1
- data/lib/irbtools.rb +4 -2
- data/spec/irbtools_commands_spec.rb +3 -3
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f02f8b065c2b36a4d9caf761f36d2776d8c19dbae0c3d3754db802c7ac4a6c60
|
4
|
+
data.tar.gz: 36df7068fc8cfc9a767f6d07b252d094acf675c808047dbaa382772371004357
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bc115e8be4396db8a372ff3725c1ba2857e029b4ea2088e55b2d8d215731eeaebf27820ec998382d75c20bcb27c2342c8bc5a410bfadb48971bdeabd225cb11
|
7
|
+
data.tar.gz: fa6fb6d62b9542ec75f1e9af7be27692b596da6be3f704c2e03b0492c3422403f899bc4354ad60d44ce6dbbd5f73b5e1758f34570b0a2b8fa9656bbd6c8fb649
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
irbtools (4.0.
|
4
|
+
irbtools (4.0.8)
|
5
5
|
clipboard (>= 1.4, < 3.0)
|
6
6
|
code (>= 0.9.4, < 2.0)
|
7
7
|
coderay (~> 1.1)
|
8
|
-
core_docs (~> 0.9.
|
8
|
+
core_docs (~> 0.9.11)
|
9
9
|
debugging (~> 2.1)
|
10
10
|
every_day_irb (~> 2.2)
|
11
11
|
fancy_irb (~> 2.1)
|
12
12
|
hirb (~> 0.7, >= 0.7.3)
|
13
13
|
interactive_editor (~> 0.0, >= 0.0.12)
|
14
|
-
irb (
|
14
|
+
irb (>= 1.11, < 1.13)
|
15
15
|
looksee (~> 5.0)
|
16
16
|
methodfinder (~> 2.2, >= 2.2.5)
|
17
17
|
object_shadow (~> 1.1)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
coderay (~> 1.1)
|
31
31
|
method_source (>= 0.9, < 2.0)
|
32
32
|
coderay (1.1.3)
|
33
|
-
core_docs (0.9.
|
33
|
+
core_docs (0.9.11)
|
34
34
|
yard (~> 0.9.11)
|
35
35
|
debugging (2.1.0)
|
36
36
|
paint (>= 0.9, < 3.0)
|
@@ -45,22 +45,22 @@ GEM
|
|
45
45
|
hirb (0.7.3)
|
46
46
|
interactive_editor (0.0.12)
|
47
47
|
spoon (~> 0.0.6)
|
48
|
-
io-console (0.
|
49
|
-
irb (1.
|
48
|
+
io-console (0.7.2)
|
49
|
+
irb (1.12.0)
|
50
50
|
rdoc
|
51
|
-
reline (>= 0.
|
51
|
+
reline (>= 0.4.2)
|
52
52
|
looksee (5.0.0)
|
53
53
|
method_source (1.0.0)
|
54
54
|
methodfinder (2.2.5)
|
55
55
|
object_shadow (1.1.1)
|
56
56
|
os (1.1.4)
|
57
57
|
paint (2.3.0)
|
58
|
-
psych (5.1.
|
58
|
+
psych (5.1.2)
|
59
59
|
stringio
|
60
60
|
rake (13.0.6)
|
61
|
-
rdoc (6.
|
61
|
+
rdoc (6.6.3.1)
|
62
62
|
psych (>= 4.0.0)
|
63
|
-
reline (0.
|
63
|
+
reline (0.5.2)
|
64
64
|
io-console (~> 0.5)
|
65
65
|
rspec (3.12.0)
|
66
66
|
rspec-core (~> 3.12.0)
|
@@ -79,7 +79,7 @@ GEM
|
|
79
79
|
ruby_version (1.0.2)
|
80
80
|
spoon (0.0.6)
|
81
81
|
ffi
|
82
|
-
stringio (3.0
|
82
|
+
stringio (3.1.0)
|
83
83
|
unicode-display_width (2.5.0)
|
84
84
|
webrick (1.7.0)
|
85
85
|
wirb (2.2.2)
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Irbtools [![[version]](https://badge.fury.io/rb/irbtools.svg)](https://badge.fury.io/rb/irbtools) [![[ci]](https://github.com/janlelis/irbtools/workflows/Test/badge.svg)](https://github.com/janlelis/irbtools/actions?query=workflow%3ATest)
|
2
2
|
|
3
|
-
## Irbtools 4
|
3
|
+
## Irbtools 4 for Current IRB
|
4
4
|
|
5
|
-
The current version of Irbtools requires [IRB 1.
|
5
|
+
The current version of Irbtools requires [IRB 1.11+](https://github.com/ruby/irb) ([which Ruby version bundles which IRB?](https://stdgems.org/irb/)). Please use Irbtools 3 for earlier versions of IRB.
|
6
6
|
|
7
7
|
## Description
|
8
8
|
|
data/irbtools.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
# Dependencies
|
21
21
|
|
22
22
|
# Core Functionality
|
23
|
-
s.add_dependency %q<irb>, "
|
23
|
+
s.add_dependency %q<irb>, ">= 1.11", "< 1.13"
|
24
24
|
s.add_dependency %q<every_day_irb>, "~> 2.2"
|
25
25
|
s.add_dependency %q<fancy_irb>, "~> 2.1"
|
26
26
|
s.add_dependency %q<wirb>, "~> 2.0", ">= 2.2.1"
|
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
|
|
37
37
|
s.add_dependency %q<looksee>, "~> 5.0"
|
38
38
|
s.add_dependency %q<object_shadow>, "~> 1.1"
|
39
39
|
s.add_dependency %q<code>, ">= 0.9.4", "< 2.0"
|
40
|
-
s.add_dependency %q<core_docs>, "~> 0.9.
|
40
|
+
s.add_dependency %q<core_docs>, "~> 0.9.11"
|
41
41
|
s.add_dependency %q<methodfinder>, "~> 2.2", ">= 2.2.5"
|
42
42
|
s.add_dependency %q<ruby_version>, "~> 1.0"
|
43
43
|
s.add_dependency %q<ruby_engine>, "~> 2.0"
|
data/lib/irbtools/configure.rb
CHANGED
data/lib/irbtools/version.rb
CHANGED
data/lib/irbtools.rb
CHANGED
@@ -5,17 +5,17 @@ describe "irbtools commands" do
|
|
5
5
|
describe "howtocall / code" do
|
6
6
|
it "support ri Syntax like String.name or String#gsub" do
|
7
7
|
expect(
|
8
|
-
IRB::
|
8
|
+
IRB::Command::Howtocall.transform_args("String.name")
|
9
9
|
).to eq "String, :name"
|
10
10
|
|
11
11
|
expect(
|
12
|
-
IRB::
|
12
|
+
IRB::Command::Code.transform_args("String#gsub")
|
13
13
|
).to eq "String, String.instance_method(:gsub)"
|
14
14
|
end
|
15
15
|
|
16
16
|
it "supports question-mark methods" do
|
17
17
|
expect(
|
18
|
-
IRB::
|
18
|
+
IRB::Command::Howtocall.transform_args("String#ascii_only?")
|
19
19
|
).to eq "String, String.instance_method(:ascii_only?)"
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irbtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: irb
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.11'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
22
|
+
version: '1.13'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.11'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
32
|
+
version: '1.13'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: every_day_irb
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,14 +240,14 @@ dependencies:
|
|
234
240
|
requirements:
|
235
241
|
- - "~>"
|
236
242
|
- !ruby/object:Gem::Version
|
237
|
-
version: 0.9.
|
243
|
+
version: 0.9.11
|
238
244
|
type: :runtime
|
239
245
|
prerelease: false
|
240
246
|
version_requirements: !ruby/object:Gem::Requirement
|
241
247
|
requirements:
|
242
248
|
- - "~>"
|
243
249
|
- !ruby/object:Gem::Version
|
244
|
-
version: 0.9.
|
250
|
+
version: 0.9.11
|
245
251
|
- !ruby/object:Gem::Dependency
|
246
252
|
name: methodfinder
|
247
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -369,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
369
375
|
- !ruby/object:Gem::Version
|
370
376
|
version: '0'
|
371
377
|
requirements: []
|
372
|
-
rubygems_version: 3.5.
|
378
|
+
rubygems_version: 3.5.9
|
373
379
|
signing_key:
|
374
380
|
specification_version: 4
|
375
381
|
summary: Irbtools happy IRB.
|