wbench 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f7c3ab6f6b1bb434b62f44eb6a9582418755f78
4
- data.tar.gz: 51108410717cd0394a47c0a9789363077d2ac6aa
3
+ metadata.gz: 8e5f8cd4848ed5f78b495fc3912c4812136cfbfc
4
+ data.tar.gz: edafc49b32ca2ce5dbbf9f93ddc657eb175bda53
5
5
  SHA512:
6
- metadata.gz: 61e348f82ba38fc6d287d2108b517420e0b10b4d84edbd1ab625d4d19b0755197b1043a33da5749bb5a9286ec2e94bcbd54e9a6ee1d56d23695e964e717bafc3
7
- data.tar.gz: 9a4145da2076f46482d3723f696183d2f0068650e5bedb30281b88e5149192152a58db8dc36719d9288ee58e870f22561caa097dfe4f05d1ed017184c93fdd6f
6
+ metadata.gz: 6db6877b453bd221df17eb1dca899f565d40751628253aaf899b45cd73f63de7eca5cca162110137ece0aab5db78396b5094feb6050fbf866b4f1404360eb80c
7
+ data.tar.gz: 4be58cb91c0674cdb471e20722c718fdfa71543493d6768a738b6f879d8e5d42d1d3d77a6851cc4a51b03bb2b440737c4f004cfeee5fa2ff1a70da1f9b81b808
@@ -19,7 +19,7 @@ module WBench
19
19
 
20
20
  def domains
21
21
  @domains ||= JSON.parse(@browser.evaluate_script('jQuery.stringify(resourceURLs())')).map do |url|
22
- URI(url).host
22
+ Addressable::URI.parse(url).host
23
23
  end.compact.uniq
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module WBench
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
data/wbench.gemspec CHANGED
@@ -10,7 +10,8 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["mario@mariovisic.com"]
11
11
  gem.description = %q{WBench is a tool that uses the HTML5 performance timing API to benchmark end user load times for websites.}
12
12
  gem.summary = %q{Benchmark website loading times}
13
- gem.homepage = ""
13
+ gem.homepage = "https://github.com/desktoppr/wbench"
14
+ gem.license = "MIT"
14
15
 
15
16
  gem.add_dependency 'capybara'
16
17
  gem.add_dependency 'colorize'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Visic
@@ -93,8 +93,9 @@ files:
93
93
  - spec/wbench/timing_hash_spec.rb
94
94
  - spec/wbench/titleizer_spec.rb
95
95
  - wbench.gemspec
96
- homepage: ''
97
- licenses: []
96
+ homepage: https://github.com/desktoppr/wbench
97
+ licenses:
98
+ - MIT
98
99
  metadata: {}
99
100
  post_install_message:
100
101
  rdoc_options: []