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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e51e43a611f312350e7a43a7610b6d60df84188a
4
- data.tar.gz: 1c3daace25b57e644d5800c0aff32b59082d1193
3
+ metadata.gz: a5fb1955b168cfa4949d5c7f74265caeceb5dfd3
4
+ data.tar.gz: 08a2b56e67aef2cdaf4fb6c4aa3ac0c1e8bf395f
5
5
  SHA512:
6
- metadata.gz: 9b638212584b34551ef309caf9d3bf0480fecedf06f00a03add7c38f3590a8656b896fbf972d22091ae1ab1b5237c2b3bbc7ede8d206f38d94a6d82266863153
7
- data.tar.gz: 5a396b134d69cef8abfee8086a6b355b0dd1e2113af9237f27e90695b64f81f8bd51b9b5a3a8ae7fc51628fbf59eee51a13457357243ef8d3cea2456e6e79aaa
6
+ metadata.gz: ac3e0dc8d3caca34ebcb87674604f64c0008c8dbead47e072530509cae9d80e1d1bc364b6fc8bfde7bfe9b18c84c8ec32528f60dfdc4c7d99206097c732b19ac
7
+ data.tar.gz: 088a2f47add7c3e16ca078f4e84ebac15b05051d945b3f5c25a295292ec6478bf5bbe0c6752a143f16d323116fbf1e19ebd72b5fbbfa716830a9181a768fe20a
@@ -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"
@@ -1,6 +1,12 @@
1
1
  class Pry
2
2
  class Command::Whereami < Pry::ClassCommand
3
3
 
4
+ def initialize(*)
5
+ super
6
+
7
+ @method_code = nil
8
+ end
9
+
4
10
  class << self
5
11
  attr_accessor :method_size_cutoff
6
12
  end
@@ -83,7 +83,7 @@ class Pry
83
83
  def read_from_file
84
84
  path = history_file_path
85
85
 
86
- if File.exists?(path)
86
+ if File.exist?(path)
87
87
  File.foreach(path) { |line| yield(line) }
88
88
  end
89
89
  rescue => error
@@ -49,6 +49,7 @@ class Pry
49
49
  raise CommandError, "No such module candidate. Allowed candidates range is from 0 to #{number_of_candidates - 1}"
50
50
  end
51
51
 
52
+ @source = @source_location = nil
52
53
  @rank = rank
53
54
  @file, @line = source_location
54
55
  end
@@ -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)
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.10.3"
2
+ VERSION = "0.10.4"
3
3
  end
@@ -63,6 +63,7 @@ class Pry
63
63
  @source = nil
64
64
  @source_location = nil
65
65
  @doc = nil
66
+ @all_source_locations_by_popularity = nil
66
67
  end
67
68
 
68
69
  # Returns an array of the names of the constants accessible in the wrapped
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.3
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: 2015-10-15 00:00:00.000000000 Z
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.0.14
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