cfhighlander 0.13.0 → 0.13.2

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: 9b7307f53eadd829977025dfca693aedb1167fb264c7284761838daf4e37245c
4
- data.tar.gz: 59b506bfcb6841b5acc9c1bc8b875af571a18deba848783771de2734bea4bb08
3
+ metadata.gz: eb6b22e9aca2a4fa069a2fff21b757d2c7f38e64508480313aa5f8350feb3d8d
4
+ data.tar.gz: '085b1562ebb2276335875e5313e17b0453aea771ba1aebab59bafb15ba381071'
5
5
  SHA512:
6
- metadata.gz: 109058d0c98dc7e2df36b7f71ba2706399cdcf81a99d1584ffcf2eee6ba74b00b00bb3e87d0ac62093d578167365d81bc0bf2409ae1346352eb44e8b609249ef
7
- data.tar.gz: b28cdb029069893b1c49c4222bcf15138e14fa5fc0dfe51981e652d0252e8704bc284b323242936ff0b3786806099bf18fc4a3949cc329f2a27471f8b5af2b1e
6
+ metadata.gz: 259d533c9bb6825419585a41f73565206464fae860cd371e96580574206fdfa80a45d95b2151390359bdccb8fb3d7542f9b224080dc721bd8c709314917a9052
7
+ data.tar.gz: 981d767ae2affb2d937754838aa86cfee71ab869e4a09566db720d283accb377783b5e6cfaecd7e4a71e306cccce9cb99e3e749646515c77168fa8969687b2da
@@ -75,7 +75,7 @@ module Cfhighlander
75
75
  @config = {} if @config.nil?
76
76
  Dir["#{@component_dir}/*.config.yaml"].each do |config_file|
77
77
  puts "INFO Loading config for #{@name}: read file:#{config_file} "
78
- partial_config = YAML.load(File.read(config_file, aliases: true))
78
+ partial_config = YAML.load(File.read(config_file), aliases: true)
79
79
  if (not partial_config)
80
80
  STDERR.puts "WARNING: Configuration file #{config_file} could not be loaded"
81
81
  next
@@ -40,7 +40,7 @@ module CfHighlander
40
40
 
41
41
  def load_default_config
42
42
  begin
43
- YAML.load_file("#{@component_name}.config.yaml") || {}
43
+ YAML.load_file("#{@component_name}.config.yaml", aliases: true) || {}
44
44
  rescue Errno::ENOENT => e
45
45
  {}
46
46
  end
@@ -48,7 +48,7 @@ module CfHighlander
48
48
 
49
49
  def load_test_case(file)
50
50
  begin
51
- YAML.load_file(file)
51
+ YAML.load_file(file, aliases: true)
52
52
  rescue Errno::ENOENT => e
53
53
  abort "No test file found for #{file}"
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module Cfhighlander
2
- VERSION="0.13.0".freeze
2
+ VERSION="0.13.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfhighlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Tosic
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-02-21 00:00:00.000000000 Z
13
+ date: 2023-02-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline
@@ -295,7 +295,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
295
295
  requirements:
296
296
  - - ">="
297
297
  - !ruby/object:Gem::Version
298
- version: '2.7'
298
+ version: '3.1'
299
299
  required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  requirements:
301
301
  - - ">="