pry-rescue 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/bin/rescue +1 -1
- data/lib/pry-rescue/rspec.rb +7 -1
- data/pry-rescue.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9858e248a006df546dbc0e2e4a5b0055e9f0e2276bce651729af051d88741ec7
|
4
|
+
data.tar.gz: dbc440ce345d54877bd894a8dfe89c9d497e4f144ffcc5dadf702bb89887c7cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cccaff14cd38dfe24cfa8a85d7121b90f526e214cb6accf474e1237429a372d871eb5189e696ea18b4eb34371f236ebfeee0559202d1301be11b0bf8d06ebdd9
|
7
|
+
data.tar.gz: 5236813e00b7a5198159d181c1b660c4aad9b4f8c1b7c50a9c69d39753d5641d8f8efe24176a51f709b91d1f28301baae577d930c5cfe393d93ebbc8f958db89
|
data/CHANGELOG.md
CHANGED
data/bin/rescue
CHANGED
data/lib/pry-rescue/rspec.rb
CHANGED
@@ -50,7 +50,13 @@ class PryRescue
|
|
50
50
|
unless Capybara.respond_to?(:reset_sessions_after_rescue!)
|
51
51
|
class << Capybara
|
52
52
|
alias_method :reset_sessions_after_rescue!, :reset_sessions!
|
53
|
-
def reset_sessions
|
53
|
+
def reset_sessions!
|
54
|
+
return if Capybara.raise_server_errors
|
55
|
+
|
56
|
+
session_pool.reverse_each do |_mode, session|
|
57
|
+
session.server.reset_error!
|
58
|
+
end
|
59
|
+
end
|
54
60
|
end
|
55
61
|
|
56
62
|
after_filters << Capybara.method(:reset_sessions_after_rescue!)
|
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 = '1.
|
3
|
+
s.version = '1.6.0'
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-rescue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Conrad Irwin
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
|
-
rubygems_version: 3.1
|
195
|
+
rubygems_version: 3.0.3.1
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: Open a pry session on any unhandled exceptions
|