hiera 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
 - data/lib/hiera/backend.rb +5 -1
 - data/lib/hiera/version.rb +1 -1
 - metadata +55 -61
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,7 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA1:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 7cfac7e47fcb8812d1a3c5e47c1000d936438ee7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 201a3f26a87693c41c57c3f9d6a44d13abc28be3
         
     | 
| 
      
 5 
     | 
    
         
            +
            SHA512:
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 28fbee3c583bbaf33ef8d9cd966f4e78c1761fe93dacbeb51b26624db3281caf7071178102d628284e061e155cc7c1a8486916a8933360d33ee0c029bbbca2ac
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: f3239a5ff88da1e18b44f5c1c4b5f68fba0758eba9580b0bdcd21b7356d39bab9ed84192ba521c8d0b99e524fcd01d58e9ceb42115e5c0b7e5c1c399f880fc98
         
     | 
    
        data/lib/hiera/backend.rb
    CHANGED
    
    | 
         @@ -89,7 +89,11 @@ class Hiera 
     | 
|
| 
       89 
89 
     | 
    
         | 
| 
       90 
90 
     | 
    
         
             
                    hierarchy.flatten.map do |source|
         
     | 
| 
       91 
91 
     | 
    
         
             
                      source = interpolate_config(source, scope, override)
         
     | 
| 
       92 
     | 
    
         
            -
                       
     | 
| 
      
 92 
     | 
    
         
            +
                      if source == "" or source =~ /(^\/|\/\/|\/$)/
         
     | 
| 
      
 93 
     | 
    
         
            +
                        Hiera.debug("Ignoring bad definition in :hierarchy: \'#{source}\'")
         
     | 
| 
      
 94 
     | 
    
         
            +
                      else
         
     | 
| 
      
 95 
     | 
    
         
            +
                        yield(source)
         
     | 
| 
      
 96 
     | 
    
         
            +
                      end
         
     | 
| 
       93 
97 
     | 
    
         
             
                    end
         
     | 
| 
       94 
98 
     | 
    
         
             
                  end
         
     | 
| 
       95 
99 
     | 
    
         | 
    
        data/lib/hiera/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,20 +1,18 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: hiera
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.2. 
     | 
| 
       5 
     | 
    
         
            -
              prerelease: 
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.2.2
         
     | 
| 
       6 
5 
     | 
    
         
             
            platform: x86-mingw32
         
     | 
| 
       7 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
7 
     | 
    
         
             
            - Puppet Labs
         
     | 
| 
       9 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2016- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-11-02 00:00:00.000000000 Z
         
     | 
| 
       13 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
14 
     | 
    
         
             
              name: win32console
         
     | 
| 
       16 
15 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       17 
     | 
    
         
            -
                none: false
         
     | 
| 
       18 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       19 
17 
     | 
    
         
             
                - - '='
         
     | 
| 
       20 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -22,7 +20,6 @@ dependencies: 
     | 
|
| 
       22 
20 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       23 
21 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
22 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       25 
     | 
    
         
            -
                none: false
         
     | 
| 
       26 
23 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
24 
     | 
    
         
             
                - - '='
         
     | 
| 
       28 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -30,7 +27,6 @@ dependencies: 
     | 
|
| 
       30 
27 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       31 
28 
     | 
    
         
             
              name: win32-dir
         
     | 
| 
       32 
29 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       33 
     | 
    
         
            -
                none: false
         
     | 
| 
       34 
30 
     | 
    
         
             
                requirements:
         
     | 
| 
       35 
31 
     | 
    
         
             
                - - ~>
         
     | 
| 
       36 
32 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -38,7 +34,6 @@ dependencies: 
     | 
|
| 
       38 
34 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       39 
35 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       40 
36 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       41 
     | 
    
         
            -
                none: false
         
     | 
| 
       42 
37 
     | 
    
         
             
                requirements:
         
     | 
| 
       43 
38 
     | 
    
         
             
                - - ~>
         
     | 
| 
       44 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
         @@ -51,102 +46,101 @@ extensions: [] 
     | 
|
| 
       51 
46 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       52 
47 
     | 
    
         
             
            files:
         
     | 
| 
       53 
48 
     | 
    
         
             
            - bin/hiera
         
     | 
| 
       54 
     | 
    
         
            -
            - lib/hiera/ 
     | 
| 
       55 
     | 
    
         
            -
            - lib/hiera/noop_logger.rb
         
     | 
| 
       56 
     | 
    
         
            -
            - lib/hiera/error.rb
         
     | 
| 
       57 
     | 
    
         
            -
            - lib/hiera/fallback_logger.rb
         
     | 
| 
       58 
     | 
    
         
            -
            - lib/hiera/recursive_guard.rb
         
     | 
| 
       59 
     | 
    
         
            -
            - lib/hiera/backend/yaml_backend.rb
         
     | 
| 
      
 49 
     | 
    
         
            +
            - lib/hiera/backend.rb
         
     | 
| 
       60 
50 
     | 
    
         
             
            - lib/hiera/backend/json_backend.rb
         
     | 
