irbtools 1.7.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CHANGELOG → CHANGELOG.txt} +14 -0
- data/CONFIGURE.md +55 -0
- data/{MIT-LICENSE → MIT-LICENSE.txt} +1 -1
- data/README.md +195 -0
- data/Rakefile +16 -14
- data/irbtools.gemspec +44 -35
- data/lib/irbtools.rb +58 -110
- data/lib/irbtools/binding.rb +19 -0
- data/lib/irbtools/configure.rb +3 -136
- data/lib/irbtools/hirb.rb +46 -0
- data/lib/irbtools/implementation.rb +156 -0
- data/lib/irbtools/libraries.rb +36 -147
- data/lib/irbtools/minimal.rb +1 -3
- data/lib/irbtools/non_fancy.rb +7 -0
- data/lib/irbtools/version.rb +3 -0
- metadata +118 -86
- data/README.rdoc +0 -203
data/lib/irbtools/libraries.rb
CHANGED
@@ -1,53 +1,49 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# default irbtools set of libraries, you can remove any you don't like via Irbtools.remove_library
|
3
|
-
|
4
1
|
require 'rbconfig'
|
5
2
|
|
6
3
|
|
7
4
|
# # # load on startup
|
8
5
|
|
9
|
-
Irbtools.add_library
|
10
|
-
Irbtools.add_library 'binding.repl' do
|
11
|
-
BindingRepl.auto = %w[irb ripl rib pry]
|
12
|
-
end
|
6
|
+
Irbtools.add_library 'yaml'
|
13
7
|
|
14
8
|
|
15
9
|
# # # load via thread
|
16
|
-
# the :stdlib thread ensures proper loading of fileutils and tempfile
|
17
10
|
|
18
|
-
Irbtools.add_library
|
11
|
+
Irbtools.add_library 'every_day_irb', thread: :stdlib do
|
19
12
|
include FileUtils::Verbose
|
13
|
+
extend EveryDayIrb
|
14
|
+
end
|
20
15
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
ls
|
16
|
+
Irbtools.add_library 'interactive_editor', thread: :stdlib
|
17
|
+
|
18
|
+
Irbtools.add_library 'paint/pa', thread: :paint
|
19
|
+
|
20
|
+
Irbtools.add_library 'wirb/wp', thread: :paint do
|
21
|
+
Wirb.start
|
22
|
+
end
|
23
|
+
|
24
|
+
unless Irbtools.ripl?
|
25
|
+
Irbtools.add_library :fancy_irb, thread: :paint do
|
26
|
+
FancyIrb.start
|
33
27
|
end
|
34
28
|
end
|
35
29
|
|
36
|
-
|
37
|
-
|
30
|
+
Irbtools.add_library 'debugging/q', thread: :paint
|
31
|
+
|
32
|
+
Irbtools.add_library 'debugging/mof', thread: :paint
|
33
|
+
|
34
|
+
Irbtools.add_library 'debugging/re', thread: :paint
|
35
|
+
|
36
|
+
Irbtools.add_library 'debugging/beep', thread: :paint
|
37
|
+
|
38
|
+
Irbtools.add_library 'debugging/howtocall', thread: :paint
|
39
|
+
|
40
|
+
require_relative 'hirb'
|
38
41
|
|
39
|
-
|
40
|
-
Irbtools.add_library 'debugging/q', :thread => 21
|
41
|
-
Irbtools.add_library 'debugging/mof', :thread => 22
|
42
|
-
Irbtools.add_library 'debugging/re', :thread => 23
|
43
|
-
Irbtools.add_library 'debugging/beep', :thread => 24
|
44
|
-
Irbtools.add_library 'g', :thread => 40 if RbConfig::CONFIG['host_os'] =~ /mac|darwin/
|
42
|
+
Irbtools.add_library 'instance', thread: 30
|
45
43
|
|
46
|
-
|
47
|
-
Irbtools.add_library 'interactive_editor', :thread => :stdlib
|
44
|
+
Irbtools.add_library 'g', thread: 40 if RbConfig::CONFIG['host_os'] =~ /mac|darwin/
|
48
45
|
|
49
|
-
|
50
|
-
Irbtools.add_library :ori, :thread => 50 do
|
46
|
+
Irbtools.add_library 'ori', thread: 50 do
|
51
47
|
class Object
|
52
48
|
# patch ori to also allow shell-like "Array#slice" syntax
|
53
49
|
def ri(*args)
|
@@ -67,120 +63,15 @@ Irbtools.add_library :ori, :thread => 50 do
|
|
67
63
|
end
|
68
64
|
end
|
69
65
|
|
70
|
-
|
71
|
-
Irbtools.add_library :method_locator, :thread => 60 do
|
66
|
+
Irbtools.add_library 'method_locator', thread: 60 do
|
72
67
|
module MethodLocator
|
73
68
|
alias mlp method_lookup_path
|
74
69
|
end
|
75
70
|
end
|
76
71
|
|
77
|
-
# view method source :)
|
78
|
-
Irbtools.add_library :method_source, :thread => 70 do
|
79
|
-
class Object
|
80
|
-
def src(method_name)
|
81
|
-
m = method(method_name)
|
82
|
-
|
83
|
-
source = m.source || ""
|
84
|
-
indent = source.match(/\A +/)
|
85
|
-
comment = m.comment && !m.comment.empty? ? "#{ m.comment }" : ""
|
86
|
-
location = m.source_location ? "# in #{ m.source_location*':' }\n" : ""
|
87
|
-
|
88
|
-
puts CodeRay.scan(
|
89
|
-
location + comment + source.gsub(/^#{indent}/,""), :ruby
|
90
|
-
).term
|
91
|
-
rescue
|
92
|
-
raise unless $!.message =~ /Cannot locate source for this method/
|
93
|
-
|
94
|
-
nil
|
95
|
-
end
|
96
|
-
|
97
|
-
# alias source src # TODO activate this without warnings oO
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
Irbtools.add_library :alias, :thread => 80 do
|
102
|
-
Alias.create
|
103
|
-
extend Alias::Console
|
104
|
-
end
|
105
|
-
|
106
|
-
# # # load via late
|
107
|
-
|
108
|
-
# terminal colors
|
109
|
-
Irbtools.add_library :paint, :late => true
|
110
|
-
|
111
|
-
# result colors, install ripl-color_result for ripl colorization
|
112
|
-
Irbtools.add_library :wirb, :late => true do
|
113
|
-
Wirb.start
|
114
|
-
end
|
115
|
-
|
116
|
-
unless defined?(Ripl) && Ripl.respond_to?(:started?) && Ripl.started?
|
117
|
-
# use hash rocket and colorful errors/streams
|
118
|
-
Irbtools.add_library :fancy_irb, :late => true do
|
119
|
-
FancyIrb.start
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
|
124
|
-
# # # load via late_thread
|
125
|
-
|
126
|
-
Irbtools.add_library 'wirb/wp', :late_thread => :a # ap alternative (wp)
|
127
|
-
|
128
|
-
Irbtools.add_library 'paint/pa', :late_thread => :b # colorize a string (pa)
|
129
|
-
|
130
|
-
# tables, menus...
|
131
|
-
Irbtools.add_library :hirb, :late_thread => :hirb do
|
132
|
-
Hirb::View.enable :output => { "Object" => {:ancestor => true, :options => { :unicode => true }}},
|
133
|
-
:pager_command => 'less -R'
|
134
|
-
extend Hirb::Console
|
135
|
-
|
136
|
-
def page(what, options = {})
|
137
|
-
Hirb::Pager.command_pager(what, options = {})
|
138
|
-
end
|
139
|
-
|
140
|
-
# page wirb output hacks
|
141
|
-
if defined?(Wirb) && defined?(Paint)
|
142
|
-
class Hirb::Pager
|
143
|
-
alias original_activated_by? activated_by?
|
144
|
-
def activated_by?(string_to_page, inspect_mode=false)
|
145
|
-
original_activated_by?(Paint.unpaint(string_to_page || ''), inspect_mode)
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
class << Hirb::View
|
150
|
-
def view_or_page_output(str)
|
151
|
-
view_output(str) || page_output(Wirb.colorize_result(str.inspect), true)
|
152
|
-
end
|
153
|
-
end
|
154
|
-
end
|
155
|
-
|
156
|
-
# colorful border
|
157
|
-
if defined?(Paint)
|
158
|
-
table_color = :yellow
|
159
|
-
|
160
|
-
Hirb::Helpers::UnicodeTable::CHARS.each do |place, group|
|
161
|
-
Hirb::Helpers::UnicodeTable::CHARS[place] =
|
162
|
-
group.each do |name, part|
|
163
|
-
if part.kind_of? String
|
164
|
-
Hirb::Helpers::UnicodeTable::CHARS[place][name] = Paint[part, *table_color]
|
165
|
-
elsif part.kind_of? Hash
|
166
|
-
part.each do |special, char|
|
167
|
-
Hirb::Helpers::UnicodeTable::CHARS[place][name][special] = Paint[char, *table_color]
|
168
|
-
end
|
169
|
-
end
|
170
|
-
end
|
171
|
-
end
|
172
|
-
end
|
173
|
-
end
|
174
|
-
|
175
|
-
# command framework
|
176
|
-
Irbtools.add_library 'boson/console', :late_thread => :hirb do
|
177
|
-
Boson.start
|
178
|
-
end
|
179
|
-
|
180
72
|
|
181
73
|
# # # load via autoload
|
182
74
|
|
183
|
-
# information pseudo-constants
|
184
75
|
Irbtools.add_library 'ruby_info', :autoload => :RubyInfo do
|
185
76
|
def info() RubyInfo end unless defined? info
|
186
77
|
end
|
@@ -197,8 +88,12 @@ Irbtools.add_library 'ruby_version', :autoload => :RubyVersion do
|
|
197
88
|
def version() RubyVersion end unless defined? version
|
198
89
|
end
|
199
90
|
|
91
|
+
Irbtools.add_library 'code', :autoload => :Code do
|
92
|
+
def code(object = self, method_name)
|
93
|
+
Code.for(object, method_name)
|
94
|
+
end
|
95
|
+
end
|
200
96
|
|
201
|
-
# syntax highlight
|
202
97
|
Irbtools.add_library :coderay, :autoload => :CodeRay do
|
203
98
|
# ...a string
|
204
99
|
def colorize(string)
|
@@ -211,7 +106,6 @@ Irbtools.add_library :coderay, :autoload => :CodeRay do
|
|
211
106
|
end
|
212
107
|
end
|
213
108
|
|
214
|
-
# access the clipboard
|
215
109
|
Irbtools.add_library :clipboard, :autoload => :Clipboard do
|
216
110
|
# copies the clipboard
|
217
111
|
def copy(str)
|
@@ -228,23 +122,18 @@ Irbtools.add_library :clipboard, :autoload => :Clipboard do
|
|
228
122
|
copy session_history
|
229
123
|
"The session input history has been copied to the clipboard."
|
230
124
|
end
|
231
|
-
alias copy_session_input copy_input
|
232
125
|
|
233
126
|
# copies the output of all irb commands in this irb session
|
234
127
|
def copy_output
|
235
128
|
copy context.instance_variable_get(:@eval_history_values).inspect.gsub(/^\d+ (.*)/, '\1')
|
236
129
|
"The session output history has been copied to the clipboard."
|
237
130
|
end
|
238
|
-
alias copy_session_output copy_output
|
239
131
|
end
|
240
132
|
|
241
|
-
|
242
|
-
Irbtools.add_library :methodfinder, :autoload => :MethodFinder do
|
133
|
+
Irbtools.add_library :methodfinder, autoload: :MethodFinder do
|
243
134
|
MethodFinder::INSTANCE_METHOD_BLACKLIST[:Object] += [:ri, :vi, :vim, :emacs, :nano, :mate, :mvim, :ed]
|
244
135
|
|
245
136
|
def mf(*args, &block)
|
246
137
|
args.empty? ? MethodFinder : MethodFinder.find(*args, &block)
|
247
138
|
end
|
248
139
|
end
|
249
|
-
|
250
|
-
# J-_-L
|
data/lib/irbtools/minimal.rb
CHANGED
metadata
CHANGED
@@ -1,207 +1,214 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irbtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.7.1
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.7.1
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: binding.repl
|
14
|
+
name: rspec
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
34
|
-
type: :
|
19
|
+
version: '3.2'
|
20
|
+
type: :development
|
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: '3.
|
26
|
+
version: '3.2'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
28
|
+
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
33
|
+
version: '10.4'
|
34
|
+
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
40
|
+
version: '10.4'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: every_day_irb
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
47
|
+
version: '2.0'
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
54
|
+
version: '2.0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: fancy_irb
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0
|
61
|
+
version: '1.0'
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0
|
68
|
+
version: '1.0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: wirb
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
75
|
+
version: '2.0'
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
82
|
+
version: '2.0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
84
|
+
name: hirb
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.7'
|
101
90
|
- - ">="
|
102
91
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
92
|
+
version: 0.7.3
|
104
93
|
type: :runtime
|
105
94
|
prerelease: false
|
106
95
|
version_requirements: !ruby/object:Gem::Requirement
|
107
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0.7'
|
108
100
|
- - ">="
|
109
101
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
102
|
+
version: 0.7.3
|
111
103
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
104
|
+
name: binding.repl
|
113
105
|
requirement: !ruby/object:Gem::Requirement
|
114
106
|
requirements:
|
115
|
-
- - "
|
107
|
+
- - "~>"
|
116
108
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0
|
109
|
+
version: '3.0'
|
118
110
|
type: :runtime
|
119
111
|
prerelease: false
|
120
112
|
version_requirements: !ruby/object:Gem::Requirement
|
121
113
|
requirements:
|
122
|
-
- - "
|
114
|
+
- - "~>"
|
123
115
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0
|
116
|
+
version: '3.0'
|
125
117
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
118
|
+
name: paint
|
127
119
|
requirement: !ruby/object:Gem::Requirement
|
128
120
|
requirements:
|
129
121
|
- - ">="
|
130
122
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
123
|
+
version: '0.9'
|
124
|
+
- - "<"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '2.0'
|
132
127
|
type: :runtime
|
133
128
|
prerelease: false
|
134
129
|
version_requirements: !ruby/object:Gem::Requirement
|
135
130
|
requirements:
|
136
131
|
- - ">="
|
137
132
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
133
|
+
version: '0.9'
|
134
|
+
- - "<"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '2.0'
|
139
137
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
138
|
+
name: clipboard
|
141
139
|
requirement: !ruby/object:Gem::Requirement
|
142
140
|
requirements:
|
141
|
+
- - "~>"
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '1.0'
|
143
144
|
- - ">="
|
144
145
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
146
|
+
version: 1.0.6
|
146
147
|
type: :runtime
|
147
148
|
prerelease: false
|
148
149
|
version_requirements: !ruby/object:Gem::Requirement
|
149
150
|
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '1.0'
|
150
154
|
- - ">="
|
151
155
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
156
|
+
version: 1.0.6
|
153
157
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
158
|
+
name: interactive_editor
|
155
159
|
requirement: !ruby/object:Gem::Requirement
|
156
160
|
requirements:
|
157
161
|
- - "~>"
|
158
162
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
163
|
+
version: '0.0'
|
160
164
|
- - ">="
|
161
165
|
- !ruby/object:Gem::Version
|
162
|
-
version: 0.
|
166
|
+
version: 0.0.10
|
163
167
|
type: :runtime
|
164
168
|
prerelease: false
|
165
169
|
version_requirements: !ruby/object:Gem::Requirement
|
166
170
|
requirements:
|
167
171
|
- - "~>"
|
168
172
|
- !ruby/object:Gem::Version
|
169
|
-
version: '0.
|
173
|
+
version: '0.0'
|
170
174
|
- - ">="
|
171
175
|
- !ruby/object:Gem::Version
|
172
|
-
version: 0.
|
176
|
+
version: 0.0.10
|
173
177
|
- !ruby/object:Gem::Dependency
|
174
178
|
name: coderay
|
175
179
|
requirement: !ruby/object:Gem::Requirement
|
176
180
|
requirements:
|
177
181
|
- - "~>"
|
178
182
|
- !ruby/object:Gem::Version
|
179
|
-
version: 1.1
|
183
|
+
version: '1.1'
|
180
184
|
type: :runtime
|
181
185
|
prerelease: false
|
182
186
|
version_requirements: !ruby/object:Gem::Requirement
|
183
187
|
requirements:
|
184
188
|
- - "~>"
|
185
189
|
- !ruby/object:Gem::Version
|
186
|
-
version: 1.1
|
190
|
+
version: '1.1'
|
187
191
|
- !ruby/object:Gem::Dependency
|
188
192
|
name: debugging
|
189
193
|
requirement: !ruby/object:Gem::Requirement
|
190
194
|
requirements:
|
191
195
|
- - "~>"
|
192
196
|
- !ruby/object:Gem::Version
|
193
|
-
version: '1.
|
197
|
+
version: '1.1'
|
194
198
|
type: :runtime
|
195
199
|
prerelease: false
|
196
200
|
version_requirements: !ruby/object:Gem::Requirement
|
197
201
|
requirements:
|
198
202
|
- - "~>"
|
199
203
|
- !ruby/object:Gem::Version
|
200
|
-
version: '1.
|
204
|
+
version: '1.1'
|
201
205
|
- !ruby/object:Gem::Dependency
|
202
206
|
name: g
|
203
207
|
requirement: !ruby/object:Gem::Requirement
|
204
208
|
requirements:
|
209
|
+
- - "~>"
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '1.7'
|
205
212
|
- - ">="
|
206
213
|
- !ruby/object:Gem::Version
|
207
214
|
version: 1.7.2
|
@@ -209,9 +216,26 @@ dependencies:
|
|
209
216
|
prerelease: false
|
210
217
|
version_requirements: !ruby/object:Gem::Requirement
|
211
218
|
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.7'
|
212
222
|
- - ">="
|
213
223
|
- !ruby/object:Gem::Version
|
214
224
|
version: 1.7.2
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: code
|
227
|
+
requirement: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - "~>"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0.9'
|
232
|
+
type: :runtime
|
233
|
+
prerelease: false
|
234
|
+
version_requirements: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - "~>"
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '0.9'
|
215
239
|
- !ruby/object:Gem::Dependency
|
216
240
|
name: ori
|
217
241
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,6 +268,9 @@ dependencies:
|
|
244
268
|
name: method_locator
|
245
269
|
requirement: !ruby/object:Gem::Requirement
|
246
270
|
requirements:
|
271
|
+
- - "~>"
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: '0.0'
|
247
274
|
- - ">="
|
248
275
|
- !ruby/object:Gem::Version
|
249
276
|
version: 0.0.4
|
@@ -251,25 +278,28 @@ dependencies:
|
|
251
278
|
prerelease: false
|
252
279
|
version_requirements: !ruby/object:Gem::Requirement
|
253
280
|
requirements:
|
281
|
+
- - "~>"
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: '0.0'
|
254
284
|
- - ">="
|
255
285
|
- !ruby/object:Gem::Version
|
256
286
|
version: 0.0.4
|
257
287
|
- !ruby/object:Gem::Dependency
|
258
|
-
name:
|
288
|
+
name: ruby_version
|
259
289
|
requirement: !ruby/object:Gem::Requirement
|
260
290
|
requirements:
|
261
|
-
- - "
|
291
|
+
- - "~>"
|
262
292
|
- !ruby/object:Gem::Version
|
263
|
-
version: 0
|
293
|
+
version: '1.0'
|
264
294
|
type: :runtime
|
265
295
|
prerelease: false
|
266
296
|
version_requirements: !ruby/object:Gem::Requirement
|
267
297
|
requirements:
|
268
|
-
- - "
|
298
|
+
- - "~>"
|
269
299
|
- !ruby/object:Gem::Version
|
270
|
-
version: 0
|
300
|
+
version: '1.0'
|
271
301
|
- !ruby/object:Gem::Dependency
|
272
|
-
name:
|
302
|
+
name: ruby_engine
|
273
303
|
requirement: !ruby/object:Gem::Requirement
|
274
304
|
requirements:
|
275
305
|
- - "~>"
|
@@ -283,7 +313,7 @@ dependencies:
|
|
283
313
|
- !ruby/object:Gem::Version
|
284
314
|
version: '1.0'
|
285
315
|
- !ruby/object:Gem::Dependency
|
286
|
-
name:
|
316
|
+
name: ruby_info
|
287
317
|
requirement: !ruby/object:Gem::Requirement
|
288
318
|
requirements:
|
289
319
|
- - "~>"
|
@@ -297,69 +327,71 @@ dependencies:
|
|
297
327
|
- !ruby/object:Gem::Version
|
298
328
|
version: '1.0'
|
299
329
|
- !ruby/object:Gem::Dependency
|
300
|
-
name:
|
330
|
+
name: os
|
301
331
|
requirement: !ruby/object:Gem::Requirement
|
302
332
|
requirements:
|
303
333
|
- - "~>"
|
304
334
|
- !ruby/object:Gem::Version
|
305
|
-
version: '
|
335
|
+
version: '0.9'
|
306
336
|
type: :runtime
|
307
337
|
prerelease: false
|
308
338
|
version_requirements: !ruby/object:Gem::Requirement
|
309
339
|
requirements:
|
310
340
|
- - "~>"
|
311
341
|
- !ruby/object:Gem::Version
|
312
|
-
version: '
|
342
|
+
version: '0.9'
|
313
343
|
- !ruby/object:Gem::Dependency
|
314
|
-
name:
|
344
|
+
name: instance
|
315
345
|
requirement: !ruby/object:Gem::Requirement
|
316
346
|
requirements:
|
317
347
|
- - "~>"
|
318
348
|
- !ruby/object:Gem::Version
|
319
|
-
version: '0.
|
349
|
+
version: '0.2'
|
320
350
|
type: :runtime
|
321
351
|
prerelease: false
|
322
352
|
version_requirements: !ruby/object:Gem::Requirement
|
323
353
|
requirements:
|
324
354
|
- - "~>"
|
325
355
|
- !ruby/object:Gem::Version
|
326
|
-
version: '0.
|
327
|
-
description:
|
328
|
-
in a .irbrc file in your home directory to get started.
|
356
|
+
version: '0.2'
|
357
|
+
description: Irbtools make Ruby's IRB more productive.
|
329
358
|
email: mail@janlelis.de
|
330
359
|
executables: []
|
331
360
|
extensions: []
|
332
361
|
extra_rdoc_files:
|
333
|
-
-
|
334
|
-
-
|
362
|
+
- README.md
|
363
|
+
- CONFIGURE.md
|
364
|
+
- CHANGELOG.txt
|
365
|
+
- MIT-LICENSE.txt
|
335
366
|
files:
|
336
|
-
- CHANGELOG
|
337
|
-
-
|
338
|
-
-
|
367
|
+
- CHANGELOG.txt
|
368
|
+
- CONFIGURE.md
|
369
|
+
- MIT-LICENSE.txt
|
370
|
+
- README.md
|
339
371
|
- Rakefile
|
340
372
|
- irbtools.gemspec
|
341
373
|
- lib/irbtools.rb
|
374
|
+
- lib/irbtools/binding.rb
|
342
375
|
- lib/irbtools/configure.rb
|
376
|
+
- lib/irbtools/hirb.rb
|
377
|
+
- lib/irbtools/implementation.rb
|
343
378
|
- lib/irbtools/libraries.rb
|
344
379
|
- lib/irbtools/minimal.rb
|
380
|
+
- lib/irbtools/non_fancy.rb
|
381
|
+
- lib/irbtools/version.rb
|
345
382
|
homepage: https://github.com/janlelis/irbtools
|
346
383
|
licenses:
|
347
384
|
- MIT
|
348
385
|
metadata: {}
|
349
|
-
post_install_message:
|
350
|
-
┌── info ──────────────────────────────┐
|
351
|
-
J-_-L │ https://github.com/janlelis/irbtools │
|
352
|
-
├── usage ─────────────────────────────┤
|
353
|
-
│ require 'irbtools' │
|
354
|
-
└──────────────────────────────────────┘
|
386
|
+
post_install_message:
|
355
387
|
rdoc_options: []
|
356
388
|
require_paths:
|
357
389
|
- lib
|
358
390
|
required_ruby_version: !ruby/object:Gem::Requirement
|
359
391
|
requirements:
|
360
|
-
- - "
|
392
|
+
- - "~>"
|
361
393
|
- !ruby/object:Gem::Version
|
362
|
-
version:
|
394
|
+
version: '2.0'
|
363
395
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
396
|
requirements:
|
365
397
|
- - ">="
|
@@ -367,8 +399,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
367
399
|
version: '0'
|
368
400
|
requirements: []
|
369
401
|
rubyforge_project:
|
370
|
-
rubygems_version: 2.4.
|
402
|
+
rubygems_version: 2.4.6
|
371
403
|
signing_key:
|
372
404
|
specification_version: 4
|
373
|
-
summary:
|
405
|
+
summary: Irbtools happy IRB.
|
374
406
|
test_files: []
|