res 1.2.6 → 1.2.7

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: 69d1a6c5c7646f24de5ef463ee5f9b8277527d94
4
- data.tar.gz: a1ce4fc3dc637dbca1e2366678214f110d4eae3a
3
+ metadata.gz: c597adac1135e9c59caf0a9e194a935ca8c8afef
4
+ data.tar.gz: 9d5d2ddf0f7111f542ec7bb81a78fd61d1efd003
5
5
  SHA512:
6
- metadata.gz: 3a69b51c0674daf6f4d9e3ee1cda33dad27e33538596e676bcaec86baf8463be0e182aba314a0413cd050a81abc98a2e237aec482b0917fe47d7701e16b45b7b
7
- data.tar.gz: 74e7cca201901f4a1dddf606d711be020a721e614687e5c153f2951dcb0d1a55657701b0a18c9adfb19cdb6fba22f434f108b62915e3001caa61e551ce3de0aa
6
+ metadata.gz: b0be494e78744b5a8aefa7a5763a9105cca12d08627a7be43a2c44603bc608753592b0db9641c47866c75f0dab2ad174f15c08e9493c1c36cc625ed0801e223f
7
+ data.tar.gz: 642df930a20cc72194b654827f5785a3a0fcb91d65972413540a71ee636856ec785ae102a05a37e3d0195034e8f88dc51298d78a1932e8de637d3559f3fd828c
data/bin/res CHANGED
@@ -172,6 +172,7 @@ if options.reporter
172
172
  :url => options.url,
173
173
  :cert => options.cert,
174
174
  :cacert => options.cacert,
175
+ :target => options.target,
175
176
  :ssl_verify_mode => options.ssl_verify_mode,
176
177
  :ir => ir
177
178
  )
@@ -24,7 +24,16 @@ module Res
24
24
  values[count] = ir.tests[count][:values]
25
25
  count += 1
26
26
  end
27
-
27
+
28
+ perf_values = {}
29
+ ir.tests.collect do |t|
30
+ if values = t[:values]
31
+ values.each do |k,v|
32
+ perf_values[k] = v if v.is_a? Numeric
33
+ end
34
+ end
35
+ end
36
+
28
37
  # Set Lion Data
29
38
  lion_data = {
30
39
  :app_name => config.app_name,
@@ -35,7 +44,7 @@ module Res
35
44
  :started => ir.results.first[:started],
36
45
  :finished => ir.results.last[:finished],
37
46
  :status => status,
38
- :perf_values => values.compact!
47
+ :measures => perf_values
39
48
  }
40
49
 
41
50
 
@@ -1,3 +1,3 @@
1
1
  module Res
2
- VERSION = '1.2.6'
2
+ VERSION = '1.2.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: res
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC