dead_end 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/lib/dead_end/auto.rb +5 -2
- data/lib/dead_end/version.rb +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: 4690f965eeee0b3f75ce6d3f27360a73639a3cb918ee77fafb77c559e278a035
|
4
|
+
data.tar.gz: 95ea085f4a5cf1f8b5882b717fe5f6c08fac7ab97568c9c3022632a52988351e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be19b5b8999599b226de6f0c511d91ce091867b67b30c8e9c5e56b0c3c06ac78c229b1c08823921c0fc461977e2e08d4fb6c2a8d4a796c47d0410ee84ac82da0
|
7
|
+
data.tar.gz: 3c5254b82d3f6e17cbd3012f4b82c2f9ae0df533f521c41eeea08e14ff5e8b8c6fdd17a6aa4b40b655437510d10f9f059df611b8c4496558230741cec7812f15
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/dead_end/auto.rb
CHANGED
@@ -62,6 +62,8 @@ end
|
|
62
62
|
# we can attempt to disable this behavior in a production context.
|
63
63
|
if !DeadEnd::IsProduction.call
|
64
64
|
class NoMethodError
|
65
|
+
alias :original_to_s :to_s
|
66
|
+
|
65
67
|
def to_s
|
66
68
|
return super if DeadEnd::IsProduction.call
|
67
69
|
|
@@ -91,8 +93,9 @@ if !DeadEnd::IsProduction.call
|
|
91
93
|
message << $/
|
92
94
|
message
|
93
95
|
rescue => e
|
94
|
-
puts "DeadEnd Internal error: #{e.
|
95
|
-
puts "DeadEnd Internal backtrace:
|
96
|
+
puts "DeadEnd Internal error: #{e.original_to_s}"
|
97
|
+
puts "DeadEnd Internal backtrace:"
|
98
|
+
puts backtrace.map {|l| " " + l }.join($/)
|
96
99
|
super
|
97
100
|
end
|
98
101
|
end
|
data/lib/dead_end/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dead_end
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schneems
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: When you get an "unexpected end" in your syntax this gem helps you find
|
14
14
|
it
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.2.3
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Find syntax errors in your source in a snap
|