autobench 0.0.1alpha6 → 0.0.1alpha7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autobench/client.rb +1 -1
- data/lib/autobench/render.rb +2 -0
- data/lib/autobench/version.rb +1 -1
- data/lib/autobench/yslow.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b69a4bc4171ff8b8808436911b8c144bbdc51bd
|
4
|
+
data.tar.gz: 06cf71f921b536c968090edaacaa38cd5ceebdf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed4a7aeb7b65385ed706ebd23001a4590b7bdaaedb6d79df48e3c481ba3aad268c26a7d4b51b6f3cc2ae756f12c18b40d45de1ff4c951e755896adfc792d6f3
|
7
|
+
data.tar.gz: 407101907cfc127fc3cbd04d29e57c0a605edb6dbf02c5ea68e3e90d94d726f6f229de6b03a06adaecd00f33a48b3ccb5204ac188d0b343d36e8436e550d48ac
|
data/lib/autobench/client.rb
CHANGED
@@ -51,7 +51,7 @@ class Autobench
|
|
51
51
|
|
52
52
|
private
|
53
53
|
def command
|
54
|
-
"cd #{@config.phantomas} && #{@config.node} ./run-multiple.js #{modules} --url
|
54
|
+
"cd #{@config.phantomas} && #{@config.node} ./run-multiple.js #{modules} --url='#{url}' --runs=#{@config["runs"]} --format=json"
|
55
55
|
end
|
56
56
|
|
57
57
|
def url
|
data/lib/autobench/render.rb
CHANGED
data/lib/autobench/version.rb
CHANGED
data/lib/autobench/yslow.rb
CHANGED
@@ -57,7 +57,7 @@ class Autobench
|
|
57
57
|
|
58
58
|
private
|
59
59
|
def command
|
60
|
-
"cd #{@config.yslow} && #{@config.phantomjs} ./yslow.js --info basic #{options} http://#{@config['server']}#{(@config.has_key?("port") ? ":#{@config['port']}" : "")}#{@config['uri']}"
|
60
|
+
"cd #{@config.yslow} && #{@config.phantomjs} ./yslow.js --info basic #{options} 'http://#{@config['server']}#{((@config.has_key?("port") && @config["port"] != 80) ? ":#{@config['port']}" : "")}#{@config['uri']}'"
|
61
61
|
end
|
62
62
|
|
63
63
|
def options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobench
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1alpha7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Mervine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|