watir-webdriver-performance 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.rbenv-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p194
data/Gemfile.lock CHANGED
@@ -1,21 +1,23 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.1)
5
- childprocess (0.3.4)
4
+ addressable (2.3.2)
5
+ childprocess (0.3.6)
6
6
  ffi (~> 1.0, >= 1.0.6)
7
7
  diff-lcs (1.1.3)
8
- ffi (1.1.0)
8
+ ffi (1.1.5)
9
9
  git (1.2.5)
10
+ hoe (3.1.1)
11
+ rake (~> 0.8)
10
12
  jeweler (1.8.4)
11
13
  bundler (~> 1.0)
12
14
  git (>= 1.2.5)
13
15
  rake
14
16
  rdoc
15
- json (1.7.3)
16
- libwebsocket (0.1.4)
17
+ json (1.7.5)
18
+ libwebsocket (0.1.5)
17
19
  addressable
18
- multi_json (1.3.6)
20
+ multi_json (1.3.7)
19
21
  rake (0.9.2.2)
20
22
  rdoc (3.12)
21
23
  json (~> 1.4)
@@ -24,24 +26,25 @@ GEM
24
26
  rspec-expectations (~> 2.11.0)
25
27
  rspec-mocks (~> 2.11.0)
26
28
  rspec-core (2.11.1)
27
- rspec-expectations (2.11.1)
29
+ rspec-expectations (2.11.3)
28
30
  diff-lcs (~> 1.1.3)
29
- rspec-mocks (2.11.1)
30
- ruby2ruby (1.3.1)
31
- ruby_parser (~> 2.0)
32
- sexp_processor (~> 3.0)
33
- ruby_parser (2.3.1)
34
- sexp_processor (~> 3.0)
31
+ rspec-mocks (2.11.3)
32
+ ruby2ruby (2.0.1)
33
+ ruby_parser (~> 3.0.0)
34
+ sexp_processor (~> 4.0)
35
+ ruby_parser (3.0.1)
36
+ sexp_processor (~> 4.1)
35
37
  rubyzip (0.9.9)
36
- selenium-webdriver (2.25.0)
38
+ selenium-webdriver (2.26.0)
37
39
  childprocess (>= 0.2.5)
38
40
  libwebsocket (~> 0.1.3)
39
41
  multi_json (~> 1.0)
40
42
  rubyzip
41
- sexp_processor (3.2.0)
43
+ sexp_processor (4.1.2)
42
44
  watir-webdriver (0.6.1)
43
45
  selenium-webdriver (>= 2.18.0)
44
46
  zomg (1.0.2)
47
+ hoe (>= 1.7.0)
45
48
  ruby2ruby
46
49
 
47
50
  PLATFORMS
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -88,7 +88,7 @@ module Watir
88
88
  def performance
89
89
  data = case driver.browser
90
90
  when :internet_explorer
91
- JSON.parse(driver.execute_script("return JSON.stringify(window.performance.toJSON());"))
91
+ Object::JSON.parse(driver.execute_script("return JSON.stringify(window.performance.toJSON());"))
92
92
  else
93
93
  driver.execute_script("return window.performance || window.webkitPerformance || window.mozPerformance || window.msPerformance;")
94
94
  end
@@ -5,7 +5,7 @@ describe "WatirWebdriverPerformance-NonSupportedBrowser" do
5
5
  let!(:b) { @b }
6
6
 
7
7
  before(:all) do
8
- @b ||= Watir::Browser.new :safari
8
+ @b ||= Watir::Browser.new :firefox
9
9
  end
10
10
 
11
11
  after(:all) do
@@ -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.0"
8
+ s.version = "0.2.1"
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-07-24"
12
+ s.date = "2012-11-07"
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 = [
@@ -18,8 +18,8 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".rbenv-version",
21
22
  ".rspec",
22
- ".rvmrc",
23
23
  "Gemfile",
24
24
  "Gemfile.lock",
25
25
  "LICENSE.txt",
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
38
38
  s.homepage = "http://github.com/90kts/watir-webdriver-performance"
39
39
  s.licenses = ["MIT"]
40
40
  s.require_paths = ["lib"]
41
- s.rubygems_version = "1.8.24"
41
+ s.rubygems_version = "1.8.23"
42
42
  s.summary = "A simple helper gem for watir-webdriver performance metrics"
43
43
 
44
44
  if s.respond_to? :specification_version then
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.0
4
+ version: 0.2.1
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-07-24 00:00:00.000000000 Z
12
+ date: 2012-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: watir-webdriver
@@ -198,8 +198,8 @@ extra_rdoc_files:
198
198
  - README.rdoc
199
199
  files:
200
200
  - .document
201
+ - .rbenv-version
201
202
  - .rspec
202
- - .rvmrc
203
203
  - Gemfile
204
204
  - Gemfile.lock
205
205
  - LICENSE.txt
@@ -229,7 +229,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
229
  version: '0'
230
230
  segments:
231
231
  - 0
232
- hash: 575132701200813434
232
+ hash: -584929233974544301
233
233
  required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  none: false
235
235
  requirements:
@@ -238,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  requirements: []
240
240
  rubyforge_project:
241
- rubygems_version: 1.8.24
241
+ rubygems_version: 1.8.23
242
242
  signing_key:
243
243
  specification_version: 3
244
244
  summary: A simple helper gem for watir-webdriver performance metrics
data/.rvmrc DELETED
@@ -1,2 +0,0 @@
1
- rvm_install_on_use_flag=1
2
- rvm --create use ruby-1.9.3-p194@watir-webdriver-performance