rorvswild 1.3.1 → 1.3.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
  SHA1:
3
- metadata.gz: fb391d416535c07f5586df1a052ecb699cc943a2
4
- data.tar.gz: a374d4de6e7c30c37feba70a8cd1bde0af217336
3
+ metadata.gz: 0e397ae1cf594df3c9aff8a0131af740d89fe94b
4
+ data.tar.gz: 8c5c254e9652a8d85dab435b06cff0a4fc8c1753
5
5
  SHA512:
6
- metadata.gz: a4fdeb901a45b705209bfc2400cd21f519a7e2ff6534b0f2543b105db38ce86c7d6d69178355880d03cdfe9de09b716ec3e2e683f2517468e04a0ffa322d1d79
7
- data.tar.gz: 7bdf9774c34ec3d465b718f620c73a4e38962905d4d775a397ba52a5d2431a4d953cd7be2c408b7cef1b034162b8d8be12d43775aa59399b89859c1966f74eac
6
+ metadata.gz: c7616b45910ca7d8ebebb085a131e0ea6e3dd90df3cc219faa76bec663cedf1bc4532a47ce03d6e181234c1fea6eb5b609ebeb34f6de8cc4ac762efa8e4ae66d
7
+ data.tar.gz: 73800a45c3080a1e6ef5b91c9eac1146b4967e431aaba2d77e1d7dbd20a0c7485858de5adf399db6c96927444919bf713bb7f0660e97532e75b5c39a0c688d98
@@ -44,8 +44,8 @@ module RorVsWild
44
44
  LOCAL_FOLDER = File.expand_path(File.dirname(__FILE__))
45
45
  JS_FOLDER = File.join(LOCAL_FOLDER, "javascript")
46
46
  CSS_FOLDER = File.join(LOCAL_FOLDER, "stylesheet")
47
- JS_FILES = ["mustache.js", "barber.js", "prism.js", "local.js"]
48
- CSS_FILES = ["prism.css", "local.css"]
47
+ JS_FILES = ["vendor/mustache.js", "vendor/barber.js", "vendor/prism.js", "local.js"]
48
+ CSS_FILES = ["vendor/prism.css", "local.css"]
49
49
 
50
50
  def html_markup(data)
51
51
  html = File.read(File.join(LOCAL_FOLDER, "local.html"))
@@ -231,6 +231,7 @@ h2.rorvswild-local-panel__request__name__title {
231
231
  width: 100% !important;
232
232
  word-break: break-all !important;
233
233
  overflow-wrap: break-word !important;
234
+ min-width: 0 !important;
234
235
  }
235
236
  .rorvswild-local-panel__request-details__section__average {
236
237
  color: #61b8ff !important;
@@ -269,7 +270,6 @@ h2.rorvswild-local-panel__request__name__title {
269
270
  -ms-flex: 1 !important;
270
271
  flex: 1 !important;
271
272
  opacity: .6 !important;
272
- word-wrap: break-word !important;
273
273
  }
274
274
 
275
275
  .rorvswild-local-panel__request-details__section:hover .rorvswild-local-panel__request-details__section__command {
@@ -294,6 +294,11 @@ a.rorvswild-local-panel__footer__link {
294
294
  /* MEDIA QUERIES */
295
295
 
296
296
  @media screen and (min-width: 720px) {
297
+ .rorvswild-local-panel__request-details__section__main {
298
+ -ms-flex-wrap: nowrap !important;
299
+ flex-wrap: nowrap !important;
300
+ }
301
+
297
302
  .rorvswild-local-panel__request__name {
298
303
  -webkit-box-flex: 1 !important;
299
304
  -ms-flex: 1 !important;
@@ -306,6 +311,7 @@ a.rorvswild-local-panel__footer__link {
306
311
  -ms-flex: 1 !important;
307
312
  flex: 1 !important;
308
313
  }
314
+
309
315
  .rorvswild-local-panel__request-details__section__average {
310
316
  text-align: right !important;
311
317
  margin:0 0 0 12px !important;
@@ -1,9 +1,9 @@
1
1
  /* PrismJS 1.9.0
2
2
  http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clike+javascript+ruby+json+sql+yaml */
3
3
  /**
4
- * prism.js Twilight theme
4
+ * prism.js RoRvsWild theme
5
5
  * Based (more or less) on the Twilight theme originally of Textmate fame.
6
- * @author Remy Bach
6
+ * @author Antoine Marguerie
7
7
  */
8
8
  .rorvswild-local-panel code[class*="language-"],
9
9
  .rorvswild-local-panel pre[class*="language-"] {
@@ -13,15 +13,13 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
13
13
  text-align: left !important;
14
14
  text-shadow: 0 0 0 !important;
15
15
  word-spacing: normal !important;
16
- white-space: pre-wrap !important;
17
- word-wrap: break-word !important;
18
16
 
19
17
  font-size: 15px !important;
20
18
  line-height: 24px !important;
21
19
 
22
- -moz-tab-size: 4 !important;
23
- -o-tab-size: 4 !important;
24
- tab-size: 4 !important;
20
+ white-space: pre-line !important;
21
+ word-wrap: break-word !important;
22
+ word-break: keep-all !important;
25
23
 
26
24
  -webkit-hyphens: none !important;
27
25
  -ms-hyphens: none !important;
@@ -29,15 +27,7 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
29
27
 
30
28
  -webkit-filter: saturate(75%) !important; /* Safari 6.0 - 9.0 */
31
29
  filter: saturate(75%) !important;
32
- }
33
-
34
- .rorvswild-local-panel pre[class*="language-"],
35
- .rorvswild-local-panel :not(pre) > code[class*="language-"] {
36
- background: transparent !important;
37
- }
38
30
 
39
- /* Code blocks */
40
- .rorvswild-local-panel pre[class*="language-"] {
41
31
  border-radius: 0 !important;
42
32
  border: 0 !important;
43
33
  box-shadow: 0 0 0 !important;
@@ -45,6 +35,12 @@ http://prismjs.com/download.html?themes=prism-twilight&languages=markup+css+clik
45
35
  padding: 0 !important;
46
36
  }
47
37
 
38
+ .rorvswild-local-panel pre[class*="language-"],
39
+ .rorvswild-local-panel :not(pre) > code[class*="language-"] {
40
+ background: transparent !important;
41
+ }
42
+
43
+
48
44
  /* Text Selection colour */
49
45
  .rorvswild-local-panel pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
50
46
  .rorvswild-local-panel code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
@@ -46,7 +46,10 @@ module RorVsWild
46
46
  self.total_runtime += section.total_runtime
47
47
  self.children_runtime += section.children_runtime
48
48
  if section
49
- self.command << "\n".freeze + section.command if appendable_command
49
+ if appendable_command
50
+ self.command = self.command.dup if self.command.frozen?
51
+ self.command << "\n" + section.command
52
+ end
50
53
  else
51
54
  self.command = section.command
52
55
  end
@@ -1,3 +1,3 @@
1
1
  module RorVsWild
2
- VERSION = "1.3.1".freeze
2
+ VERSION = "1.3.2".freeze
3
3
  end
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Bernard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2018-01-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Performances and quality insights for rails developers.
14
14
  email:
@@ -27,15 +27,15 @@ files:
27
27
  - lib/rorvswild/client.rb
28
28
  - lib/rorvswild/installer.rb
29
29
  - lib/rorvswild/local.rb
30
- - lib/rorvswild/local/javascript/barber.js
31
30
  - lib/rorvswild/local/javascript/local.js
32
- - lib/rorvswild/local/javascript/mustache.js
33
- - lib/rorvswild/local/javascript/prism.js
31
+ - lib/rorvswild/local/javascript/vendor/barber.js
32
+ - lib/rorvswild/local/javascript/vendor/mustache.js
33
+ - lib/rorvswild/local/javascript/vendor/prism.js
34
34
  - lib/rorvswild/local/local.html
35
35
  - lib/rorvswild/local/middleware.rb
36
36
  - lib/rorvswild/local/queue.rb
37
37
  - lib/rorvswild/local/stylesheet/local.css
38
- - lib/rorvswild/local/stylesheet/prism.css
38
+ - lib/rorvswild/local/stylesheet/vendor/prism.css
39
39
  - lib/rorvswild/location.rb
40
40
  - lib/rorvswild/plugin/action_controller.rb
41
41
  - lib/rorvswild/plugin/action_mailer.rb