honeybadger 2.5.2 → 2.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/honeybadger/notice.rb +1 -8
- data/lib/honeybadger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 960bb68ee11d0d8dce4c6eb5d9311993653f33db
|
|
4
|
+
data.tar.gz: a2c016f3cadd8d29dba7c5d1771e113ae568c2aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cb05d59a7a735ef68afa3527c555a4206db6fea6aaf97023b6d5e314466229bbf0931542f86d8ac5ee554bd0b0a990246aff1713c849e54dcf023032d28956d
|
|
7
|
+
data.tar.gz: b10c5fa1d237940f8cef27852c97f43ca0e02222495f5d062d3f9d2352000c635906685c758f284877bdc7c55d9cbcb9e04270a5c63cb3c0ca8e1368d2bc2ffd
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased][unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.5.3] - 2016-03-10
|
|
9
|
+
### Fixed
|
|
10
|
+
- Squashed a bug where the wrong source extract was sent for some instances of
|
|
11
|
+
`ActionView::Template::Error`.
|
|
12
|
+
|
|
8
13
|
## [2.5.2] - 2016-03-08
|
|
9
14
|
### Fixed
|
|
10
15
|
- Allow plugin names in config to be symbols or strings (#177).
|
data/lib/honeybadger/notice.rb
CHANGED
|
@@ -319,14 +319,7 @@ module Honeybadger
|
|
|
319
319
|
def extract_source_from_backtrace(backtrace, config, opts)
|
|
320
320
|
return nil if backtrace.lines.empty?
|
|
321
321
|
|
|
322
|
-
|
|
323
|
-
# If present, use that instead.
|
|
324
|
-
if exception.respond_to?(:source_extract) && exception.source_extract
|
|
325
|
-
Hash[exception.source_extract.split("\n").map do |line|
|
|
326
|
-
parts = line.split(': ')
|
|
327
|
-
[parts[0].strip, parts[1] || '']
|
|
328
|
-
end]
|
|
329
|
-
elsif backtrace.application_lines.any?
|
|
322
|
+
if backtrace.application_lines.any?
|
|
330
323
|
backtrace.application_lines.first.source(config[:'exceptions.source_radius'])
|
|
331
324
|
else
|
|
332
325
|
backtrace.lines.first.source(config[:'exceptions.source_radius'])
|
data/lib/honeybadger/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: honeybadger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Honeybadger Industries LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
|
14
14
|
email:
|