idcfcloud 1.1.2 → 1.1.3

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
  SHA256:
3
- metadata.gz: c426a591993dc4f91689733ed42dd7b74fa318997b7bd10e2aed2e79419de34b
4
- data.tar.gz: cbb9b32e9562df3117435d076667ca8900c07f1916f6d68fb970f8f48ca44696
3
+ metadata.gz: b5716358ad42cbc82c5a73402b866e32cbe11597ecd257311ce0ea722ef1dd8e
4
+ data.tar.gz: eb77fe8d1ed74bb3c7e6e97816d2840d6e49c1470d686e14fc1ebe74945c8a50
5
5
  SHA512:
6
- metadata.gz: 8cc9e4688089eba3db58999522f1d1020b3c95ef42ae202f2633b263dd2b7b44ebff927c27a761f721d569e4abfa7951f19cdaf9f3ba0958d5739a349b59c66e
7
- data.tar.gz: 9f7265ea8993df575d658e336ae13dab0afebf02fd092e048f2deb5eae370f9a50896edb10aa3013ca037d3543def691b7f23ed458dc9fae018547dba86ea06e
6
+ metadata.gz: 303bae3af7be4c7dadce097c25aa1b24b37f614ca1e9c15b92e5c5886184c4a76fb79cdb28fe6a3970cbeb8b2598f9d525d6b2512c18c7e5c304302631fac4b5
7
+ data.tar.gz: 3ff417df639f583493beaff231cdf844c2b70d50f2030b776c22d72885fc5a381e5035731680f4fc13989b6e2975e4a23fe4e2f23b94a6470e57a0b132e6ba16
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.3
4
+
5
+ * Change ciphers setting
6
+ * Change argument type
7
+
3
8
  ## 1.1.2
4
9
 
5
10
  * Add the `jp-east-3` region as an option for: `ilb` and `compute`
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")
@@ -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
@@ -17,7 +17,7 @@ module Idcf
17
17
  return if nones.empty?
18
18
 
19
19
  msg = format(MESSAGES[:message], msg: nones.join('/'))
20
- record.errors.add(nones.first, msg, {})
20
+ record.errors.add(nones.first, msg, **{})
21
21
  end
22
22
 
23
23
  protected
@@ -1,5 +1,5 @@
1
1
  module Idcf
2
2
  module Cli
3
- VERSION = '1.1.2'.freeze
3
+ VERSION = '1.1.3'.freeze
4
4
  end
5
5
  end
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.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - IDC Frontier Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -359,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
359
359
  - !ruby/object:Gem::Version
360
360
  version: '0'
361
361
  requirements: []
362
- rubygems_version: 3.1.4
362
+ rubygems_version: 3.1.6
363
363
  signing_key:
364
364
  specification_version: 4
365
365
  summary: IDCF Cli tools