pry-stack_explorer 0.4.9.1 → 0.4.9.2

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: fd5832a0c2f991f034936ca3984c446a14ff4043
4
- data.tar.gz: 2638ccc51a277a7e3032a9b69099c3cff0f7cdb7
3
+ metadata.gz: 21a04786fb810c93a0ea183c18cca6254254ed87
4
+ data.tar.gz: db17a76ac8fed1d6ff7c517dc4496da16deeed4f
5
5
  SHA512:
6
- metadata.gz: 726b96df0b564138ecf556d01c693a60c683765f2f0755169b078c511197c1ef198eac33008120616069b0e11dd4b877f5cc2f16fb4986603172f976a1fbf1d6
7
- data.tar.gz: 72ef3ea1a8161e0a101a06d23529cd205f94f2ca4ffd5ee8f67eda5288977919734605ebc8943b23ea8681bbdb199596fe6cff1178f12d0dbeaddd421388eeb3
6
+ metadata.gz: dee7d3145e5cef1a2385c829d23b5f715b9e7bbd67b52a0cfd2035535e9f3c58308c654c5b045e7fc871ba75da5fa8a12bc5af715e0775ebdab44e84038dc4b4
7
+ data.tar.gz: 24d28605c51a2e5bb64fbdad268b958232baf4823865f67126bf6bc4dc1390b463660465c7329c52a3ef4407e0f36dd7252c8877ba02ccf3c4f2a584917bbe6f
@@ -1,3 +1,3 @@
1
1
  module PryStackExplorer
2
- VERSION = "0.4.9.1"
2
+ VERSION = "0.4.9.2"
3
3
  end
@@ -21,6 +21,7 @@ module PryStackExplorer
21
21
  end
22
22
 
23
23
  def call(target, options, _pry_)
24
+ target ||= _pry_.binding_stack.first if _pry_
24
25
  options = {
25
26
  :call_stack => true,
26
27
  :initial_frame => 0
@@ -57,9 +58,9 @@ module PryStackExplorer
57
58
  bindings.drop(start_frame_index + 1)
58
59
  end
59
60
 
60
- # remove pry-nav / pry-debugger frames
61
+ # remove pry-nav / pry-debugger / pry-byebug frames
61
62
  def remove_debugger_frames(bindings)
62
- bindings.drop_while { |b| b.eval("__FILE__") =~ /pry-(?:nav|debugger)/ }
63
+ bindings.drop_while { |b| b.eval("__FILE__") =~ /pry-(?:nav|debugger|byebug)/ }
63
64
  end
64
65
 
65
66
  # binding.pry frame
@@ -1,18 +1,19 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ # stub: pry-stack_explorer 0.4.9.2 ruby lib
2
3
 
3
4
  Gem::Specification.new do |s|
4
5
  s.name = "pry-stack_explorer"
5
- s.version = "0.4.9.1"
6
+ s.version = "0.4.9.2"
6
7
 
7
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
9
  s.authors = ["John Mair (banisterfiend)"]
9
- s.date = "2013-08-03"
10
+ s.date = "2015-02-16"
10
11
  s.description = "Walk the stack in a Pry session"
11
12
  s.email = "jrmair@gmail.com"
12
13
  s.files = [".gemtest", ".gitignore", ".travis.yml", ".yardopts", "CHANGELOG", "Gemfile", "LICENSE", "README.md", "Rakefile", "examples/example.rb", "examples/example2.rb", "examples/example3.rb", "lib/pry-stack_explorer.rb", "lib/pry-stack_explorer/commands.rb", "lib/pry-stack_explorer/frame_manager.rb", "lib/pry-stack_explorer/version.rb", "lib/pry-stack_explorer/when_started_hook.rb", "pry-stack_explorer.gemspec", "test/helper.rb", "test/test_commands.rb", "test/test_frame_manager.rb", "test/test_stack_explorer.rb", "tester.rb"]
13
14
  s.homepage = "https://github.com/pry/pry-stack_explorer"
14
15
  s.require_paths = ["lib"]
15
- s.rubygems_version = "2.0.3"
16
+ s.rubygems_version = "2.1.11"
16
17
  s.summary = "Walk the stack in a Pry session"
17
18
  s.test_files = ["test/helper.rb", "test/test_commands.rb", "test/test_frame_manager.rb", "test/test_stack_explorer.rb"]
18
19
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-stack_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9.1
4
+ version: 0.4.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mair (banisterfiend)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-03 00:00:00.000000000 Z
11
+ date: 2015-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubyforge_project:
117
- rubygems_version: 2.0.3
117
+ rubygems_version: 2.1.11
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Walk the stack in a Pry session