autobench 0.0.1alpha3 → 0.0.1alpha4
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.
- checksums.yaml +4 -4
- data/lib/autobench/config.rb +3 -1
- data/lib/autobench/render.rb +1 -1
- data/lib/autobench/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d7a069dc7856bc7fbb5edd800e0c34354a8bdc2
|
4
|
+
data.tar.gz: 857b0b817be40263b0cbc2b4d6db54a009f42b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8532751c245b268f37564101746fbbbcfeb24a641f8f1d25a2064995218ea0972300c0e4f95d926d9d3c560b1f0467d857209dcb6dd79311e639c6a22b56233
|
7
|
+
data.tar.gz: ad0fa548a8f068c938770acc4c9e2bcddf0978b5667a48e389041cfccc3ea0de32724d4b370347084248434fc056f7f0d0166a2cf912b688002dce96070e4916
|
data/lib/autobench/config.rb
CHANGED
@@ -13,6 +13,8 @@ class Autobench
|
|
13
13
|
else
|
14
14
|
raise "invalid config"
|
15
15
|
end
|
16
|
+
|
17
|
+
@config["port"] ||= 80
|
16
18
|
end
|
17
19
|
|
18
20
|
def phantomas
|
@@ -23,7 +25,7 @@ class Autobench
|
|
23
25
|
rescue NoMethodError
|
24
26
|
return default
|
25
27
|
end
|
26
|
-
|
28
|
+
end
|
27
29
|
|
28
30
|
def yslow
|
29
31
|
default = ::Autobench::LIB_DIR
|
data/lib/autobench/render.rb
CHANGED
data/lib/autobench/version.rb
CHANGED