completely 0.3.0 → 0.3.1

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: '0949e2f6df08b0582dc2efd748523bf63732f8c59a5ad41bd479e444568304d2'
4
- data.tar.gz: fe1bf68cbec745eeed052c218f77e42040ae378c36fa99ad36e5d45c6c64a202
3
+ metadata.gz: 6f19143967a28107018c600c7f302bfccd2cf34d70a88be661f68e340e515c07
4
+ data.tar.gz: 6037bb0f6944627f97abf37c51f76d1db213b42402db092fa6c36fb257892c22
5
5
  SHA512:
6
- metadata.gz: a80c321109ac11ec6cc3be603d713e460fb838818c1fe2c56c2fdde9e903f1677fb0027a4dbfc1f0605123658181aa067b48f167c4061221bd85c754c0006f1b
7
- data.tar.gz: a0d7283193046401a94971fcb7cd5f6e58b10087f6fe3b346f5a8d414c0f1252ef59cf9ee6f2ac338618652d54003e6cea9442948806a7b50832fa3c2bccc868
6
+ metadata.gz: c46ac169ab59595c67d3d8a8c320ea7fb56e78715fbc2dd55e4e20534c8543c66f0b62dda01a6802bbaf9f071a5ebd7ffa55a17c70443e05bba8ab8c3bedce71
7
+ data.tar.gz: ac9a7a7934e115957271ec1e5cc736c0df29368f18da6f9eb409069f9690cb2594d6b9bdbf6d4fd18388ce79f7285e66a357d4bb241083ca083fd57102c95746
@@ -7,7 +7,13 @@ module Completely
7
7
 
8
8
  class << self
9
9
  def load(config_path, function_name: nil)
10
- new YAML.load_file(config_path), function_name: function_name
10
+ begin
11
+ data = YAML.load_file config_path, aliases: true
12
+ rescue ArgumentError
13
+ data = YAML.load_file config_path
14
+ end
15
+
16
+ new data, function_name: function_name
11
17
  end
12
18
  end
13
19
 
@@ -1,3 +1,3 @@
1
1
  module Completely
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-28 00:00:00.000000000 Z
11
+ date: 2022-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colsole