error-locator 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,10 +4,11 @@ module ActionDispatch
|
|
|
4
4
|
# This middleware rescues any exception returned by the application and renders
|
|
5
5
|
# nice exception pages if it's being rescued locally.
|
|
6
6
|
class ShowExceptions
|
|
7
|
+
self.send(:remove_const, 'RESCUES_TEMPLATE_PATH')
|
|
7
8
|
RESCUES_TEMPLATE_PATH = File.join(File.dirname(__FILE__), 'templates')
|
|
8
9
|
|
|
9
10
|
def full_trace(exception)
|
|
10
11
|
exception.backtrace
|
|
11
12
|
end
|
|
12
13
|
end
|
|
13
|
-
end
|
|
14
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: error-locator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
|
-
- -
|
|
19
|
+
- - ! '>'
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
21
|
version: 3.0.0
|
|
22
22
|
type: :runtime
|
|
@@ -24,7 +24,7 @@ dependencies:
|
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
none: false
|
|
26
26
|
requirements:
|
|
27
|
-
- -
|
|
27
|
+
- - ! '>'
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: 3.0.0
|
|
30
30
|
description: Set $EDITOR environment variable to your desired editor, add 'error-locator'
|