skylight 1.4.2 → 1.4.3
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/lib/skylight/probes/middleware.rb +4 -2
- data/lib/skylight/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: 85741f51a63ae3c379cc67d73d6485e410092b73
|
4
|
+
data.tar.gz: e1d00fd14d49ec7b706bd9af4b4ea481c1c895d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3225e66c4fad5975de891882ab96b11c700b0e70bad78e520cc50a23c1b7676f997e9dffbca8f68f151a4154f3531e6e1e332938003358391900a73f4071bda
|
7
|
+
data.tar.gz: 52d864479ccae948f965a6fe41a76acb2a769b1acaf7fc6f0e3e7e42eca912bc132ae7dbe940d09d96c1bceb079daa2a14c3d4d8e709feb9e67824bf93a19989
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 1.4.3 (October 18, 2017)
|
2
|
+
|
3
|
+
* [BUGFIX] In rare cases, Rails Middleware can be anonymous classes. We now handle those without raising an exception.
|
4
|
+
|
1
5
|
## 1.4.2 (October 11, 2017)
|
2
6
|
|
3
7
|
* [BUGFIX] For experimental deploy tracking support, resolve an error that occurred if the Git SHA and description were not set.
|
@@ -25,9 +25,11 @@ module Skylight
|
|
25
25
|
return call_without_sk(*args, &block) unless trace
|
26
26
|
|
27
27
|
begin
|
28
|
-
|
28
|
+
name = self.class.name || "Anonymous Middleware"
|
29
29
|
|
30
|
-
|
30
|
+
trace.endpoint = name
|
31
|
+
|
32
|
+
span = Skylight.instrument(title: name, category: "rack.middleware")
|
31
33
|
resp = call_without_sk(*args, &block)
|
32
34
|
|
33
35
|
Skylight::Middleware.with_after_close(resp) { trace.done(span) }
|
data/lib/skylight/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|