| 
      
 51 
     | 
    
         
            +
            - lib/hiera/backend/yaml_backend.rb
         
     | 
| 
       61 
52 
     | 
    
         
             
            - lib/hiera/config.rb
         
     | 
| 
      
 53 
     | 
    
         
            +
            - lib/hiera/console_logger.rb
         
     | 
| 
      
 54 
     | 
    
         
            +
            - lib/hiera/error.rb
         
     | 
| 
      
 55 
     | 
    
         
            +
            - lib/hiera/fallback_logger.rb
         
     | 
| 
       62 
56 
     | 
    
         
             
            - lib/hiera/filecache.rb
         
     | 
| 
       63 
57 
     | 
    
         
             
            - lib/hiera/interpolate.rb
         
     | 
| 
       64 
     | 
    
         
            -
            - lib/hiera/ 
     | 
| 
      
 58 
     | 
    
         
            +
            - lib/hiera/noop_logger.rb
         
     | 
| 
       65 
59 
     | 
    
         
             
            - lib/hiera/puppet_logger.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - lib/hiera/recursive_guard.rb
         
     | 
| 
       66 
61 
     | 
    
         
             
            - lib/hiera/util.rb
         
     | 
| 
       67 
     | 
    
         
            -
            - lib/hiera/ 
     | 
| 
      
 62 
     | 
    
         
            +
            - lib/hiera/version.rb
         
     | 
| 
       68 
63 
     | 
    
         
             
            - lib/hiera.rb
         
     | 
| 
       69 
64 
     | 
    
         
             
            - COPYING
         
     | 
| 
       70 
65 
     | 
    
         
             
            - README.md
         
     | 
| 
       71 
66 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       72 
     | 
    
         
            -
            - spec/ 
     | 
| 
       73 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       74 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       75 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
      
 67 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 68 
     | 
    
         
            +
            - spec/unit/backend/json_backend_spec.rb
         
     | 
| 
      
 69 
     | 
    
         
            +
            - spec/unit/backend/yaml_backend_spec.rb
         
     | 
| 
      
 70 
     | 
    
         
            +
            - spec/unit/backend_spec.rb
         
     | 
| 
      
 71 
     | 
    
         
            +
            - spec/unit/config_spec.rb
         
     | 
| 
      
 72 
     | 
    
         
            +
            - spec/unit/console_logger_spec.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - spec/unit/fallback_logger_spec.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - spec/unit/filecache_spec.rb
         
     | 
| 
      
 75 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/config/hiera.yaml
         
     | 
| 
       76 
76 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera.yaml
         
     | 
| 
       77 
77 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera_bad.yaml
         
     | 
| 
       78 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/config/hiera.yaml
         
     | 
| 
       79 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/niltest.yaml
         
     | 
| 
       80 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/complex.yaml
         
     | 
| 
       81 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/frontend.json
         
     | 
| 
       82 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/role.json
         
     | 
| 
       83 
78 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/bad_interpolation.yaml
         
     | 
| 
      
 79 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/complex.yaml
         
     | 
| 
       84 
80 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/dotted_keys.yaml
         
     | 
| 
       85 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/weird_keys.yaml
         
     | 
| 
       86 
81 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/empty_interpolation.yaml
         
     | 
| 
      
 82 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/frontend.json
         
     | 
| 
      
 83 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/niltest.yaml
         
     | 
| 
       87 
84 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/recursive.yaml
         
     | 
| 
       88 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       89 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       90 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       91 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       92 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
      
 85 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/role.json
         
     | 
| 
      
 86 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/weird_keys.yaml
         
     | 
| 
      
 87 
     | 
    
         
            +
            - spec/unit/fixtures/override/config/hiera.yaml
         
     | 
| 
      
 88 
     | 
    
         
            +
            - spec/unit/fixtures/override/data/alternate.yaml
         
     | 
| 
      
 89 
     | 
    
         
            +
            - spec/unit/fixtures/override/data/common.yaml
         
     | 
| 
      
 90 
     | 
    
         
            +
            - spec/unit/hiera_spec.rb
         
     | 
| 
      
 91 
     | 
    
         
            +
            - spec/unit/interpolate_spec.rb
         
     | 
| 
       93 
92 
     | 
    
         
             
            - spec/unit/puppet_logger_spec.rb
         
     | 
| 
       94 
     | 
    
         
            -
            - spec/unit/console_logger_spec.rb
         
     | 
| 
       95 
     | 
    
         
            -
            - spec/unit/version_spec.rb
         
     | 
| 
       96 
     | 
    
         
            -
            - spec/unit/fallback_logger_spec.rb
         
     | 
| 
       97 
93 
     | 
    
         
             
            - spec/unit/util_spec.rb
         
     | 
| 
       98 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       99 
     | 
    
         
            -
            - spec/spec_helper.rb
         
     | 
| 
      
 94 
     | 
    
         
            +
            - spec/unit/version_spec.rb
         
     | 
| 
       100 
95 
     | 
    
         
             
            homepage: https://github.com/puppetlabs/hiera
         
     | 
| 
       101 
96 
     | 
    
         
             
            licenses: []
         
     | 
| 
      
 97 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
       102 
