yaml_extend 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: b815a64857ec9c62d277b3f34d31bca9c571ac27
4
- data.tar.gz: 36d0262f07cb5e3b8a1aad7cedb50fd3573f29ad
3
+ metadata.gz: ce603e58038175382ccec231f1e2fdda65e9a781
4
+ data.tar.gz: d2d668f53dd1a597f212d976c1a3f38bb531c95a
5
5
  SHA512:
6
- metadata.gz: 8bf158f5a460b3126783673108c4c8c19b44e190439c09e9f7f75dcd0a2fa39160bb8dd4c1e75234163f5b544a66bc3025d12002fa62090ab593c650a172e382
7
- data.tar.gz: ae4f1f62d722cba7bcc5d3f282d0f61eee8e88aef52a9df516fce04ac359f7f3a424d39234397eedf94560a44d3d51cbed53b85522ff737286c1453627255faa
6
+ metadata.gz: eb36e38c9650ce52ba240d9c634aeb4dd663e8c13a9e66a409b1c8fe5171aedd8d2ab2399897f8faf1ceb09ba872a346081280bfc69d6f88aff51da4917c5698
7
+ data.tar.gz: a063559361a024a8eb5bd6abc6d52f290127859031cdb118968557386456d675de696bf1b6708868652f160cfdf90510a122d0e7cce8cbdc04da071fb685d1b7
@@ -7,17 +7,18 @@ require 'yaml'
7
7
  require 'deep_merge/rails_compat'
8
8
 
9
9
  #
10
- # Extending the YAML library to allow to inherit from another YAML files
10
+ # Extending the YAML library to allow to inherit from another YAML file(s)
11
11
  #
12
12
 
13
13
  module YAML
14
14
  #
15
15
  # Extended variant of the #load_file method by providing the
16
- # ability to inherit from other YAML files.
16
+ # ability to inherit from other YAML file(s)
17
17
  #
18
18
  # @param yaml_path [String] the path to the yaml file to be loaded
19
19
  # @param inheritance_key [String] the key used in the yaml file to extend from another YAML file
20
- # @param config [Hash] a hash to be merged into the result, usually recursivly called by the method itself
20
+ # @param extend_existing_arrays [Boolean] Extend existing arrays instead of replacing them
21
+ # @param config [Hash] a hash to be merged into the result, usually only recursivly called by the method itself
21
22
  #
22
23
  def self.ext_load_file(yaml_path, inheritance_key='extends', extend_existing_arrays=true, config = {})
23
24
  total_config ||= {}
@@ -1,3 +1,3 @@
1
1
  module YamlExtend
2
- VERSION = '0.0.6'.freeze
2
+ VERSION = '0.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml_extend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beyrle, Matthäus