pry 0.8.0pre9 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +385 -201
- data/Rakefile +2 -1
- data/bin/pry +24 -39
- data/lib/pry.rb +7 -1
- data/lib/pry/command_base.rb +14 -15
- data/lib/pry/command_base_helpers.rb +147 -16
- data/lib/pry/command_helpers.rb +37 -13
- data/lib/pry/command_processor.rb +20 -10
- data/lib/pry/commands.rb +284 -199
- data/lib/pry/completion.rb +1 -1
- data/lib/pry/hooks.rb +2 -6
- data/lib/pry/print.rb +10 -13
- data/lib/pry/prompts.rb +3 -3
- data/lib/pry/pry_class.rb +23 -18
- data/lib/pry/pry_instance.rb +44 -29
- data/lib/pry/version.rb +1 -1
- data/test/test.rb +114 -47
- metadata +102 -92
- data/lib/pry/TAGS +0 -62
metadata
CHANGED
@@ -1,106 +1,116 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.8.
|
4
|
+
prerelease:
|
5
|
+
version: 0.8.0
|
6
6
|
platform: ruby
|
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
|
-
|
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
|
60
71
|
description: attach an irb-like session to any object at runtime
|
61
72
|
email: jrmair@gmail.com
|
62
73
|
executables:
|
63
|
-
|
74
|
+
- pry
|
64
75
|
extensions: []
|
65
76
|
|
66
77
|
extra_rdoc_files: []
|
67
78
|
|
68
79
|
files:
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
- bin/pry
|
80
|
+
- lib/pry/command_base.rb
|
81
|
+
- lib/pry/command_base_helpers.rb
|
82
|
+
- lib/pry/command_helpers.rb
|
83
|
+
- lib/pry/command_processor.rb
|
84
|
+
- lib/pry/commands.rb
|
85
|
+
- lib/pry/completion.rb
|
86
|
+
- lib/pry/core_extensions.rb
|
87
|
+
- lib/pry/custom_completions.rb
|
88
|
+
- lib/pry/hooks.rb
|
89
|
+
- lib/pry/print.rb
|
90
|
+
- lib/pry/prompts.rb
|
91
|
+
- lib/pry/pry_class.rb
|
92
|
+
- lib/pry/pry_instance.rb
|
93
|
+
- lib/pry/version.rb
|
94
|
+
- lib/pry.rb
|
95
|
+
- examples/example_basic.rb
|
96
|
+
- examples/example_command_override.rb
|
97
|
+
- examples/example_commands.rb
|
98
|
+
- examples/example_hooks.rb
|
99
|
+
- examples/example_image_edit.rb
|
100
|
+
- examples/example_input.rb
|
101
|
+
- examples/example_input2.rb
|
102
|
+
- examples/example_output.rb
|
103
|
+
- examples/example_print.rb
|
104
|
+
- examples/example_prompt.rb
|
105
|
+
- test/test.rb
|
106
|
+
- test/test_helper.rb
|
107
|
+
- test/testrc
|
108
|
+
- CHANGELOG
|
109
|
+
- LICENSE
|
110
|
+
- README.markdown
|
111
|
+
- Rakefile
|
112
|
+
- .gemtest
|
113
|
+
- bin/pry
|
104
114
|
has_rdoc: true
|
105
115
|
homepage: http://banisterfiend.wordpress.com
|
106
116
|
licenses: []
|
@@ -109,23 +119,23 @@ post_install_message:
|
|
109
119
|
rdoc_options: []
|
110
120
|
|
111
121
|
require_paths:
|
112
|
-
|
122
|
+
- lib
|
113
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
124
|
none: false
|
115
125
|
requirements:
|
116
|
-
|
117
|
-
|
118
|
-
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: "0"
|
119
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
130
|
none: false
|
121
131
|
requirements:
|
122
|
-
|
123
|
-
|
124
|
-
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: "0"
|
125
135
|
requirements: []
|
126
136
|
|
127
137
|
rubyforge_project:
|
128
|
-
rubygems_version: 1.
|
138
|
+
rubygems_version: 1.6.2
|
129
139
|
signing_key:
|
130
140
|
specification_version: 3
|
131
141
|
summary: attach an irb-like session to any object at runtime
|
data/lib/pry/TAGS
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
|
2
|
-
command_base.rb,124
|
3
|
-
attr_accessor :opts,opts8,206
|
4
|
-
attr_accessor :opts, :output,output8,206
|
5
|
-
commands[commands48,1817
|
6
|
-
|
7
|
-
command_processor.rb,25
|
8
|
-
ret_value 78,2169
|
9
|
-
|
10
|
-
commands.rb,488
|
11
|
-
direc 1,0
|
12
|
-
target 239,7098
|
13
|
-
target_self 326,9884
|
14
|
-
target.eval("self.class.constants(constants368,12413
|
15
|
-
new_constants 541,17465
|
16
|
-
process_yardoc_tag 586,19091
|
17
|
-
process_yardoc 602,19553
|
18
|
-
gsub(/^@(@606,19822
|
19
|
-
process_comment_markup 609,19917
|
20
|
-
strip_leading_hash_and_whitespace_from_ruby_comments 620,20291
|
21
|
-
target 629,20656
|
22
|
-
target 692,22513
|
23
|
-
options[options702,22857
|
24
|
-
text 848,27140
|
25
|
-
|
26
|
-
completion.rb,139
|
27
|
-
receiver 139,4449
|
28
|
-
lv 143,4577
|
29
|
-
cv 144,4642
|
30
|
-
candidates 152,5008
|
31
|
-
receiver 175,5682
|
32
|
-
|
33
|
-
core_extensions.rb,52
|
34
|
-
self.class.class_eval class_eval39,1245
|
35
|
-
|
36
|
-
custom_completions.rb,61
|
37
|
-
DEFAULT_CUSTOM_COMPLETIONS 4,81
|
38
|
-
FILE_COMPLETIONS 5,144
|
39
|
-
|
40
|
-
hooks.rb,22
|
41
|
-
DEFAULT_HOOKS 4,92
|
42
|
-
|
43
|
-
print.rb,23
|
44
|
-
DEFAULT_PRINT 5,109
|
45
|
-
|
46
|
-
prompts.rb,23
|
47
|
-
DEFAULT_PROMPT 5,76
|
48
|
-
|
49
|
-
pry_class.rb,116
|
50
|
-
RC_FILES 5,74
|
51
|
-
name,164,5591
|
52
|
-
name, arg_string 164,5591
|
53
|
-
null_output 174,5850
|
54
|
-
commands 176,5932
|
55
|
-
|
56
|
-
pry_instance.rb,77
|
57
|
-
direc 1,0
|
58
|
-
default_options 29,1134
|
59
|
-
instance_variable_set(34,1294
|
60
|
-
|
61
|
-
version.rb,16
|
62
|
-
VERSION 2,10
|