irbtools 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -1
- data/README.rdoc +17 -6
- data/irbtools.gemspec +5 -4
- data/lib/irbtools/configure.rb +1 -1
- metadata +97 -41
- checksums.yaml +0 -15
data/CHANGELOG
CHANGED
data/README.rdoc
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
= irbtools
|
1
|
+
= irbtools
|
2
|
+
|
3
|
+
{<img src="http://www.iloveopensource.io/images/logo-lightbg.png" />}[http://www.iloveopensource.io/projects/52532c98c4e2e91944000b4f]
|
4
|
+
|
2
5
|
irbtools improves Ruby's irb console. Unlike pry, you are still in your normal irb, but you have colors and lots of helpful methods. It's designed to work out-of-the-box so there is no reason to not use it!
|
3
6
|
|
4
7
|
== Setup
|
@@ -16,18 +19,22 @@ To use *irbtools*, put the following in your <tt>~/.irbrc</tt> file (it is loade
|
|
16
19
|
|
17
20
|
If the file does not exist, just create a new one. See further below on how to customize loaded libraries.
|
18
21
|
|
19
|
-
=== Rails notes
|
22
|
+
=== Rails/Bundler notes
|
20
23
|
To integrate irbtools into a rails console, you can either add <tt>irbtools</tt> to your Gemfile:
|
21
24
|
|
22
|
-
gem 'irbtools', :
|
25
|
+
gem 'irbtools', require: false
|
23
26
|
|
24
27
|
Another way is to add a {debundle hack}[https://github.com/janlelis/debundle.rb] at the beginning of your <tt>~/.irbrc</tt>.
|
25
28
|
|
26
|
-
===
|
29
|
+
=== Call from binding
|
30
|
+
|
31
|
+
Using the excellent {binding.repl}[https://github.com/robgleeson/binding.repl] gem, you can call irb directly from your code by doing:
|
27
32
|
|
28
|
-
|
33
|
+
binding.repl.irb # or binding.repl.auto
|
29
34
|
|
30
|
-
|
35
|
+
*Hint:* Load irbtools in bundler environments in this way:
|
36
|
+
|
37
|
+
gem 'irbtools', require: 'binding.repl'
|
31
38
|
|
32
39
|
=== This is irbtools "light"
|
33
40
|
|
@@ -149,6 +156,10 @@ You can get an about a second faster start-up time by changing the loading metho
|
|
149
156
|
== Welcome message
|
150
157
|
The welcome message can be customized with <tt>Irbtools.welcome_message=</tt>
|
151
158
|
|
159
|
+
== Web Console
|
160
|
+
|
161
|
+
Irbtools works well together with the amazing {web-console!}[https://github.com/rails/web-console]
|
162
|
+
|
152
163
|
== Packages
|
153
164
|
There are irbtools extension packages, which can be modified via:
|
154
165
|
* <tt>Irbtools.add_package(pkg)</tt>
|
data/irbtools.gemspec
CHANGED
@@ -23,21 +23,22 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_dependency %q<interactive_editor>, ">= 0.0.10"
|
24
24
|
s.add_dependency %q<every_day_irb>, ">= #{ s.version }"
|
25
25
|
s.add_dependency %q<alias>, "~> 0.2.3"
|
26
|
+
s.add_dependency %q<binding.repl>, ">= 0.7.0"
|
26
27
|
|
27
28
|
# display
|
28
29
|
s.add_dependency %q<paint>, ">= 0.8.6"
|
29
30
|
s.add_dependency %q<fancy_irb>, ">= 0.7.3"
|
30
|
-
s.add_dependency %q<wirb>, ">= 1.0.
|
31
|
+
s.add_dependency %q<wirb>, ">= 1.0.2"
|
31
32
|
s.add_dependency %q<hirb>, "~> 0.7.1"
|
32
|
-
s.add_dependency %q<awesome_print>, "~> 1.
|
33
|
-
s.add_dependency %q<coderay>, "~> 1.0
|
33
|
+
s.add_dependency %q<awesome_print>, "~> 1.2.0"
|
34
|
+
s.add_dependency %q<coderay>, "~> 1.1.0"
|
34
35
|
s.add_dependency %q<g>, ">= 1.7.2"
|
35
36
|
|
36
37
|
# introspection / docs
|
37
38
|
s.add_dependency %q<ori>, "~> 0.1.0"
|
38
39
|
s.add_dependency %q<methodfinder>, ">= 1.2.5"
|
39
40
|
s.add_dependency %q<method_locator>,">= 0.0.4"
|
40
|
-
s.add_dependency %q<method_source>, ">= 0.8.
|
41
|
+
s.add_dependency %q<method_source>, ">= 0.8.2"
|
41
42
|
|
42
43
|
len = s.homepage.size
|
43
44
|
s.post_install_message = \
|
data/lib/irbtools/configure.rb
CHANGED
metadata
CHANGED
@@ -1,32 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irbtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Jan Lelis
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: zucker
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '13.1'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '13.1'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: boson
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: boson-more
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: clipboard
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,34 +78,39 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: interactive_editor
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- -
|
83
|
+
- - '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: 0.0.10
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- -
|
91
|
+
- - '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: 0.0.10
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: every_day_irb
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- -
|
99
|
+
- - '>='
|
88
100
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.5.
|
101
|
+
version: 1.5.1
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- -
|
107
|
+
- - '>='
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.5.
|
109
|
+
version: 1.5.1
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: alias
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
115
|
- - ~>
|
102
116
|
- !ruby/object:Gem::Version
|
@@ -104,55 +118,79 @@ dependencies:
|
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
123
|
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
110
125
|
version: 0.2.3
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: binding.repl
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.7.0
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 0.7.0
|
111
142
|
- !ruby/object:Gem::Dependency
|
112
143
|
name: paint
|
113
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
114
146
|
requirements:
|
115
|
-
- -
|
147
|
+
- - '>='
|
116
148
|
- !ruby/object:Gem::Version
|
117
149
|
version: 0.8.6
|
118
150
|
type: :runtime
|
119
151
|
prerelease: false
|
120
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
121
154
|
requirements:
|
122
|
-
- -
|
155
|
+
- - '>='
|
123
156
|
- !ruby/object:Gem::Version
|
124
157
|
version: 0.8.6
|
125
158
|
- !ruby/object:Gem::Dependency
|
126
159
|
name: fancy_irb
|
127
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
128
162
|
requirements:
|
129
|
-
- -
|
163
|
+
- - '>='
|
130
164
|
- !ruby/object:Gem::Version
|
131
165
|
version: 0.7.3
|
132
166
|
type: :runtime
|
133
167
|
prerelease: false
|
134
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
135
170
|
requirements:
|
136
|
-
- -
|
171
|
+
- - '>='
|
137
172
|
- !ruby/object:Gem::Version
|
138
173
|
version: 0.7.3
|
139
174
|
- !ruby/object:Gem::Dependency
|
140
175
|
name: wirb
|
141
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
142
178
|
requirements:
|
143
|
-
- -
|
179
|
+
- - '>='
|
144
180
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.0.
|
181
|
+
version: 1.0.2
|
146
182
|
type: :runtime
|
147
183
|
prerelease: false
|
148
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
149
186
|
requirements:
|
150
|
-
- -
|
187
|
+
- - '>='
|
151
188
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.0.
|
189
|
+
version: 1.0.2
|
153
190
|
- !ruby/object:Gem::Dependency
|
154
191
|
name: hirb
|
155
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
156
194
|
requirements:
|
157
195
|
- - ~>
|
158
196
|
- !ruby/object:Gem::Version
|
@@ -160,6 +198,7 @@ dependencies:
|
|
160
198
|
type: :runtime
|
161
199
|
prerelease: false
|
162
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
163
202
|
requirements:
|
164
203
|
- - ~>
|
165
204
|
- !ruby/object:Gem::Version
|
@@ -167,48 +206,55 @@ dependencies:
|
|
167
206
|
- !ruby/object:Gem::Dependency
|
168
207
|
name: awesome_print
|
169
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
170
210
|
requirements:
|
171
211
|
- - ~>
|
172
212
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
213
|
+
version: 1.2.0
|
174
214
|
type: :runtime
|
175
215
|
prerelease: false
|
176
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
177
218
|
requirements:
|
178
219
|
- - ~>
|
179
220
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
221
|
+
version: 1.2.0
|
181
222
|
- !ruby/object:Gem::Dependency
|
182
223
|
name: coderay
|
183
224
|
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
184
226
|
requirements:
|
185
227
|
- - ~>
|
186
228
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.0
|
229
|
+
version: 1.1.0
|
188
230
|
type: :runtime
|
189
231
|
prerelease: false
|
190
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
191
234
|
requirements:
|
192
235
|
- - ~>
|
193
236
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.0
|
237
|
+
version: 1.1.0
|
195
238
|
- !ruby/object:Gem::Dependency
|
196
239
|
name: g
|
197
240
|
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
198
242
|
requirements:
|
199
|
-
- -
|
243
|
+
- - '>='
|
200
244
|
- !ruby/object:Gem::Version
|
201
245
|
version: 1.7.2
|
202
246
|
type: :runtime
|
203
247
|
prerelease: false
|
204
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
205
250
|
requirements:
|
206
|
-
- -
|
251
|
+
- - '>='
|
207
252
|
- !ruby/object:Gem::Version
|
208
253
|
version: 1.7.2
|
209
254
|
- !ruby/object:Gem::Dependency
|
210
255
|
name: ori
|
211
256
|
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
212
258
|
requirements:
|
213
259
|
- - ~>
|
214
260
|
- !ruby/object:Gem::Version
|
@@ -216,6 +262,7 @@ dependencies:
|
|
216
262
|
type: :runtime
|
217
263
|
prerelease: false
|
218
264
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
219
266
|
requirements:
|
220
267
|
- - ~>
|
221
268
|
- !ruby/object:Gem::Version
|
@@ -223,45 +270,51 @@ dependencies:
|
|
223
270
|
- !ruby/object:Gem::Dependency
|
224
271
|
name: methodfinder
|
225
272
|
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
226
274
|
requirements:
|
227
|
-
- -
|
275
|
+
- - '>='
|
228
276
|
- !ruby/object:Gem::Version
|
229
277
|
version: 1.2.5
|
230
278
|
type: :runtime
|
231
279
|
prerelease: false
|
232
280
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
233
282
|
requirements:
|
234
|
-
- -
|
283
|
+
- - '>='
|
235
284
|
- !ruby/object:Gem::Version
|
236
285
|
version: 1.2.5
|
237
286
|
- !ruby/object:Gem::Dependency
|
238
287
|
name: method_locator
|
239
288
|
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
240
290
|
requirements:
|
241
|
-
- -
|
291
|
+
- - '>='
|
242
292
|
- !ruby/object:Gem::Version
|
243
293
|
version: 0.0.4
|
244
294
|
type: :runtime
|
245
295
|
prerelease: false
|
246
296
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
247
298
|
requirements:
|
248
|
-
- -
|
299
|
+
- - '>='
|
249
300
|
- !ruby/object:Gem::Version
|
250
301
|
version: 0.0.4
|
251
302
|
- !ruby/object:Gem::Dependency
|
252
303
|
name: method_source
|
253
304
|
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
254
306
|
requirements:
|
255
|
-
- -
|
307
|
+
- - '>='
|
256
308
|
- !ruby/object:Gem::Version
|
257
|
-
version: 0.8.
|
309
|
+
version: 0.8.2
|
258
310
|
type: :runtime
|
259
311
|
prerelease: false
|
260
312
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
261
314
|
requirements:
|
262
|
-
- -
|
315
|
+
- - '>='
|
263
316
|
- !ruby/object:Gem::Version
|
264
|
-
version: 0.8.
|
317
|
+
version: 0.8.2
|
265
318
|
description: irbtools makes using irb easier and more fun. Simply put a require "irbtools"
|
266
319
|
in the .irbrc file in your home directory.
|
267
320
|
email: mail@janlelis.de
|
@@ -283,28 +336,31 @@ files:
|
|
283
336
|
homepage: https://github.com/janlelis/irbtools
|
284
337
|
licenses:
|
285
338
|
- MIT
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
339
|
+
post_install_message: |2-
|
340
|
+
┌── info ──────────────────────────────┐
|
341
|
+
J-_-L │ https://github.com/janlelis/irbtools │
|
342
|
+
├── usage ─────────────────────────────┤
|
343
|
+
│ require 'irbtools' │
|
344
|
+
└──────────────────────────────────────┘
|
290
345
|
rdoc_options: []
|
291
346
|
require_paths:
|
292
347
|
- lib
|
293
348
|
required_ruby_version: !ruby/object:Gem::Requirement
|
349
|
+
none: false
|
294
350
|
requirements:
|
295
|
-
- -
|
351
|
+
- - '>='
|
296
352
|
- !ruby/object:Gem::Version
|
297
353
|
version: 1.9.2
|
298
354
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
355
|
+
none: false
|
299
356
|
requirements:
|
300
|
-
- -
|
357
|
+
- - '>='
|
301
358
|
- !ruby/object:Gem::Version
|
302
359
|
version: '0'
|
303
360
|
requirements: []
|
304
361
|
rubyforge_project:
|
305
|
-
rubygems_version:
|
362
|
+
rubygems_version: 1.8.26
|
306
363
|
signing_key:
|
307
|
-
specification_version:
|
364
|
+
specification_version: 3
|
308
365
|
summary: irbtools happy irb.
|
309
366
|
test_files: []
|
310
|
-
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
OTEzMGJlODNkOGMzODZhNDQ0MjQ1ZTIzYmU4NDFhMmU2YmJiYWIzOA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MDhhNjIwNmJkOTY1ZTVmNmJiMjg2Zjk2M2QxMTFlOTQ1YzIxM2UyOA==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
OGJhNTJhNzQ4MTQ5MjU0MjdiMDRkNjcxYmNhYTA1ZmIwN2EzMWZkNzYyMDFj
|
10
|
-
YjUyMjI4ODlhMGE3ODI0ZWQ3ODJkMGU2OTYzNWY5YTlmZTNkYWM4ZjU4ZDY4
|
11
|
-
YmEyYjFlNWUxMjQyMzQ5ZmU4MmRjMmI1Njg1MTgyNjg2NDEwNGU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OGU1MThiNjNkOThkOWVhYmJjZjY0NGFjYWRkZTI2ODY2MmIzNDk4YzVhM2Yw
|
14
|
-
NjU2MWMwMjIzNDUwZGFiYWIwYzAzMmQyZWU1MDgxMDU1OTlmYmFjNGIzODMy
|
15
|
-
ZWI2ZGVjOGE3MTU2MTBjMzRhYjU2YzE0YTkzODIzYWY3ZDNjN2M=
|