kakine 0.6.5 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/kakine/config.rb +11 -8
- data/lib/kakine/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a618aa43fb7cf7ec0b4449dca6cac0b1781fabba16e019411e2d55b46acd1b89
|
4
|
+
data.tar.gz: 86f2e17c189166813db577c32c142d8125682d7a57be2ec0d7373f48c87c0dac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f94c1946140917fe5a52fc584ce26b28c07ad4458f390b551dace99b4b2e0f2e30f83e99f074a60d6e772c596b67de620f3ab3aefd49d7bf80b9a620f8e08a
|
7
|
+
data.tar.gz: 106bf1e4200f350c45bb33001f0df15ff4837d9bc32280c0659167c13d60ec7f7d3c9dc09b1719a4d85d7d5c05857e4b5bf516dec2d945b90aaa8a5d2fc06d4b
|
data/lib/kakine/config.rb
CHANGED
@@ -3,7 +3,7 @@ require 'yaml'
|
|
3
3
|
|
4
4
|
module Kakine
|
5
5
|
class Config
|
6
|
-
OS_PARAMS = %w[auth_url username password]
|
6
|
+
OS_PARAMS = %w[auth_url username password identity_api_version user_domain_name project_domain_name]
|
7
7
|
|
8
8
|
@@config = {}
|
9
9
|
|
@@ -44,13 +44,16 @@ module Kakine
|
|
44
44
|
|
45
45
|
def self.setup_yao
|
46
46
|
Yao.configure do
|
47
|
-
auth_url
|
48
|
-
tenant_name
|
49
|
-
username
|
50
|
-
password
|
51
|
-
client_cert
|
52
|
-
client_key
|
53
|
-
region_name
|
47
|
+
auth_url @@config['auth_url']
|
48
|
+
tenant_name Kakine::Option.tenant_name
|
49
|
+
username @@config['username']
|
50
|
+
password @@config['password']
|
51
|
+
client_cert @@config['client_cert']
|
52
|
+
client_key @@config['client_key']
|
53
|
+
region_name @@config['region_name']
|
54
|
+
identity_api_version @@config['identity_api_version']
|
55
|
+
user_domain_name @@config['user_domain_name']
|
56
|
+
project_domain_name @@config['project_domain_name']
|
54
57
|
end
|
55
58
|
end
|
56
59
|
end
|
data/lib/kakine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kakine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SHIBATA Hiroshi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yao
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.7.6
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Security Group configuration tool for OpenStack.
|