res 1.2.15 → 1.2.16

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: bb325ccb7a5fa559ad489de668061c41a26e3da2
4
- data.tar.gz: d35d36429fc71916209daf25ec53894dd3f63ba9
3
+ metadata.gz: 5b18b5dab714e0f2047c7cd740180a4a3c06a03e
4
+ data.tar.gz: 64c203ffe4cdb6f660cc86cccca52b023fb7532d
5
5
  SHA512:
6
- metadata.gz: 06c6991af82847648892ce6eb9a2537d7497fef75ef2e94cb975321749f964dcb2b9908fc358f68a69941b96da01690cd1029a2c6cc60bfc8acb396f2975953c
7
- data.tar.gz: f2f4ec664f39e504d9eb3dd2bbc9a052aaaae2bb9434185cdbff3b970c212c1258e55e02291dbf0ad982a9d2100e617ef70dc2b26450627a481d77bfa9932f48
6
+ metadata.gz: 77e19fe525f1e0985d0dd9f1c316d4bc635e600d8132a5180ffc44c493ab8b1b4243493acefaa1de8baee2461bcfe79553431f31c46146a562aba0f37f3304a2
7
+ data.tar.gz: 09ab11dd2e4c72979f36c133503c8ce8fa22e84603f1b23e54755d677a80af0d061c7e33bd5336dec977ede0e34c6efaaa9b71d6e5ed1d285f588634252f555d
@@ -12,7 +12,7 @@ module Res
12
12
  # At the next major version update this should be moved into the
13
13
  # required list.
14
14
  @config = Res::Config.new([:url, :tag, :description, :app_name, :target],
15
- :optional => [:hive_job_id, :queue, :cert, :cacert, :ssl_verify_mode, :device_type],
15
+ :optional => [:hive_job_id, :queue, :cert, :cacert, :ssl_verify_mode, :device_type, :version],
16
16
  :pre_env => 'LION_')
17
17
  config.process(args)
18
18
  end
@@ -34,6 +34,8 @@ module Res
34
34
  # Set Lion Data
35
35
  lion_data = {
36
36
  :app_name => config.app_name,
37
+ :app_version => config.version || 'Unknown',
38
+ :hive_job_id => config.hive_job_id || 0,
37
39
  :tag => config.tag,
38
40
  :device_type => config.device_type || 'Unknown',
39
41
  :description => config.description,
data/lib/res/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Res
2
- VERSION = '1.2.15'
2
+ VERSION = '1.2.16'
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.15
4
+ version: 1.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-10-26 00:00:00.000000000 Z
13
+ date: 2016-11-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.5.1
131
+ rubygems_version: 2.6.7
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Test Result report libraries