idcfcloud 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/bin/idcfcloud +8 -0
- data/lib/idcf/cli/conf/conf.yml +6 -0
- data/lib/idcf/cli/conf/const.rb +1 -1
- data/lib/idcf/cli/controller/compute.rb +1 -1
- data/lib/idcf/cli/controller/ilb.rb +1 -1
- data/lib/idcf/cli/validate/custom/month_check_validator.rb +2 -2
- data/lib/idcf/cli/validate/custom/require_relation_validator.rb +1 -1
- data/lib/idcf/cli/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5716358ad42cbc82c5a73402b866e32cbe11597ecd257311ce0ea722ef1dd8e
|
4
|
+
data.tar.gz: eb77fe8d1ed74bb3c7e6e97816d2840d6e49c1470d686e14fc1ebe74945c8a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 303bae3af7be4c7dadce097c25aa1b24b37f614ca1e9c15b92e5c5886184c4a76fb79cdb28fe6a3970cbeb8b2598f9d525d6b2512c18c7e5c304302631fac4b5
|
7
|
+
data.tar.gz: 3ff417df639f583493beaff231cdf844c2b70d50f2030b776c22d72885fc5a381e5035731680f4fc13989b6e2975e4a23fe4e2f23b94a6470e57a0b132e6ba16
|
data/CHANGELOG.md
ADDED
data/bin/idcfcloud
CHANGED
@@ -14,4 +14,12 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
14
14
|
require "rubygems"
|
15
15
|
require "bundler/setup"
|
16
16
|
|
17
|
+
require "net/https"
|
18
|
+
Net::HTTP.prepend(Module.new do
|
19
|
+
def use_ssl=(flag)
|
20
|
+
super
|
21
|
+
self.ciphers = "DEFAULT:!DH"
|
22
|
+
end
|
23
|
+
end)
|
24
|
+
|
17
25
|
load Gem.bin_path("idcfcloud", "idcfcloud")
|
data/lib/idcf/cli/conf/conf.yml
CHANGED
@@ -9,6 +9,9 @@ ilb:
|
|
9
9
|
jp-east-2:
|
10
10
|
schema: https://ilb.jp-east-2.idcfcloud.com/api/v1/schema
|
11
11
|
host: ilb.jp-east-2.idcfcloud.com
|
12
|
+
jp-east-3:
|
13
|
+
schema: https://ilb.jp-east-3.idcfcloud.com/api/v1/schema
|
14
|
+
host: ilb.jp-east-3.idcfcloud.com
|
12
15
|
jp-west:
|
13
16
|
schema: https://ilb.jp-west.idcfcloud.com/api/v1/schema
|
14
17
|
host: ilb.jp-west.idcfcloud.com
|
@@ -33,6 +36,9 @@ compute:
|
|
33
36
|
jp-east-2:
|
34
37
|
schema: https://compute.jp-east-2.idcfcloud.com/api/v1/schema
|
35
38
|
host: compute.jp-east-2.idcfcloud.com
|
39
|
+
jp-east-3:
|
40
|
+
schema: https://compute.jp-east-3.idcfcloud.com/api/v1/schema
|
41
|
+
host: compute.jp-east-3.idcfcloud.com
|
36
42
|
jp-west:
|
37
43
|
schema: https://compute.jp-west.idcfcloud.com/api/v1/schema
|
38
44
|
host: compute.jp-west.idcfcloud.com
|
data/lib/idcf/cli/conf/const.rb
CHANGED
@@ -23,7 +23,7 @@ module Idcf
|
|
23
23
|
CODE_CONF_PATH = "#{BASE_PATH}/idcf/cli/conf/conf.yml".freeze
|
24
24
|
USER_CONF_PATH = "#{USER_DIR_PATH}/config.ini".freeze
|
25
25
|
USER_CONF_GLOBAL = "#{BASE_PATH}/../config/config.ini".freeze
|
26
|
-
REGIONS = %w[jp-east jp-east-2 jp-west].freeze
|
26
|
+
REGIONS = %w[jp-east jp-east-2 jp-east-3 jp-west].freeze
|
27
27
|
GLOBAL_CONF_ITEMS =
|
28
28
|
{
|
29
29
|
output_log: {
|
@@ -15,9 +15,9 @@ module Idcf
|
|
15
15
|
|
16
16
|
def validate_each(record, attr, val)
|
17
17
|
str = MESSAGES[:format]
|
18
|
-
return record.errors.add(attr, str, {}) unless format?(val)
|
18
|
+
return record.errors.add(attr, str, **{}) unless format?(val)
|
19
19
|
str = MESSAGES[:invalid]
|
20
|
-
return record.errors.add(attr, str, {}) unless valid?(val)
|
20
|
+
return record.errors.add(attr, str, **{}) unless valid?(val)
|
21
21
|
end
|
22
22
|
|
23
23
|
protected
|
data/lib/idcf/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idcfcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IDC Frontier Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -268,6 +268,7 @@ files:
|
|
268
268
|
- ".codeclimate.yml"
|
269
269
|
- ".gitignore"
|
270
270
|
- ".rubocop.yml"
|
271
|
+
- CHANGELOG.md
|
271
272
|
- Gemfile
|
272
273
|
- LICENSE.txt
|
273
274
|
- README.md
|
@@ -358,8 +359,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
358
359
|
- !ruby/object:Gem::Version
|
359
360
|
version: '0'
|
360
361
|
requirements: []
|
361
|
-
rubygems_version: 3.1.
|
362
|
-
signing_key:
|
362
|
+
rubygems_version: 3.1.6
|
363
|
+
signing_key:
|
363
364
|
specification_version: 4
|
364
365
|
summary: IDCF Cli tools
|
365
366
|
test_files: []
|