pry 0.7.7.2-i386-mingw32 → 0.8.0-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +393 -195
- data/Rakefile +5 -4
- data/bin/pry +31 -39
- data/lib/pry.rb +18 -11
- data/lib/pry/command_base.rb +74 -21
- data/lib/pry/command_base_helpers.rb +241 -0
- data/lib/pry/command_helpers.rb +303 -0
- data/lib/pry/command_processor.rb +174 -0
- data/lib/pry/commands.rb +479 -260
- data/lib/pry/completion.rb +1 -1
- data/lib/pry/custom_completions.rb +6 -0
- data/lib/pry/hooks.rb +3 -7
- data/lib/pry/print.rb +10 -13
- data/lib/pry/prompts.rb +7 -2
- data/lib/pry/pry_class.rb +34 -11
- data/lib/pry/pry_instance.rb +83 -106
- data/lib/pry/version.rb +1 -1
- data/test/test.rb +126 -59
- data/test/test_helper.rb +6 -0
- metadata +112 -109
- data/lib/pry.rbc +0 -541
- data/lib/pry/#commands.rb# +0 -718
- data/lib/pry/command_base.rbc +0 -1795
- data/lib/pry/commands.rbc +0 -14430
- data/lib/pry/completion.rbc +0 -4485
- data/lib/pry/core_extensions.rbc +0 -592
- data/lib/pry/hooks.rbc +0 -649
- data/lib/pry/print.rbc +0 -400
- data/lib/pry/prompts.rbc +0 -574
- data/lib/pry/pry_class.rbc +0 -2376
- data/lib/pry/pry_instance.rbc +0 -4633
- data/lib/pry/version.rbc +0 -131
metadata
CHANGED
@@ -2,123 +2,126 @@
|
|
2
2
|
name: pry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.8.0
|
6
6
|
platform: i386-mingw32
|
7
7
|
authors:
|
8
|
-
|
8
|
+
- John Mair (banisterfiend)
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-24 00:00:00 +12:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: ruby_parser
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 2.0.5
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: coderay
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 0.9.7
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: slop
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.5.2
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: bacon
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 1.1.0
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: method_source
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.4.0
|
69
|
+
type: :runtime
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: win32console
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 1.3.0
|
80
|
+
type: :runtime
|
81
|
+
version_requirements: *id006
|
71
82
|
description: attach an irb-like session to any object at runtime
|
72
83
|
email: jrmair@gmail.com
|
73
84
|
executables:
|
74
|
-
|
85
|
+
- pry
|
75
86
|
extensions: []
|
76
87
|
|
77
88
|
extra_rdoc_files: []
|
78
89
|
|
79
90
|
files:
|
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
|
-
- test/test_helper.rb
|
115
|
-
- test/testrc
|
116
|
-
- CHANGELOG
|
117
|
-
- LICENSE
|
118
|
-
- README.markdown
|
119
|
-
- Rakefile
|
120
|
-
- .gemtest
|
121
|
-
- bin/pry
|
91
|
+
- lib/pry/command_base.rb
|
92
|
+
- lib/pry/command_base_helpers.rb
|
93
|
+
- lib/pry/command_helpers.rb
|
94
|
+
- lib/pry/command_processor.rb
|
95
|
+
- lib/pry/commands.rb
|
96
|
+
- lib/pry/completion.rb
|
97
|
+
- lib/pry/core_extensions.rb
|
98
|
+
- lib/pry/custom_completions.rb
|
99
|
+
- lib/pry/hooks.rb
|
100
|
+
- lib/pry/print.rb
|
101
|
+
- lib/pry/prompts.rb
|
102
|
+
- lib/pry/pry_class.rb
|
103
|
+
- lib/pry/pry_instance.rb
|
104
|
+
- lib/pry/version.rb
|
105
|
+
- lib/pry.rb
|
106
|
+
- examples/example_basic.rb
|
107
|
+
- examples/example_command_override.rb
|
108
|
+
- examples/example_commands.rb
|
109
|
+
- examples/example_hooks.rb
|
110
|
+
- examples/example_image_edit.rb
|
111
|
+
- examples/example_input.rb
|
112
|
+
- examples/example_input2.rb
|
113
|
+
- examples/example_output.rb
|
114
|
+
- examples/example_print.rb
|
115
|
+
- examples/example_prompt.rb
|
116
|
+
- test/test.rb
|
117
|
+
- test/test_helper.rb
|
118
|
+
- test/testrc
|
119
|
+
- CHANGELOG
|
120
|
+
- LICENSE
|
121
|
+
- README.markdown
|
122
|
+
- Rakefile
|
123
|
+
- .gemtest
|
124
|
+
- bin/pry
|
122
125
|
has_rdoc: true
|
123
126
|
homepage: http://banisterfiend.wordpress.com
|
124
127
|
licenses: []
|
@@ -127,23 +130,23 @@ post_install_message:
|
|
127
130
|
rdoc_options: []
|
128
131
|
|
129
132
|
require_paths:
|
130
|
-
|
133
|
+
- lib
|
131
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
135
|
none: false
|
133
136
|
requirements:
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: "0"
|
137
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
141
|
none: false
|
139
142
|
requirements:
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: "0"
|
143
146
|
requirements: []
|
144
147
|
|
145
148
|
rubyforge_project:
|
146
|
-
rubygems_version: 1.
|
149
|
+
rubygems_version: 1.6.2
|
147
150
|
signing_key:
|
148
151
|
specification_version: 3
|
149
152
|
summary: attach an irb-like session to any object at runtime
|
data/lib/pry.rbc
DELETED
@@ -1,541 +0,0 @@
|
|
1
|
-
!RBIX
|
2
|
-
12177353960789629535
|
3
|
-
x
|
4
|
-
M
|
5
|
-
1
|
6
|
-
n
|
7
|
-
n
|
8
|
-
x
|
9
|
-
10
|
10
|
-
__script__
|
11
|
-
i
|
12
|
-
296
|
13
|
-
45
|
14
|
-
0
|
15
|
-
1
|
16
|
-
65
|
17
|
-
49
|
18
|
-
2
|
19
|
-
0
|
20
|
-
49
|
21
|
-
3
|
22
|
-
1
|
23
|
-
19
|
24
|
-
0
|
25
|
-
15
|
26
|
-
99
|
27
|
-
43
|
28
|
-
4
|
29
|
-
7
|
30
|
-
5
|
31
|
-
49
|
32
|
-
6
|
33
|
-
1
|
34
|
-
45
|
35
|
-
0
|
36
|
-
7
|
37
|
-
20
|
38
|
-
0
|
39
|
-
49
|
40
|
-
8
|
41
|
-
1
|
42
|
-
49
|
43
|
-
9
|
44
|
-
1
|
45
|
-
15
|
46
|
-
5
|
47
|
-
7
|
48
|
-
10
|
49
|
-
64
|
50
|
-
47
|
51
|
-
49
|
52
|
-
11
|
53
|
-
1
|
54
|
-
15
|
55
|
-
5
|
56
|
-
7
|
57
|
-
12
|
58
|
-
64
|
59
|
-
47
|
60
|
-
49
|
61
|
-
11
|
62
|
-
1
|
63
|
-
15
|
64
|
-
5
|
65
|
-
7
|
66
|
-
13
|
67
|
-
64
|
68
|
-
47
|
69
|
-
49
|
70
|
-
11
|
71
|
-
1
|
72
|
-
15
|
73
|
-
5
|
74
|
-
7
|
75
|
-
14
|
76
|
-
64
|
77
|
-
47
|
78
|
-
49
|
79
|
-
11
|
80
|
-
1
|
81
|
-
15
|
82
|
-
5
|
83
|
-
7
|
84
|
-
15
|
85
|
-
64
|
86
|
-
47
|
87
|
-
49
|
88
|
-
11
|
89
|
-
1
|
90
|
-
15
|
91
|
-
45
|
92
|
-
16
|
93
|
-
17
|
94
|
-
7
|
95
|
-
18
|
96
|
-
13
|
97
|
-
70
|
98
|
-
9
|
99
|
-
99
|
100
|
-
15
|
101
|
-
44
|
102
|
-
43
|
103
|
-
19
|
104
|
-
7
|
105
|
-
20
|
106
|
-
78
|
107
|
-
49
|
108
|
-
21
|
109
|
-
2
|
110
|
-
6
|
111
|
-
18
|
112
|
-
49
|
113
|
-
22
|
114
|
-
1
|
115
|
-
13
|
116
|
-
10
|
117
|
-
130
|
118
|
-
15
|
119
|
-
45
|
120
|
-
16
|
121
|
-
23
|
122
|
-
7
|
123
|
-
24
|
124
|
-
13
|
125
|
-
70
|
126
|
-
9
|
127
|
-
127
|
128
|
-
15
|
129
|
-
44
|
130
|
-
43
|
131
|
-
19
|
132
|
-
7
|
133
|
-
25
|
134
|
-
78
|
135
|
-
49
|
136
|
-
21
|
137
|
-
2
|
138
|
-
6
|
139
|
-
24
|
140
|
-
49
|
141
|
-
22
|
142
|
-
1
|
143
|
-
9
|
144
|
-
202
|
145
|
-
26
|
146
|
-
93
|
147
|
-
0
|
148
|
-
15
|
149
|
-
29
|
150
|
-
150
|
151
|
-
0
|
152
|
-
5
|
153
|
-
7
|
154
|
-
26
|
155
|
-
64
|
156
|
-
47
|
157
|
-
49
|
158
|
-
11
|
159
|
-
1
|
160
|
-
30
|
161
|
-
8
|
162
|
-
197
|
163
|
-
26
|
164
|
-
93
|
165
|
-
1
|
166
|
-
15
|
167
|
-
24
|
168
|
-
13
|
169
|
-
45
|
170
|
-
27
|
171
|
-
28
|
172
|
-
12
|
173
|
-
49
|
174
|
-
29
|
175
|
-
1
|
176
|
-
10
|
177
|
-
167
|
178
|
-
8
|
179
|
-
192
|
180
|
-
15
|
181
|
-
99
|
182
|
-
43
|
183
|
-
4
|
184
|
-
7
|
185
|
-
30
|
186
|
-
49
|
187
|
-
6
|
188
|
-
1
|
189
|
-
7
|
190
|
-
31
|
191
|
-
64
|
192
|
-
49
|
193
|
-
32
|
194
|
-
1
|
195
|
-
15
|
196
|
-
5
|
197
|
-
79
|
198
|
-
47
|
199
|
-
49
|
200
|
-
33
|
201
|
-
1
|
202
|
-
25
|
203
|
-
8
|
204
|
-
197
|
205
|
-
15
|
206
|
-
92
|
207
|
-
1
|
208
|
-
27
|
209
|
-
34
|
210
|
-
92
|
211
|
-
0
|
212
|
-
27
|
213
|
-
8
|
214
|
-
203
|
215
|
-
1
|
216
|
-
15
|
217
|
-
5
|
218
|
-
7
|
219
|
-
34
|
220
|
-
64
|
221
|
-
47
|
222
|
-
49
|
223
|
-
11
|
224
|
-
1
|
225
|
-
15
|
226
|
-
5
|
227
|
-
7
|
228
|
-
35
|
229
|
-
64
|
230
|
-
47
|
231
|
-
49
|
232
|
-
11
|
233
|
-
1
|
234
|
-
15
|
235
|
-
5
|
236
|
-
7
|
237
|
-
36
|
238
|
-
64
|
239
|
-
47
|
240
|
-
49
|
241
|
-
11
|
242
|
-
1
|
243
|
-
15
|
244
|
-
5
|
245
|
-
7
|
246
|
-
37
|
247
|
-
64
|
248
|
-
47
|
249
|
-
49
|
250
|
-
11
|
251
|
-
1
|
252
|
-
15
|
253
|
-
5
|
254
|
-
7
|
255
|
-
38
|
256
|
-
64
|
257
|
-
47
|
258
|
-
49
|
259
|
-
11
|
260
|
-
1
|
261
|
-
15
|
262
|
-
5
|
263
|
-
7
|
264
|
-
39
|
265
|
-
64
|
266
|
-
47
|
267
|
-
49
|
268
|
-
11
|
269
|
-
1
|
270
|
-
15
|
271
|
-
5
|
272
|
-
7
|
273
|
-
40
|
274
|
-
64
|
275
|
-
47
|
276
|
-
49
|
277
|
-
11
|
278
|
-
1
|
279
|
-
15
|
280
|
-
5
|
281
|
-
7
|
282
|
-
41
|
283
|
-
64
|
284
|
-
47
|
285
|
-
49
|
286
|
-
11
|
287
|
-
1
|
288
|
-
15
|
289
|
-
5
|
290
|
-
7
|
291
|
-
42
|
292
|
-
64
|
293
|
-
47
|
294
|
-
49
|
295
|
-
11
|
296
|
-
1
|
297
|
-
15
|
298
|
-
5
|
299
|
-
7
|
300
|
-
43
|
301
|
-
64
|
302
|
-
47
|
303
|
-
49
|
304
|
-
11
|
305
|
-
1
|
306
|
-
15
|
307
|
-
2
|
308
|
-
11
|
309
|
-
I
|
310
|
-
7
|
311
|
-
I
|
312
|
-
1
|
313
|
-
I
|
314
|
-
0
|
315
|
-
I
|
316
|
-
0
|
317
|
-
n
|
318
|
-
p
|
319
|
-
44
|
320
|
-
x
|
321
|
-
4
|
322
|
-
File
|
323
|
-
n
|
324
|
-
x
|
325
|
-
11
|
326
|
-
active_path
|
327
|
-
x
|
328
|
-
7
|
329
|
-
dirname
|
330
|
-
x
|
331
|
-
7
|
332
|
-
Globals
|
333
|
-
x
|
334
|
-
10
|
335
|
-
$LOAD_PATH
|
336
|
-
x
|
337
|
-
2
|
338
|
-
[]
|
339
|
-
n
|
340
|
-
x
|
341
|
-
11
|
342
|
-
expand_path
|
343
|
-
x
|
344
|
-
2
|
345
|
-
<<
|
346
|
-
s
|
347
|
-
13
|
348
|
-
method_source
|
349
|
-
x
|
350
|
-
7
|
351
|
-
require
|
352
|
-
s
|
353
|
-
10
|
354
|
-
shellwords
|
355
|
-
s
|
356
|
-
8
|
357
|
-
readline
|
358
|
-
s
|
359
|
-
8
|
360
|
-
stringio
|
361
|
-
s
|
362
|
-
7
|
363
|
-
coderay
|
364
|
-
x
|
365
|
-
13
|
366
|
-
RUBY_PLATFORM
|
367
|
-
n
|
368
|
-
n
|
369
|
-
x
|
370
|
-
6
|
371
|
-
Regexp
|
372
|
-
s
|
373
|
-
5
|
374
|
-
mswin
|
375
|
-
x
|
376
|
-
3
|
377
|
-
new
|
378
|
-
x
|
379
|
-
2
|
380
|
-
=~
|
381
|
-
n
|
382
|
-
n
|
383
|
-
s
|
384
|
-
5
|
385
|
-
mingw
|
386
|
-
s
|
387
|
-
12
|
388
|
-
win32console
|
389
|
-
x
|
390
|
-
9
|
391
|
-
LoadError
|
392
|
-
n
|
393
|
-
x
|
394
|
-
3
|
395
|
-
===
|
396
|
-
x
|
397
|
-
7
|
398
|
-
$stderr
|
399
|
-
s
|
400
|
-
34
|
401
|
-
Need to `gem install win32console`
|
402
|
-
x
|
403
|
-
4
|
404
|
-
puts
|
405
|
-
x
|
406
|
-
4
|
407
|
-
exit
|
408
|
-
s
|
409
|
-
11
|
410
|
-
pry/version
|
411
|
-
s
|
412
|
-
9
|
413
|
-
pry/hooks
|
414
|
-
s
|
415
|
-
9
|
416
|
-
pry/print
|
417
|
-
s
|
418
|
-
16
|
419
|
-
pry/command_base
|
420
|
-
s
|
421
|
-
12
|
422
|
-
pry/commands
|
423
|
-
s
|
424
|
-
11
|
425
|
-
pry/prompts
|
426
|
-
s
|
427
|
-
14
|
428
|
-
pry/completion
|
429
|
-
s
|
430
|
-
19
|
431
|
-
pry/core_extensions
|
432
|
-
s
|
433
|
-
13
|
434
|
-
pry/pry_class
|
435
|
-
s
|
436
|
-
16
|
437
|
-
pry/pry_instance
|
438
|
-
p
|
439
|
-
47
|
440
|
-
I
|
441
|
-
0
|
442
|
-
I
|
443
|
-
4
|
444
|
-
I
|
445
|
-
d
|
446
|
-
I
|
447
|
-
6
|
448
|
-
I
|
449
|
-
21
|
450
|
-
I
|
451
|
-
8
|
452
|
-
I
|
453
|
-
2a
|
454
|
-
I
|
455
|
-
9
|
456
|
-
I
|
457
|
-
33
|
458
|
-
I
|
459
|
-
a
|
460
|
-
I
|
461
|
-
3c
|
462
|
-
I
|
463
|
-
b
|
464
|
-
I
|
465
|
-
45
|
466
|
-
I
|
467
|
-
c
|
468
|
-
I
|
469
|
-
4e
|
470
|
-
I
|
471
|
-
e
|
472
|
-
I
|
473
|
-
84
|
474
|
-
I
|
475
|
-
10
|
476
|
-
I
|
477
|
-
9b
|
478
|
-
I
|
479
|
-
11
|
480
|
-
I
|
481
|
-
a8
|
482
|
-
I
|
483
|
-
12
|
484
|
-
I
|
485
|
-
b7
|
486
|
-
I
|
487
|
-
13
|
488
|
-
I
|
489
|
-
ca
|
490
|
-
I
|
491
|
-
e
|
492
|
-
I
|
493
|
-
cc
|
494
|
-
I
|
495
|
-
17
|
496
|
-
I
|
497
|
-
d5
|
498
|
-
I
|
499
|
-
18
|
500
|
-
I
|
501
|
-
de
|
502
|
-
I
|
503
|
-
19
|
504
|
-
I
|
505
|
-
e7
|
506
|
-
I
|
507
|
-
1a
|
508
|
-
I
|
509
|
-
f0
|
510
|
-
I
|
511
|
-
1b
|
512
|
-
I
|
513
|
-
f9
|
514
|
-
I
|
515
|
-
1c
|
516
|
-
I
|
517
|
-
102
|
518
|
-
I
|
519
|
-
1d
|
520
|
-
I
|
521
|
-
10b
|
522
|
-
I
|
523
|
-
1e
|
524
|
-
I
|
525
|
-
114
|
526
|
-
I
|
527
|
-
1f
|
528
|
-
I
|
529
|
-
11d
|
530
|
-
I
|
531
|
-
20
|
532
|
-
I
|
533
|
-
128
|
534
|
-
x
|
535
|
-
39
|
536
|
-
/home/john/ruby/projects/pry/lib/pry.rb
|
537
|
-
p
|
538
|
-
1
|
539
|
-
x
|
540
|
-
5
|
541
|
-
direc
|