ubiq-security 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7988726fc44204d81c5fd65b343c14d34ff24e2fc6883b6fed4acdfc71afb98
4
- data.tar.gz: c22cc110f282e5b93dd42fe49be499a1dff208d6fce0726329499a5b0b0fb93a
3
+ metadata.gz: 97aa80db52e77adb021ed791c52ca09b12bea36fd82d402fca9506e8fcac253d
4
+ data.tar.gz: b421f79fe3e7630dc3b20fc588156c679f60914ecf880c9f799d3861a4d1d9a2
5
5
  SHA512:
6
- metadata.gz: 91e17a9b5b5d52dc2f107585884bdda8e3a12cf2e405329b5204835ac28a9dd416bd044fc0fb530e6b43382d1ec6ecc9b0b9771b4317744fcfef6ae7bd9b9757
7
- data.tar.gz: a428124dc92b6b956a8f5be93d19e00bc4541144894b73f3ee692f6db22bb8514e2be77f8977b140ed04f8f0ed3504d20523c5bec1d5f08399dda4654218afcc
6
+ metadata.gz: 2d6d1136d3db18adf77b492c8369feb76d448fc263e5178be4b896a3c2767ee872700eb2832f8acd7d2ec99f3779e478da4a6172072e1613e72dd7815ff4d2e4
7
+ data.tar.gz: 12cc028eed9331209b3198ceb4b82dc3fd019da29d2148b02923d955a2439d18cb84f8ba2e435d34ba6da2eb8bbb815f0545d67ef4aa567968ae3cf2bdab31c6
@@ -19,6 +19,8 @@
19
19
  require 'configparser'
20
20
  require 'rb-readline'
21
21
  require 'byebug'
22
+ require_relative './host.rb'
23
+
22
24
 
23
25
  module Ubiq
24
26
  # Access Credentials used by the library to validate service calls
@@ -76,6 +78,10 @@ module Ubiq
76
78
  d = config['default']
77
79
  end
78
80
 
81
+ if !d.key?('SERVER')
82
+ d['SERVER'] = Ubiq::UBIQ_HOST
83
+ end
84
+
79
85
  # get the supplied profile if there is one
80
86
  if config[profile].present?
81
87
  p = config[profile]
@@ -17,5 +17,5 @@
17
17
  # frozen_string_literal: true
18
18
 
19
19
  module Ubiq
20
- VERSION = '1.0.1'
20
+ VERSION = '1.0.2'
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubiq-security
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ubiq Security, Inc.