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 +4 -4
- data/lib/cfhighlander.model.component.rb +1 -1
- data/lib/cfhighlander.tests.rb +2 -2
- data/lib/cfhighlander.version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb6b22e9aca2a4fa069a2fff21b757d2c7f38e64508480313aa5f8350feb3d8d
|
4
|
+
data.tar.gz: '085b1562ebb2276335875e5313e17b0453aea771ba1aebab59bafb15ba381071'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/cfhighlander.tests.rb
CHANGED
@@ -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
|
data/lib/cfhighlander.version.rb
CHANGED
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.
|
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-
|
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: '
|
298
|
+
version: '3.1'
|
299
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
300
|
requirements:
|
301
301
|
- - ">="
|