pry-capture 0.1.pre.2 → 0.1.pre.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,9 +19,8 @@ class Pry
19
19
  end
20
20
  end
21
21
 
22
- ensure
23
- if raised.any?
24
- PryCapture.enter_exception_context(raised)
25
- end
22
+ rescue Exception => e
23
+ PryCapture.enter_exception_context(raised)
24
+ raise
26
25
  end
27
26
  end
data/pry-capture.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
 
5
5
  s.name = 'pry-capture'
6
- s.version = '0.1.pre.2'
6
+ s.version = '0.1.pre.3'
7
7
  s.summary = 'Open a pry session on any unhandled exceptions'
8
8
  s.description = 'Allows you to wrap code in Pry::capture{ } to open a pry session at any unhandled exceptions'
9
9
  s.homepage = 'https://github.com/ConradIrwin/pry-capture'
metadata CHANGED
@@ -1,63 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pry-capture
3
- version: !ruby/object:Gem::Version
4
- hash: 3894174301
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.pre.3
5
5
  prerelease: 4
6
- segments:
7
- - 0
8
- - 1
9
- - pre
10
- - 2
11
- version: 0.1.pre.2
12
6
  platform: ruby
13
- authors:
7
+ authors:
14
8
  - Conrad Irwin
15
9
  - banisterfiend
16
10
  autorequire:
17
11
  bindir: bin
18
12
  cert_chain: []
19
-
20
- date: 2012-08-12 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2012-08-12 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: interception
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
26
18
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
34
23
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: pry-stack_explorer
38
24
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: pry-stack_explorer
33
+ requirement: !ruby/object:Gem::Requirement
40
34
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
48
39
  type: :runtime
49
- version_requirements: *id002
50
- description: Allows you to wrap code in Pry::capture{ } to open a pry session at any unhandled exceptions
51
- email:
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ description: Allows you to wrap code in Pry::capture{ } to open a pry session at any
48
+ unhandled exceptions
49
+ email:
52
50
  - conrad.irwin@gmail.com
53
51
  - jrmair@gmail.com
54
52
  executables: []
55
-
56
53
  extensions: []
57
-
58
54
  extra_rdoc_files: []
59
-
60
- files:
55
+ files:
61
56
  - LICENSE.MIT
62
57
  - README.md
63
58
  - Rakefile
@@ -70,39 +65,27 @@ files:
70
65
  - pry-capture.gemspec
71
66
  homepage: https://github.com/ConradIrwin/pry-capture
72
67
  licenses: []
73
-
74
68
  post_install_message:
75
69
  rdoc_options: []
76
-
77
- require_paths:
70
+ require_paths:
78
71
  - lib
79
- required_ruby_version: !ruby/object:Gem::Requirement
72
+ required_ruby_version: !ruby/object:Gem::Requirement
80
73
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
88
- required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
79
  none: false
90
- requirements:
91
- - - ">"
92
- - !ruby/object:Gem::Version
93
- hash: 25
94
- segments:
95
- - 1
96
- - 3
97
- - 1
80
+ requirements:
81
+ - - ! '>'
82
+ - !ruby/object:Gem::Version
98
83
  version: 1.3.1
99
84
  requirements: []
100
-
101
85
  rubyforge_project:
102
- rubygems_version: 1.8.21
86
+ rubygems_version: 1.8.24
103
87
  signing_key:
104
88
  specification_version: 3
105
89
  summary: Open a pry session on any unhandled exceptions
106
90
  test_files: []
107
-
108
91
  has_rdoc: