rails_performance 1.0.5 → 1.0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/config/routes.rb +0 -2
- data/lib/rails_performance/version.rb +1 -1
- data/lib/rails_performance.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16944d271c265950a6ae9af433eb09952b6dc57926ed16e90c66c74b41127621
|
4
|
+
data.tar.gz: e95b62049ce646554b3b034ed859b05ecea24027a9dcbcb4e077e0e707edace8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b97df87dfff3097e8ec6f81ab328dd9da4b866b8fa7bcba9f6af0825f0f81dcabef02ae42d6350bb4e814a18a6dd3ef95bfa0bb43eabb1854523c32c7a2ded2
|
7
|
+
data.tar.gz: ff22cd674271a832430a0f485b37db88e05ee9c7f9cb742f960365cba56b729ebc791465cc20e5e84e63466952fbea183ba7e9bb7cc5b6b58170b795af37e9f7
|
data/README.md
CHANGED
@@ -135,6 +135,13 @@ Rails.application.routes.draw do
|
|
135
135
|
end
|
136
136
|
```
|
137
137
|
|
138
|
+
### Custom data
|
139
|
+
|
140
|
+
You need to configure `config.custom_data_proc`. And you can capture current_user, HTTP User Agent, etc. This proc is executed inside middleware, and you have access to Rack "env".
|
141
|
+
|
142
|
+
![Custom Data](docs/custom_data.png)
|
143
|
+
|
144
|
+
|
138
145
|
### Custom events
|
139
146
|
|
140
147
|
```ruby
|
data/config/routes.rb
CHANGED
data/lib/rails_performance.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_performance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.5
|
4
|
+
version: 1.0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|