skylight 6.0.3 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/skylight/probes/action_controller.rb +8 -1
- data/lib/skylight/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: 4b0217b6b6828530f0fe344fbb3ca9ada78c96188e30ebe6556b74e9a152b1d2
|
4
|
+
data.tar.gz: 2b50af0d2954293733319ae585480329431a6000df515ba28f45e8a7cf9946e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bee5a6d0dcff8bcd132209bc48e726a25a3ecce65f4130c74bde52c9a4187cfcfe13358efd3ec8f8f4bbbca017204384e73be1ed71efbbf00a18f94fca3affb
|
7
|
+
data.tar.gz: 2d799ddf111d8bb4caae235b29010620aa90fa4618e3de7dc9fab2ff7a68e61b4a0f642d45f58761942df55effa1b8c6daf2bafc043259a6767395ed9c45d8f7
|
data/CHANGELOG.md
CHANGED
@@ -11,7 +11,14 @@ module Skylight
|
|
11
11
|
def append_info_to_payload(payload)
|
12
12
|
append_info_to_payload_without_sk(payload)
|
13
13
|
|
14
|
-
|
14
|
+
mime = sk_rendered_mime.try(:ref)
|
15
|
+
|
16
|
+
payload[:sk_rendered_format] = if request&.headers&.[]("Turbo-Frame")
|
17
|
+
[mime, "turbo-frame"].compact.join("+")
|
18
|
+
else
|
19
|
+
mime
|
20
|
+
end
|
21
|
+
|
15
22
|
payload[:sk_variant] = request.respond_to?(:variant) ? request.variant : nil
|
16
23
|
end
|
17
24
|
|
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: 6.0.
|
4
|
+
version: 6.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -399,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
399
399
|
- !ruby/object:Gem::Version
|
400
400
|
version: '0'
|
401
401
|
requirements: []
|
402
|
-
rubygems_version: 3.
|
402
|
+
rubygems_version: 3.4.10
|
403
403
|
signing_key:
|
404
404
|
specification_version: 4
|
405
405
|
summary: Skylight is a smart profiler for Rails, Sinatra, and other Ruby apps.
|