pry 0.9.12pre3-java → 0.9.12.1-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ba25aa3c3b1c03686023dade2b925bbe539cb5f6
4
+ data.tar.gz: 8485f06eb24491da720789d9b8319d3ae1400f72
5
+ SHA512:
6
+ metadata.gz: 4baf09cc3b412fa6de0749b93b9b4bacb23b4b776b6201b39a056f3cdbec23f1f2c6c42466c582e587785b958f82673054e5ca64bca24a4f864669ff733818f1
7
+ data.tar.gz: 65c5e1e493e8ece18b1015a2c9218bc9c9336dc034b82bc8266c895c233a7029cf4e5e1f66251802e4a557a250f4a4eef49d09f39fffeceee4119b265a14b9b6
data/CHANGELOG CHANGED
@@ -1,3 +1,27 @@
1
+ 21/04/2012 version 0.9.12.1 HOTFIX
2
+ * Fixes #890, workaround for jruby crash related to http://jira.codehaus.org/browse/JRUBY-7114
3
+ * note this fix is just applied to the 0.9.12 tag, not master. However, master has
4
+ this fix applied too.
5
+
6
+ 12/02/2012 version 0.9.12
7
+ Bug fixes:
8
+ * Fix major bug where commands broke due to slop looking at ARGV
9
+ instead of command parameters (#828)
10
+ * Fix bug where pager broke in some situations (#845)
11
+ * Fix broken rendering of some docs (#795)
12
+ * silence warnings during failed tab-completion attempts
13
+ * fix broken prompt when prompt is colored (#822 / #823)
14
+ * added reload-method alias for reload-code (for backwards compat)
15
+ * Reopen Readline.output if it is not a tty (see 1538bc0990)
16
+
17
+ Features:
18
+ * added pry --gem (see 19bfc13aa)
19
+ * show-source now works on commands created with create_command
20
+ * add -m (method) -c (class) and -f (file) switches to 'whereami' command
21
+ * show-source now falls back to superclass if can't find class code
22
+ (displays warning)
23
+ * show-source/show-doc now indicate when -a option is available.
24
+
1
25
  20/01/2012 version 0.9.11.4
2
26
  * fixed pager bug (wouldn't render color codes in some circumstances)
3
27
  * added Pry.last_internal_error, useful for devs debugging commands
@@ -164,7 +164,7 @@ class Pry
164
164
  end
165
165
 
166
166
  def valid_file?(file)
167
- File.exists?(file) || Pry.eval_path == file
167
+ (File.exists?(file) && !File.directory?(file)) || Pry.eval_path == file
168
168
  end
169
169
 
170
170
  def lines_for_file(file)
@@ -262,6 +262,15 @@ class Pry
262
262
  end
263
263
 
264
264
  def self.auto_resize!
265
+ ver = Readline::VERSION
266
+ if ver[/edit/i]
267
+ warn <<-EOT
268
+ Readline version #{ver} detected - will not auto_resize! correctly.
269
+ For the fix, use GNU Readline instead:
270
+ https://github.com/guard/guard/wiki/Add-proper-Readline-support-to-Ruby-on-Mac-OS-X
271
+ EOT
272
+ return
273
+ end
265
274
  trap :WINCH do
266
275
  begin
267
276
  Readline.set_screen_size *Terminal.size!
@@ -618,6 +618,9 @@ class Pry
618
618
  end
619
619
 
620
620
  if input == Readline
621
+ if !$stdout.tty? && $stdin.tty? && !Pry::Helpers::BaseHelpers.windows?
622
+ Readline.output = File.open('/dev/tty', 'w')
623
+ end
621
624
  input.readline(current_prompt, false) # false since we'll add it manually
622
625
  elsif defined? Coolline and input.is_a? Coolline
623
626
  input.readline(current_prompt)
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.9.12pre3"
2
+ VERSION = "0.9.12.1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.12pre3
5
- prerelease: 6
4
+ version: 0.9.12.1
6
5
  platform: java
7
6
  authors:
8
7
  - John Mair (banisterfiend)
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-02-10 00:00:00.000000000 Z
13
+ date: 2013-04-21 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: coderay
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ~>
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ~>
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: slop
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ~>
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ~>
46
41
  - !ruby/object:Gem::Version
@@ -48,7 +43,6 @@ dependencies:
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: method_source
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - ~>
54
48
  - !ruby/object:Gem::Version
@@ -56,7 +50,6 @@ dependencies:
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - ~>
62
55
  - !ruby/object:Gem::Version
@@ -64,7 +57,6 @@ dependencies:
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: bacon
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ~>
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ~>
78
69
  - !ruby/object:Gem::Version
@@ -80,7 +71,6 @@ dependencies:
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: open4
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
75
  - - ~>
86
76
  - !ruby/object:Gem::Version
@@ -88,7 +78,6 @@ dependencies:
88
78
  type: :development
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
82
  - - ~>
94
83
  - !ruby/object:Gem::Version
@@ -96,7 +85,6 @@ dependencies:
96
85
  - !ruby/object:Gem::Dependency
97
86
  name: rake
98
87
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
88
  requirements:
101
89
  - - ~>
102
90
  - !ruby/object:Gem::Version
@@ -104,7 +92,6 @@ dependencies:
104
92
  type: :development
105
93
  prerelease: false
106
94
  version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
95
  requirements:
109
96
  - - ~>
110
97
  - !ruby/object:Gem::Version
@@ -112,7 +99,6 @@ dependencies:
112
99
  - !ruby/object:Gem::Dependency
113
100
  name: guard
114
101
  requirement: !ruby/object:Gem::Requirement
115
- none: false
116
102
  requirements:
117
103
  - - ~>
118
104
  - !ruby/object:Gem::Version
@@ -120,7 +106,6 @@ dependencies:
120
106
  type: :development
121
107
  prerelease: false
122
108
  version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
109
  requirements:
125
110
  - - ~>
126
111
  - !ruby/object:Gem::Version
@@ -128,7 +113,6 @@ dependencies:
128
113
  - !ruby/object:Gem::Dependency
129
114
  name: mocha
130
115
  requirement: !ruby/object:Gem::Requirement
131
- none: false
132
116
  requirements:
133
117
  - - ~>
134
118
  - !ruby/object:Gem::Version
@@ -136,7 +120,6 @@ dependencies:
136
120
  type: :development
137
121
  prerelease: false
138
122
  version_requirements: !ruby/object:Gem::Requirement
139
- none: false
140
123
  requirements:
141
124
  - - ~>
142
125
  - !ruby/object:Gem::Version
@@ -144,7 +127,6 @@ dependencies:
144
127
  - !ruby/object:Gem::Dependency
145
128
  name: bond
146
129
  requirement: !ruby/object:Gem::Requirement
147
- none: false
148
130
  requirements:
149
131
  - - ~>
150
132
  - !ruby/object:Gem::Version
@@ -152,7 +134,6 @@ dependencies:
152
134
  type: :development
153
135
  prerelease: false
154
136
  version_requirements: !ruby/object:Gem::Requirement
155
- none: false
156
137
  requirements:
157
138
  - - ~>
158
139
  - !ruby/object:Gem::Version
@@ -160,7 +141,6 @@ dependencies:
160
141
  - !ruby/object:Gem::Dependency
161
142
  name: spoon
162
143
  requirement: !ruby/object:Gem::Requirement
163
- none: false
164
144
  requirements:
165
145
  - - ~>
166
146
  - !ruby/object:Gem::Version
@@ -168,7 +148,6 @@ dependencies:
168
148
  type: :runtime
169
149
  prerelease: false
170
150
  version_requirements: !ruby/object:Gem::Requirement
171
- none: false
172
151
  requirements:
173
152
  - - ~>
174
153
  - !ruby/object:Gem::Version
@@ -361,27 +340,26 @@ files:
361
340
  - wiki/Home.md
362
341
  homepage: http://pry.github.com
363
342
  licenses: []
343
+ metadata: {}
364
344
  post_install_message:
365
345
  rdoc_options: []
366
346
  require_paths:
367
347
  - lib
368
348
  required_ruby_version: !ruby/object:Gem::Requirement
369
- none: false
370
349
  requirements:
371
- - - ! '>='
350
+ - - '>='
372
351
  - !ruby/object:Gem::Version
373
352
  version: '0'
374
353
  required_rubygems_version: !ruby/object:Gem::Requirement
375
- none: false
376
354
  requirements:
377
- - - ! '>'
355
+ - - '>='
378
356
  - !ruby/object:Gem::Version
379
- version: 1.3.1
357
+ version: '0'
380
358
  requirements: []
381
359
  rubyforge_project:
382
- rubygems_version: 1.8.24
360
+ rubygems_version: 2.0.2
383
361
  signing_key:
384
- specification_version: 3
362
+ specification_version: 4
385
363
  summary: An IRB alternative and runtime developer console
386
364
  test_files:
387
365
  - spec/Procfile