fiveruns_tuneup 0.8.5 → 0.8.6

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.8.6. Performance optimizations, CSS fixes that prevents some layout issues that occurred when system doesn't have tuneup's preferred fonts.
2
+
1
3
  v0.8.5. Handle valid content types other than text/html (like strict XHTML with content type application/xhmtl+xml).
2
4
 
3
- v0.8.4. Alert notices push down absolute/fixed elements.
5
+ v0.8.4. Alert notices push down absolute/fixed elements.
File without changes
File without changes
File without changes
@@ -46,6 +46,9 @@ TuneUp.adjustFixedElements = function(e) {
46
46
 
47
47
  TuneUp.adjustAbsoluteElements = function(e) {
48
48
  e.immediateDescendants().each(function (e) {
49
+ if (e.id == "tuneup") {
50
+ return;
51
+ }
49
52
  var pos = e.getStyle('position');
50
53
  if (pos == 'absolute') {
51
54
  TuneUp.adjustElement(e);
@@ -44,7 +44,7 @@ version: 2.5.1
44
44
 
45
45
  /* Styling */
46
46
  #tuneup { position: relative; height: 50px; color: #ddd; background: #000 url(/images/tuneup/head.gif) 0 100% repeat-x; padding: 0; font-family: "Helvetica Neue", "Lucida Grande", Calibri, Helvetica, Verdana, sans-serif; font-size: 12px; }
47
- #tuneup #tuneup-content { margin-left: 170px; color: #ddd; height: 50px; vertical-align: middle; text-align: left; }
47
+ #tuneup #tuneup-content { margin-left: 220px; color: #ddd; height: 50px; vertical-align: middle; text-align: left; }
48
48
  #tuneup #tuneup-root-bar { float: right; }
49
49
  #tuneup a, #tuneup a:visited, #tuneup a:active { color: #fff; text-decoration: underline; font-size: 12px; border: 0; }
50
50
 
@@ -68,20 +68,20 @@ version: 2.5.1
68
68
  #tuneup .tuneup-bar li.tuneup-layer-other { background: #222 url(/images/tuneup/fade_down.png) top left repeat-x;}
69
69
 
70
70
  #tuneup #tuneup-data { position: relative;}
71
- #tuneup #tuneup-top { position: absolute; top: 0px; right: 10px; padding: 0; margin: 0; z-index: 11000; width: 560px; }
72
- #tuneup #tuneup-top #tuneup-save-link { line-height: 45px; vertical-align: bottom; margin: 9px; text-align: center; font-weight: bold; padding-left: 20px; background: url(/images/tuneup/pointer.gif) 0 50% no-repeat; }
73
- #tuneup #tuneup-summary {float: right; padding: 9px; width: 400px; padding-bottom: 25px; margin: 3px; text-align: center; color: #ddd; -moz-border-radius: 6px; }
71
+ #tuneup #tuneup-top { position: absolute; top: 0px; right: 10px; padding: 0; margin: 0 0 0 150px; z-index: 11000; }
72
+ #tuneup #tuneup-top #tuneup-save-link { float: right; line-height: 45px; vertical-align: bottom; text-align: center; font-weight: bold; padding: 0 9px 0 20px; background: url(/images/tuneup/pointer.gif) 0 50% no-repeat; }
73
+ #tuneup #tuneup-summary {float: right; padding: 9px; width: 400px; padding-bottom: 17px; margin-top: 3px; text-align: center; color: #ddd; -moz-border-radius: 6px 6px 0 0; }
74
74
 
75
75
  #tuneup #tuneup-data:hover #tuneup-summary { /* h */
76
76
  border-bottom: 0px;
77
77
  background: #000;
78
78
  }
79
- #tuneup #tuneup-details { display: none; position: absolute; top: 46px; right: 13px; padding: 9px; text-align: left; z-index: 10999;}
79
+ #tuneup #tuneup-details { display: none; position: absolute; top: 46px; right: 10px; padding: 9px; text-align: left; z-index: 10999;}
80
80
  #tuneup #tuneup-data:hover #tuneup-details { /* h */
81
81
  display: block;
82
82
  background: #000;
83
83
  min-width: 300px;
84
- -moz-border-radius: 6px;
84
+ -moz-border-radius: 6px 0 6px 6px;
85
85
  }
86
86
 
87
87
  #tuneup ul#tuneup-details ul.tuneup-step-info { margin: 0; padding: 0; }
@@ -164,7 +164,7 @@ version: 2.5.1
164
164
  #tuneup th { background: #000; padding: 4px; color: #fff; font-size: 12px; text-align: left; border: 0; font-weight: bold; border: 1px #333 solid; border-left: 0; border-top: 0; }
165
165
  #tuneup td { background: #111; padding: 4px; color: #ddd; font-size: 12px; text-align: left; border: 0; }
166
166
 
167
- #tuneup #tuneup-schema { display: none; position: absolute; top: 46px; right: 757px; padding: 9px; text-align: left; z-index: 10998; background: #000; opacity: 0.85; color: #ddd; overflow: hidden; -moz-border-radius: 6px; }
167
+ #tuneup #tuneup-schema { display: none; position: absolute; top: 46px; right: 754px; padding: 9px; text-align: left; z-index: 10998; background: #000; opacity: 0.85; color: #ddd; overflow: hidden; -moz-border-radius: 6px; }
168
168
 
169
169
  #tuneup h1 {
170
170
  background: transparent url(/images/tuneup/logo_clear.png) center left no-repeat;
data/bin/fiveruns_tuneup CHANGED
File without changes
@@ -1,16 +1,16 @@
1
1
 
2
- # Gem::Specification for Fiveruns_tuneup-0.8.5
2
+ # Gem::Specification for Fiveruns_tuneup-0.8.6
3
3
  # Originally generated by Echoe
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = %q{fiveruns_tuneup}
7
- s.version = "0.8.5"
7
+ s.version = "0.8.6"
8
8
 
9
9
  s.specification_version = 2 if s.respond_to? :specification_version=
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["FiveRuns Development Team"]
13
- s.date = %q{2008-06-09}
13
+ s.date = %q{2008-06-13}
14
14
  s.default_executable = %q{fiveruns_tuneup}
15
15
  s.description = %q{Instrumentation for the FiveRuns TuneUp product.}
16
16
  s.email = %q{dev@fiveruns.com}
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Fiveruns_tuneup", "--main", "README.rdoc"]
23
23
  s.require_paths = ["lib"]
24
24
  s.rubyforge_project = %q{fiveruns}
25
- s.rubygems_version = %q{1.1.1}
25
+ s.rubygems_version = %q{1.0.1}
26
26
  s.summary = %q{Instrumentation for the FiveRuns TuneUp product.}
27
27
  s.test_files = ["test/test_helper.rb", "test/tuneup_test.rb"]
28
28
 
@@ -66,7 +66,7 @@ module Fiveruns
66
66
 
67
67
  MAJOR = 0
68
68
  MINOR = 8
69
- TINY = 5
69
+ TINY = 6
70
70
 
71
71
  # The current version as a Version instance
72
72
  CURRENT = new(MAJOR, MINOR, TINY)
@@ -77,4 +77,4 @@ module Fiveruns
77
77
 
78
78
  end
79
79
 
80
- end
80
+ end
@@ -2,7 +2,7 @@ require 'net/https'
2
2
  require 'ostruct'
3
3
  require 'open-uri'
4
4
 
5
- class TuneupController < ActionController::Base
5
+ class TuneupController < ActionController::Base
6
6
 
7
7
  def self.request_forgery_protection_options
8
8
  ApplicationController.request_forgery_protection_options || {}
@@ -11,9 +11,14 @@ class TuneupController < ActionController::Base
11
11
  end
12
12
 
13
13
  def show
14
- render :update do |page|
15
- page << tuneup_reload_panel
14
+ debug_rjs = response.template.debug_rjs
15
+ response.template.debug_rjs = false
16
+ ActionController::Base.silence do
17
+ render :update do |page|
18
+ page << tuneup_reload_panel
19
+ end
16
20
  end
21
+ response.template.debug_rjs = debug_rjs
17
22
  end
18
23
 
19
24
  def update
@@ -74,6 +79,12 @@ class TuneupController < ActionController::Base
74
79
  private
75
80
  #######
76
81
 
82
+ def log_processing
83
+ Fiveruns::Tuneup.log :info, "\n\nProcessing #{controller_class_name}\##{action_name} (for #{request_origin}) [#{request.method.to_s.upcase}]"
84
+ Fiveruns::Tuneup.log :info, " Session ID: #{@_session.session_id}" if @_session and @_session.respond_to?(:session_id)
85
+ Fiveruns::Tuneup.log :info, " Parameters: #{respond_to?(:filter_parameters) ? filter_parameters(params).inspect : params.inspect}"
86
+ end
87
+
77
88
  def collect(state)
78
89
  Fiveruns::Tuneup.collecting = state
79
90
  render(:update) { |p| p['tuneup-panel'].replace(render(:partial => 'tuneup/panel/registered')) }
@@ -1,9 +1,10 @@
1
1
  <% content_tag_for :li, step, :class => tuneup_css_class_for_step(step) do %>
2
2
  <ul class='tuneup-step-info'>
3
- <li class="tuneup-title"><p><span class='time'><%= '%.2f' % step.time %> ms</span>
3
+ <li class="tuneup-title">
4
+ <span class='time'><%= '%.2f' % step.time %> ms</span>
4
5
  <%= tuneup_step_link(step) %>
5
6
  <%= link_to_edit_step(step) %>
6
- </p></li>
7
+ </li>
7
8
  <li class="tuneup-detail-bar"><%= tuneup_bar(step, :width => (280 * (step.time / tuneup_data.time))) %></li>
8
9
  <li style="clear:both"></li>
9
10
  </ul>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiveruns_tuneup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - FiveRuns Development Team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-09 00:00:00 -05:00
12
+ date: 2008-06-13 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements: []
142
142
 
143
143
  rubyforge_project: fiveruns
144
- rubygems_version: 1.1.1
144
+ rubygems_version: 1.0.1
145
145
  signing_key:
146
146
  specification_version: 2
147
147
  summary: Instrumentation for the FiveRuns TuneUp product.