rails-profiler 0.47.1 → 0.47.2
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 +8 -0
- data/lib/profiler/configuration.rb +5 -4
- data/lib/profiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb8c3d51a66472ade2bc6532c91b8d184a034b39d10e50ce038493ebba71b479
|
|
4
|
+
data.tar.gz: 1f4cc3bedde076969b4b48b6d57165d668008d5a7cb9df8e2cc8b887e1ed10f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b9128397cf2724988252473e74755cf39b73a15612d77d30e7331f2dfd075730be879f79083194d46c96f07b946719c6fb77b2091f2211f9276a1fded2d0d08
|
|
7
|
+
data.tar.gz: c7d14e12d04c9e77e13b52274fe937e6eeea6a1cf2f1460168c7ab3aa46c4ebf98684b93dc0e676c18068a87f160566c8484aba414ad96969cbda30e7e11b956
|
data/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,14 @@ every commit of every tag interval is accounted for one way or the other.
|
|
|
19
19
|
|
|
20
20
|
## [Unreleased]
|
|
21
21
|
|
|
22
|
+
## [0.47.2] - 2026-11-08
|
|
23
|
+
|
|
24
|
+
<!-- stamped -->
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- The Firefox extension could not show the dashboard in its DevTools panel: the default `config.frame_ancestors` named `chrome-extension:` and `devtools:` but not `moz-extension:`, the scheme of a Firefox extension page, so Firefox refused the iframe. The default is now `["'self'", "chrome-extension:", "moz-extension:", "devtools:"]`. An app that sets `config.frame_ancestors` itself keeps its own list and must add `"moz-extension:"` to it.
|
|
29
|
+
|
|
22
30
|
## [0.47.1] - 2026-11-07
|
|
23
31
|
|
|
24
32
|
<!-- stamped -->
|
|
@@ -110,10 +110,11 @@ module Profiler
|
|
|
110
110
|
@extension_cors_enabled = false
|
|
111
111
|
@cors_allowed_origins = []
|
|
112
112
|
@api_forgery_protection = true
|
|
113
|
-
# The
|
|
114
|
-
# chrome-extension:// page, itself inside the devtools://
|
|
115
|
-
# checks frame-ancestors against every ancestor, so both schemes are
|
|
116
|
-
|
|
113
|
+
# The browser extension shows the profiler in a DevTools panel: an iframe inside a
|
|
114
|
+
# chrome-extension:// page (moz-extension:// on Firefox), itself inside the devtools://
|
|
115
|
+
# front end. Chrome checks frame-ancestors against every ancestor, so both schemes are
|
|
116
|
+
# needed there. On Firefox, a moz-extension: parent was enough in a test.
|
|
117
|
+
@frame_ancestors = ["'self'", "chrome-extension:", "moz-extension:", "devtools:"]
|
|
117
118
|
@track_ajax = true
|
|
118
119
|
@ajax_skip_paths = [/^\/_profiler/]
|
|
119
120
|
@track_http = true
|
data/lib/profiler/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-profiler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.47.
|
|
4
|
+
version: 0.47.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sébastien Duplessy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|