pry 0.6.7pre4-i386-mswin32 → 0.6.8-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,38 +1,46 @@
1
- class Module
2
- public :remove_const
3
- end
4
-
5
- class InputTester
6
- def initialize(*actions)
7
- @orig_actions = actions.dup
8
- @actions = actions
9
- end
10
-
11
- def readline(*)
12
- @actions.shift
13
- end
14
-
15
- def rewind
16
- @actions = @orig_actions.dup
17
- end
18
- end
19
-
20
- class Pry
21
-
22
- # null output class - doesn't write anywwhere.
23
- class NullOutput
24
- def self.puts(*) end
25
- end
26
- end
27
-
28
-
29
- class CommandTester < Pry::CommandBase
30
-
31
- command "command1", "command 1 test" do
32
- output.puts "command1"
33
- end
34
-
35
- command "command2", "command 2 test" do |arg|
36
- output.puts arg
37
- end
38
- end
1
+ class Module
2
+ public :remove_const
3
+ end
4
+
5
+ class << Pry
6
+ alias_method :orig_reset_defaults, :reset_defaults
7
+ def reset_defaults
8
+ orig_reset_defaults
9
+ Pry.color = false
10
+ end
11
+ end
12
+
13
+ class InputTester
14
+ def initialize(*actions)
15
+ @orig_actions = actions.dup
16
+ @actions = actions
17
+ end
18
+
19
+ def readline(*)
20
+ @actions.shift
21
+ end
22
+
23
+ def rewind
24
+ @actions = @orig_actions.dup
25
+ end
26
+ end
27
+
28
+ class Pry
29
+
30
+ # null output class - doesn't write anywwhere.
31
+ class NullOutput
32
+ def self.puts(*) end
33
+ end
34
+ end
35
+
36
+
37
+ class CommandTester < Pry::CommandBase
38
+
39
+ command "command1", "command 1 test" do
40
+ output.puts "command1"
41
+ end
42
+
43
+ command "command2", "command 2 test" do |arg|
44
+ output.puts arg
45
+ end
46
+ end
@@ -0,0 +1,2 @@
1
+ TEST_RC = [] if !Object.const_defined?(:TEST_RC)
2
+ TEST_RC << 0
metadata CHANGED
@@ -1,131 +1,167 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pry
3
- version: !ruby/object:Gem::Version
4
- version: 0.6.7pre4
5
- prerelease: 5
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 6
8
+ - 8
9
+ version: 0.6.8
6
10
  platform: i386-mswin32
7
- authors:
11
+ authors:
8
12
  - John Mair (banisterfiend)
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-03-03 00:00:00.000000000 +13:00
16
+
17
+ date: 2011-03-06 00:00:00 +13:00
13
18
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
16
21
  name: ruby_parser
17
- requirement: &17466396 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
18
24
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 0
31
+ - 5
22
32
  version: 2.0.5
23
33
  type: :runtime
24
- prerelease: false
25
- version_requirements: *17466396
26
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
27
36
  name: coderay
28
- requirement: &17466084 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
29
39
  none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
45
+ - 9
46
+ - 7
33
47
  version: 0.9.7
34
48
  type: :runtime
35
- prerelease: false
36
- version_requirements: *17466084
37
- - !ruby/object:Gem::Dependency
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
38
51
  name: bacon
39
- requirement: &17465796 !ruby/object:Gem::Requirement
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
40
54
  none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 1
60
+ - 1
61
+ - 0
44
62
  version: 1.1.0
45
63
  type: :development
46
- prerelease: false
47
- version_requirements: *17465796
48
- - !ruby/object:Gem::Dependency
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
49
66
  name: method_source
50
- requirement: &17462856 !ruby/object:Gem::Requirement
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
51
69
  none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ segments:
74
+ - 0
75
+ - 3
76
+ - 4
55
77
  version: 0.3.4
56
78
  type: :runtime
57
- prerelease: false
58
- version_requirements: *17462856
59
- - !ruby/object:Gem::Dependency
79
+ version_requirements: *id004
80
+ - !ruby/object:Gem::Dependency
60
81
  name: win32console
61
- requirement: &17462580 !ruby/object:Gem::Requirement
82
+ prerelease: false
83
+ requirement: &id005 !ruby/object:Gem::Requirement
62
84
  none: false
63
- requirements:
64
- - - ! '>='
65
- - !ruby/object:Gem::Version
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 1
90
+ - 3
91
+ - 0
66
92
  version: 1.3.0
67
93
  type: :runtime
68
- prerelease: false
69
- version_requirements: *17462580
94
+ version_requirements: *id005
70
95
  description: attach an irb-like session to any object at runtime
71
96
  email: jrmair@gmail.com
72
- executables:
97
+ executables:
73
98
  - pry
74
99
  extensions: []
100
+
75
101
  extra_rdoc_files: []
76
- files:
102
+
103
+ files:
77
104
  - lib/pry/commands.rb
105
+ - lib/pry/version.rb
78
106
  - lib/pry/command_base.rb
79
- - lib/pry/completion.rb
80
- - lib/pry/core_extensions.rb
107
+ - lib/pry/prompts.rb
81
108
  - lib/pry/hooks.rb
109
+ - lib/pry/core_extensions.rb
110
+ - lib/pry/completion.rb
82
111
  - lib/pry/print.rb
83
- - lib/pry/prompts.rb
84
112
  - lib/pry/pry_class.rb
85
113
  - lib/pry/pry_instance.rb
86
- - lib/pry/version.rb
87
114
  - lib/pry.rb
88
- - examples/example_basic.rb
89
115
  - examples/example_commands.rb
90
- - examples/example_command_override.rb
91
- - examples/example_hooks.rb
92
116
  - examples/example_image_edit.rb
93
- - examples/example_input.rb
94
117
  - examples/example_input2.rb
118
+ - examples/example_prompt.rb
119
+ - examples/example_command_override.rb
95
120
  - examples/example_output.rb
121
+ - examples/example_hooks.rb
96
122
  - examples/example_print.rb
97
- - examples/example_prompt.rb
123
+ - examples/example_basic.rb
124
+ - examples/example_input.rb
98
125
  - test/test.rb
99
126
  - test/test_helper.rb
127
+ - test/testrc
100
128
  - CHANGELOG
101
129
  - LICENSE
102
130
  - README.markdown
103
131
  - Rakefile
104
132
  - .gemtest
105
133
  - bin/pry
106
- has_rdoc: true
134
+ has_rdoc: yard
107
135
  homepage: http://banisterfiend.wordpress.com
108
136
  licenses: []
137
+
109
138
  post_install_message:
110
139
  rdoc_options: []
111
- require_paths:
140
+
141
+ require_paths:
112
142
  - lib
113
- required_ruby_version: !ruby/object:Gem::Requirement
143
+ required_ruby_version: !ruby/object:Gem::Requirement
114
144
  none: false
115
- requirements:
116
- - - ! '>='
117
- - !ruby/object:Gem::Version
118
- version: '0'
119
- required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ segments:
149
+ - 0
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
152
  none: false
121
- requirements:
122
- - - ! '>'
123
- - !ruby/object:Gem::Version
124
- version: 1.3.1
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ segments:
157
+ - 0
158
+ version: "0"
125
159
  requirements: []
160
+
126
161
  rubyforge_project:
127
- rubygems_version: 1.6.0
162
+ rubygems_version: 1.3.7
128
163
  signing_key:
129
164
  specification_version: 3
130
165
  summary: attach an irb-like session to any object at runtime
131
166
  test_files: []
167
+