watir-webdriver-performance 0.2.1 → 0.2.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -25,10 +25,10 @@ module Watir
25
25
  hash[key.to_sym][underscored(k).to_sym] = v
26
26
  end
27
27
  end
28
-
28
+
29
29
  hash[:summary] = {}
30
30
  hash[:summary][:redirect] = hash[:timing][:redirect_end] -
31
- hash[:timing][:redirect_end] if hash[:timing][:redirect_end] > 0
31
+ hash[:timing][:redirect_start] if hash[:timing][:redirect_end] > 0
32
32
  hash[:summary][:app_cache] = hash[:timing][:domain_lookup_start] -
33
33
  hash[:timing][:fetch_start] if hash[:timing][:fetch_start] > 0
34
34
  hash[:summary][:dns] = hash[:timing][:domain_lookup_end] -
@@ -36,8 +36,8 @@ module Watir
36
36
  hash[:summary][:tcp_connection] = hash[:timing][:connect_end] -
37
37
  hash[:timing][:connect_start] if hash[:timing][:connect_start] > 0
38
38
  hash[:summary][:tcp_connection_secure] = hash[:timing][:connect_end] -
39
- hash[:timing][:secure_connection_start] if
40
- ((hash[:timing][:secure_connection_start] != nil) and
39
+ hash[:timing][:secure_connection_start] if
40
+ ((hash[:timing][:secure_connection_start] != nil) and
41
41
  (hash[:timing][:secure_connection_start] > 0))
42
42
  hash[:summary][:request] = hash[:timing][:response_start] -
43
43
  hash[:timing][:request_start] if hash[:timing][:request_start] > 0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "watir-webdriver-performance"
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tim Koopmans"]
12
- s.date = "2012-11-07"
12
+ s.date = "2013-01-01"
13
13
  s.description = "This gem collects and summarises metrics speficied in the W3C Navigation web performance specifications at http://w3c-test.org/webperf/specs/NavigationTiming/ when using watir-webdriver and a compatible browser"
14
14
  s.email = "tim.koops@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-webdriver-performance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-07 00:00:00.000000000 Z
12
+ date: 2013-01-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: watir-webdriver
@@ -229,7 +229,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
229
  version: '0'
230
230
  segments:
231
231
  - 0
232
- hash: -584929233974544301
232
+ hash: 4219876316899544714
233
233
  required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  none: false
235
235
  requirements: