fiveruns_tuneup 0.8.16 → 0.8.17
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 +4 -0
- data/fiveruns_tuneup.gemspec +4 -4
- data/lib/fiveruns/tuneup/version.rb +1 -1
- data/test/test_helper.rb +1 -16
- data/test/tuneup_test.rb +0 -25
- data/views/tuneup/_data.html.erb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
v0.8.17. Clean build to work around 0.8.16 build snafu (built from a non-clean clone)
|
|
2
|
+
|
|
3
|
+
v0.8.16. JRuby bug fix
|
|
4
|
+
|
|
1
5
|
v0.8.15. Removed use of all Rails JS helpers, this fixes an issue when jrails is used in the app (Thanks, Chris Zelenak)
|
|
2
6
|
|
|
3
7
|
v0.8.13. Improved unobtrusive branding.
|
data/fiveruns_tuneup.gemspec
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
# Gem::Specification for Fiveruns_tuneup-0.8.
|
|
2
|
+
# Gem::Specification for Fiveruns_tuneup-0.8.17
|
|
3
3
|
# Originally generated by Echoe
|
|
4
4
|
|
|
5
5
|
--- !ruby/object:Gem::Specification
|
|
6
6
|
name: fiveruns_tuneup
|
|
7
7
|
version: !ruby/object:Gem::Version
|
|
8
|
-
version: 0.8.
|
|
8
|
+
version: 0.8.17
|
|
9
9
|
platform: ruby
|
|
10
10
|
authors:
|
|
11
11
|
- FiveRuns Development Team
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
|
|
15
|
-
date: 2008-09
|
|
15
|
+
date: 2008-10-09 00:00:00 -05:00
|
|
16
16
|
default_executable:
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
154
154
|
version:
|
|
155
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
|
157
|
-
- - "
|
|
157
|
+
- - ">="
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
159
|
version: "1.2"
|
|
160
160
|
version:
|
data/test/test_helper.rb
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
1
|
require 'rubygems'
|
|
2
2
|
require 'test/unit'
|
|
3
|
-
require '
|
|
4
|
-
require 'active_support'
|
|
5
|
-
|
|
6
|
-
require File.join(File.dirname(__FILE__), '../lib/fiveruns_tuneup')
|
|
7
|
-
|
|
8
|
-
class Test::Unit::TestCase
|
|
9
|
-
|
|
10
|
-
def create_test_runs!
|
|
11
|
-
10.times do |i|
|
|
12
|
-
run_id = Fiveruns::Tuneup.runs(i, Time.now)
|
|
13
|
-
persist(run_id, {}, {}, {})
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
end
|
|
3
|
+
require 'Shoulda'
|
data/test/tuneup_test.rb
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
require 'test_helper'
|
|
2
|
-
|
|
3
|
-
class TuneupTest < Test::Unit::TestCase
|
|
4
|
-
|
|
5
|
-
context 'The TuneUp MEGA-OBJECT' do
|
|
6
|
-
|
|
7
|
-
context 'looking up runs' do
|
|
8
|
-
|
|
9
|
-
should 'find the latest runs for a URI' do
|
|
10
|
-
create_test_runs!
|
|
11
|
-
|
|
12
|
-
runs = Fiveruns::Tuneup.runs_for_uri(@uri)
|
|
13
|
-
|
|
14
|
-
assert_equal @runs.length, runs.length
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
should_eventually 'generate a filename for a run'
|
|
20
|
-
|
|
21
|
-
should_eventually 'generate a run ID'
|
|
22
|
-
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
end
|
data/views/tuneup/_data.html.erb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id='tuneup-top'>
|
|
3
3
|
<div id='tuneup-summary'>
|
|
4
4
|
<%= tuneup_bar(tuneup_data.children.first, :id => 'tuneup-root-bar') %>
|
|
5
|
-
<%=
|
|
5
|
+
<%= trend %> <%= tuneup_data.time.to_i %> ms
|
|
6
6
|
</div>
|
|
7
7
|
<%= link_to_upload %>
|
|
8
8
|
</div>
|
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.
|
|
4
|
+
version: 0.8.17
|
|
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-09
|
|
12
|
+
date: 2008-10-09 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -151,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
151
151
|
version:
|
|
152
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
requirements:
|
|
154
|
-
- - "
|
|
154
|
+
- - ">="
|
|
155
155
|
- !ruby/object:Gem::Version
|
|
156
156
|
version: "1.2"
|
|
157
157
|
version:
|