rorvswild 1.9.0 → 1.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d31f6ef0dd4fcc5e08ae7e1240394079152dcf8af49c981daf0c03bbd9011e99
|
4
|
+
data.tar.gz: b30e2b3e985f0da7ca5f4e286c5a4cce25f81c2b86675eba2015176bddf69600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d8cffc2578da110fda0d4c2e7b7c2f592b62d3ed6379051df91888634d9530d44bf199362c8f8c5a9a3bbcd153f0c3cc8e326771dfc8a8a85fbe3b2daa8b110
|
7
|
+
data.tar.gz: 526fbfb4f3adabf86aef6f8996cd0b0bff80fc308fa21038a2d78679ce5d3dad90aa04ea565cb4953f756f0066e5893a51cbcad4bc46294b6414eb4d2742f2e9
|
@@ -204,6 +204,7 @@ RorVsWild.Local.Request.prototype.sections = function() {
|
|
204
204
|
kind: section.kind.substring(0, 7),
|
205
205
|
file: section.file,
|
206
206
|
line: section.line,
|
207
|
+
isLineRelevant: section.line > 0,
|
207
208
|
location: section.kind == "view" ? section.file : section.file + ":" + section.line,
|
208
209
|
locationUrl: RorVsWild.Local.pathToUrl(this.data.environment.cwd, section.file, section.line),
|
209
210
|
isAsync: RorVsWild.Local.relevantRounding(section.async_runtime) > 0,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div id="RorVsWild.Local" class="is-<%= widget_position %>" >
|
2
2
|
<% if @current_request %>
|
3
|
-
<div data-barber="RorVsWild.Local" data-editor-url="<%= editor_url %>" data-request-uuid="<%= @current_request[
|
3
|
+
<div data-barber="RorVsWild.Local" data-editor-url="<%= editor_url %>" data-request-uuid="<%= @current_request[:uuid] %>"></div>
|
4
4
|
<% else %>
|
5
5
|
<div data-barber="RorVsWild.Local" data-editor-url="<%= editor_url %>"></div>
|
6
6
|
<% end %>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<% if @current_request %>
|
58
58
|
{{#embedded}}
|
59
|
-
<div class="rorvswild-local-toggler" data-events="click->toggle" data-uuid="<%= @current_request[
|
59
|
+
<div class="rorvswild-local-toggler" data-events="click->toggle" data-uuid="<%= @current_request[:uuid] %>"><%= @current_request[:runtime].round %><small>ms</small></div>
|
60
60
|
{{/embedded}}
|
61
61
|
<% end %>
|
62
62
|
</script>
|
@@ -170,7 +170,9 @@
|
|
170
170
|
<a href="{{locationUrl}}" class="rorvswild-local-panel__file__name" title="Open in your editor">{{location}}</a>
|
171
171
|
{{/locationUrl}}
|
172
172
|
{{^locationUrl}}
|
173
|
-
<span class="rorvswild-local-panel__file__name">{{file}}
|
173
|
+
<span class="rorvswild-local-panel__file__name">{{file}}
|
174
|
+
{{#isLineRelevant}}<span>:{{line}}</span>{{/isLineRelevant}}
|
175
|
+
</span>
|
174
176
|
{{/locationUrl}}
|
175
177
|
</span>
|
176
178
|
<span class="rorvswild-local-panel__details__section__average" title="Self runtime">{{selfRuntime}}<small>ms</small></span>
|
@@ -13,10 +13,12 @@ module RorVsWild
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def start(name, id, payload)
|
16
|
+
return if !payload[:identifier]
|
16
17
|
RorVsWild::Section.start
|
17
18
|
end
|
18
19
|
|
19
20
|
def finish(name, id, payload)
|
21
|
+
return if !payload[:identifier]
|
20
22
|
RorVsWild::Section.stop do |section|
|
21
23
|
section.kind = "view"
|
22
24
|
section.commands << RorVsWild.agent.locator.relative_path(payload[:identifier])
|
data/lib/rorvswild/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rorvswild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Bernard
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Performances and errors insights for rails developers.
|
15
15
|
email:
|