rails_trace_viewer 0.1.0 → 0.1.1

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: ee7089d7fb74980ab3da97dff49ad0db37fca991d11c26deea295884f53d507e
4
- data.tar.gz: c28776d4e3cd56a26cdd9cd9a30fe9b36079149e1614582c8a00f779109f0dfe
3
+ metadata.gz: d0b03c526bd92657fe33c1eea68ad75bfdc73f4affd75305aa5001bd838f9487
4
+ data.tar.gz: 722a25ff761e45a3d9dd461eb826af36b30ed691339170b5536f447f3aff2bec
5
5
  SHA512:
6
- metadata.gz: 119bdb43c3f579398839a527253273a740aa7039f05b7b9918aefd3abda410fb51d44154d04349d4fa3a33860e84a66381506cb08cb1efdfe1e72388204db843
7
- data.tar.gz: 3cf763350d1b8df9bb775609fb5be65d84c8014f2c161b23b765dc32faa4876636f37fe20b9bf94361789236763d7c3c41253d7d34cbfda11dea9f866a4d82a1
6
+ metadata.gz: 4d079e490077605afc632d410ba64fb1d6b1e02cec74c4b5018b11b0b01113aa5a0fb11340295ccca757639d61519f7bc09b58409089e2663566c36ee6967a1d
7
+ data.tar.gz: 6617bd28c99294557feaa028b735e9dbdc7fc75ec0cd36300ef1c52cbf4a3eb8194eab9ad4f641153fb071d7b4fd7aac309a71b9458f23906c8f4164c5b6b45c
data/README.md CHANGED
@@ -197,6 +197,11 @@ The viewer uses specific colors to represent different parts of the call stack:
197
197
 
198
198
  ## 🛠️ Troubleshooting
199
199
 
200
+ ### **"My app hangs or loads very slowly when the viewer is open."**
201
+ * **Check your Web Server:** Ensure you are using a multi-threaded server like **Puma**.
202
+ * **Why?** This gem uses ActionCable (WebSockets). Single-threaded servers (like **WEBrick**) cannot handle the persistent WebSocket connection and regular HTTP requests at the same time, causing the app to block.
203
+ * **Fix:** Add `gem 'puma'` to your Gemfile and remove `gem 'webrick'`.
204
+
200
205
  ### **"I see the Enqueue node, but the trace stops there."**
201
206
  - Ensure **Sidekiq is running**.
202
207
  - Ensure `config/cable.yml` uses **Redis**, not the async adapter.
@@ -1,5 +1,5 @@
1
1
  module RailsTraceViewer
2
- class TraceChannel < ApplicationCable::Channel
2
+ class TraceChannel < ActionCable::Channel::Base
3
3
  def subscribed
4
4
  stream_from "rails_trace_viewer"
5
5
  end
@@ -1,5 +1,7 @@
1
1
  module RailsTraceViewer
2
2
  class TracesController < ActionController::Base
3
+ layout false
4
+
3
5
  def show
4
6
  end
5
7
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsTraceViewer
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_trace_viewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditya-JOSH 
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-11-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -102,6 +101,7 @@ metadata:
102
101
  homepage_uri: https://github.com/Aditya-JOSH/rails_trace_viewer
103
102
  source_code_uri: https://github.com/Aditya-JOSH/rails_trace_viewer
104
103
  changelog_uri: https://github.com/Aditya-JOSH/rails_trace_viewer/blob/main/CHANGELOG.md
104
+ documentation_uri: https://github.com/Aditya-JOSH/rails_trace_viewer/blob/main/README.md
105
105
  post_install_message: 'Thanks for installing Rails Trace Viewer! Don''t forget to
106
106
  mount the engine in your config/routes.rb: mount RailsTraceViewer::Engine => ''/rails_trace_viewer'''
107
107
  rdoc_options: []
@@ -118,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.4.10
122
- signing_key:
121
+ rubygems_version: 3.7.2
123
122
  specification_version: 4
124
123
  summary: Visualize Rails request flow in real-time.
125
124
  test_files: []