pry-rescue 0.12 → 0.13.pre.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,23 @@
1
+ # TODO: it should be possible to do all this by simply wrapping
2
+ # MiniTest::Unit::TestCase in recent versions of minitest.
3
+ # Unfortunately the version of minitest bundled with ruby seems to
4
+ # take precedence over the new gem, so we can't do this and still
5
+ # support ruby-1.9.3
6
+ class MiniTest::Unit::TestCase
7
+ alias_method :run_without_rescue, :run
8
+
9
+ def run(runner)
10
+ Pry::rescue do
11
+ run_without_rescue(runner)
12
+ end
13
+ end
14
+ end
15
+
16
+ class << MiniTest::Unit.runner
17
+ alias_method :puke_without_rescue, :puke
18
+
19
+ def puke(suite, test, e)
20
+ Pry::rescued(e)
21
+ puke_without_rescue(suite, test, e)
22
+ end
23
+ end
@@ -0,0 +1,2 @@
1
+ require File.dirname(__FILE__)
2
+ PryRescue.peek_on_signal 'QUIT'
data/pry-rescue.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pry-rescue'
3
- s.version = '0.12'
3
+ s.version = '0.13.pre.1'
4
4
  s.summary = 'Open a pry session on any unhandled exceptions'
5
5
  s.description = 'Allows you to wrap code in Pry::rescue{ } to open a pry session at any unhandled exceptions'
6
6
  s.homepage = 'https://github.com/ConradIrwin/pry-rescue'
metadata CHANGED
@@ -1,109 +1,98 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pry-rescue
3
- version: !ruby/object:Gem::Version
4
- version: '0.12'
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 0
7
+ - 13
8
+ - pre
9
+ - 1
10
+ version: 0.13.pre.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Conrad Irwin
9
14
  - banisterfiend
10
15
  - epitron
11
16
  autorequire:
12
17
  bindir: bin
13
18
  cert_chain: []
14
- date: 2012-10-22 00:00:00.000000000 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
19
+
20
+ date: 2012-10-23 00:00:00 -07:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
17
24
  name: pry
18
- requirement: !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
23
- version: '0'
24
- type: :runtime
25
25
  prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
- requirements:
29
- - - ! '>='
30
- - !ruby/object:Gem::Version
31
- version: '0'
32
- - !ruby/object:Gem::Dependency
33
- name: interception
34
- requirement: !ruby/object:Gem::Requirement
35
- none: false
36
- requirements:
37
- - - ! '>='
38
- - !ruby/object:Gem::Version
39
- version: '0.3'
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ segments:
31
+ - 0
32
+ version: "0"
40
33
  type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: interception
41
37
  prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
45
- - - ! '>='
46
- - !ruby/object:Gem::Version
47
- version: '0.3'
48
- - !ruby/object:Gem::Dependency
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ - 3
45
+ version: "0.3"
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
49
  name: rspec
50
- requirement: !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: '0'
56
- type: :development
57
50
  prerelease: false
58
- version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
- requirements:
61
- - - ! '>='
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- - !ruby/object:Gem::Dependency
65
- name: yard
66
- requirement: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ! '>='
70
- - !ruby/object:Gem::Version
71
- version: '0'
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ version: "0"
72
58
  type: :development
59
+ version_requirements: *id003
60
+ - !ruby/object:Gem::Dependency
61
+ name: yard
73
62
  prerelease: false
74
- version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ! '>='
78
- - !ruby/object:Gem::Version
79
- version: '0'
80
- - !ruby/object:Gem::Dependency
81
- name: redcarpet
82
- requirement: !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ! '>='
86
- - !ruby/object:Gem::Version
87
- version: '0'
63
+ requirement: &id004 !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
69
+ version: "0"
88
70
  type: :development
71
+ version_requirements: *id004
72
+ - !ruby/object:Gem::Dependency
73
+ name: redcarpet
89
74
  prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
- requirements:
93
- - - ! '>='
94
- - !ruby/object:Gem::Version
95
- version: '0'
96
- description: Allows you to wrap code in Pry::rescue{ } to open a pry session at any
97
- unhandled exceptions
98
- email:
75
+ requirement: &id005 !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ segments:
80
+ - 0
81
+ version: "0"
82
+ type: :development
83
+ version_requirements: *id005
84
+ description: Allows you to wrap code in Pry::rescue{ } to open a pry session at any unhandled exceptions
85
+ email:
99
86
  - conrad.irwin@gmail.com
100
87
  - jrmair@gmail.com
101
88
  - chris@ill-logic.com
102
- executables:
89
+ executables:
103
90
  - rescue
104
91
  extensions: []
92
+
105
93
  extra_rdoc_files: []
106
- files:
94
+
95
+ files:
107
96
  - .gitignore
108
97
  - Gemfile
109
98
  - LICENSE.MIT
@@ -120,9 +109,11 @@ files:
120
109
  - lib/pry-rescue/cli.rb
121
110
  - lib/pry-rescue/commands.rb
122
111
  - lib/pry-rescue/core_ext.rb
112
+ - lib/pry-rescue/minitest.rb
123
113
  - lib/pry-rescue/peek.rb
124
114
  - lib/pry-rescue/peek/exit.rb
125
115
  - lib/pry-rescue/peek/int.rb
116
+ - lib/pry-rescue/peek/quit.rb
126
117
  - lib/pry-rescue/peek/usr1.rb
127
118
  - lib/pry-rescue/peek/usr2.rb
128
119
  - lib/pry-rescue/rack.rb
@@ -140,29 +131,37 @@ files:
140
131
  - spec/fixtures/uri.rb
141
132
  - spec/peek_spec.rb
142
133
  - spec/pry_rescue_spec.rb
134
+ has_rdoc: true
143
135
  homepage: https://github.com/ConradIrwin/pry-rescue
144
136
  licenses: []
137
+
145
138
  post_install_message:
146
139
  rdoc_options: []
147
- require_paths:
140
+
141
+ require_paths:
148
142
  - lib
149
- required_ruby_version: !ruby/object:Gem::Requirement
150
- none: false
151
- requirements:
152
- - - ! '>='
153
- - !ruby/object:Gem::Version
154
- version: '0'
155
- required_rubygems_version: !ruby/object:Gem::Requirement
156
- none: false
157
- requirements:
158
- - - ! '>='
159
- - !ruby/object:Gem::Version
160
- version: '0'
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ segments:
148
+ - 0
149
+ version: "0"
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">"
153
+ - !ruby/object:Gem::Version
154
+ segments:
155
+ - 1
156
+ - 3
157
+ - 1
158
+ version: 1.3.1
161
159
  requirements: []
160
+
162
161
  rubyforge_project:
163
- rubygems_version: 1.8.24
162
+ rubygems_version: 1.3.6
164
163
  signing_key:
165
164
  specification_version: 3
166
165
  summary: Open a pry session on any unhandled exceptions
167
166
  test_files: []
168
- has_rdoc:
167
+