irbtools 2.2.2 → 3.0.4

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: 323cbced41109a256d3a177c434af8348a852347ce63ce2cf32bcbffb9aa0186
4
- data.tar.gz: c6f0b0539423bee17e34f2705c9ee8db325cc7835b8309e5fdca961ac3ac55af
3
+ metadata.gz: f2debea09bce10847a9c13d283cb6e7c9f94baa63946b8c08b010126b7efc07b
4
+ data.tar.gz: b072c4fcd9edb111acdbc9c690aa21b0e55e5a22f496f7c83a16f0a2e0cb5fa2
5
5
  SHA512:
6
- metadata.gz: 74b08caab060f01b655a5d44211b8e79aa66851bf6e884a8dff9f9129961c568d680c74e71f0a061165861d3456686a59fb17799144092fb63c4ded3a5604550
7
- data.tar.gz: 70772f0031ca5b7d52737e73a53601e14d174c8675b2f60a61d4da2c158003d9b2ce5bc38c235ae799f5250eefb946e4a6f0bb272c162aad3036c6534097aff6
6
+ metadata.gz: bc315ac52883a977dc6a06bbac66775c09f68201067dc7de4c711d0fc7a7c92ce2e6f1608970fbcee9c70f7d14c4c1f3d38a29606627f4f53d87184ac38fe335
7
+ data.tar.gz: 590a725d8f2ab6989f071da298b856b5ea38e9707a6e72f45982586f2796613172d605a856ea31d322bda36e51f00ee39077aa397d10e4398e0378b39b0ad9f6
@@ -1,14 +1,37 @@
1
- 2.2.2
1
+ # Irbtools Changelog
2
+
3
+ ## 3.0.4
4
+ * Loosen Ruby dependency to allow Ruby 3.0
5
+
6
+ ## 3.0.3
7
+ * Workaround a HIRB issue for newer IRBs (fixes #48)
8
+ * Workaround ORI issue for newer IRBs
9
+
10
+ ## 3.0.2
11
+ * Bump wirb to ensure Ruby 2.7 compatibility
12
+
13
+ ## 3.0.1
14
+ * Bump fancy_irb to ensure Ruby 2.7 compatiblity
15
+
16
+ ## 3.0.0
17
+ * Make IRB itself a dependency (default gem)
18
+ * Move: "Every day… IRB" into its own git repository
19
+ * https://github.com/janlelis/every_day_irb
20
+ * Replace instance and method_locator gems with new object_shadow gem
21
+ * Improve README
22
+ * Version bump code, clipboard, and methodfinder
23
+
24
+ ## 2.2.2
2
25
  * Remove Rails WIRB loading hack (no longer necessary)
3
26
 
4
- 2.2.1
27
+ ## 2.2.1
5
28
  * Allow os gem to be below 1.0
6
29
  * Do not use binding.repl gem if Ruby version is at least 2.5
7
30
 
8
- 2.2.0
31
+ ## 2.2.0
9
32
  * Remove info, version, engine, and os methods. Use RubyInfo, RubyVersion, RubyEngine, and OS instead (fixes #40)
10
33
 
11
- 2.1.0
34
+ ## 2.1.0
12
35
  * Improve Rails compatibility
13
36
  * Do not load instance gem in the context of Rails
14
37
  * Make sure to actually require "irb" before using it
@@ -17,10 +40,10 @@
17
40
  * Require new versions of fancy_irb, clipboard, os
18
41
  * Set abort_on_exception to true for late threads (early threads do this implicitly via join)
19
42
 
20
- 2.0.1
43
+ ## 2.0.1
21
44
  * Remove g gem
22
45
 
23
- 2.0.0
46
+ ## 2.0.0
24
47
  * Use Wirb 2.0 and FancyIrb 1.0
25
48
  * Drop support for Ruby 1
26
49
  * Simplify starting from code via: require 'irbtools/binding'
@@ -34,35 +57,35 @@
34
57
  * EveryDayIrb now gets released on its own, instead with every new irbtools version
35
58
  * Improve documentation in Readme
36
59
 
37
- 1.7.1
60
+ ## 1.7.1
38
61
  * bump binding.repl, hirb, methodfinder
39
62
 
40
- 1.7.0
63
+ ## 1.7.0
41
64
  * bump boson, boson-more, binding.repl
42
65
  * required ruby version: 1.9.3
43
66
  * remove awesome_print
44
67
 
45
- 1.6.1
68
+ ## 1.6.1
46
69
  * don't load debugging/repl by default
47
70
  * rename re method to engine and rv to version
48
71
 
49
- 1.6.0
72
+ ## 1.6.0
50
73
  * remove zucker dependency, but add debugging, ruby_version, ruby_engine, ruby_info and os gem
51
74
  * configure binding.repl to load irb, not pry
52
75
  * bump binding.repl, paint, wirb
53
76
 
54
- 1.5.1
77
+ ## 1.5.1
55
78
  * include binding.repl gem
56
79
  * bump coderay, awesome_print, method_source, wirb
57
80
 
58
- 1.5.0
81
+ ## 1.5.0
59
82
  * update debundle hack
60
83
  * load less zucker libraries
61
84
  * add alias gem
62
85
  * finaly load boson correctly (but don't load any boson plugin, yet), also depend on boson-more
63
86
  * version bumps (zucker, clipboard, paint, hirb, wirb, ap, coderay, g)
64
87
 
65
- 1.4.0
88
+ ## 1.4.0
66
89
  * every_day_irb is now a module that extends self
67
90
  * specs for most of every_day_irb's functionality
68
91
  * add helper method for paging output with hirb: page
@@ -70,21 +93,21 @@
70
93
  * remove sketches dependency, it's a great gem, but very similar to interactive_editor
71
94
  * Object#mlp alias for method_lookup_path
72
95
 
73
- 1.3.0 == 1.2.3
96
+ ## 1.3.0 == 1.2.3
74
97
  * add modern debundle note
75
98
  * remove loading of .railsrc
76
99
  * remove dbg method
77
100
  * version bumps
78
101
 
79
- 1.2.2
102
+ ## 1.2.2
80
103
  * fix errors when inspect returns nil (e.g. CarrierWave uploaders)
81
104
  * create legacy branch for 1.8.7 support
82
105
 
83
- 1.2.1
106
+ ## 1.2.1
84
107
  * fix newboson loader issue
85
108
  * minor version bumps
86
109
 
87
- 1.2.0
110
+ ## 1.2.0
88
111
  * version bumps: hirb, awesome_print, coderay, g, methodfinder, method_source
89
112
  * remove RVM helpers: Sorry, were too buggy...
90
113
  * fix/improve 'cd' helper method
@@ -92,10 +115,10 @@
92
115
  * move looksee gem to irbtools-more
93
116
  * more little tweaks
94
117
 
95
- 1.1.1
118
+ ## 1.1.1
96
119
  * fix the Ripl.after_rc bug
97
120
 
98
- 1.1.0
121
+ ## 1.1.0
99
122
  * fix hirb loading/unicode issue + colorize tables (thanks to halan)
100
123
  * colorize paged wirb output
101
124
  * include method locator gem (improved ancestors)
@@ -103,28 +126,28 @@
103
126
  * include method source gem (Object#src)
104
127
  * small tweaks...
105
128
 
106
- 1.0.6
129
+ ## 1.0.6
107
130
  * add possibility to modify library callbacks without removing the library by using: replace_library_callback or add_library_callback
108
131
  * fix hirb dependency issue
109
132
  * readme improvements
110
133
 
111
- 1.0.5
134
+ ## 1.0.5
112
135
  * use paint gem for terminal colors
113
136
 
114
- 1.0.4
137
+ ## 1.0.4
115
138
  * improve error-handling
116
139
  * fix broken loading of boson + interactive_editor
117
140
 
118
- 1.0.3
141
+ ## 1.0.3
119
142
  * fix post-install banner typo
120
143
 
121
- 1.0.2
144
+ ## 1.0.2
122
145
  * version bumps for zucker (rbx compatible) and wirb (improved generic object-description highlighting)
123
146
 
124
- 1.0.1
147
+ ## 1.0.1
125
148
  * add missing require 'rbconfig'
126
149
 
127
- 1.0.0
150
+ ## 1.0.0
128
151
  * gemify general helpers/rvm stuff ("every_day_irb", "rvm_loader")
129
152
  * 6 different loading schemas: start, thread, autoload, sub_session, late, late_thread
130
153
  * load almost every feature via threads
@@ -132,67 +155,67 @@
132
155
  * add irbtools/minimal mode for starting Irbtools without the default set of libraries
133
156
  * replace RV and RE with rv and re
134
157
 
135
- 0.8.8
158
+ ## 0.8.8
136
159
  * fix 0.8.7 file permissions
137
160
  * add methodfinder gem
138
161
  * don't depend on guessmethod anymore
139
162
 
140
- 0.8.7
163
+ ## 0.8.7
141
164
  * fix railsrc loading
142
165
  * add ori gem for nice Object#ri calling
143
166
  * minor tweaks
144
167
 
145
- 0.8.6
168
+ ## 0.8.6
146
169
  * windows support
147
170
  * update hirb + activate unicode-drawn tables
148
171
 
149
- 0.8.5
172
+ ## 0.8.5
150
173
  * rails related fixes
151
174
 
152
- 0.8.4
175
+ ## 0.8.4
153
176
  * now using wirb instead of wirble
154
177
 
155
- 0.8.3
178
+ ## 0.8.3
156
179
  * improved/added rvm methods (use, gemset, rubies, gemsets)
157
180
  * RVM (Ruby API) constant gets autoloaded
158
181
  * improved cd command
159
182
  * don't load guessmethod by default (it's cool, but not always suited for production)
160
183
  * more small changes
161
184
 
162
- 0.8.2
185
+ ## 0.8.2
163
186
  * only do irb specific features if in irb (ripl compatibility)
164
187
  * more generic shell_name (in welcome message)
165
188
 
166
- 0.8.1
189
+ ## 0.8.1
167
190
  * rewrote irb_rocket: fancy_irb. No more workarounds needed, anymore.
168
191
  * added sketches gem
169
192
  * customizable welcome message
170
193
  * more little fixes/enhancements
171
194
 
172
- 0.8.0
195
+ ## 0.8.0
173
196
  * added Object#ri method
174
197
  * feature: extension package loading (e.g. irbtools-more)
175
198
  * feature: loading in IRB.conf[:IRB_RC] (loading when a subirb starts, no more guessmethod rails errors)
176
199
  * added rerequire (rrq) and ld load helper
177
200
 
178
- 0.7.4
201
+ ## 0.7.4
179
202
  * added workaround to use irb_rocket and hirb at the same time (basic hack, e.g. paging does not work)
180
203
  * fixed little VERSION bug
181
204
 
182
- 0.7.3
205
+ ## 0.7.3
183
206
  * refactored file structure and added new Irbtools.add_lib method
184
207
  * load railsrc if executed with rails and Irbtools.railsrc is set
185
208
  * more little fixes
186
209
 
187
- 0.7.2
210
+ ## 0.7.2
188
211
  * fixed Rails 3 bug
189
212
  * added boson gem (command repository)
190
213
  * remember history when resetting or switching ruby version
191
214
 
192
- 0.7.1
215
+ ## 0.7.1
193
216
  * added method for starting a debugger
194
217
 
195
- 0.7.0
218
+ ## 0.7.0
196
219
  * initial release
197
220
 
198
221
  J-_-L
@@ -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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2019 Jan Lelis
1
+ Copyright (c) 2010-2020 Jan Lelis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,16 +1,22 @@
1
- # Irbtools [![version](https://badge.fury.io/rb/irbtools.svg)](https://badge.fury.io/rb/irbtools)
2
-
3
- _ _| | | |
4
- | __| __ \ __| _ \ _ \ | __|
5
- | | | | | ( | ( | | \__ \
6
- ___| _| _.__/ \__| \___/ \___/ _| ____/
1
+ # Irbtools [![version](https://badge.fury.io/rb/irbtools.svg)](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 colored output and a lot of
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,126 +26,128 @@ 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 console or directly from your code with:
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
- If the `binding_of_caller` gem is available (e.g. see below), you can omit the `binding`:
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 add **irbtools-more** and change your
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
- ### Included Gems and Libraries
49
- #### IRB Improvements
50
-
51
- * Colored output:
52
- [wirb](https://github.com/janlelis/wirb/)
53
- [fancy_irb](https://github.com/janlelis/fancy_irb)
54
- * Custom views for specific objects:
55
- [hirb](https://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html)
56
- * **(irbtools-more)** Correction suggestions for misspelled method/constant names:
57
- [did_you_mean](https://github.com/yuki24/did_you_mean)
58
- * **(irbtools-more)** Better tab-completion:
59
- [bond](https://tagaholic.me/bond/)
60
-
61
- #### Utils
62
-
63
- * Useful IRB commands (see below):
64
- [every_day_irb](https://github.com/janlelis/irbtools/tree/master/lib/every_day_irb.rb)
65
- [debugging](https://github.com/janlelis/debugging)
66
- [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
67
- * Clipboard Access:
68
- [clipboard](https://github.com/janlelis/clipboard)
69
- * Terminal colors:
70
- [paint](https://github.com/janlelis/paint)
71
- * Load an editor into your IRB session:
72
- [interactive_editor](https://github.com/jberkel/interactive_editor)
73
-
74
- #### Introspection
75
-
76
- * Displays a method's source:
77
- [code](https://github.com/janlelis/code)
78
- * Access to *ri* docs:
79
- [ori](https://github.com/dadooda/ori)
80
- * Manipulate instance variables with ease:
81
- [instance](https://github.com/rubyworks/instance/) (not loaded in Rails context)
82
- * Platform information:
83
- [ruby_version](https://github.com/janlelis/ruby_version)
84
- [ruby_engine](https://github.com/janlelis/ruby_engine)
85
- [os](https://github.com/rdp/os)
86
- [ruby_info](https://github.com/janlelis/ruby_info)
87
- * Improved method lookup path inspection:
88
- [method_locator](https://github.com/ryanlecompte/method_locator)
89
- * Finds methods that turn one value into another value:
90
- [methodfinder](https://github.com/citizen428/methodfinder)
91
- * **(irbtools-more)** Awesome lookup path inspection:
92
- [looksee](https://github.com/oggy/looksee)
93
-
94
-
95
- ### Irbtools Methods
96
-
97
- Besides improving IRB itself, you will get the following methods:
98
-
99
- Method / Constant | Arguments | Description
100
- ------ | ---------- | -----------
101
- `beep` | | Ring terminal bell.
102
- `cat` | path | Read file contents.
103
- `cd` | path = nil | Changes the directory. Can also be used in these forms: `~cd` (change to home directory), `-cd` (change to previous directory).
104
- `clear` | | Clear the terminal.
105
- `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.
106
- `colorize` | string | Syntax highlight a Ruby string.
107
- `copy` | string | Copy something to the clipboard.
108
- `copy_input` | | Copy session history to the clipboard.
109
- `copy_output` | | Copy session output history to the clipboard.
110
- `ed` / `emacs` / `mate` / `mvim` / `nano` / `vi` / `vim` | filename = nil | Start an editor in the session context.
111
- `RubyEngine` | | Show the Ruby engine.
112
- `howtocall` | object = self, method_or_proc | Displays parameter names and types for a proc or method.
113
- `RubyInfo` | | List general information about the Ruby environment.
114
- `ld` | file | Shortcut for `load lib.to_s + '.rb'`.
115
- `ls` | path = "." | List directory content.
116
- `mf` | object1, object2 | Find methods that turn one value into another value.
117
- `mof` | object, depth = 0, grep = // | Print a method list, ordered by modules.
118
- `OS` | | Query operating system information.
119
- `pa` | string, color | Print a string in the specified color.
120
- `page` | what, options = {} | Page long content.
121
- `paste` | | Paste clipboard content.
122
- `q` | *args | Like `Kernel#p`, but prints results on one line, with different colors.
123
- `ray` | path | Syntax highlight a Ruby file.
124
- `re` | string, regexg, groups = nil | Assists you when matching regexes againts strings.
125
- `reset!` | | Restart the current IRB session.
126
- `rq` | lib | Shortcut for `require lib.to_s`. Use it like this: `rq:prime`.
127
- `rr` | lib | Shortcut for `require_relative lib.to_s`.
128
- `rrq` / `rerequire` | lib | Hack to remove a library from `$LOADED_FEATURES` and `require` it again.
129
- `session_history` | number_of_lines = nil | Return a string of all commands issued in the current session.
130
- `RubyVersion` | | Show the Ruby version.
131
- `wp` | inspect_string | Syntax-highlight a Ruby object.
132
- `Object#instance` | | Proxy object to read and manipulate instance variables / run eval (not loaded in Rails context).
133
- `Object#lp` | | **(irbtools-more)** Supercharged method introspection in IRB.
134
- `Object#mlp` / `Object#method_lookup_path` | | Traverse an object's method lookup path to find all places where a method may be defined.
135
- `Object#ri` | *args | Show ri documentation for this object or method.
136
-
137
-
138
- ### Advanced tweaking
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
@@ -147,52 +155,32 @@ Windows: ANSI support can be enabled via
147
155
  [ConEmu](https://conemu.github.io/) or
148
156
  [WSL](https://docs.microsoft.com/en-us/windows/wsl/about).
149
157
 
150
-
151
158
  ### Troubleshooting: Clipboard not working on Linux
152
159
 
153
160
  Clipboard support requires **xsel** or **xclip**. On ubuntu, do:
154
161
 
155
162
  sudo apt-get install xsel
156
163
 
157
-
158
- ### Troubleshooting: Unicode causes wrong display widths
159
-
160
- If you use double-width unicode characters, you will need to paste the
161
- following snippet to your `~/.irbrc` file.
162
-
163
- ```ruby
164
- Irbtools.replace_library_callback :fancy_irb do
165
- FancyIrb.start east_asian_width: true
166
- end
167
- ```
168
-
169
- This setting is deactivated by default, because of performance issues.
170
-
171
-
172
164
  ### Hint: Debundle
173
165
 
174
- If you do not want to add **Irbtools** to your project's Gemfile, you will need a
166
+ If you do not want to add **Irbtools** to your project's `Gemfile`, you will need a
175
167
  [debundle hack](https://github.com/janlelis/debundle.rb). Put it at the
176
- beginning of your `~/.irbrc` file and you are fine (until it breaks).
177
-
168
+ beginning of your `~/.irbrc` file and you are fine.
178
169
 
179
170
  ### Hint: No ANSI / IRB extension
180
171
 
181
- You can use Irbtools without colors/irb extensions. To do so, put this into `~/.irbrc`:
172
+ You can use **Irbtools** without colors/IRB extensions. To do so, put this into `~/.irbrc`:
182
173
 
183
174
  ```ruby
184
175
  require 'irbtools/non_fancy'
185
176
  Irbtools.start
186
177
  ```
187
178
 
179
+ ### Hint: Web Console and Other Approaches
188
180
 
189
- ### Hint: Web Console
190
-
191
- **Irbtools** works well together with the amazing
192
- [web-console!](https://github.com/rails/web-console)
193
-
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.
194
182
 
195
183
  ## J-_-L
196
184
 
197
- Copyright (c) 2010-2019 Jan Lelis <https://janlelis.com> released under the MIT
185
+ Copyright (c) 2010-2020 Jan Lelis <https://janlelis.com> released under the MIT
198
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
@@ -5,11 +5,11 @@ Gem::Specification.new do |s|
5
5
  s.name = 'irbtools'
6
6
  s.version = Irbtools::VERSION
7
7
 
8
- s.homepage = 'https://github.com/janlelis/irbtools'
8
+ s.homepage = 'https://irb.tools'
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.txt
29
+ CHANGELOG.md
30
30
  MIT-LICENSE.txt
31
31
  ]
32
32
  s.license = 'MIT'
33
33
 
34
- s.required_ruby_version = '~> 2.0'
35
- s.add_development_dependency 'rspec', '~> 3.2'
36
- s.add_development_dependency 'rake', '~> 10.4'
34
+ s.required_ruby_version = '>= 2.0', '< 4.0'
37
35
 
38
36
  # # #
39
37
  # Dependencies
40
38
 
41
- # core functionality
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
- # utils
47
+ # Utils
49
48
  s.add_dependency %q<paint>, ">= 0.9", "< 3.0"
50
- s.add_dependency %q<clipboard>, "~> 1.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
- # introspection / docs
56
- s.add_dependency %q<code>, "~> 0.9"
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.0"
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
@@ -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?
@@ -28,22 +28,28 @@ unless Irbtools.ripl?
28
28
  end
29
29
 
30
30
  Irbtools.add_library 'debugging/q', thread: :paint
31
-
32
31
  Irbtools.add_library 'debugging/mof', thread: :paint
33
-
34
32
  Irbtools.add_library 'debugging/re', thread: :paint
35
-
36
33
  Irbtools.add_library 'debugging/beep', thread: :paint
37
-
38
34
  Irbtools.add_library 'debugging/howtocall', thread: :paint
39
35
 
40
36
  require_relative 'hirb'
41
37
 
42
- unless defined?(Rails)
43
- Irbtools.add_library 'instance', thread: 30
38
+ Irbtools.add_library 'object_shadow', thread: :paint do
39
+ ObjectShadow.include(ObjectShadow::DeepInspect)
44
40
  end
45
41
 
46
- Irbtools.add_library 'ori', thread: 50 do
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
+
47
53
  class Object
48
54
  # patch ori to also allow shell-like "Array#slice" syntax
49
55
  def ri(*args)
@@ -63,12 +69,6 @@ Irbtools.add_library 'ori', thread: 50 do
63
69
  end
64
70
  end
65
71
 
66
- Irbtools.add_library 'method_locator', thread: 60 do
67
- module MethodLocator
68
- alias mlp method_lookup_path
69
- end
70
- end
71
-
72
72
  Irbtools.add_library 'ruby_info', thread: :ri
73
73
  Irbtools.add_library 'os', thread: :os
74
74
  Irbtools.add_library 'ruby_engine', thread: :re
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Irbtools
4
- VERSION = "2.2.2"
4
+ VERSION = "3.0.4"
5
5
  end
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: 2.2.2
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2020-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rspec
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: '10.4'
34
- type: :development
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: '10.4'
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.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.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.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.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: code
198
+ name: object_shadow
201
199
  requirement: !ruby/object:Gem::Requirement
202
200
  requirements:
203
201
  - - "~>"
204
202
  - !ruby/object:Gem::Version
205
- version: '0.9'
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: '0.9'
210
+ version: '1.1'
213
211
  - !ruby/object:Gem::Dependency
214
- name: ori
212
+ name: code
215
213
  requirement: !ruby/object:Gem::Requirement
216
214
  requirements:
217
- - - "~>"
215
+ - - ">="
218
216
  - !ruby/object:Gem::Version
219
- version: 0.1.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.1.0
227
+ version: 0.9.2
228
+ - - "<"
229
+ - !ruby/object:Gem::Version
230
+ version: '2.0'
227
231
  - !ruby/object:Gem::Dependency
228
- name: methodfinder
232
+ name: ori
229
233
  requirement: !ruby/object:Gem::Requirement
230
234
  requirements:
231
235
  - - "~>"
232
236
  - !ruby/object:Gem::Version
233
- version: '2.0'
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: '2.0'
244
+ version: 0.1.0
241
245
  - !ruby/object:Gem::Dependency
242
- name: method_locator
246
+ name: methodfinder
243
247
  requirement: !ruby/object:Gem::Requirement
244
248
  requirements:
245
249
  - - "~>"
246
250
  - !ruby/object:Gem::Version
247
- version: '0.0'
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: '0.0'
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
- - !ruby/object:Gem::Dependency
318
- name: instance
319
- requirement: !ruby/object:Gem::Requirement
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.txt
323
+ - CHANGELOG.md
339
324
  - MIT-LICENSE.txt
340
325
  files:
341
- - CHANGELOG.txt
326
+ - CHANGELOG.md
342
327
  - CONFIGURE.md
343
328
  - MIT-LICENSE.txt
344
329
  - README.md
@@ -353,7 +338,7 @@ files:
353
338
  - lib/irbtools/minimal.rb
354
339
  - lib/irbtools/non_fancy.rb
355
340
  - lib/irbtools/version.rb
356
- homepage: https://github.com/janlelis/irbtools
341
+ homepage: https://irb.tools
357
342
  licenses:
358
343
  - MIT
359
344
  metadata: {}
@@ -363,16 +348,19 @@ require_paths:
363
348
  - lib
364
349
  required_ruby_version: !ruby/object:Gem::Requirement
365
350
  requirements:
366
- - - "~>"
351
+ - - ">="
367
352
  - !ruby/object:Gem::Version
368
353
  version: '2.0'
354
+ - - "<"
355
+ - !ruby/object:Gem::Version
356
+ version: '4.0'
369
357
  required_rubygems_version: !ruby/object:Gem::Requirement
370
358
  requirements:
371
359
  - - ">="
372
360
  - !ruby/object:Gem::Version
373
361
  version: '0'
374
362
  requirements: []
375
- rubygems_version: 3.0.3
363
+ rubygems_version: 3.1.2
376
364
  signing_key:
377
365
  specification_version: 4
378
366
  summary: Irbtools happy IRB.