98 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       103 
99 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       104 
100 
     | 
    
         
             
            require_paths:
         
     | 
| 
       105 
101 
     | 
    
         
             
            - lib
         
     | 
| 
       106 
102 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       107 
     | 
    
         
            -
              none: false
         
     | 
| 
       108 
103 
     | 
    
         
             
              requirements:
         
     | 
| 
       109 
     | 
    
         
            -
              - -  
     | 
| 
      
 104 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       110 
105 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       111 
106 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       112 
107 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       113 
     | 
    
         
            -
              none: false
         
     | 
| 
       114 
108 
     | 
    
         
             
              requirements:
         
     | 
| 
       115 
     | 
    
         
            -
              - -  
     | 
| 
      
 109 
     | 
    
         
            +
              - - '>='
         
     | 
| 
       116 
110 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       117 
111 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       118 
112 
     | 
    
         
             
            requirements: []
         
     | 
| 
       119 
113 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       120 
     | 
    
         
            -
            rubygems_version:  
     | 
| 
      
 114 
     | 
    
         
            +
            rubygems_version: 2.0.14
         
     | 
| 
       121 
115 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       122 
     | 
    
         
            -
            specification_version:  
     | 
| 
      
 116 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
       123 
117 
     | 
    
         
             
            summary: Light weight hierarchical data store
         
     | 
| 
       124 
118 
     | 
    
         
             
            test_files:
         
     | 
| 
       125 
     | 
    
         
            -
            - spec/ 
     | 
| 
       126 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       127 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       128 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
      
 119 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 120 
     | 
    
         
            +
            - spec/unit/backend/json_backend_spec.rb
         
     | 
| 
      
 121 
     | 
    
         
            +
            - spec/unit/backend/yaml_backend_spec.rb
         
     | 
| 
      
 122 
     | 
    
         
            +
            - spec/unit/backend_spec.rb
         
     | 
| 
      
 123 
     | 
    
         
            +
            - spec/unit/config_spec.rb
         
     | 
| 
      
 124 
     | 
    
         
            +
            - spec/unit/console_logger_spec.rb
         
     | 
| 
      
 125 
     | 
    
         
            +
            - spec/unit/fallback_logger_spec.rb
         
     | 
| 
      
 126 
     | 
    
         
            +
            - spec/unit/filecache_spec.rb
         
     | 
| 
      
 127 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/config/hiera.yaml
         
     | 
| 
       129 
128 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera.yaml
         
     | 
| 
       130 
129 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera_bad.yaml
         
     | 
| 
       131 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/config/hiera.yaml
         
     | 
| 
       132 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/niltest.yaml
         
     | 
| 
       133 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/complex.yaml
         
     | 
| 
       134 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/frontend.json
         
     | 
| 
       135 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/role.json
         
     | 
| 
       136 
130 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/bad_interpolation.yaml
         
     | 
| 
      
 131 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/complex.yaml
         
     | 
| 
       137 
132 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/dotted_keys.yaml
         
     | 
| 
       138 
     | 
    
         
            -
            - spec/unit/fixtures/interpolate/data/weird_keys.yaml
         
     | 
| 
       139 
133 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/empty_interpolation.yaml
         
     | 
| 
      
 134 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/frontend.json
         
     | 
| 
      
 135 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/niltest.yaml
         
     | 
| 
       140 
136 
     | 
    
         
             
            - spec/unit/fixtures/interpolate/data/recursive.yaml
         
     | 
| 
       141 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       142 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       143 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       144 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       145 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
      
 137 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/role.json
         
     | 
| 
      
 138 
     | 
    
         
            +
            - spec/unit/fixtures/interpolate/data/weird_keys.yaml
         
     | 
| 
      
 139 
     | 
    
         
            +
            - spec/unit/fixtures/override/config/hiera.yaml
         
     | 
| 
      
 140 
     | 
    
         
            +
            - spec/unit/fixtures/override/data/alternate.yaml
         
     | 
| 
      
 141 
     | 
    
         
            +
            - spec/unit/fixtures/override/data/common.yaml
         
     | 
| 
      
 142 
     | 
    
         
            +
            - spec/unit/hiera_spec.rb
         
     | 
| 
      
 143 
     | 
    
         
            +
            - spec/unit/interpolate_spec.rb
         
     | 
| 
       146 
144 
     | 
    
         
             
            - spec/unit/puppet_logger_spec.rb
         
     | 
| 
       147 
     | 
    
         
            -
            - spec/unit/console_logger_spec.rb
         
     | 
| 
       148 
     | 
    
         
            -
            - spec/unit/version_spec.rb
         
     | 
| 
       149 
     | 
    
         
            -
            - spec/unit/fallback_logger_spec.rb
         
     | 
| 
       150 
145 
     | 
    
         
             
            - spec/unit/util_spec.rb
         
     | 
| 
       151 
     | 
    
         
            -
            - spec/unit/ 
     | 
| 
       152 
     | 
    
         
            -
            - spec/spec_helper.rb
         
     | 
| 
      
 146 
     | 
    
         
            +
            - spec/unit/version_spec.rb
         
     |