rails_performance 1.5.0 → 1.5.2

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: 10d13bdf7ddb45da1783c3665a64a89730639a3b13061c496e4502a59158c329
4
- data.tar.gz: 738313bc41c6af0d1cfee519679519639acda8781dd4dd74602e3c55a6b1f6de
3
+ metadata.gz: 9440abcc92a0d05278cbea6409814e836a70dd4c627e80ad088a50b496ff2ad1
4
+ data.tar.gz: 2049a1d601657d2d028fb7da04aa89f72e7fd4b0b56af3b1ce636f789a63b4cb
5
5
  SHA512:
6
- metadata.gz: 33dcfe7183c335961e7716acc301b7c38877c9409c911ff0b6dfa0f5046ed40fc3f36fd9994cb8053367e467cb8c427eb042c218731cf7ada935fc6857c70b8d
7
- data.tar.gz: e5e07d09bac167200fda9ff4e5b8d1bcd2e9558e4bc4a7bc9bf9c78d15f76d829f049c83793e7ef89c057bd83eda2ee2613ef6a01265a92aa6834dd891721047
6
+ metadata.gz: 553e139abc9288582592868cbd0369a49e49e7d886b933ccee2b308a1c7d0aa992c328f99e01c10893d151c68525ede608e57685d87fd71b1424988ae135cce4
7
+ data.tar.gz: 54329faf9ca0f134d1f0bb23b956476ea2b28f3f147b2e05b567fc11b942214fed679d23bfa686bbca545bc25fc68b4a73573542a6505d37004d363882201f82
@@ -6,7 +6,9 @@ function showChart(element_id, type, title, options) {
6
6
  chart: {
7
7
  type: type,
8
8
  height: 300,
9
+ id: element_id,
9
10
  width: '100%',
11
+ group: 'chart',
10
12
  zoom: {
11
13
  type: 'x',
12
14
  },
@@ -3,7 +3,7 @@
3
3
  <% @resources_report.servers.each do |server| %>
4
4
  <h1 class="title mt-8 pt-8"><%= server.name %></h1>
5
5
 
6
- <% server.charts.each.with_index do |chart, index| %>
6
+ <% server.charts.each.with_index(1) do |chart, index| %>
7
7
  <div class="card">
8
8
  <div class="card-content">
9
9
  <h2 class="subtitle"><%= chart.subtitle %></h2>
@@ -12,7 +12,7 @@
12
12
  </div>
13
13
  </div>
14
14
 
15
- <br/>
15
+ <br>
16
16
 
17
17
  <% content_for :on_load do %>
18
18
  <script>
@@ -84,7 +84,7 @@ module RailsPerformance
84
84
  )
85
85
  end
86
86
 
87
- def signal measurement
87
+ def format measurement
88
88
  measurement["available"].to_f.round(2)
89
89
  end
90
90
 
@@ -1,5 +1,5 @@
1
1
  module RailsPerformance
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.2"
3
3
  SCHEMA = "1.0.2"
4
4
  EVENTS_SCHEMA = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_performance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kasyanchuk