pry 0.10.3-java → 0.10.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pry/code.rb +2 -0
- data/lib/pry/commands/show_info.rb +6 -0
- data/lib/pry/commands/whereami.rb +6 -0
- data/lib/pry/history.rb +1 -1
- data/lib/pry/module_candidate.rb +1 -0
- data/lib/pry/pager.rb +3 -0
- data/lib/pry/version.rb +1 -1
- data/lib/pry/wrapped_module.rb +1 -0
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5fb1955b168cfa4949d5c7f74265caeceb5dfd3
|
4
|
+
data.tar.gz: 08a2b56e67aef2cdaf4fb6c4aa3ac0c1e8bf395f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac3e0dc8d3caca34ebcb87674604f64c0008c8dbead47e072530509cae9d80e1d1bc364b6fc8bfde7bfe9b18c84c8ec32528f60dfdc4c7d99206097c732b19ac
|
7
|
+
data.tar.gz: 088a2f47add7c3e16ca078f4e84ebac15b05051d945b3f5c25a295292ec6478bf5bbe0c6752a143f16d323116fbf1e19ebd72b5fbbfa716830a9181a768fe20a
|
data/lib/pry/code.rb
CHANGED
@@ -91,6 +91,8 @@ class Pry
|
|
91
91
|
@lines = lines.each_with_index.map { |line, lineno|
|
92
92
|
LOC.new(line, lineno + start_line.to_i) }
|
93
93
|
@code_type = code_type
|
94
|
+
|
95
|
+
@with_marker = @with_indentation = nil
|
94
96
|
end
|
95
97
|
|
96
98
|
# Append the given line. +lineno+ is one more than the last existing
|
@@ -4,6 +4,12 @@ class Pry
|
|
4
4
|
|
5
5
|
command_options :shellwords => false, :interpolate => false
|
6
6
|
|
7
|
+
def initialize(*)
|
8
|
+
super
|
9
|
+
|
10
|
+
@used_super = nil
|
11
|
+
end
|
12
|
+
|
7
13
|
def options(opt)
|
8
14
|
opt.on :s, :super, "Select the 'super' method. Can be repeated to traverse the ancestors", :as => :count
|
9
15
|
opt.on :l, "line-numbers", "Show line numbers"
|
data/lib/pry/history.rb
CHANGED
data/lib/pry/module_candidate.rb
CHANGED
data/lib/pry/pager.rb
CHANGED
@@ -133,6 +133,8 @@ class Pry::Pager
|
|
133
133
|
pager
|
134
134
|
end
|
135
135
|
|
136
|
+
@system_pager = nil
|
137
|
+
|
136
138
|
def self.available?
|
137
139
|
if @system_pager.nil?
|
138
140
|
@system_pager = begin
|
@@ -151,6 +153,7 @@ class Pry::Pager
|
|
151
153
|
super
|
152
154
|
@tracker = PageTracker.new(height, width)
|
153
155
|
@buffer = ""
|
156
|
+
@pager = nil
|
154
157
|
end
|
155
158
|
|
156
159
|
def write(str)
|
data/lib/pry/version.rb
CHANGED
data/lib/pry/wrapped_module.rb
CHANGED
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.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- John Mair (banisterfiend)
|
@@ -10,76 +10,76 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coderay
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- - ~>
|
19
|
+
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 1.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - ~>
|
26
|
+
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 1.1.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: slop
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - ~>
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '3.4'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - ~>
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '3.4'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: method_source
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ~>
|
47
|
+
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: 0.8.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - ~>
|
54
|
+
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 0.8.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: bundler
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - ~>
|
61
|
+
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '1.0'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - ~>
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '1.0'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: spoon
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - ~>
|
75
|
+
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0.0'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- - ~>
|
82
|
+
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0.0'
|
85
85
|
description: An IRB alternative and runtime developer console
|
@@ -231,17 +231,17 @@ require_paths:
|
|
231
231
|
- lib
|
232
232
|
required_ruby_version: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- -
|
234
|
+
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
|
-
- -
|
239
|
+
- - ">="
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: '0'
|
242
242
|
requirements: []
|
243
243
|
rubyforge_project:
|
244
|
-
rubygems_version: 2.
|
244
|
+
rubygems_version: 2.5.1
|
245
245
|
signing_key:
|
246
246
|
specification_version: 4
|
247
247
|
summary: An IRB alternative and runtime developer console
|