rails_performance 1.4.1.alpha1 → 1.4.1

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: 396fc3be3ee247b19fac4d412b3f4d88f6adb508e6f05448a0f0973181b4180d
4
- data.tar.gz: 07de788ff089b86b59d2dd8aeafcbd3a194a364061123e2b48d422ee2a294134
3
+ metadata.gz: 0a493c11a3166ec07cfc2b6f2d4956cc09b867c24d280ba97836d411df384679
4
+ data.tar.gz: 700cf3ac2d08eed0fcd0a8549e8488b88e1b92b79019efc8db17c7f4a0370d6b
5
5
  SHA512:
6
- metadata.gz: 9482d9b4bca7be7b8bb8377ab4ccde7b88dba36aecc8fa2373f6e1cb1d515c872c9026f98fe310ce981df35abcab0821340f308bca326414ad7674b310a491c2
7
- data.tar.gz: d0f73c518afc4b0b3160bd23c19b07a3cee865900fb91058a9cce67e5323e591f69248fd3b05151918f13592e49cb7b409215872e206067c85d3b3895556a8a5
6
+ metadata.gz: 49eef9ff013e574007cea89b8fe288fa4d627e8a72cfc3770a4a8e291d599d99905f61eb5c103ad5c3f749158cffb4179f8fd39a40159f6ee759fee6422dc548
7
+ data.tar.gz: 7d17c31b43b65a912c05f9de138959e19442412c9fe3dbecb70973c8133d6cf341ad409e1abf99f71a2511edec9664a71ed14cd39d2ac96ee113874f994818b3
@@ -73,7 +73,6 @@ function tooltipOptions(formatter) {
73
73
  }
74
74
 
75
75
  function showTIRChart(element_id, data, addon, name) {
76
- console.dir(data);
77
76
  showChart(element_id, 'area', 'RPM', {
78
77
  tooltip: tooltipOptions(value => (value ? value + addon : undefined)),
79
78
  series: [{
@@ -25,15 +25,7 @@ module RailsPerformance
25
25
  initializer "rails_performance.middleware" do |app|
26
26
  next unless RailsPerformance.enabled
27
27
 
28
- if ::Rails::VERSION::MAJOR.to_i >= 5
29
- app.middleware.insert_after ActionDispatch::Executor, RailsPerformance::Rails::Middleware
30
- else
31
- begin
32
- app.middleware.insert_after ActionDispatch::Static, RailsPerformance::Rails::Middleware
33
- rescue
34
- app.middleware.insert_after Rack::SendFile, RailsPerformance::Rails::Middleware
35
- end
36
- end
28
+ app.middleware.insert_after ActionDispatch::Executor, RailsPerformance::Rails::Middleware
37
29
  # look like it works in reverse order?
38
30
  app.middleware.insert_before RailsPerformance::Rails::Middleware, RailsPerformance::Rails::MiddlewareTraceStorerAndCleanup
39
31
 
@@ -1,4 +1,4 @@
1
1
  module RailsPerformance
2
- VERSION = "1.4.1.alpha1"
2
+ VERSION = "1.4.1"
3
3
  SCHEMA = "1.0.2"
4
4
  end
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.4.1.alpha1
4
+ version: 1.4.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: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -122,20 +122,6 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: otr-activerecord
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: sidekiq
141
127
  requirement: !ruby/object:Gem::Requirement