yaml_extend 0.0.7 → 0.0.8

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: ce603e58038175382ccec231f1e2fdda65e9a781
4
- data.tar.gz: d2d668f53dd1a597f212d976c1a3f38bb531c95a
3
+ metadata.gz: 7f1b37a713b8201d50d938d94fe832073c038293
4
+ data.tar.gz: fc65e098feecb493ef9dd3e19bf2813f20109b0c
5
5
  SHA512:
6
- metadata.gz: eb36e38c9650ce52ba240d9c634aeb4dd663e8c13a9e66a409b1c8fe5171aedd8d2ab2399897f8faf1ceb09ba872a346081280bfc69d6f88aff51da4917c5698
7
- data.tar.gz: a063559361a024a8eb5bd6abc6d52f290127859031cdb118968557386456d675de696bf1b6708868652f160cfdf90510a122d0e7cce8cbdc04da071fb685d1b7
6
+ metadata.gz: 457adaa6c6599faa2e2b8c64523ec9d7689019fdb652447ea54353e13d5cede17f57b926694ca3ae742146d6d43cf0a4858af8fecb11898f88d3a76de6ed03d3
7
+ data.tar.gz: bb878d0906d4233e8091e9f9da89fb7f2310f022534f8c6992559db1846f3f02acbb091c3d1ff1dd14001114ec239f66899fc6374d0030c4a3eb053b5bbd234a
@@ -1,3 +1,3 @@
1
1
  module YamlExtend
2
- VERSION = '0.0.7'.freeze
2
+ VERSION = '0.0.8'.freeze
3
3
  end
data/lib/yaml_extend.rb CHANGED
@@ -17,9 +17,11 @@ module YAML
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 extend_existing_arrays [Boolean] Extend existing arrays instead of replacing them
20
+ # @param extend_existing_arrays [Boolean] extend existing arrays instead of replacing them
21
21
  # @param config [Hash] a hash to be merged into the result, usually only recursivly called by the method itself
22
22
  #
23
+ # @return [Hash] the resulting yaml config
24
+ #
23
25
  def self.ext_load_file(yaml_path, inheritance_key='extends', extend_existing_arrays=true, config = {})
24
26
  total_config ||= {}
25
27
  yaml_path = YAML.make_absolute_path yaml_path
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beyrle, Matthäus