rails_performance 1.2.0 → 1.2.1
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 +4 -4
- data/README.md +5 -3
- data/lib/rails_performance/version.rb +1 -1
- data/lib/rails_performance.rb +1 -0
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b7357f736b95447fdaaf95de2db6042794148a17b87ef517b8a8b7bda19212f
|
4
|
+
data.tar.gz: 189eb4cb2151d20e00f18494768299b5ff8060c41e086db752af9360343f94d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 075f60cbc47d2df3baa13259cae71230a3395afc9095f6cd48d6cd5fd15f1f15619c12c0ba5dbcb296fdc2ab6f9b4c89888db836a97066c2b2157f4f14e01058
|
7
|
+
data.tar.gz: 1289acb796e6fc71a98fc36ceed9dc6cc709253725d73cd2be58220e265f05e8db34c977222d8f67e8cfe130a376ebbfe061221c8e6cc541a51ba9239273fd43
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ Just don't forget to protect performance dashboard with http basic auth or check
|
|
46
46
|
5. Tune the configuration and deploy to production
|
47
47
|
```
|
48
48
|
|
49
|
-
Default
|
49
|
+
Default configuration is listed below. But you can override it.
|
50
50
|
|
51
51
|
Create `config/initializers/rails_performance.rb` in your app:
|
52
52
|
|
@@ -196,7 +196,7 @@ For UI changes you need to use Bulma CSS (https://bulma.io/documentation).
|
|
196
196
|
|
197
197
|
## Why
|
198
198
|
|
199
|
-
The idea of this gem grew from
|
199
|
+
The idea of this gem grew from curiosity how many RPM my app receiving per day. Later it evolved to something more powerful.
|
200
200
|
|
201
201
|
## TODO
|
202
202
|
|
@@ -227,7 +227,7 @@ The idea of this gem grew from curriosity how many RPM my app receiving per day.
|
|
227
227
|
|
228
228
|
You are welcome to contribute. I've a big list of TODO.
|
229
229
|
|
230
|
-
If "schema" how records are stored i Redis is changed, and this is a
|
230
|
+
If "schema" how records are stored i Redis is changed, and this is a breaking change, update: `RailsPerformance::SCHEMA` to a newer value.
|
231
231
|
|
232
232
|
## Big thanks to contributors
|
233
233
|
|
@@ -239,6 +239,8 @@ If "schema" how records are stored i Redis is changed, and this is a breacking c
|
|
239
239
|
- https://github.com/haffla
|
240
240
|
- https://github.com/D1ceWard
|
241
241
|
- https://github.com/carl-printreleaf
|
242
|
+
- https://github.com/langalex
|
243
|
+
- https://github.com/olleolleolle
|
242
244
|
|
243
245
|
[<img src="https://opensource-heroes.com/svg/embed/igorkasyanchuk/rails_performance"
|
244
246
|
/>](https://opensource-heroes.com/r/igorkasyanchuk/rails_performance)
|
data/lib/rails_performance.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "redis"
|
2
2
|
require "redis-namespace"
|
3
3
|
require "browser"
|
4
|
+
require 'active_support/core_ext/integer'
|
4
5
|
require_relative "./rails_performance/version.rb"
|
5
6
|
require_relative "rails_performance/rails/query_builder.rb"
|
6
7
|
require_relative "rails_performance/rails/middleware.rb"
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_performance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
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-
|
11
|
+
date: 2023-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -66,6 +66,34 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activestorage
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: actionmailer
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: sqlite3
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -334,7 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
362
|
- !ruby/object:Gem::Version
|
335
363
|
version: '0'
|
336
364
|
requirements: []
|
337
|
-
rubygems_version: 3.4.
|
365
|
+
rubygems_version: 3.4.10
|
338
366
|
signing_key:
|
339
367
|
specification_version: 4
|
340
368
|
summary: Simple Rails Performance tracker. Alternative to the NewRelic, Datadog or
|