apiotics 0.1.66 → 0.1.67

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
  SHA1:
3
- metadata.gz: 58a38fd703737c3825b0f6b20ed42b2b1fbb6977
4
- data.tar.gz: 4b1df669b0ec51e6d2b26ac74e68b216b12d4b53
3
+ metadata.gz: 7f8c5fa9974f62bba22d59db4a67b8e6f47c291f
4
+ data.tar.gz: 69f53443382647702eb2e5e48f30e2fb0bfe1c02
5
5
  SHA512:
6
- metadata.gz: 74f80aa7eee2a2ca5225660520bcaddb66b1634a8fa959868fbc15b08b70f9a6aef10e847da61262e1b6e4f626049a270c4d73803a060b2a40c4b99701f94bf9
7
- data.tar.gz: 5a0696ed90960fcf6ddf7bfee921553c46405f68a771521d4fc866ffb310c401aaa93c5868116235b0b0a5c28b049763e6e7166dfe1aa6e89cbe79032511fcd4
6
+ metadata.gz: 561b033c281d963c11aba4dd628cbd4c12be7cb5d27f517c5ba4d4b9a94dd58c848c952eeb6086cd7e2560eafbcdbc10f7e318cebf383dca2eefa7fd81f67b5d
7
+ data.tar.gz: efe63dfb647b4e83012afc6857f262c9a97fc407510672cc112e067a6fd06627809a27579531a1918b5ea51584c51aafc5bb62716f7cb41874a54a28b823aa18
@@ -65,23 +65,27 @@ module Apiotics
65
65
  hash = Hash.new
66
66
  configuration["workers"].each do |key, value|
67
67
  hash[key] = Hash.new
68
- configuration["workers"][key]["drivers"].each do |k,v|
69
- a = Array.new
70
- if v["interfaces"] != nil
71
- v["interfaces"].each do |key, value|
72
- a << key
68
+ if configuration["workers"][key]["drivers"] != nil
69
+ configuration["workers"][key]["drivers"].each do |k,v|
70
+ a = Array.new
71
+ if v["interfaces"] != nil
72
+ v["interfaces"].each do |key, value|
73
+ a << key
74
+ end
73
75
  end
76
+ hash[key][v["metadata"]["common name"]] = a
74
77
  end
75
- hash[key][v["metadata"]["common name"]] = a
76
78
  end
77
- configuration["workers"][key]["scripts"].each do |k,v|
78
- a = Array.new
79
- if v["interfaces"] != nil
80
- v["interfaces"].each do |key, value|
81
- a << key
79
+ if configuration["workers"][key]["scripts"] != nil
80
+ configuration["workers"][key]["scripts"].each do |k,v|
81
+ a = Array.new
82
+ if v["interfaces"] != nil
83
+ v["interfaces"].each do |key, value|
84
+ a << key
85
+ end
82
86
  end
87
+ hash[key][v["metadata"]["common name"]] = a
83
88
  end
84
- hash[key][v["metadata"]["common name"]] = a
85
89
  end
86
90
  end
87
91
  hash
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.66'
2
+ VERSION = '0.1.67'
3
3
  end
@@ -3,6 +3,7 @@ Apiotics.configure do |config|
3
3
  config.private_key = nil #set this to an Environment variable
4
4
  config.local_port = 8001
5
5
  config.server_port = 8000
6
+ config.portal = "https://www.apiotics.com/"
6
7
  config.tls = true
7
8
  config.verify_peer = true
8
9
  config.handshake = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.66
4
+ version: 0.1.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails