rack-mini-profiler 0.1.13.pre → 0.1.14.pre

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rack-mini-profiler might be problematic. Click here for more details.

@@ -114,7 +114,7 @@ var MiniProfiler = (function ($) {
114
114
 
115
115
  }
116
116
  }
117
- } else if (ajaxStartTime != null && clientProbes.length > 0) {
117
+ } else if (ajaxStartTime != null && clientProbes && clientProbes.length > 0) {
118
118
  clientPerformance = { timing: { navigationStart: ajaxStartTime.getTime() } };
119
119
  ajaxStartTime = null;
120
120
  }
@@ -43,7 +43,7 @@
43
43
  {{if HasSqlTimings}}
44
44
  <td colspan="2" class="profiler-number profiler-percent-in-sql" title="${MiniProfiler.getSqlTimingsCount(Root)} queries spent ${MiniProfiler.formatDuration(DurationMillisecondsInSql)} ms of total request time">
45
45
  ${MiniProfiler.formatDuration(DurationMillisecondsInSql / DurationMilliseconds * 100)}
46
- <span class="profiler-unit">% in qry</span>
46
+ <span class="profiler-unit">% in sql</span>
47
47
  </td>
48
48
  {{/if}}
49
49
  </tr>
@@ -141,7 +141,7 @@
141
141
  <td class="profiler-duration {{if HasDuplicateSqlTimings}}profiler-warning{{/if}}" title="{{if HasDuplicateSqlTimings}}duplicate queries detected - {{/if}}${ExecutedReaders} reader, ${ExecutedScalars} scalar, ${ExecutedNonQueries} non-query statements executed">
142
142
  <a class="profiler-queries-show">
143
143
  {{if HasDuplicateSqlTimings}}<span class="profiler-nuclear">!</span>{{/if}}
144
- ${SqlTimings.length} <span class="profiler-unit">qry</span>
144
+ ${SqlTimings.length} <span class="profiler-unit">sql</span>
145
145
  </a>
146
146
  </td>
147
147
  <td class="profiler-duration" title="aggregate duration of all queries in this step (excludes children)">
@@ -192,4 +192,4 @@
192
192
  </td>
193
193
  </tr>
194
194
 
195
- </script>
195
+ </script>
@@ -19,7 +19,7 @@ module Rack
19
19
 
20
20
  class MiniProfiler
21
21
 
22
- VERSION = '104'.freeze
22
+ VERSION = '106'.freeze
23
23
 
24
24
  class << self
25
25
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rack-mini-profiler"
3
- s.version = "0.1.13.pre"
3
+ s.version = "0.1.14.pre"
4
4
  s.summary = "Profiles loading speed for rack applications."
5
5
  s.authors = ["Aleks Totic","Sam Saffron", "Robin Ward"]
6
6
  s.description = "Page loading speed displayed on every page. Optimize while you develop, performance is a feature."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mini-profiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13.pre
4
+ version: 0.1.14.pre
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  segments:
133
133
  - 0
134
- hash: -879601329
134
+ hash: -291023635
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  none: false
137
137
  requirements: