right_support 2.8.27 → 2.8.28
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/right_support/stats/exceptions.rb +3 -3
- data/right_support.gemspec +3 -3
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.8.
|
1
|
+
2.8.28
|
@@ -78,14 +78,14 @@ module RightSupport::Stats
|
|
78
78
|
exceptions["total"] += 1
|
79
79
|
recent = exceptions["recent"]
|
80
80
|
last = recent.last
|
81
|
-
|
81
|
+
where = exception.backtrace && exception.backtrace.first
|
82
|
+
if last && last["type"] == exception.class.name && last["message"] == exception.message && last["where"] == where
|
82
83
|
last["count"] += 1
|
83
84
|
last["when"] = Time.now.to_i
|
84
85
|
else
|
85
|
-
backtrace = exception.backtrace.first if exception.backtrace
|
86
86
|
recent.shift if recent.size >= MAX_RECENT_EXCEPTIONS
|
87
87
|
recent.push({"count" => 1, "when" => Time.now.to_i, "type" => exception.class.name,
|
88
|
-
"message" => exception.message, "where" =>
|
88
|
+
"message" => exception.message, "where" => where})
|
89
89
|
end
|
90
90
|
rescue Exception => e
|
91
91
|
logger.exception("Failed to track exception '#{exception}'", e, :trace) rescue nil
|
data/right_support.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: right_support 2.8.
|
5
|
+
# stub: right_support 2.8.28 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "right_support"
|
9
|
-
s.version = "2.8.
|
9
|
+
s.version = "2.8.28"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Tony Spataro", "Sergey Sergyenko", "Ryan Williamson", "Lee Kirchhoff", "Alexey Karpik", "Scott Messier"]
|
14
|
-
s.date = "2014-08-
|
14
|
+
s.date = "2014-08-15"
|
15
15
|
s.description = "A toolkit of useful, reusable foundation code created by RightScale."
|
16
16
|
s.email = "support@rightscale.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.28
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2014-08-
|
17
|
+
date: 2014-08-15 00:00:00.000000000 Z
|
18
18
|
dependencies: []
|
19
19
|
description: A toolkit of useful, reusable foundation code created by RightScale.
|
20
20
|
email: support@rightscale.com
|
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
segments:
|
160
160
|
- 0
|
161
|
-
hash:
|
161
|
+
hash: 1570969451733484161
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
none: false
|
164
164
|
requirements:
|