pry 0.9.9.6pre1 → 0.9.9.6pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pry/indent.rb +3 -1
  2. data/lib/pry/version.rb +1 -1
  3. metadata +13 -13
@@ -293,7 +293,9 @@ class Pry
293
293
  whitespace = ' ' * overhang
294
294
 
295
295
  _, cols = screen_size
296
- lines = cols.to_i != 0 ? (full_line.length / cols + 1) : 1
296
+
297
+ cols = cols.to_i
298
+ lines = cols != 0 ? (full_line.length / cols + 1) : 1
297
299
 
298
300
  if defined?(Win32::Console)
299
301
  move_up = "\e[#{lines}F"
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.9.9.6pre1"
2
+ VERSION = "0.9.9.6pre2"
3
3
  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.9.6pre1
4
+ version: 0.9.9.6pre2
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-05-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: coderay
17
- requirement: &70253459742880 !ruby/object:Gem::Requirement
17
+ requirement: &70365485409180 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.0.5
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70253459742880
25
+ version_requirements: *70365485409180
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: slop
28
- requirement: &70253459741560 !ruby/object:Gem::Requirement
28
+ requirement: &70365485408400 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -36,10 +36,10 @@ dependencies:
36
36
  version: '3'
37
37
  type: :runtime
38
38
  prerelease: false
39
- version_requirements: *70253459741560
39
+ version_requirements: *70365485408400
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: method_source
42
- requirement: &70253459740460 !ruby/object:Gem::Requirement
42
+ requirement: &70365485406720 !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
45
45
  - - ~>
@@ -47,10 +47,10 @@ dependencies:
47
47
  version: 0.7.1
48
48
  type: :runtime
49
49
  prerelease: false
50
- version_requirements: *70253459740460
50
+ version_requirements: *70365485406720
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: bacon
53
- requirement: &70253459739900 !ruby/object:Gem::Requirement
53
+ requirement: &70365485405980 !ruby/object:Gem::Requirement
54
54
  none: false
55
55
  requirements:
56
56
  - - ~>
@@ -58,10 +58,10 @@ dependencies:
58
58
  version: '1.1'
59
59
  type: :development
60
60
  prerelease: false
61
- version_requirements: *70253459739900
61
+ version_requirements: *70365485405980
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: open4
64
- requirement: &70253459738920 !ruby/object:Gem::Requirement
64
+ requirement: &70365485405240 !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
67
  - - ~>
@@ -69,10 +69,10 @@ dependencies:
69
69
  version: '1.3'
70
70
  type: :development
71
71
  prerelease: false
72
- version_requirements: *70253459738920
72
+ version_requirements: *70365485405240
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rake
75
- requirement: &70253459738040 !ruby/object:Gem::Requirement
75
+ requirement: &70365485404400 !ruby/object:Gem::Requirement
76
76
  none: false
77
77
  requirements:
78
78
  - - ~>
@@ -80,7 +80,7 @@ dependencies:
80
80
  version: '0.9'
81
81
  type: :development
82
82
  prerelease: false
83
- version_requirements: *70253459738040
83
+ version_requirements: *70365485404400
84
84
  description: An IRB alternative and runtime developer console
85
85
  email:
86
86
  - jrmair@gmail.com