yml_merger 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/yml_merger.rb +1 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4ec9c56347fd8ab5c728f052a0d43e5824758f20
4
- data.tar.gz: 3db4861372aa21f35674c3d6c837a0f8d70dd6fb
2
+ SHA256:
3
+ metadata.gz: acec77a9d9e4fcc0d6e2871ba7394cccdee5e179ff348f49795cf2f3a8cf7a1d
4
+ data.tar.gz: 4cb5dde24c0e12568cf96c509a16e0e47acae0a1e642f29e5940193ae243087f
5
5
  SHA512:
6
- metadata.gz: eb0e8c080d2c9401945734ce7d5e3e14f8056414bbdedc000c45b89568b74e6ba16cbaa1ade1d4ba8c1fe5ebe3d47288d1f038088d9bc04acc74889c7d69a0e4
7
- data.tar.gz: 1fa5b0956da2e1b61b4782b54e62865c29e19acf84b65265fc7ec6153782ec5edebc1f850637bcfdb125cc86c7c7fd1144bdbbf81fe322c93ec90826bf207197
6
+ metadata.gz: da222749f93542f547ee4c3c8a7bb244c1973cc95776869a23570cce5abf95d160dcd031d73facd5b42f10e4339f4f26e1294420d7e63a6322bd7289bd213156
7
+ data.tar.gz: 9a5185f86efc898fcc62a05df69cc6775e037171037bcdeb2340c24c9d9d7382d087ec6898036b9f7d8592c3cfcd1d027a21d9004267fe4f4a11351aa56c6c3d
data/lib/yml_merger.rb CHANGED
@@ -113,7 +113,7 @@ class YML_Merger
113
113
  #add globals.yml before load file
114
114
  @logger.info file
115
115
  content = open(file.tr('\\','/')){|f| f.read}
116
- content = YAML::load(content)
116
+ content = YAML::load(content, aliases: true)
117
117
  return if content.class == FalseClass
118
118
  #if has file dependence load it
119
119
  if content['__load__'] != nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yml_merger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hake Huang
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-16 00:00:00.000000000 Z
12
+ date: 2023-12-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: yaml extension for heiarchy merge
15
15
  email: hakehuang@gmail.com
@@ -37,8 +37,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
37
37
  - !ruby/object:Gem::Version
38
38
  version: '0'
39
39
  requirements: []
40
- rubyforge_project:
41
- rubygems_version: 2.6.6
40
+ rubygems_version: 3.3.3
42
41
  signing_key:
43
42
  specification_version: 4
44
43
  summary: yaml_merger