failbot 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f19849426b1157a44d160d8830f3b27c6cb92474
4
- data.tar.gz: 60928e3d00961f66514689a7741da5900a7daee4
3
+ metadata.gz: 0bf1cd8e88ccca089754a6f50a95eee082d6c539
4
+ data.tar.gz: 1effc1524d589bf0ec7fef6c889d25e6370d3bbf
5
5
  SHA512:
6
- metadata.gz: a55e4e99838d44b9be16c0e8e47edb6da56f8a09d54dca7a2179d9bf70cc971c77d2b17ef4182454931f1800359106a599b667676919f9c6cc29602d1ac8c520
7
- data.tar.gz: ae4c150bd8b7711b30deceac609149e9d2e7b16930c8377a6534907e6985ffcabef0d50807954f31ae772d6ccac38728557df8516fb0a3c75c53a700667c273e
6
+ metadata.gz: b2d57f92ffc7d22d628585737b7237e9e205ac00227ab933c16a0e285079e57de3dfbd2a23423b10bfb37fbaa5531b113b598c270296d572f0e8afdffe429b58
7
+ data.tar.gz: 5c462f2056572ce7a66cd220179f220f86a0794ae1d0e9f800108f52898262da0919aa175e14935a527a2b5137be5067beb2ac74a3f5dde55770925522fb35a9
@@ -434,7 +434,10 @@ module Failbot
434
434
  backtrace = Array(e.backtrace)
435
435
  cause_backtrace = Array(cause.backtrace)
436
436
  index = -1
437
- while backtrace[index] == cause_backtrace[index]
437
+ min_index = [backtrace.size, cause_backtrace.size].min * -1
438
+ just_in_case = -5000
439
+
440
+ while index > min_index && backtrace[index] == cause_backtrace[index] && index >= just_in_case
438
441
  index -= 1
439
442
  end
440
443
 
@@ -1,3 +1,3 @@
1
1
  module Failbot
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: failbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@rtomayko"
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-14 00:00:00.000000000 Z
13
+ date: 2016-01-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yajl-ruby
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: 1.3.6
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.2.3
110
+ rubygems_version: 2.4.5.1
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Deliver exceptions to Haystack