rorvswild 1.5.11 → 1.5.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35897aa29faf0bcc0fe63db30ef4e837ce9a29fea2527b830bdd81c22f28b3b5
4
- data.tar.gz: 8c2f951e47e9a4834ed97068651077d5672b2cc909799c240ab41e4eb7f6145d
3
+ metadata.gz: 48093e6f93439e8216bd5b0c631b6b56386281d9792f728312d227634834ee11
4
+ data.tar.gz: 9d7cc84527fc054d47e17ed8f8c736c119660f59d7f077a24b420588875e0685
5
5
  SHA512:
6
- metadata.gz: f94a20f60b6967ded361bc37a695fe9cef4f2b79d5d63d7a4ff658189eadd351dd9e587a25950bb9fe2a3dd353a55dbf9b095cdd96ba43a276796abad589e2cb
7
- data.tar.gz: f89fb8baf1d6db2d7d1d6af631740423402df53112c60474061fd1514744bc727f79cd4e8c07c7ddd3a98ea236723b74cffcf175593f829b022e7ac442ce4e45
6
+ metadata.gz: 55d90ef1666a3e5696cfbf998a13446d8dc2cddeccf05d56d5dcc6aa3855e5bd5443eb0dccd0b2d54e6af00b1e5babce359fabd2899a4a624a0fcb9f5ab1a5c4
7
+ data.tar.gz: 909982650664ed49fed2103c7e031ae761ccea22eb5fd39bb82b85e2e3996fd7ec28b891b2151d41ebeadae6f2076ff3c14d895e0a552c006e444e6178d77754
data/README.md CHANGED
@@ -58,19 +58,18 @@ It shows most of the requests performances insights *RoRvsWild.com* displays. **
58
58
 
59
59
  *RoRvsWild Local* renders a small button in the bottom left corner of your page showing the runtime of the current request. If you click on it, you get all the profiled sections ordered by impact, which is depending on the sections average runtime and the calls count. As on RoRvsWild.com, the bottleneck is always on the top of the list.
60
60
 
61
- Sometimes the widget displayed in the bottom left corner can be annoying depending on your site layout. You can change its position like in the example below with the `widget` option :
62
-
61
+ You may want to hide or change the widget position like in the example below with the `widget` option :
63
62
 
64
63
  ```yaml
65
64
  # config/rorvswild.yml
66
65
 
67
66
  development:
68
- widget: top-right # Default is bottom-left
69
- # All possition values :
70
- # top-left, top-right, bottom-right, bottom-left, hidden
67
+ widget: top-right
68
+
69
+ #accepted values : top-left, top-right, bottom-right, bottom-left (default), hidden
71
70
  ```
72
71
 
73
- If you choose to hide the widget, you can still see request profilings via the following URL http://localhost:3000/rorvswild.
72
+ You can still access the profiler at http://localhost:3000/rorvswild if you choose to hide the widget.
74
73
 
75
74
  Be aware that the performances on your development machine may vary from the production server. Obviously because of the different hardware and database size. Also, Rails is reloading all the code in development environment and this takes quite a lot of time.
76
75
  To prevent this behaviour and better match the production, turn on cache_classes in your config/environments/development.rb:
@@ -10,7 +10,7 @@ module RorVsWild
10
10
  def self.start
11
11
  return if RorVsWild.agent
12
12
 
13
- if (config = load_config) && config["api_key"]
13
+ if (config = load_config) && config[:api_key]
14
14
  RorVsWild.start(config)
15
15
  elsif Rails.env.development?
16
16
  require "rorvswild/local"
@@ -1,3 +1,3 @@
1
1
  module RorVsWild
2
- VERSION = "1.5.11".freeze
2
+ VERSION = "1.5.12".freeze
3
3
  end
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.5.11
4
+ version: 1.5.12
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: 2021-05-21 00:00:00.000000000 Z
12
+ date: 2021-05-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Performances and errors insights for rails developers.
15
15
  email: