rorvswild 1.4.6 → 1.4.7

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: 1fd14e978613634abbfc1c8731c08177f6bd2aeb4cb3ff2570697fe9ef0ba2dd
4
- data.tar.gz: 6774e406a49ecc3c75396c3af5f6572b952b32e99249fd2d35defc566eef52cf
3
+ metadata.gz: b2f103543e6fdc467bcd03bdd385d27a887fb82a5e549152228b038a663dcefc
4
+ data.tar.gz: c0a076bd2bdace0df17d8fa6e8399457d2bd7068b7e9fef579e0a9cb681f5c3f
5
5
  SHA512:
6
- metadata.gz: 45ff577c6cf3850df69a7e3f05500cfbd22b35b37bcba0e0358fe21008307bb3b7c3577e6c87fc51921e1f478775497ac73a3fc01fad26ce1ab43216aeea8d64
7
- data.tar.gz: 5739a017268614550d6f20b273588902a4469ccf5f06a595f03e4dbb7cfcc45de55e48d1fdbd3d8b2cf4d63d7952a54170c2914b813add92d58c8579356217f2
6
+ metadata.gz: 7045cdbb8401ccb4c0063c710ac2c5d4ace3d6bd1dd597fbeb87eaca6a6ddc53f90137a190171b943ccd43d1a1d10ccbbb19c5a8bfef3cbd12de08a0096b2202
7
+ data.tar.gz: e863d11d808ad2410c23bbe35f754904248fae44d816e94828cbb21da5631b2315be038e87abd1b70d76913f8437b8dc23ce8199bc71e0a877fa45cdc6e50213
@@ -116,3 +116,6 @@
116
116
  </div>
117
117
  </div>
118
118
  </script>
119
+
120
+ <link rel="stylesheet" media="all" href="/rorvswild.css"/>
121
+ <script src="/rorvswild.js"></script>
@@ -10,7 +10,7 @@ module RorVsWild
10
10
  end
11
11
 
12
12
  def call(env)
13
- case env["REQUEST_URI"]
13
+ case env["PATH_INFO"]
14
14
  when "/rorvswild" then serve_standalone_profiler(env)
15
15
  when "/rorvswild.css" then serve_stylesheet
16
16
  when "/rorvswild.js" then serve_javascript
@@ -59,8 +59,6 @@ module RorVsWild
59
59
  if index = html.index("</body>")
60
60
  markup = File.read(File.join(LOCAL_FOLDER, "local.html"))
61
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>})
64
62
  html.insert(index, markup)
65
63
  end
66
64
  html
@@ -1,3 +1,3 @@
1
1
  module RorVsWild
2
- VERSION = "1.4.6".freeze
2
+ VERSION = "1.4.7".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.4.6
4
+ version: 1.4.7
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-12-27 00:00:00.000000000 Z
11
+ date: 2020-01-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Performances and quality insights for rails developers.
14
14
  email: