irbtools 2.2.1 → 3.0.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 +4 -4
- data/{CHANGELOG.txt → CHANGELOG.md} +62 -39
- data/CONFIGURE.md +18 -0
- data/MIT-LICENSE.txt +1 -1
- data/README.md +127 -137
- data/Rakefile +0 -10
- data/irbtools.gemspec +13 -15
- data/lib/irbtools/hirb.rb +9 -0
- data/lib/irbtools/libraries.rb +14 -26
- data/lib/irbtools/version.rb +3 -1
- metadata +50 -66
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e97f5261cf4f7b547eb07c577df70e0c98ac988aedebe23c143f1d021e70ea38
|
|
4
|
+
data.tar.gz: 795f96ed7e8e976b4147416a41f5542c6327a6c980fc078ae540b2f18d397bd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1e66084eda5b80f95136b015159ac395882fbc5dbaebe49e067013c1664e4f72617a7f7df59b774ccfa6d5c997aff2b83fe4ae5b99ed38fc7e569150c0081ed
|
|
7
|
+
data.tar.gz: d03e5029790a9b45cf7dbdc87704784a487dff02b2b2a46a4b49e08ea79ea498a305895e43804c2a4c10aee64502aaf90492ad603d4f9f8f6734fcb2e69e2eff
|
|
@@ -1,11 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
# Irbtools Changelog
|
|
2
|
+
|
|
3
|
+
## 3.0.3
|
|
4
|
+
* Workaround a HIRB issue for newer IRBs (fixes #48)
|
|
5
|
+
* Workaround ORI issue for newer IRBs
|
|
6
|
+
|
|
7
|
+
## 3.0.2
|
|
8
|
+
* Bump wirb to ensure Ruby 2.7 compatibility
|
|
9
|
+
|
|
10
|
+
## 3.0.1
|
|
11
|
+
* Bump fancy_irb to ensure Ruby 2.7 compatiblity
|
|
12
|
+
|
|
13
|
+
## 3.0.0
|
|
14
|
+
* Make IRB itself a dependency (default gem)
|
|
15
|
+
* Move: "Every day… IRB" into its own git repository
|
|
16
|
+
* https://github.com/janlelis/every_day_irb
|
|
17
|
+
* Replace instance and method_locator gems with new object_shadow gem
|
|
18
|
+
* Improve README
|
|
19
|
+
* Version bump code, clipboard, and methodfinder
|
|
20
|
+
|
|
21
|
+
## 2.2.2
|
|
22
|
+
* Remove Rails WIRB loading hack (no longer necessary)
|
|
23
|
+
|
|
24
|
+
## 2.2.1
|
|
2
25
|
* Allow os gem to be below 1.0
|
|
3
26
|
* Do not use binding.repl gem if Ruby version is at least 2.5
|
|
4
27
|
|
|
5
|
-
2.2.0
|
|
28
|
+
## 2.2.0
|
|
6
29
|
* Remove info, version, engine, and os methods. Use RubyInfo, RubyVersion, RubyEngine, and OS instead (fixes #40)
|
|
7
30
|
|
|
8
|
-
2.1.0
|
|
31
|
+
## 2.1.0
|
|
9
32
|
* Improve Rails compatibility
|
|
10
33
|
* Do not load instance gem in the context of Rails
|
|
11
34
|
* Make sure to actually require "irb" before using it
|
|
@@ -14,10 +37,10 @@
|
|
|
14
37
|
* Require new versions of fancy_irb, clipboard, os
|
|
15
38
|
* Set abort_on_exception to true for late threads (early threads do this implicitly via join)
|
|
16
39
|
|
|
17
|
-
2.0.1
|
|
40
|
+
## 2.0.1
|
|
18
41
|
* Remove g gem
|
|
19
42
|
|
|
20
|
-
2.0.0
|
|
43
|
+
## 2.0.0
|
|
21
44
|
* Use Wirb 2.0 and FancyIrb 1.0
|
|
22
45
|
* Drop support for Ruby 1
|
|
23
46
|
* Simplify starting from code via: require 'irbtools/binding'
|
|
@@ -31,35 +54,35 @@
|
|
|
31
54
|
* EveryDayIrb now gets released on its own, instead with every new irbtools version
|
|
32
55
|
* Improve documentation in Readme
|
|
33
56
|
|
|
34
|
-
1.7.1
|
|
57
|
+
## 1.7.1
|
|
35
58
|
* bump binding.repl, hirb, methodfinder
|
|
36
59
|
|
|
37
|
-
1.7.0
|
|
60
|
+
## 1.7.0
|
|
38
61
|
* bump boson, boson-more, binding.repl
|
|
39
62
|
* required ruby version: 1.9.3
|
|
40
63
|
* remove awesome_print
|
|
41
64
|
|
|
42
|
-
1.6.1
|
|
65
|
+
## 1.6.1
|
|
43
66
|
* don't load debugging/repl by default
|
|
44
67
|
* rename re method to engine and rv to version
|
|
45
68
|
|
|
46
|
-
1.6.0
|
|
69
|
+
## 1.6.0
|
|
47
70
|
* remove zucker dependency, but add debugging, ruby_version, ruby_engine, ruby_info and os gem
|
|
48
71
|
* configure binding.repl to load irb, not pry
|
|
49
72
|
* bump binding.repl, paint, wirb
|
|
50
73
|
|
|
51
|
-
1.5.1
|
|
74
|
+
## 1.5.1
|
|
52
75
|
* include binding.repl gem
|
|
53
76
|
* bump coderay, awesome_print, method_source, wirb
|
|
54
77
|
|
|
55
|
-
1.5.0
|
|
78
|
+
## 1.5.0
|
|
56
79
|
* update debundle hack
|
|
57
80
|
* load less zucker libraries
|
|
58
81
|
* add alias gem
|
|
59
82
|
* finaly load boson correctly (but don't load any boson plugin, yet), also depend on boson-more
|
|
60
83
|
* version bumps (zucker, clipboard, paint, hirb, wirb, ap, coderay, g)
|
|
61
84
|
|
|
62
|
-
1.4.0
|
|
85
|
+
## 1.4.0
|
|
63
86
|
* every_day_irb is now a module that extends self
|
|
64
87
|
* specs for most of every_day_irb's functionality
|
|
65
88
|
* add helper method for paging output with hirb: page
|
|
@@ -67,21 +90,21 @@
|
|
|
67
90
|
* remove sketches dependency, it's a great gem, but very similar to interactive_editor
|
|
68
91
|
* Object#mlp alias for method_lookup_path
|
|
69
92
|
|
|
70
|
-
1.3.0 == 1.2.3
|
|
93
|
+
## 1.3.0 == 1.2.3
|
|
71
94
|
* add modern debundle note
|
|
72
95
|
* remove loading of .railsrc
|
|
73
96
|
* remove dbg method
|
|
74
97
|
* version bumps
|
|
75
98
|
|
|
76
|
-
1.2.2
|
|
99
|
+
## 1.2.2
|
|
77
100
|
* fix errors when inspect returns nil (e.g. CarrierWave uploaders)
|
|
78
101
|
* create legacy branch for 1.8.7 support
|
|
79
102
|
|
|
80
|
-
1.2.1
|
|
103
|
+
## 1.2.1
|
|
81
104
|
* fix newboson loader issue
|
|
82
105
|
* minor version bumps
|
|
83
106
|
|
|
84
|
-
1.2.0
|
|
107
|
+
## 1.2.0
|
|
85
108
|
* version bumps: hirb, awesome_print, coderay, g, methodfinder, method_source
|
|
86
109
|
* remove RVM helpers: Sorry, were too buggy...
|
|
87
110
|
* fix/improve 'cd' helper method
|
|
@@ -89,10 +112,10 @@
|
|
|
89
112
|
* move looksee gem to irbtools-more
|
|
90
113
|
* more little tweaks
|
|
91
114
|
|
|
92
|
-
1.1.1
|
|
115
|
+
## 1.1.1
|
|
93
116
|
* fix the Ripl.after_rc bug
|
|
94
117
|
|
|
95
|
-
1.1.0
|
|
118
|
+
## 1.1.0
|
|
96
119
|
* fix hirb loading/unicode issue + colorize tables (thanks to halan)
|
|
97
120
|
* colorize paged wirb output
|
|
98
121
|
* include method locator gem (improved ancestors)
|
|
@@ -100,28 +123,28 @@
|
|
|
100
123
|
* include method source gem (Object#src)
|
|
101
124
|
* small tweaks...
|
|
102
125
|
|
|
103
|
-
1.0.6
|
|
126
|
+
## 1.0.6
|
|
104
127
|
* add possibility to modify library callbacks without removing the library by using: replace_library_callback or add_library_callback
|
|
105
128
|
* fix hirb dependency issue
|
|
106
129
|
* readme improvements
|
|
107
130
|
|
|
108
|
-
1.0.5
|
|
131
|
+
## 1.0.5
|
|
109
132
|
* use paint gem for terminal colors
|
|
110
133
|
|
|
111
|
-
1.0.4
|
|
134
|
+
## 1.0.4
|
|
112
135
|
* improve error-handling
|
|
113
136
|
* fix broken loading of boson + interactive_editor
|
|
114
137
|
|
|
115
|
-
1.0.3
|
|
138
|
+
## 1.0.3
|
|
116
139
|
* fix post-install banner typo
|
|
117
140
|
|
|
118
|
-
1.0.2
|
|
141
|
+
## 1.0.2
|
|
119
142
|
* version bumps for zucker (rbx compatible) and wirb (improved generic object-description highlighting)
|
|
120
143
|
|
|
121
|
-
1.0.1
|
|
144
|
+
## 1.0.1
|
|
122
145
|
* add missing require 'rbconfig'
|
|
123
146
|
|
|
124
|
-
1.0.0
|
|
147
|
+
## 1.0.0
|
|
125
148
|
* gemify general helpers/rvm stuff ("every_day_irb", "rvm_loader")
|
|
126
149
|
* 6 different loading schemas: start, thread, autoload, sub_session, late, late_thread
|
|
127
150
|
* load almost every feature via threads
|
|
@@ -129,67 +152,67 @@
|
|
|
129
152
|
* add irbtools/minimal mode for starting Irbtools without the default set of libraries
|
|
130
153
|
* replace RV and RE with rv and re
|
|
131
154
|
|
|
132
|
-
0.8.8
|
|
155
|
+
## 0.8.8
|
|
133
156
|
* fix 0.8.7 file permissions
|
|
134
157
|
* add methodfinder gem
|
|
135
158
|
* don't depend on guessmethod anymore
|
|
136
159
|
|
|
137
|
-
0.8.7
|
|
160
|
+
## 0.8.7
|
|
138
161
|
* fix railsrc loading
|
|
139
162
|
* add ori gem for nice Object#ri calling
|
|
140
163
|
* minor tweaks
|
|
141
164
|
|
|
142
|
-
0.8.6
|
|
165
|
+
## 0.8.6
|
|
143
166
|
* windows support
|
|
144
167
|
* update hirb + activate unicode-drawn tables
|
|
145
168
|
|
|
146
|
-
0.8.5
|
|
169
|
+
## 0.8.5
|
|
147
170
|
* rails related fixes
|
|
148
171
|
|
|
149
|
-
0.8.4
|
|
172
|
+
## 0.8.4
|
|
150
173
|
* now using wirb instead of wirble
|
|
151
174
|
|
|
152
|
-
0.8.3
|
|
175
|
+
## 0.8.3
|
|
153
176
|
* improved/added rvm methods (use, gemset, rubies, gemsets)
|
|
154
177
|
* RVM (Ruby API) constant gets autoloaded
|
|
155
178
|
* improved cd command
|
|
156
179
|
* don't load guessmethod by default (it's cool, but not always suited for production)
|
|
157
180
|
* more small changes
|
|
158
181
|
|
|
159
|
-
0.8.2
|
|
182
|
+
## 0.8.2
|
|
160
183
|
* only do irb specific features if in irb (ripl compatibility)
|
|
161
184
|
* more generic shell_name (in welcome message)
|
|
162
185
|
|
|
163
|
-
0.8.1
|
|
186
|
+
## 0.8.1
|
|
164
187
|
* rewrote irb_rocket: fancy_irb. No more workarounds needed, anymore.
|
|
165
188
|
* added sketches gem
|
|
166
189
|
* customizable welcome message
|
|
167
190
|
* more little fixes/enhancements
|
|
168
191
|
|
|
169
|
-
0.8.0
|
|
192
|
+
## 0.8.0
|
|
170
193
|
* added Object#ri method
|
|
171
194
|
* feature: extension package loading (e.g. irbtools-more)
|
|
172
195
|
* feature: loading in IRB.conf[:IRB_RC] (loading when a subirb starts, no more guessmethod rails errors)
|
|
173
196
|
* added rerequire (rrq) and ld load helper
|
|
174
197
|
|
|
175
|
-
0.7.4
|
|
198
|
+
## 0.7.4
|
|
176
199
|
* added workaround to use irb_rocket and hirb at the same time (basic hack, e.g. paging does not work)
|
|
177
200
|
* fixed little VERSION bug
|
|
178
201
|
|
|
179
|
-
0.7.3
|
|
202
|
+
## 0.7.3
|
|
180
203
|
* refactored file structure and added new Irbtools.add_lib method
|
|
181
204
|
* load railsrc if executed with rails and Irbtools.railsrc is set
|
|
182
205
|
* more little fixes
|
|
183
206
|
|
|
184
|
-
0.7.2
|
|
207
|
+
## 0.7.2
|
|
185
208
|
* fixed Rails 3 bug
|
|
186
209
|
* added boson gem (command repository)
|
|
187
210
|
* remember history when resetting or switching ruby version
|
|
188
211
|
|
|
189
|
-
0.7.1
|
|
212
|
+
## 0.7.1
|
|
190
213
|
* added method for starting a debugger
|
|
191
214
|
|
|
192
|
-
0.7.0
|
|
215
|
+
## 0.7.0
|
|
193
216
|
* initial release
|
|
194
217
|
|
|
195
218
|
J-_-L
|
data/CONFIGURE.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
The welcome message can be customized with `Irbtools.welcome_message=`
|
|
5
5
|
|
|
6
|
+
### IRB Prompt
|
|
7
|
+
|
|
8
|
+
**irbtools** changes the prompt to *:IRBTOOLS mode*, which uses `>> ` as the prompt, `| ` for indentation, and ` > ` for continuing a statement. You can switch back to the default IRB prompt with:
|
|
9
|
+
|
|
10
|
+
IRB.conf[:PROMPT_MODE] = :DEFAULT
|
|
11
|
+
|
|
6
12
|
### Customize Libraries to Load
|
|
7
13
|
|
|
8
14
|
It is possible to modify, which libraries to load:
|
|
@@ -53,3 +59,15 @@ When adding a new library, you should firstly consider some way to load it via
|
|
|
53
59
|
`:autoload`. If this is not possible, try loading via `:thread`. If that is
|
|
54
60
|
not possible either, you will need to fallback to the default loading
|
|
55
61
|
mechanism.
|
|
62
|
+
|
|
63
|
+
#### Example
|
|
64
|
+
|
|
65
|
+
Change a [FancyIRB](https://github.com/janlelis/fancy_irb/) setting:
|
|
66
|
+
|
|
67
|
+
require 'irbtools/configure'
|
|
68
|
+
|
|
69
|
+
Irbtools.replace_library_callback :fancy_irb do
|
|
70
|
+
FancyIrb.start rocket_mode: false
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
Irbtools.start
|
data/MIT-LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
# Irbtools [](
|
|
2
|
-
|
|
3
|
-
_ _| | | |
|
|
4
|
-
| __| __ \ __| _ \ _ \ | __|
|
|
5
|
-
| | | | | ( | ( | | \__ \
|
|
6
|
-
___| _| _.__/ \__| \___/ \___/ _| ____/
|
|
1
|
+
# Irbtools [](https://badge.fury.io/rb/irbtools) [![[travis]](https://travis-ci.org/janlelis/irbtools.svg)](https://travis-ci.org/janlelis/irbtools)
|
|
7
2
|
|
|
3
|
+
```ruby
|
|
4
|
+
_| _|
|
|
5
|
+
_|_|_| _|_|_| _|_|_| _| _| _| _|_|_| _|
|
|
6
|
+
_| _| _| _| _| _|_|_|_| _|_| _|_| _| _|_|_| _| _| _|
|
|
7
|
+
_| _|_|_| _|_|_| _| _| _| _| _| _| _|_| _| _|_| _|
|
|
8
|
+
_| _| _| _| _| _| _| _| _| _| _| _|_| _| _| _|
|
|
9
|
+
_|_|_| _| _| _|_|_| _| _|_| _|_| _|_| _| _|_|_| _| _|_|_| _|
|
|
10
|
+
_| _|
|
|
11
|
+
```
|
|
8
12
|
|
|
9
|
-
Improvements for Ruby's IRB console, like
|
|
13
|
+
Improvements for Ruby's IRB console, like syntax highlighted output and a lot of
|
|
10
14
|
debugging and introspection methods. Unlike with PRY, you are still in your
|
|
11
15
|
normal IRB. It is designed to work out-of-the-box, so there is no reason to not
|
|
12
16
|
use it!
|
|
13
17
|
|
|
18
|
+
**Compatible with Ruby 2.7's new IRB**
|
|
19
|
+
|
|
14
20
|
## Setup
|
|
15
21
|
|
|
16
22
|
$ gem install irbtools
|
|
@@ -20,177 +26,161 @@ just create a new one. Add the following content:
|
|
|
20
26
|
|
|
21
27
|
require 'irbtools'
|
|
22
28
|
|
|
23
|
-
You also need to add irbtools to your project's Gemfile
|
|
29
|
+
You also need to add irbtools to your project's `Gemfile`:
|
|
24
30
|
|
|
25
31
|
gem 'irbtools', require: 'irbtools/binding'
|
|
26
32
|
|
|
27
|
-
Then start IRB (with **Irbtools** loaded) from the
|
|
33
|
+
Then start IRB (with **Irbtools** loaded) from the terminal or directly from your code with:
|
|
28
34
|
|
|
29
35
|
binding.irb
|
|
30
36
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
irb
|
|
34
|
-
|
|
35
|
-
### More Improvements
|
|
37
|
+
### Enable More Gems
|
|
36
38
|
|
|
37
39
|
Some suggested gems will not be installed to ensure wider general support. For
|
|
38
|
-
the full feature set, you can
|
|
40
|
+
the full feature set, you can install **irbtools-more**. To do so, change your
|
|
39
41
|
`.irbrc` to:
|
|
40
42
|
|
|
41
43
|
require 'irbtools/more'
|
|
42
44
|
|
|
43
|
-
and edit your Gemfile to
|
|
45
|
+
and edit your `Gemfile` to read like this:
|
|
44
46
|
|
|
45
47
|
gem 'irbtools-more', require: 'irbtools/binding'
|
|
46
48
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
*
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
`
|
|
102
|
-
`
|
|
103
|
-
`
|
|
104
|
-
`
|
|
105
|
-
`
|
|
106
|
-
`
|
|
107
|
-
`
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
`
|
|
114
|
-
`
|
|
115
|
-
`
|
|
116
|
-
`
|
|
117
|
-
`
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
`
|
|
124
|
-
`
|
|
125
|
-
`
|
|
126
|
-
`
|
|
127
|
-
`
|
|
128
|
-
`
|
|
129
|
-
`
|
|
130
|
-
`
|
|
131
|
-
`
|
|
132
|
-
`
|
|
133
|
-
`
|
|
134
|
-
`
|
|
135
|
-
`
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
49
|
+
## Features
|
|
50
|
+
|
|
51
|
+
### Irbtools' IRB Improvements
|
|
52
|
+
|
|
53
|
+
- Syntax highlighting ([wirb](https://github.com/janlelis/wirb/) / [fancy_irb](https://github.com/janlelis/fancy_irb))
|
|
54
|
+
- Loads included third party libraries effeciently
|
|
55
|
+
- Customizable views for specfic options using [hirb](https://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html)
|
|
56
|
+
- ActiveRecord results get displayed as a table
|
|
57
|
+
- **(irbtools-more)** [Improved tab-completion](https://tagaholic.me/bond/)
|
|
58
|
+
|
|
59
|
+
### Irbtools' Included Methods for IRB
|
|
60
|
+
|
|
61
|
+
#### Highlights
|
|
62
|
+
|
|
63
|
+
- Lookup and manipulate instance variables / methods with ease using [object_shadow](https://github.com/janlelis/object_shadow/)
|
|
64
|
+
- **(irbtools-more)** Go even further with [looksee](https://github.com/oggy/looksee), the best lookup path inspection tool out there
|
|
65
|
+
- Display a method's source code using [code](https://github.com/janlelis/code)
|
|
66
|
+
- Inline access to *ri* docs by [ori](https://github.com/dadooda/ori)
|
|
67
|
+
- If you have deactivated *ri*, you can re-generate the docs with something like: `rvm docs generate-ri`
|
|
68
|
+
- Find methods that turn one value into another value with [methodfinder](https://github.com/citizen428/methodfinder)
|
|
69
|
+
- [Use VIM from inside IRB](https://github.com/jberkel/interactive_editor)
|
|
70
|
+
|
|
71
|
+
#### Ruby Introspection
|
|
72
|
+
|
|
73
|
+
Method / Constant | Arguments | Description | Provided By
|
|
74
|
+
------ | ---------- | -----------|-
|
|
75
|
+
`code` | object = self, method_name | Display the method source with syntax highlighting. Will also look up C methods if the **core_docs** gem (which is included in **irbtools-more**) is available. | [code](https://github.com/janlelis/code)
|
|
76
|
+
`howtocall` | object = self, method_or_proc | Display parameter names and types you will need to call a method | [debugging/howtocall](https://github.com/janlelis/debugging#howtocallobj--self-method_or_proc)
|
|
77
|
+
`mf` | object1, object2 | Find methods which turn one value into another value | [methodfinder](https://github.com/citizen428/methodfinder)
|
|
78
|
+
`mof` | object, depth = 0, grep = // | Print a method list, ordered by modules (looksee lite) | [debugging](https://github.com/janlelis/debugging#mofobj-depth--nil)
|
|
79
|
+
`Object#lp` | | **(irbtools-more)** Supercharged method introspection in IRB | [looksee](https://github.com/oggy/looksee)
|
|
80
|
+
`Object#ri` | *args | Show ri documentation for this object or method | [ori](https://github.com/dadooda/ori)
|
|
81
|
+
`Object#shadow` | | Manipulate instance variables and learn about callable methods | [object_shadow](https://github.com/janlelis/object_shadow/)
|
|
82
|
+
|
|
83
|
+
#### Platform Info
|
|
84
|
+
|
|
85
|
+
Method / Constant | Arguments | Description | Provided By
|
|
86
|
+
------ | ---------- | -----------|-
|
|
87
|
+
`OS` | | Query operating system information | [os](https://github.com/rdp/os)
|
|
88
|
+
`RubyVersion` | | Show the Ruby version | [ruby_version](https://github.com/janlelis/ruby_version)
|
|
89
|
+
`RubyEngine` | | Show the Ruby engine | [ruby_engine](https://github.com/janlelis/ruby_engine)
|
|
90
|
+
`RubyInfo` | | List general information about the Ruby environment | [ruby_info](https://github.com/janlelis/ruby_info)
|
|
91
|
+
|
|
92
|
+
#### General Utils
|
|
93
|
+
|
|
94
|
+
Method / Constant | Arguments | Description | Provided By
|
|
95
|
+
------ | ---------- | -----------|-
|
|
96
|
+
`beep` | | Ring terminal bell | [debugging/beep](https://github.com/janlelis/debugging#beep)
|
|
97
|
+
`copy` | string | Copy something to the clipboard | [clipboard](https://github.com/janlelis/clipboard)
|
|
98
|
+
`colorize` | string | Syntax-highlight a string of Ruby code | [coderay](https://github.com/rubychan/coderay), irbtools
|
|
99
|
+
`ed` / `emacs` / `mate` / `mvim` / `nano` / `vi` / `vim` | filename = nil | Start an editor in the session context | [interactive_editor](https://github.com/jberkel/interactive_editor)
|
|
100
|
+
`ld` | file | Shortcut for `load lib.to_s + '.rb'` | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
101
|
+
`pa` | string, color | Print a string in the specified color | [paint](https://github.com/janlelis/paint#utilities)
|
|
102
|
+
`page` | what, options = {} | Use pager to improve viewing longer content | [hirb](https://github.com/cldwalker/hirb#pager), irbtools
|
|
103
|
+
`paste` | | Paste clipboard content | [clipboard](https://github.com/janlelis/clipboard)
|
|
104
|
+
`q` | *args | Like `Kernel#p`, but prints results on one line, with different colors | [debugging/q](https://github.com/janlelis/debugging#qargs)
|
|
105
|
+
`re` | string, regexg, groups = nil | Regex debugging helper | [debugging/re](https://github.com/janlelis/debugging#qargs)
|
|
106
|
+
`rq` | lib | Shortcut for `require lib.to_s`. Use it like this: `rq:prime` | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
107
|
+
`rr` | lib | Shortcut for `require_relative lib.to_s` | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
108
|
+
`rrq` / `rerequire` | lib | Hack to remove a library from `$LOADED_FEATURES` and `require` it again | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
109
|
+
`wp` | inspect_string | Syntax-highlight a Ruby return value | [wirb](https://github.com/janlelis/wirb#kernelwp)
|
|
110
|
+
|
|
111
|
+
#### IRB Support
|
|
112
|
+
|
|
113
|
+
Method / Constant | Arguments | Description | Provided By
|
|
114
|
+
------ | ---------- | -----------|-
|
|
115
|
+
`clear` | | Clear the terminal | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
116
|
+
`copy_input` | | Copy session history to the clipboard | [clipboard](https://github.com/janlelis/clipboard), irbtools
|
|
117
|
+
`copy_output` | | Copy session output history to the clipboard | [clipboard](https://github.com/janlelis/clipboard), irbtools
|
|
118
|
+
`reset!` | | Restart the current IRB session | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
119
|
+
`session_history` | number_of_lines = nil | Return a string of all commands issued in the current session | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
120
|
+
|
|
121
|
+
#### Files and Navigation
|
|
122
|
+
|
|
123
|
+
Method / Constant | Arguments | Description | Provided By
|
|
124
|
+
------ | ---------- | -----------|-
|
|
125
|
+
`cat` | path | Read file contents | [every_day_irb](https://github.com/janlelis/every_day_irb)
|
|
126
|
+
`cd` | path = nil | Change the directory. Can also be used in these forms: `~cd` (change to home directory), `-cd` (change to previous directory) | [cd](https://github.com/janlelis/cd)
|
|
127
|
+
`chmod` | mode, path | Set file mode for file | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
128
|
+
`chmod_R` | mode, path | Set file mode for directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
129
|
+
`chown` | user, group, path | Set file owner for file | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
130
|
+
`chown_R` | user, group, path | Set file owner for directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
131
|
+
`cp` | source, destination | Copy file | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
132
|
+
`cp_r` | source, destination | Copy directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
133
|
+
`ls` | path = "." | List directory content | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
134
|
+
`ln` | target, link | Create symlink (`ln`) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
135
|
+
`ln_s` | target, link | Create symlink (`ln -s`) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
136
|
+
`ln_sf` | target, link | Create symlink (`ln -sf`) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
137
|
+
`mkdir` | path | Create a new directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
138
|
+
`mkdir_p` | path | Create a new directory (with `-p` option) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
139
|
+
`cp` | source, destination | Move file or directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
140
|
+
`pwd` | | Return current directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
141
|
+
`ray` | path | Syntax highlight a Ruby file | [coderay](https://github.com/rubychan/coderay), irbtools
|
|
142
|
+
`rm` | path | Delete a file (`rm`) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
143
|
+
`rm_r` | path | Delete a file or directory (`rm -r`) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
144
|
+
`rm_rf` | path | Delete a file or directory, with force (`rm -rf`) | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
145
|
+
`rmdir` | path | Delete an empty directory | [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
|
|
146
|
+
|
|
147
|
+
### Advanced Tweaking
|
|
139
148
|
|
|
140
149
|
See [CONFIGURE.md](https://github.com/janlelis/irbtools/blob/master/CONFIGURE.md).
|
|
141
150
|
|
|
142
|
-
|
|
143
151
|
### Troubleshooting: ANSI colors on Windows
|
|
144
152
|
|
|
145
153
|
Windows: ANSI support can be enabled via
|
|
146
154
|
[ansicon](https://github.com/adoxa/ansicon) or
|
|
147
|
-
[ConEmu](
|
|
148
|
-
|
|
155
|
+
[ConEmu](https://conemu.github.io/) or
|
|
156
|
+
[WSL](https://docs.microsoft.com/en-us/windows/wsl/about).
|
|
149
157
|
|
|
150
158
|
### Troubleshooting: Clipboard not working on Linux
|
|
151
159
|
|
|
152
|
-
Clipboard support requires **
|
|
153
|
-
install xclip`
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Troubleshooting: Unicode causes wrong display widths
|
|
157
|
-
|
|
158
|
-
If you use double-width unicode characters, you will need to paste the
|
|
159
|
-
following snippet to your `~/.irbrc` file.
|
|
160
|
-
|
|
161
|
-
```ruby
|
|
162
|
-
Irbtools.replace_library_callback :fancy_irb do
|
|
163
|
-
FancyIrb.start east_asian_width: true
|
|
164
|
-
end
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
This setting is deactivated by default, because of performance issues.
|
|
160
|
+
Clipboard support requires **xsel** or **xclip**. On ubuntu, do:
|
|
168
161
|
|
|
162
|
+
sudo apt-get install xsel
|
|
169
163
|
|
|
170
164
|
### Hint: Debundle
|
|
171
165
|
|
|
172
|
-
If you do not want to add **Irbtools** to your project's Gemfile
|
|
166
|
+
If you do not want to add **Irbtools** to your project's `Gemfile`, you will need a
|
|
173
167
|
[debundle hack](https://github.com/janlelis/debundle.rb). Put it at the
|
|
174
|
-
beginning of your `~/.irbrc` file and you are fine
|
|
175
|
-
|
|
168
|
+
beginning of your `~/.irbrc` file and you are fine.
|
|
176
169
|
|
|
177
170
|
### Hint: No ANSI / IRB extension
|
|
178
171
|
|
|
179
|
-
You can use Irbtools without colors/
|
|
172
|
+
You can use **Irbtools** without colors/IRB extensions. To do so, put this into `~/.irbrc`:
|
|
180
173
|
|
|
181
174
|
```ruby
|
|
182
175
|
require 'irbtools/non_fancy'
|
|
183
176
|
Irbtools.start
|
|
184
177
|
```
|
|
185
178
|
|
|
179
|
+
### Hint: Web Console and Other Approaches
|
|
186
180
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
**Irbtools** works well together with the amazing
|
|
190
|
-
[web-console!](https://github.com/rails/web-console)
|
|
191
|
-
|
|
181
|
+
**Irbtools** works well together with the amazing [web-console!](https://github.com/rails/web-console), and also with the [ripl](https://github.com/cldwalker/ripl) IRB alternative.
|
|
192
182
|
|
|
193
183
|
## J-_-L
|
|
194
184
|
|
|
195
|
-
Copyright (c) 2010-
|
|
185
|
+
Copyright (c) 2010-2020 Jan Lelis <https://janlelis.com> released under the MIT
|
|
196
186
|
license.
|
data/Rakefile
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
require 'fileutils'
|
|
2
2
|
require "rspec/core/rake_task"
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
task :test => :spec
|
|
6
5
|
task :default => :spec
|
|
7
6
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
8
7
|
t.rspec_opts = '--backtrace --color'
|
|
9
8
|
end
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
def gemspec1
|
|
13
|
-
@gemspec1 ||= eval(File.read('every_day_irb.gemspec'), binding, 'every_day_irb.gemspec')
|
|
14
|
-
end
|
|
15
|
-
|
|
16
10
|
def gemspec2
|
|
17
11
|
@gemspec2 ||= eval(File.read('irbtools.gemspec'), binding, 'irbtools.gemspec')
|
|
18
12
|
end
|
|
@@ -23,25 +17,21 @@ end
|
|
|
23
17
|
|
|
24
18
|
desc "Build the gems"
|
|
25
19
|
task :gem => :gemspec do
|
|
26
|
-
sh "gem build #{gemspec1.name}.gemspec"
|
|
27
20
|
sh "gem build #{gemspec2.name}.gemspec"
|
|
28
21
|
sh "gem build #{gemspec3.name}.gemspec"
|
|
29
22
|
FileUtils.mkdir_p 'pkg'
|
|
30
|
-
FileUtils.mv "#{gemspec1.name}-#{gemspec1.version}.gem", 'pkg'
|
|
31
23
|
FileUtils.mv "#{gemspec2.name}-#{gemspec2.version}.gem", 'pkg'
|
|
32
24
|
FileUtils.mv "#{gemspec3.name}-#{gemspec3.version}.gem", 'pkg'
|
|
33
25
|
end
|
|
34
26
|
|
|
35
27
|
desc "Install the gem locally (without docs)"
|
|
36
28
|
task :install => :gem do
|
|
37
|
-
sh %{gem install pkg/#{gemspec1.name}-#{gemspec1.version}.gem --no-document}
|
|
38
29
|
sh %{gem install pkg/#{gemspec2.name}-#{gemspec2.version}.gem --no-document}
|
|
39
30
|
sh %{gem install pkg/#{gemspec3.name}-#{gemspec3.version}.gem --no-document}
|
|
40
31
|
end
|
|
41
32
|
|
|
42
33
|
desc "Validate the gemspec"
|
|
43
34
|
task :gemspec do
|
|
44
|
-
gemspec1.validate
|
|
45
35
|
gemspec2.validate
|
|
46
36
|
gemspec3.validate
|
|
47
37
|
end
|
data/irbtools.gemspec
CHANGED
|
@@ -7,9 +7,9 @@ Gem::Specification.new do |s|
|
|
|
7
7
|
|
|
8
8
|
s.homepage = 'https://github.com/janlelis/irbtools'
|
|
9
9
|
s.authors = ["Jan Lelis"]
|
|
10
|
+
s.email = ["hi@ruby.consulting"]
|
|
10
11
|
s.summary = 'Irbtools happy IRB.'
|
|
11
|
-
s.description = "Irbtools make Ruby's IRB more productive."
|
|
12
|
-
s.email = 'mail@janlelis.de'
|
|
12
|
+
s.description = "The Irbtools make working with Ruby's IRB console more fun & productive."
|
|
13
13
|
s.files = %w[
|
|
14
14
|
lib/irbtools.rb
|
|
15
15
|
lib/irbtools/version.rb
|
|
@@ -26,40 +26,38 @@ Gem::Specification.new do |s|
|
|
|
26
26
|
s.extra_rdoc_files = %w[
|
|
27
27
|
README.md
|
|
28
28
|
CONFIGURE.md
|
|
29
|
-
CHANGELOG.
|
|
29
|
+
CHANGELOG.md
|
|
30
30
|
MIT-LICENSE.txt
|
|
31
31
|
]
|
|
32
32
|
s.license = 'MIT'
|
|
33
33
|
|
|
34
34
|
s.required_ruby_version = '~> 2.0'
|
|
35
|
-
s.add_development_dependency 'rspec', '~> 3.2'
|
|
36
|
-
s.add_development_dependency 'rake', '~> 10.4'
|
|
37
35
|
|
|
38
36
|
# # #
|
|
39
37
|
# Dependencies
|
|
40
38
|
|
|
41
|
-
#
|
|
39
|
+
# Core Functionality
|
|
40
|
+
s.add_dependency %q<irb>, ">= 0.9.6"
|
|
42
41
|
s.add_dependency %q<every_day_irb>, "~> 2.0"
|
|
43
|
-
s.add_dependency %q<fancy_irb>, "~> 1.1"
|
|
44
|
-
s.add_dependency %q<wirb>, "~> 2.0"
|
|
42
|
+
s.add_dependency %q<fancy_irb>, "~> 1.2", ">= 1.2.1"
|
|
43
|
+
s.add_dependency %q<wirb>, "~> 2.0", ">= 2.2.1"
|
|
45
44
|
s.add_dependency %q<hirb>, "~> 0.7", ">= 0.7.3"
|
|
46
45
|
s.add_dependency %q<binding.repl>, "~> 3.0"
|
|
47
46
|
|
|
48
|
-
#
|
|
47
|
+
# Utils
|
|
49
48
|
s.add_dependency %q<paint>, ">= 0.9", "< 3.0"
|
|
50
|
-
s.add_dependency %q<clipboard>, "~> 1.
|
|
49
|
+
s.add_dependency %q<clipboard>, "~> 1.3"
|
|
51
50
|
s.add_dependency %q<interactive_editor>, "~> 0.0", ">= 0.0.10"
|
|
52
51
|
s.add_dependency %q<coderay>, "~> 1.1"
|
|
53
52
|
s.add_dependency %q<debugging>, "~> 1.1"
|
|
54
53
|
|
|
55
|
-
#
|
|
56
|
-
s.add_dependency %q<
|
|
54
|
+
# Introspection / Docs
|
|
55
|
+
s.add_dependency %q<object_shadow>, "~> 1.1"
|
|
56
|
+
s.add_dependency %q<code>, ">= 0.9.2", "< 2.0"
|
|
57
57
|
s.add_dependency %q<ori>, "~> 0.1.0"
|
|
58
|
-
s.add_dependency %q<methodfinder>, "~> 2.
|
|
59
|
-
s.add_dependency %q<method_locator>,"~> 0.0", ">= 0.0.4"
|
|
58
|
+
s.add_dependency %q<methodfinder>, "~> 2.2"
|
|
60
59
|
s.add_dependency %q<ruby_version>, "~> 1.0"
|
|
61
60
|
s.add_dependency %q<ruby_engine>, "~> 1.0"
|
|
62
61
|
s.add_dependency %q<ruby_info>, "~> 1.0"
|
|
63
62
|
s.add_dependency %q<os>
|
|
64
|
-
s.add_dependency %q<instance>, "~> 0.2"
|
|
65
63
|
end
|
data/lib/irbtools/hirb.rb
CHANGED
|
@@ -7,6 +7,15 @@ Irbtools.add_library :hirb, thread: :paint do
|
|
|
7
7
|
Hirb::Pager.command_pager(what, options = {})
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
+
# Workaround for newer IRB versions
|
|
11
|
+
if defined? IRB::Irb
|
|
12
|
+
IRB::Irb.class_eval do
|
|
13
|
+
def output_value(_ = false)
|
|
14
|
+
Hirb::View.view_or_page_output(@context.last_value) || non_hirb_view_output
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
10
19
|
# page wirb output hacks
|
|
11
20
|
class Hirb::Pager
|
|
12
21
|
alias original_activated_by? activated_by?
|
data/lib/irbtools/libraries.rb
CHANGED
|
@@ -18,19 +18,7 @@ Irbtools.add_library 'interactive_editor', thread: :stdlib
|
|
|
18
18
|
Irbtools.add_library 'paint/pa', thread: :paint
|
|
19
19
|
|
|
20
20
|
Irbtools.add_library 'wirb/wp', thread: :paint do
|
|
21
|
-
|
|
22
|
-
Class.new Rails::Railtie do
|
|
23
|
-
console {
|
|
24
|
-
# This is terrible... anyone has a better idea?
|
|
25
|
-
Thread.new do
|
|
26
|
-
sleep 0.2
|
|
27
|
-
Wirb.start unless Wirb.running?
|
|
28
|
-
end
|
|
29
|
-
}
|
|
30
|
-
end
|
|
31
|
-
else
|
|
32
|
-
Wirb.start
|
|
33
|
-
end
|
|
21
|
+
Wirb.start
|
|
34
22
|
end
|
|
35
23
|
|
|
36
24
|
unless Irbtools.ripl?
|
|
@@ -40,22 +28,28 @@ unless Irbtools.ripl?
|
|
|
40
28
|
end
|
|
41
29
|
|
|
42
30
|
Irbtools.add_library 'debugging/q', thread: :paint
|
|
43
|
-
|
|
44
31
|
Irbtools.add_library 'debugging/mof', thread: :paint
|
|
45
|
-
|
|
46
32
|
Irbtools.add_library 'debugging/re', thread: :paint
|
|
47
|
-
|
|
48
33
|
Irbtools.add_library 'debugging/beep', thread: :paint
|
|
49
|
-
|
|
50
34
|
Irbtools.add_library 'debugging/howtocall', thread: :paint
|
|
51
35
|
|
|
52
36
|
require_relative 'hirb'
|
|
53
37
|
|
|
54
|
-
|
|
55
|
-
|
|
38
|
+
Irbtools.add_library 'object_shadow', thread: :paint do
|
|
39
|
+
ObjectShadow.include(ObjectShadow::DeepInspect)
|
|
56
40
|
end
|
|
57
41
|
|
|
58
|
-
Irbtools.add_library '
|
|
42
|
+
Irbtools.add_library 'readline', thread: :ori
|
|
43
|
+
Irbtools.add_library 'ori', thread: :ori do
|
|
44
|
+
# TODO Readline history can be empty (issue)
|
|
45
|
+
module ORI::Internals
|
|
46
|
+
def self.get_ri_arg_prefix(cmd)
|
|
47
|
+
if cmd && (mat = cmd.match /\A(\s*.+?\.ri)\s+\S/)
|
|
48
|
+
mat[1]
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
59
53
|
class Object
|
|
60
54
|
# patch ori to also allow shell-like "Array#slice" syntax
|
|
61
55
|
def ri(*args)
|
|
@@ -75,12 +69,6 @@ Irbtools.add_library 'ori', thread: 50 do
|
|
|
75
69
|
end
|
|
76
70
|
end
|
|
77
71
|
|
|
78
|
-
Irbtools.add_library 'method_locator', thread: 60 do
|
|
79
|
-
module MethodLocator
|
|
80
|
-
alias mlp method_lookup_path
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
72
|
Irbtools.add_library 'ruby_info', thread: :ri
|
|
85
73
|
Irbtools.add_library 'os', thread: :os
|
|
86
74
|
Irbtools.add_library 'ruby_engine', thread: :re
|
data/lib/irbtools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,43 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: irbtools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Lelis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: irb
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '3.2'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '3.2'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: rake
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
17
|
+
- - ">="
|
|
32
18
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
34
|
-
type: :
|
|
19
|
+
version: 0.9.6
|
|
20
|
+
type: :runtime
|
|
35
21
|
prerelease: false
|
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
23
|
requirements:
|
|
38
|
-
- - "
|
|
24
|
+
- - ">="
|
|
39
25
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
26
|
+
version: 0.9.6
|
|
41
27
|
- !ruby/object:Gem::Dependency
|
|
42
28
|
name: every_day_irb
|
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -58,14 +44,20 @@ dependencies:
|
|
|
58
44
|
requirements:
|
|
59
45
|
- - "~>"
|
|
60
46
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '1.
|
|
47
|
+
version: '1.2'
|
|
48
|
+
- - ">="
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: 1.2.1
|
|
62
51
|
type: :runtime
|
|
63
52
|
prerelease: false
|
|
64
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
54
|
requirements:
|
|
66
55
|
- - "~>"
|
|
67
56
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '1.
|
|
57
|
+
version: '1.2'
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: 1.2.1
|
|
69
61
|
- !ruby/object:Gem::Dependency
|
|
70
62
|
name: wirb
|
|
71
63
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -73,6 +65,9 @@ dependencies:
|
|
|
73
65
|
- - "~>"
|
|
74
66
|
- !ruby/object:Gem::Version
|
|
75
67
|
version: '2.0'
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: 2.2.1
|
|
76
71
|
type: :runtime
|
|
77
72
|
prerelease: false
|
|
78
73
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -80,6 +75,9 @@ dependencies:
|
|
|
80
75
|
- - "~>"
|
|
81
76
|
- !ruby/object:Gem::Version
|
|
82
77
|
version: '2.0'
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: 2.2.1
|
|
83
81
|
- !ruby/object:Gem::Dependency
|
|
84
82
|
name: hirb
|
|
85
83
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -140,14 +138,14 @@ dependencies:
|
|
|
140
138
|
requirements:
|
|
141
139
|
- - "~>"
|
|
142
140
|
- !ruby/object:Gem::Version
|
|
143
|
-
version: '1.
|
|
141
|
+
version: '1.3'
|
|
144
142
|
type: :runtime
|
|
145
143
|
prerelease: false
|
|
146
144
|
version_requirements: !ruby/object:Gem::Requirement
|
|
147
145
|
requirements:
|
|
148
146
|
- - "~>"
|
|
149
147
|
- !ruby/object:Gem::Version
|
|
150
|
-
version: '1.
|
|
148
|
+
version: '1.3'
|
|
151
149
|
- !ruby/object:Gem::Dependency
|
|
152
150
|
name: interactive_editor
|
|
153
151
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -197,67 +195,67 @@ dependencies:
|
|
|
197
195
|
- !ruby/object:Gem::Version
|
|
198
196
|
version: '1.1'
|
|
199
197
|
- !ruby/object:Gem::Dependency
|
|
200
|
-
name:
|
|
198
|
+
name: object_shadow
|
|
201
199
|
requirement: !ruby/object:Gem::Requirement
|
|
202
200
|
requirements:
|
|
203
201
|
- - "~>"
|
|
204
202
|
- !ruby/object:Gem::Version
|
|
205
|
-
version: '
|
|
203
|
+
version: '1.1'
|
|
206
204
|
type: :runtime
|
|
207
205
|
prerelease: false
|
|
208
206
|
version_requirements: !ruby/object:Gem::Requirement
|
|
209
207
|
requirements:
|
|
210
208
|
- - "~>"
|
|
211
209
|
- !ruby/object:Gem::Version
|
|
212
|
-
version: '
|
|
210
|
+
version: '1.1'
|
|
213
211
|
- !ruby/object:Gem::Dependency
|
|
214
|
-
name:
|
|
212
|
+
name: code
|
|
215
213
|
requirement: !ruby/object:Gem::Requirement
|
|
216
214
|
requirements:
|
|
217
|
-
- - "
|
|
215
|
+
- - ">="
|
|
218
216
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: 0.
|
|
217
|
+
version: 0.9.2
|
|
218
|
+
- - "<"
|
|
219
|
+
- !ruby/object:Gem::Version
|
|
220
|
+
version: '2.0'
|
|
220
221
|
type: :runtime
|
|
221
222
|
prerelease: false
|
|
222
223
|
version_requirements: !ruby/object:Gem::Requirement
|
|
223
224
|
requirements:
|
|
224
|
-
- - "
|
|
225
|
+
- - ">="
|
|
225
226
|
- !ruby/object:Gem::Version
|
|
226
|
-
version: 0.
|
|
227
|
+
version: 0.9.2
|
|
228
|
+
- - "<"
|
|
229
|
+
- !ruby/object:Gem::Version
|
|
230
|
+
version: '2.0'
|
|
227
231
|
- !ruby/object:Gem::Dependency
|
|
228
|
-
name:
|
|
232
|
+
name: ori
|
|
229
233
|
requirement: !ruby/object:Gem::Requirement
|
|
230
234
|
requirements:
|
|
231
235
|
- - "~>"
|
|
232
236
|
- !ruby/object:Gem::Version
|
|
233
|
-
version:
|
|
237
|
+
version: 0.1.0
|
|
234
238
|
type: :runtime
|
|
235
239
|
prerelease: false
|
|
236
240
|
version_requirements: !ruby/object:Gem::Requirement
|
|
237
241
|
requirements:
|
|
238
242
|
- - "~>"
|
|
239
243
|
- !ruby/object:Gem::Version
|
|
240
|
-
version:
|
|
244
|
+
version: 0.1.0
|
|
241
245
|
- !ruby/object:Gem::Dependency
|
|
242
|
-
name:
|
|
246
|
+
name: methodfinder
|
|
243
247
|
requirement: !ruby/object:Gem::Requirement
|
|
244
248
|
requirements:
|
|
245
249
|
- - "~>"
|
|
246
250
|
- !ruby/object:Gem::Version
|
|
247
|
-
version: '
|
|
248
|
-
- - ">="
|
|
249
|
-
- !ruby/object:Gem::Version
|
|
250
|
-
version: 0.0.4
|
|
251
|
+
version: '2.2'
|
|
251
252
|
type: :runtime
|
|
252
253
|
prerelease: false
|
|
253
254
|
version_requirements: !ruby/object:Gem::Requirement
|
|
254
255
|
requirements:
|
|
255
256
|
- - "~>"
|
|
256
257
|
- !ruby/object:Gem::Version
|
|
257
|
-
version: '
|
|
258
|
-
- - ">="
|
|
259
|
-
- !ruby/object:Gem::Version
|
|
260
|
-
version: 0.0.4
|
|
258
|
+
version: '2.2'
|
|
261
259
|
- !ruby/object:Gem::Dependency
|
|
262
260
|
name: ruby_version
|
|
263
261
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -314,31 +312,18 @@ dependencies:
|
|
|
314
312
|
- - ">="
|
|
315
313
|
- !ruby/object:Gem::Version
|
|
316
314
|
version: '0'
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
requirements:
|
|
321
|
-
- - "~>"
|
|
322
|
-
- !ruby/object:Gem::Version
|
|
323
|
-
version: '0.2'
|
|
324
|
-
type: :runtime
|
|
325
|
-
prerelease: false
|
|
326
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
327
|
-
requirements:
|
|
328
|
-
- - "~>"
|
|
329
|
-
- !ruby/object:Gem::Version
|
|
330
|
-
version: '0.2'
|
|
331
|
-
description: Irbtools make Ruby's IRB more productive.
|
|
332
|
-
email: mail@janlelis.de
|
|
315
|
+
description: The Irbtools make working with Ruby's IRB console more fun & productive.
|
|
316
|
+
email:
|
|
317
|
+
- hi@ruby.consulting
|
|
333
318
|
executables: []
|
|
334
319
|
extensions: []
|
|
335
320
|
extra_rdoc_files:
|
|
336
321
|
- README.md
|
|
337
322
|
- CONFIGURE.md
|
|
338
|
-
- CHANGELOG.
|
|
323
|
+
- CHANGELOG.md
|
|
339
324
|
- MIT-LICENSE.txt
|
|
340
325
|
files:
|
|
341
|
-
- CHANGELOG.
|
|
326
|
+
- CHANGELOG.md
|
|
342
327
|
- CONFIGURE.md
|
|
343
328
|
- MIT-LICENSE.txt
|
|
344
329
|
- README.md
|
|
@@ -372,8 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
372
357
|
- !ruby/object:Gem::Version
|
|
373
358
|
version: '0'
|
|
374
359
|
requirements: []
|
|
375
|
-
|
|
376
|
-
rubygems_version: 2.7.6
|
|
360
|
+
rubygems_version: 3.1.2
|
|
377
361
|
signing_key:
|
|
378
362
|
specification_version: 4
|
|
379
363
|
summary: Irbtools happy IRB.
|