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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e7c42774b6cc71930016e1b3c7b16bb54a163cb
4
- data.tar.gz: e22fba570f91b7b45ef496b310b4d4fd91a4f785
3
+ metadata.gz: 5b69a4bc4171ff8b8808436911b8c144bbdc51bd
4
+ data.tar.gz: 06cf71f921b536c968090edaacaa38cd5ceebdf4
5
5
  SHA512:
6
- metadata.gz: bb1beb86aee5d3389232c43ebfa700c3bdeacc0853d32c316d3413d839a76156744c132e192ebcd270fab669ebc8df03df1b1b71ccfc57c3412cbcf4d376901a
7
- data.tar.gz: 9db66ada15aefebc6f386272a1b1a0d2bd83436a0aaa030323dc5733c8f8768b43a7b08371e8b23a2dd1a52e6d8b06e25c257160a7f091028b172305faacaa2c
6
+ metadata.gz: 3ed4a7aeb7b65385ed706ebd23001a4590b7bdaaedb6d79df48e3c481ba3aad268c26a7d4b51b6f3cc2ae756f12c18b40d45de1ff4c951e755896adfc792d6f3
7
+ data.tar.gz: 407101907cfc127fc3cbd04d29e57c0a605edb6dbf02c5ea68e3e90d94d726f6f229de6b03a06adaecd00f33a48b3ccb5204ac188d0b343d36e8436e550d48ac
@@ -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=#{url} --runs=#{@config["runs"]} --format=json"
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
@@ -69,6 +69,8 @@ class Autobench
69
69
  @httperf_config["num-conns"] = config["runs"]
70
70
  end
71
71
 
72
+ @httperf_config['uri'] = "'#{@httperf_config['uri']}'"
73
+
72
74
  @httperf_config.merge!(httperf_forced_options)
73
75
  end
74
76
 
@@ -1,3 +1,3 @@
1
1
  class Autobench
2
- VERSION = '0.0.1alpha6'
2
+ VERSION = '0.0.1alpha7'
3
3
  end
@@ -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.1alpha6
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-01 00:00:00.000000000 Z
11
+ date: 2013-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake