autobench 0.0.1alpha3 → 0.0.1alpha4

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: e6813fa1ccd17fb9bba6f070f8e07c0f8c28e941
4
- data.tar.gz: 0c7f8d2808b9b4e8bef3402c58f6ba18c2d799ad
3
+ metadata.gz: 4d7a069dc7856bc7fbb5edd800e0c34354a8bdc2
4
+ data.tar.gz: 857b0b817be40263b0cbc2b4d6db54a009f42b02
5
5
  SHA512:
6
- metadata.gz: 2eebb46d2d60c5d35226b3870a7f7e663b406445b1086d6313d7cadb30794ac7da64e0a76372d0eccb69fe07ce0538648c49ef2dbccce420a5ecd8f4598578db
7
- data.tar.gz: 1009ab08ee35d58fe3f192d6ae626c40e5dfda4bb119500a6c0c28ced0bca41cd3df37862d3cfce6f69d142b6e2be0fa561009718f20e74c2a2e9680bf601424
6
+ metadata.gz: d8532751c245b268f37564101746fbbbcfeb24a641f8f1d25a2064995218ea0972300c0e4f95d926d9d3c560b1f0467d857209dcb6dd79311e639c6a22b56233
7
+ data.tar.gz: ad0fa548a8f068c938770acc4c9e2bcddf0978b5667a48e389041cfccc3ea0de32724d4b370347084248434fc056f7f0d0166a2cf912b688002dce96070e4916
@@ -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
- end
28
+ end
27
29
 
28
30
  def yslow
29
31
  default = ::Autobench::LIB_DIR
@@ -59,7 +59,7 @@ class Autobench
59
59
  end
60
60
 
61
61
  # all required
62
- %w{ server port uri }.each do |key|
62
+ %w{ server uri }.each do |key|
63
63
  raise "Autobench::Render missing `#{key}`." unless config.has_key?(key)
64
64
  @httperf_config[key] = config[key]
65
65
  end
@@ -1,3 +1,3 @@
1
1
  class Autobench
2
- VERSION = '0.0.1alpha3'
2
+ VERSION = '0.0.1alpha4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1alpha3
4
+ version: 0.0.1alpha4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Mervine