rails_pulse 0.2.5.pre.7 → 0.2.5.pre.8
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/lib/rails_pulse/engine.rb +0 -21
- data/lib/rails_pulse/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6366cd0bded144beb7613d53dacfe1fed298568a66a4bd670fdb3f8d71d0eee1
|
|
4
|
+
data.tar.gz: 0533577c6766baad794135f58cf6efed09da2eb2884e902b5a54d587ad73a4b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e76056f537361c00f664b204b5d7445db39b59bdad719949b6da9623dce4be4ff063dd686df23db40f6600a993ce3adcfaf9a1440fb11152a990d85f949a7631
|
|
7
|
+
data.tar.gz: e43218788eb041e84b40d5aec8c733711f67b60522d65c84024feaaa17e7e44b1533f3c263396768367fc3976a0edae346d36a87d400701350602c7fd2d85835
|
data/lib/rails_pulse/engine.rb
CHANGED
|
@@ -113,27 +113,6 @@ module RailsPulse
|
|
|
113
113
|
end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
initializer "rails_pulse.disable_turbo" do
|
|
117
|
-
# Disable Turbo navigation globally for Rails Pulse to avoid CSP issues with charts
|
|
118
|
-
# This ensures all navigation within Rails Pulse uses full page refreshes
|
|
119
|
-
ActiveSupport.on_load(:action_view) do
|
|
120
|
-
ActionView::Helpers::UrlHelper.module_eval do
|
|
121
|
-
alias_method :original_link_to, :link_to
|
|
122
|
-
|
|
123
|
-
def link_to(*args, &block)
|
|
124
|
-
# Only modify links within Rails Pulse namespace
|
|
125
|
-
if respond_to?(:controller) && controller.class.name.start_with?("RailsPulse::")
|
|
126
|
-
options = args.extract_options!
|
|
127
|
-
options[:data] ||= {}
|
|
128
|
-
options[:data][:turbo] = false unless options[:data].key?(:turbo)
|
|
129
|
-
args << options
|
|
130
|
-
end
|
|
131
|
-
original_link_to(*args, &block)
|
|
132
|
-
end
|
|
133
|
-
end
|
|
134
|
-
end
|
|
135
|
-
end
|
|
136
|
-
|
|
137
116
|
# CSP helper methods
|
|
138
117
|
def self.csp_sources
|
|
139
118
|
{
|
data/lib/rails_pulse/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_pulse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.5.pre.
|
|
4
|
+
version: 0.2.5.pre.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rails Pulse
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
10
|
+
date: 2026-02-06 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -406,7 +405,6 @@ metadata:
|
|
|
406
405
|
allowed_push_host: https://rubygems.org
|
|
407
406
|
homepage_uri: https://www.railspulse.com
|
|
408
407
|
source_code_uri: https://github.com/railspulse/rails_pulse
|
|
409
|
-
post_install_message:
|
|
410
408
|
rdoc_options: []
|
|
411
409
|
require_paths:
|
|
412
410
|
- lib
|
|
@@ -421,8 +419,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
421
419
|
- !ruby/object:Gem::Version
|
|
422
420
|
version: '0'
|
|
423
421
|
requirements: []
|
|
424
|
-
rubygems_version: 3.
|
|
425
|
-
signing_key:
|
|
422
|
+
rubygems_version: 3.6.2
|
|
426
423
|
specification_version: 4
|
|
427
424
|
summary: Ruby on Rails performance monitoring tool.
|
|
428
425
|
test_files: []
|