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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91bc44ba5b4333966b0445527c4ed592fb2d9ded75e5560b1ffe8a9dd94bf3ea
4
- data.tar.gz: 98b7b5b33220028a7402a25ce2594efcace4805a114433443a30b3a6adcc3e61
3
+ metadata.gz: eb8c3d51a66472ade2bc6532c91b8d184a034b39d10e50ce038493ebba71b479
4
+ data.tar.gz: 1f4cc3bedde076969b4b48b6d57165d668008d5a7cb9df8e2cc8b887e1ed10f3
5
5
  SHA512:
6
- metadata.gz: 8e3f5b37812f455601e1d8f6656df747ae01161a71f3556561b85869652511382e3bd506caeb7a05a3319c638ab2c4d2578e92b3ea7cdb8db5d3096bb3d223e8
7
- data.tar.gz: 1551af3171c718e4fa17a7e10dbc9ee6f6fdee63361a2aa70ef490c49b62bf2f0083637ed7245631838e321ad4d6513235e9bc5bec43ab83fb154ccc47a0bc8c
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 Chrome extension shows the profiler in a DevTools panel: an iframe inside a
114
- # chrome-extension:// page, itself inside the devtools://devtools front end. Chrome
115
- # checks frame-ancestors against every ancestor, so both schemes are needed.
116
- @frame_ancestors = ["'self'", "chrome-extension:", "devtools:"]
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Profiler
4
- VERSION = "0.47.1"
4
+ VERSION = "0.47.2"
5
5
 
6
6
  GEM_ROOT = File.expand_path("../..", __dir__)
7
7
 
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2026-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails