pry 0.9.6-i386-mingw32 → 0.9.6.1-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +16 -0
- data/README.markdown +2 -1
- data/Rakefile +9 -4
- data/lib/pry.rb +3 -0
- data/lib/pry/command_context.rb +1 -0
- data/lib/pry/command_set.rb +2 -0
- data/lib/pry/default_commands/basic.rb +5 -7
- data/lib/pry/default_commands/context.rb +5 -2
- data/lib/pry/default_commands/documentation.rb +28 -79
- data/lib/pry/default_commands/input.rb +3 -7
- data/lib/pry/default_commands/introspection.rb +33 -42
- data/lib/pry/default_commands/shell.rb +2 -2
- data/lib/pry/extended_commands/experimental.rb +2 -6
- data/lib/pry/helpers/base_helpers.rb +1 -1
- data/lib/pry/helpers/command_helpers.rb +11 -247
- data/lib/pry/method.rb +184 -0
- data/lib/pry/rbx_method.rb +20 -0
- data/lib/pry/rbx_path.rb +34 -0
- data/lib/pry/version.rb +1 -1
- data/pry.gemspec +7 -4
- data/test/helper.rb +1 -0
- data/test/test_command_helpers.rb +1 -69
- data/test/test_command_set.rb +29 -28
- data/test/test_default_commands/test_introspection.rb +5 -0
- data/test/test_method.rb +72 -0
- data/test/test_pry.rb +9 -9
- data/test/test_pry_output.rb +2 -1
- metadata +33 -16
data/test/test_pry.rb
CHANGED
@@ -2,15 +2,15 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Pry do
|
4
4
|
|
5
|
-
if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/ && RUBY_PLATFORM != 'java'
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
end
|
5
|
+
# if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/ && RUBY_PLATFORM != 'java'
|
6
|
+
# describe 'warning emissions' do
|
7
|
+
# it 'should emit no warnings' do
|
8
|
+
# Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
|
9
|
+
# stderr.read.empty?.should == true
|
10
|
+
# end
|
11
|
+
# end
|
12
|
+
# end
|
13
|
+
# end
|
14
14
|
|
15
15
|
if RUBY_VERSION =~ /1.9/
|
16
16
|
describe "Exotic object support" do
|
data/test/test_pry_output.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'helper'
|
1
2
|
|
2
3
|
describe Pry do
|
3
4
|
describe "output failsafe" do
|
@@ -34,7 +35,7 @@ describe Pry do
|
|
34
35
|
end
|
35
36
|
|
36
37
|
it "should not be phased by un-inspectable things" do
|
37
|
-
mock_pry("class NastyClass; undef pretty_inspect; end", "NastyClass.new").should =~ /#<NastyClass:0x
|
38
|
+
mock_pry("class NastyClass; undef pretty_inspect; end", "NastyClass.new").should =~ /#<NastyClass:0x.*?>/
|
38
39
|
end
|
39
40
|
end
|
40
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.6
|
4
|
+
version: 0.9.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: i386-mingw32
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby_parser
|
16
|
-
requirement: &
|
16
|
+
requirement: &70236410372300 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.0.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70236410372300
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: coderay
|
27
|
-
requirement: &
|
27
|
+
requirement: &70236410371080 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.9.8
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70236410371080
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: slop
|
38
|
-
requirement: &
|
38
|
+
requirement: &70236410369360 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.1.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70236410369360
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: method_source
|
49
|
-
requirement: &
|
49
|
+
requirement: &70236410367980 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.6.5
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70236410367980
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: bacon
|
60
|
-
requirement: &
|
60
|
+
requirement: &70236410366900 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.1.0
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70236410366900
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: open4
|
71
|
-
requirement: &
|
71
|
+
requirement: &70236410365820 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,21 @@ dependencies:
|
|
76
76
|
version: 1.0.1
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70236410365820
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rake
|
82
|
+
requirement: &70236410364740 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0.9'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70236410364740
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: win32console
|
82
|
-
requirement: &
|
93
|
+
requirement: &70236410363100 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ! '>='
|
@@ -87,7 +98,7 @@ dependencies:
|
|
87
98
|
version: 1.3.0
|
88
99
|
type: :runtime
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *70236410363100
|
91
102
|
description: An IRB alternative and runtime developer console
|
92
103
|
email: jrmair@gmail.com
|
93
104
|
executables:
|
@@ -98,6 +109,7 @@ files:
|
|
98
109
|
- .document
|
99
110
|
- .gemtest
|
100
111
|
- .gitignore
|
112
|
+
- .travis.yml
|
101
113
|
- .yardopts
|
102
114
|
- CHANGELOG
|
103
115
|
- CONTRIBUTORS
|
@@ -144,9 +156,12 @@ files:
|
|
144
156
|
- lib/pry/helpers/text.rb
|
145
157
|
- lib/pry/history.rb
|
146
158
|
- lib/pry/history_array.rb
|
159
|
+
- lib/pry/method.rb
|
147
160
|
- lib/pry/plugins.rb
|
148
161
|
- lib/pry/pry_class.rb
|
149
162
|
- lib/pry/pry_instance.rb
|
163
|
+
- lib/pry/rbx_method.rb
|
164
|
+
- lib/pry/rbx_path.rb
|
150
165
|
- lib/pry/version.rb
|
151
166
|
- pry.gemspec
|
152
167
|
- test/helper.rb
|
@@ -164,6 +179,7 @@ files:
|
|
164
179
|
- test/test_exception_whitelist.rb
|
165
180
|
- test/test_history_array.rb
|
166
181
|
- test/test_input_stack.rb
|
182
|
+
- test/test_method.rb
|
167
183
|
- test/test_pry.rb
|
168
184
|
- test/test_pry_history.rb
|
169
185
|
- test/test_pry_output.rb
|
@@ -211,6 +227,7 @@ test_files:
|
|
211
227
|
- test/test_exception_whitelist.rb
|
212
228
|
- test/test_history_array.rb
|
213
229
|
- test/test_input_stack.rb
|
230
|
+
- test/test_method.rb
|
214
231
|
- test/test_pry.rb
|
215
232
|
- test/test_pry_history.rb
|
216
233
|
- test/test_pry_output.rb
|