rorvswild 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +5 -4
- data/lib/rorvswild/local/javascript/application.js +12 -0
- data/lib/rorvswild/local/javascript/local.js +22 -3
- data/lib/rorvswild/local/local.html +5 -21
- data/lib/rorvswild/local/middleware.rb +30 -16
- data/lib/rorvswild/local/stylesheet/local.css +43 -42
- data/lib/rorvswild/local/stylesheet/vendor/prism.css +11 -9
- data/lib/rorvswild/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1fd14e978613634abbfc1c8731c08177f6bd2aeb4cb3ff2570697fe9ef0ba2dd
|
4
|
+
data.tar.gz: 6774e406a49ecc3c75396c3af5f6572b952b32e99249fd2d35defc566eef52cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45ff577c6cf3850df69a7e3f05500cfbd22b35b37bcba0e0358fe21008307bb3b7c3577e6c87fc51921e1f478775497ac73a3fc01fad26ce1ab43216aeea8d64
|
7
|
+
data.tar.gz: 5739a017268614550d6f20b273588902a4469ccf5f06a595f03e4dbb7cfcc45de55e48d1fdbd3d8b2cf4d63d7952a54170c2914b813add92d58c8579356217f2
|
data/README.md
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# RorVsWild
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/rorvswild.svg)](https://badge.fury.io/rb/rorvswild)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/2c4805cf658d7af794fe/maintainability)](https://codeclimate.com/github/BaseSecrete/rorvswild/maintainability)
|
5
6
|
|
6
7
|
<img align="right" src="/images/rorvswild_logo.jpg">
|
7
8
|
|
8
|
-
*RoRvsWild* is a ruby gem to monitor performances and
|
9
|
+
*RoRvsWild* is a ruby gem to monitor performances and exceptions in Ruby on Rails applications.
|
9
10
|
|
10
11
|
This gem has a double mode, development and production.
|
11
12
|
It can be used without an account to monitor your requests performances in your development environment.
|
12
|
-
It can also be used in your production and staging environments with an account on https://rorvswild.com. With such an account you also get extra benefits such as 30 day trace, background jobs monitoring,
|
13
|
+
It can also be used in your production and staging environments with an account on https://rorvswild.com. With such an account you also get extra benefits such as 30 day trace, background jobs monitoring, exceptions monitoring and notifications.
|
13
14
|
|
14
15
|
|
15
16
|
## Installation
|
@@ -139,7 +140,7 @@ production:
|
|
139
140
|
- Sidekiq # If you don't want to monitor your Sidekiq jobs
|
140
141
|
```
|
141
142
|
|
142
|
-
Here is the equivalent if you prefer
|
143
|
+
Here is the equivalent if you prefer initialising RorVsWild manually.
|
143
144
|
|
144
145
|
```ruby
|
145
146
|
# config/initializers/rorvswild.rb
|
@@ -151,7 +152,7 @@ RorVsWild.start(
|
|
151
152
|
ignore_plugins: ["Sidekiq"])
|
152
153
|
```
|
153
154
|
|
154
|
-
|
155
|
+
Finally here is the list of all plugins you can ignore :
|
155
156
|
|
156
157
|
- ActionController
|
157
158
|
- ActionMailer
|
@@ -0,0 +1,12 @@
|
|
1
|
+
(function() {
|
2
|
+
var RorVsWild = {};
|
3
|
+
var startRorVsWild = function() {
|
4
|
+
// include javascript here
|
5
|
+
Barber.launch(document.getElementById("RorVsWild.Local"), this)
|
6
|
+
}.bind(RorVsWild)
|
7
|
+
|
8
|
+
if (document.readyState != "loading")
|
9
|
+
startRorVsWild()
|
10
|
+
else
|
11
|
+
document.addEventListener("DOMContentLoaded", startRorVsWild)
|
12
|
+
})()
|
@@ -3,9 +3,28 @@ var RorVsWild = this.RorVsWild = {};
|
|
3
3
|
RorVsWild.Local = function(container) {
|
4
4
|
this.root = container
|
5
5
|
this.embedded = !(this.active = location.pathname == "/rorvswild")
|
6
|
-
this.
|
7
|
-
|
8
|
-
|
6
|
+
this.fetchData()
|
7
|
+
}
|
8
|
+
|
9
|
+
RorVsWild.Local.prototype.fetchData = function() {
|
10
|
+
var request = new XMLHttpRequest()
|
11
|
+
request.open("GET", "/rorvswild.json", true)
|
12
|
+
|
13
|
+
request.onload = function(event) {
|
14
|
+
if (request.status >= 200 && request.status < 400) {
|
15
|
+
this.data = JSON.parse(request.response)
|
16
|
+
this.requests = this.data.map(function(data) { return new RorVsWild.Local.Request(data) })
|
17
|
+
this.render()
|
18
|
+
} else {
|
19
|
+
console.error("Unexpected response code " + request.status + " while fetching RorVswild data.")
|
20
|
+
}
|
21
|
+
}.bind(this)
|
22
|
+
|
23
|
+
request.onerror = function() {
|
24
|
+
console.error("Error while fetching RorVswild data.")
|
25
|
+
}
|
26
|
+
|
27
|
+
request.send()
|
9
28
|
}
|
10
29
|
|
11
30
|
RorVsWild.Local.prototype.render = function() {
|
@@ -1,16 +1,12 @@
|
|
1
1
|
<div id="RorVsWild.Local">
|
2
|
-
<div data-barber="RorVsWild.Local"
|
2
|
+
<div data-barber="RorVsWild.Local">
|
3
3
|
</div>
|
4
4
|
</div>
|
5
5
|
|
6
6
|
<script type="x-tmpl-mustache" data-partial="RorVsWild.Local">
|
7
|
-
{{#embedded}}
|
8
|
-
<div class="rorvswild-local-toggler" data-events="click->toggle">{{lastRuntime}}<small>ms</small></div>
|
9
|
-
{{/embedded}}
|
10
7
|
<div id="rorvswild-local-requests" class="rorvswild-local-panel" style="{{containerStyle}}">
|
11
8
|
|
12
9
|
<div class="rorvswild-local-panel__header">
|
13
|
-
|
14
10
|
<a href="https://www.rorvswild.com" class="rorvswild-local-panel__logo">
|
15
11
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34.83 30.83">
|
16
12
|
<polygon points="17.41 9.41 13.41 9.41 9.41 13.41 17.41 21.41 25.41 13.41 21.41 9.41 17.41 9.41"/>
|
@@ -63,6 +59,10 @@
|
|
63
59
|
<a href="https://www.rorvswild.com" class="rorvswild-local-panel__footer__link">create an account</a>.
|
64
60
|
</div>
|
65
61
|
</div>
|
62
|
+
|
63
|
+
{{#embedded}}
|
64
|
+
<div class="rorvswild-local-toggler" data-events="click->toggle">{{lastRuntime}}<small>ms</small></div>
|
65
|
+
{{/embedded}}
|
66
66
|
</script>
|
67
67
|
|
68
68
|
<script type="x-tmpl-mustache" data-partial="RorVsWild.Local.RequestSummary">
|
@@ -114,21 +114,5 @@
|
|
114
114
|
<span class="rorvswild-local-panel__request-details__section__calls" title="calls">x{{calls}}</span>
|
115
115
|
<span class="rorvswild-local-panel__request-details__section__impact" title="impact">{{impact}}<small>%</small></span>
|
116
116
|
</div>
|
117
|
-
|
118
117
|
</div>
|
119
118
|
</script>
|
120
|
-
|
121
|
-
<script>
|
122
|
-
(function() {
|
123
|
-
var RorVsWild = {};
|
124
|
-
var startRorVsWild = function() {
|
125
|
-
%{javascript_source}
|
126
|
-
Barber.launch(document.getElementById("RorVsWild.Local"), this)
|
127
|
-
}.bind(RorVsWild)
|
128
|
-
|
129
|
-
if (document.readyState != "loading")
|
130
|
-
startRorVsWild()
|
131
|
-
else
|
132
|
-
document.addEventListener("DOMContentLoaded", startRorVsWild)
|
133
|
-
})()
|
134
|
-
</script>
|
@@ -10,15 +10,21 @@ module RorVsWild
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def call(env)
|
13
|
-
env["REQUEST_URI"]
|
13
|
+
case env["REQUEST_URI"]
|
14
|
+
when "/rorvswild" then serve_standalone_profiler(env)
|
15
|
+
when "/rorvswild.css" then serve_stylesheet
|
16
|
+
when "/rorvswild.js" then serve_javascript
|
17
|
+
when "/rorvswild.json" then serve_json
|
18
|
+
else serve_embed_profiler(env)
|
19
|
+
end
|
14
20
|
end
|
15
21
|
|
16
|
-
def
|
22
|
+
def serve_standalone_profiler(env)
|
17
23
|
html = inject_into(empty_html_page)
|
18
|
-
[200, {"Content-Type
|
24
|
+
[200, {"Content-Type" => "text/html; charset=utf-8"}, StringIO.new(html || empty_html_page)]
|
19
25
|
end
|
20
26
|
|
21
|
-
def
|
27
|
+
def serve_embed_profiler(env)
|
22
28
|
status, headers, body = app.call(env)
|
23
29
|
if status >= 200 && status < 300 && headers["Content-Type"] && headers["Content-Type"].include?("text/html")
|
24
30
|
if headers["Content-Encoding"]
|
@@ -35,16 +41,27 @@ module RorVsWild
|
|
35
41
|
[status, headers, body]
|
36
42
|
end
|
37
43
|
|
38
|
-
def
|
39
|
-
|
40
|
-
|
44
|
+
def serve_stylesheet
|
45
|
+
[200, {"Content-Type" => "text/css"}, StringIO.new(concatenate_stylesheet)]
|
46
|
+
end
|
47
|
+
|
48
|
+
def serve_javascript
|
49
|
+
[200, {"Content-Type" => "application/javascript"}, StringIO.new(concatenate_javascript)]
|
50
|
+
end
|
41
51
|
|
42
|
-
|
43
|
-
|
52
|
+
def serve_json
|
53
|
+
[200, {"Content-Type" => "application/json"}, StringIO.new(RorVsWild.agent.queue.requests.to_json)]
|
54
|
+
end
|
55
|
+
|
56
|
+
private
|
44
57
|
|
58
|
+
def inject_into(html)
|
45
59
|
if index = html.index("</body>")
|
60
|
+
markup = File.read(File.join(LOCAL_FOLDER, "local.html"))
|
61
|
+
markup = markup.html_safe if markup.respond_to?(:html_safe)
|
62
|
+
html.insert(index, %{<link rel="stylesheet" media="all" href="/rorvswild.css"/>})
|
63
|
+
html.insert(index, %{<script src="/rorvswild.js"></script>})
|
46
64
|
html.insert(index, markup)
|
47
|
-
html.insert(index, style)
|
48
65
|
end
|
49
66
|
html
|
50
67
|
rescue Encoding::UndefinedConversionError => ex
|
@@ -58,13 +75,10 @@ module RorVsWild
|
|
58
75
|
JS_FILES = ["vendor/mustache.js", "vendor/barber.js", "vendor/prism.js", "local.js"]
|
59
76
|
CSS_FILES = ["vendor/prism.css", "local.css"]
|
60
77
|
|
61
|
-
def html_markup(data)
|
62
|
-
html = File.read(File.join(LOCAL_FOLDER, "local.html"))
|
63
|
-
html % {data: html_escape(data.to_json), javascript_source: concatenate_javascript}
|
64
|
-
end
|
65
|
-
|
66
78
|
def concatenate_javascript
|
67
|
-
|
79
|
+
js = File.read(File.join(JS_FOLDER, "application.js"))
|
80
|
+
js = js.split("// include javascript here")
|
81
|
+
js[0] + concatenate_assets(JS_FOLDER, JS_FILES) + js[1]
|
68
82
|
end
|
69
83
|
|
70
84
|
def concatenate_stylesheet
|
@@ -3,11 +3,11 @@
|
|
3
3
|
/********************************************/
|
4
4
|
|
5
5
|
.rorvswild-local-toggler {
|
6
|
-
background: #
|
7
|
-
color: #
|
8
|
-
box-shadow: 0 1px 4px 0px
|
6
|
+
background: #1d242f !important;
|
7
|
+
color: #80abe3 !important;
|
8
|
+
box-shadow: 0 0 0 1px rgba(159, 169, 187, 0.3), 0 1px 4px 0px rgba(25, 32, 42, .9) !important;
|
9
9
|
border-radius: 4px !important;
|
10
|
-
font-family: monospace !important;
|
10
|
+
font-family: SF Mono, Menlo, Consolas, DejaVu Sans Mono, monospace !important;
|
11
11
|
font-size: 15px !important;
|
12
12
|
line-height: 24px !important;
|
13
13
|
position: fixed !important;
|
@@ -15,10 +15,10 @@
|
|
15
15
|
left: 12px !important;
|
16
16
|
padding:0 12px !important;
|
17
17
|
cursor: pointer !important;
|
18
|
-
z-index:
|
18
|
+
z-index: 100000000000000003 !important;
|
19
19
|
}
|
20
20
|
.rorvswild-local-toggler small {
|
21
|
-
color: #
|
21
|
+
color: #9fa9bb !important;
|
22
22
|
font-size: 12px !important;
|
23
23
|
margin-left: 4px !important;
|
24
24
|
display: inline-block !important;
|
@@ -29,10 +29,10 @@
|
|
29
29
|
/********************************************/
|
30
30
|
|
31
31
|
.rorvswild-local-panel {
|
32
|
-
background: #
|
33
|
-
box-shadow: 0 0 0 48px rgba(
|
34
|
-
color: #
|
35
|
-
font-family: monospace
|
32
|
+
background: #1d242f !important;
|
33
|
+
box-shadow: 0 0 0 48px rgba(25, 32, 42, .9) !important;
|
34
|
+
color: #eceef1 !important;
|
35
|
+
font-family: SF Mono, Menlo, Consolas, DejaVu Sans Mono, monospace !important;
|
36
36
|
font-size: 15px !important;
|
37
37
|
line-height: 24px !important;
|
38
38
|
position: fixed !important;
|
@@ -40,7 +40,7 @@
|
|
40
40
|
left: 12px !important;
|
41
41
|
right: 12px !important;
|
42
42
|
bottom: 48px !important;
|
43
|
-
z-index:
|
43
|
+
z-index: 100000000000000000 !important;
|
44
44
|
overflow: hidden !important;
|
45
45
|
display: -webkit-box !important;
|
46
46
|
display: -ms-flexbox !important;
|
@@ -59,33 +59,33 @@
|
|
59
59
|
}
|
60
60
|
|
61
61
|
.rorvswild-local-panel ::-moz-selection {
|
62
|
-
background: #
|
63
|
-
color: #
|
62
|
+
background: #eceef1 !important;
|
63
|
+
color: #222835 !important;
|
64
64
|
}
|
65
65
|
|
66
66
|
.rorvswild-local-panel ::selection {
|
67
|
-
background: #
|
68
|
-
color: #
|
67
|
+
background: #eceef1 !important;
|
68
|
+
color: #222835 !important;
|
69
69
|
}
|
70
70
|
|
71
71
|
.rorvswild-local-panel small {
|
72
|
-
color: #
|
72
|
+
color: #9fa9bb !important;
|
73
73
|
font-size: 12px !important;
|
74
74
|
margin-left: 4px !important;
|
75
75
|
}
|
76
76
|
|
77
77
|
/* Panel Header */
|
78
78
|
.rorvswild-local-panel__header {
|
79
|
-
background: #
|
79
|
+
background: #212834 !important;
|
80
|
+
z-index: 100000000000000005 !important;
|
80
81
|
padding: 12px !important;
|
81
|
-
box-shadow: 0 1px 2px 0 rgba(
|
82
|
-
z-index: 100002 !important;
|
82
|
+
box-shadow: 0 1px 2px 0 rgba(25, 32, 42, .8) !important;
|
83
83
|
display: -webkit-box;
|
84
84
|
display: -ms-flexbox;
|
85
85
|
display: flex;
|
86
86
|
}
|
87
87
|
.rorvswild-local-panel__header__title {
|
88
|
-
color: #
|
88
|
+
color: #9fa9bb !important;
|
89
89
|
text-transform: uppercase !important;
|
90
90
|
font-size: 12px !important;
|
91
91
|
letter-spacing: 2px !important;
|
@@ -100,12 +100,12 @@
|
|
100
100
|
stroke-width: 2 !important;
|
101
101
|
fill: none !important;
|
102
102
|
stroke-linecap: square !important;
|
103
|
-
stroke: #
|
103
|
+
stroke: #9fa9bb !important;
|
104
104
|
stroke-miterlimit: 10 !important;
|
105
105
|
vertical-align: middle !important;
|
106
106
|
}
|
107
107
|
.rorvswild-local-panel svg:hover {
|
108
|
-
stroke: #
|
108
|
+
stroke: #eceef1 !important;
|
109
109
|
}
|
110
110
|
.rorvswild-local-panel__logo {
|
111
111
|
width: 60px !important;
|
@@ -125,11 +125,11 @@
|
|
125
125
|
}
|
126
126
|
.rorvswild-local-panel__github svg {
|
127
127
|
stroke: none !important;
|
128
|
-
fill: #
|
128
|
+
fill: #9fa9bb !important;
|
129
129
|
}
|
130
130
|
.rorvswild-local-panel__github svg:hover {
|
131
131
|
stroke: none !important;
|
132
|
-
fill: #
|
132
|
+
fill: #eceef1 !important;
|
133
133
|
}
|
134
134
|
|
135
135
|
/* Panel Content */
|
@@ -144,12 +144,12 @@
|
|
144
144
|
.rorvswild-local-panel__content::-webkit-scrollbar { width: 3px !important; }
|
145
145
|
.rorvswild-local-panel__content::-webkit-scrollbar-corner { background: transparent !important; }
|
146
146
|
.rorvswild-local-panel__content::-webkit-scrollbar-track {
|
147
|
-
|
147
|
+
box-shadow: inset 0 0 0 rgba(0,0,0,0.3) !important;
|
148
148
|
background: transparent !important;
|
149
149
|
}
|
150
150
|
.rorvswild-local-panel__content::-webkit-scrollbar-thumb {
|
151
|
-
background-color: #
|
152
|
-
outline: 1px solid #
|
151
|
+
background-color: #9fa9bb !important;
|
152
|
+
outline: 1px solid #9fa9bb !important;
|
153
153
|
}
|
154
154
|
|
155
155
|
/* Panel request summary */
|
@@ -159,26 +159,26 @@
|
|
159
159
|
display: -ms-flexbox !important;
|
160
160
|
display: flex !important;
|
161
161
|
padding: 12px 12px 11px !important;
|
162
|
-
border-bottom: 1px solid
|
162
|
+
border-bottom: 1px solid rgba(25, 32, 42, 1) !important;
|
163
163
|
cursor: pointer !important;
|
164
164
|
-ms-flex-wrap: wrap !important;
|
165
165
|
flex-wrap: wrap !important;
|
166
166
|
}
|
167
|
-
.rorvswild-local-panel__request:hover { background: #
|
167
|
+
.rorvswild-local-panel__request:hover { background: #222835 !important; }
|
168
168
|
.rorvswild-local-panel__request__name {
|
169
169
|
word-break: break-all !important;
|
170
170
|
overflow-wrap: break-word !important;
|
171
171
|
width: 100% !important;
|
172
172
|
}
|
173
173
|
.rorvswild-local-panel__request__path {
|
174
|
-
color: #
|
174
|
+
color: #9fa9bb !important;
|
175
175
|
display: block !important;
|
176
176
|
}
|
177
177
|
.rorvswild-local-panel__request__started-at {
|
178
|
-
color: #
|
178
|
+
color: #9fa9bb !important;
|
179
179
|
margin-left: 12px !important;
|
180
180
|
}
|
181
|
-
.rorvswild-local-panel__request__runtime { color: #
|
181
|
+
.rorvswild-local-panel__request__runtime { color: #80abe3 !important; }
|
182
182
|
|
183
183
|
/* Panel request details */
|
184
184
|
|
@@ -202,7 +202,7 @@ h2.rorvswild-local-panel__request__name__title {
|
|
202
202
|
font-size: 31px !important;
|
203
203
|
line-height: 48px !important;
|
204
204
|
font-weight: 700 !important;
|
205
|
-
font-family: monospace !important;
|
205
|
+
font-family: SF Mono, Menlo, Consolas, DejaVu Sans Mono, monospace !important;
|
206
206
|
text-align: left !important;
|
207
207
|
}
|
208
208
|
|
@@ -210,11 +210,11 @@ h2.rorvswild-local-panel__request__name__title {
|
|
210
210
|
|
211
211
|
.rorvswild-local-panel__request-details__section {
|
212
212
|
padding: 12px 12px 11px !important;
|
213
|
-
border-bottom: 1px solid
|
213
|
+
border-bottom: 1px solid rgba(25, 32, 42, 1) !important;
|
214
214
|
display: block !important;
|
215
215
|
}
|
216
216
|
.rorvswild-local-panel__request-details__section:hover {
|
217
|
-
background: #
|
217
|
+
background: #212834 !important;
|
218
218
|
-webkit-transition: all .3s !important;
|
219
219
|
transition: all .3s !important;
|
220
220
|
}
|
@@ -234,12 +234,12 @@ h2.rorvswild-local-panel__request__name__title {
|
|
234
234
|
min-width: 0 !important;
|
235
235
|
}
|
236
236
|
.rorvswild-local-panel__request-details__section__average {
|
237
|
-
color: #
|
237
|
+
color: #80abe3 !important;
|
238
238
|
width: 48px !important;
|
239
239
|
margin:0 12px 0 0 !important;
|
240
240
|
}
|
241
241
|
.rorvswild-local-panel__request-details__section__calls {
|
242
|
-
color: #
|
242
|
+
color: #9fa9bb !important;
|
243
243
|
width: 48px !important;
|
244
244
|
margin:0 12px 0 0 !important;
|
245
245
|
}
|
@@ -253,7 +253,7 @@ h2.rorvswild-local-panel__request__name__title {
|
|
253
253
|
display: flex !important;
|
254
254
|
}
|
255
255
|
.rorvswild-local-panel__request-details__section__kind {
|
256
|
-
background:
|
256
|
+
background: rgba(25, 32, 42, 1) !important;
|
257
257
|
font-size: 10px !important;
|
258
258
|
text-transform: uppercase !important;
|
259
259
|
text-align: center !important;
|
@@ -264,7 +264,7 @@ h2.rorvswild-local-panel__request__name__title {
|
|
264
264
|
}
|
265
265
|
.rorvswild-local-panel__request-details__section__command {
|
266
266
|
overflow: hidden !important;
|
267
|
-
color: #
|
267
|
+
color: #9fa9bb !important;
|
268
268
|
margin-left: 12px !important;
|
269
269
|
-webkit-box-flex: 1 !important;
|
270
270
|
-ms-flex: 1 !important;
|
@@ -280,13 +280,13 @@ h2.rorvswild-local-panel__request__name__title {
|
|
280
280
|
|
281
281
|
.rorvswild-local-panel__footer {
|
282
282
|
width: 100% !important;
|
283
|
-
background: #
|
284
|
-
color: #
|
283
|
+
background: #212834 !important;
|
284
|
+
color: #9fa9bb !important;
|
285
285
|
padding: 12px !important;
|
286
286
|
text-align: center !important;
|
287
287
|
}
|
288
288
|
a.rorvswild-local-panel__footer__link {
|
289
|
-
color: #
|
289
|
+
color: #eceef1 !important;
|
290
290
|
text-decoration: underline !important;
|
291
291
|
line-height: inherit !important;
|
292
292
|
}
|
@@ -304,6 +304,7 @@ a.rorvswild-local-panel__footer__link {
|
|
304
304
|
-ms-flex: 1 !important;
|
305
305
|
flex: 1 !important;
|
306
306
|
}
|
307
|
+
|
307
308
|
.rorvswild-local-panel__request__runtime { margin-left: 12px !important; }
|
308
309
|
|
309
310
|
.rorvswild-local-panel__request-details__section__file {
|
@@ -7,9 +7,9 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
|
|
7
7
|
*/
|
8
8
|
.rorvswild-local-panel code[class*="language-"],
|
9
9
|
.rorvswild-local-panel pre[class*="language-"] {
|
10
|
-
color: #
|
10
|
+
color: #9fa9bb !important;
|
11
11
|
background: none !important;
|
12
|
-
font-family: monospace !important;
|
12
|
+
font-family: SF Mono, Menlo, Consolas, DejaVu Sans Mono, monospace !important;
|
13
13
|
text-align: left !important;
|
14
14
|
text-shadow: 0 0 0 !important;
|
15
15
|
word-spacing: normal !important;
|
@@ -64,7 +64,9 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
|
|
64
64
|
.rorvswild-local-panel .token.prolog,
|
65
65
|
.rorvswild-local-panel .token.doctype,
|
66
66
|
.rorvswild-local-panel .token.cdata {
|
67
|
-
color: #
|
67
|
+
color: #9fa9bb !important;
|
68
|
+
font-style: italic !important;
|
69
|
+
opacity: 0.5 !important;
|
68
70
|
}
|
69
71
|
|
70
72
|
.rorvswild-local-panel .token.punctuation {
|
@@ -79,7 +81,7 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
|
|
79
81
|
.rorvswild-local-panel .token.boolean,
|
80
82
|
.rorvswild-local-panel .token.number,
|
81
83
|
.rorvswild-local-panel .token.deleted {
|
82
|
-
color: #
|
84
|
+
color: #e79199 !important;
|
83
85
|
}
|
84
86
|
|
85
87
|
.rorvswild-local-panel .token.property,
|
@@ -87,7 +89,7 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
|
|
87
89
|
.rorvswild-local-panel .token.symbol,
|
88
90
|
.rorvswild-local-panel .token.builtin,
|
89
91
|
.rorvswild-local-panel .token.string {
|
90
|
-
color: #
|
92
|
+
color: #67b6b2 !important;
|
91
93
|
}
|
92
94
|
|
93
95
|
.rorvswild-local-panel .token.attr-name,
|
@@ -100,17 +102,17 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
|
|
100
102
|
.rorvswild-local-panel .token.atrule,
|
101
103
|
.rorvswild-local-panel .token.attr-value,
|
102
104
|
.rorvswild-local-panel .token.keyword {
|
103
|
-
color: #
|
105
|
+
color: #e189e2 !important;
|
104
106
|
}
|
105
107
|
|
106
108
|
.rorvswild-local-panel .token.constant,
|
107
109
|
.rorvswild-local-panel .token.regex,
|
108
110
|
.rorvswild-local-panel .token.important {
|
109
|
-
color: #
|
111
|
+
color: #bfa661 !important;
|
110
112
|
}
|
111
113
|
|
112
114
|
.rorvswild-local-panel .token.function {
|
113
|
-
color: #
|
115
|
+
color: #80abe3 !important;
|
114
116
|
}
|
115
117
|
|
116
118
|
.rorvswild-local-panel .token.important,
|
@@ -134,5 +136,5 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
|
|
134
136
|
.rorvswild-local-panel .language-markup .token.tag,
|
135
137
|
.rorvswild-local-panel .language-markup .token.attr-name,
|
136
138
|
.rorvswild-local-panel .language-markup .token.punctuation {
|
137
|
-
color: #
|
139
|
+
color: #9fa9bb !important;
|
138
140
|
}
|
data/lib/rorvswild/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rorvswild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Bernard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Performances and quality insights for rails developers.
|
14
14
|
email:
|
@@ -27,6 +27,7 @@ files:
|
|
27
27
|
- lib/rorvswild/client.rb
|
28
28
|
- lib/rorvswild/installer.rb
|
29
29
|
- lib/rorvswild/local.rb
|
30
|
+
- lib/rorvswild/local/javascript/application.js
|
30
31
|
- lib/rorvswild/local/javascript/local.js
|
31
32
|
- lib/rorvswild/local/javascript/vendor/barber.js
|
32
33
|
- lib/rorvswild/local/javascript/vendor/mustache.js
|
@@ -73,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
74
|
- !ruby/object:Gem::Version
|
74
75
|
version: '0'
|
75
76
|
requirements: []
|
76
|
-
|
77
|
-
rubygems_version: 2.5.2
|
77
|
+
rubygems_version: 3.0.3
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Ruby on Rails app monitoring
|