hiera 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5cecdafdb743981affe4e40bded29576548063e0
4
+ data.tar.gz: 201a3f26a87693c41c57c3f9d6a44d13abc28be3
5
+ SHA512:
6
+ metadata.gz: 760b6aa88cb8d19cfb0e686286b465d47026e56a47543acd9dcc68cb537cf116a75dffa83f16a32ebdf70a3c01d3794f50d4a0c9b1449ee97b7c788b9236a551
7
+ data.tar.gz: f3239a5ff88da1e18b44f5c1c4b5f68fba0758eba9580b0bdcd21b7356d39bab9ed84192ba521c8d0b99e524fcd01d58e9ceb42115e5c0b7e5c1c399f880fc98
@@ -89,7 +89,11 @@ class Hiera
89
89
 
90
90
  hierarchy.flatten.map do |source|
91
91
  source = interpolate_config(source, scope, override)
92
- yield(source) unless source == "" or source =~ /(^\/|\/\/|\/$)/
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
 
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
  class Hiera
10
- VERSION = "3.2.1"
10
+ VERSION = "3.2.2"
11
11
 
12
12
  ##
13
13
  # version is a public API method intended to always provide a fast and
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.1
5
- prerelease:
4
+ version: 3.2.2
6
5
  platform: x64-mingw32
7
6
  authors:
8
7
  - Puppet Labs
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-08-10 00:00:00.000000000 Z
11
+ date: 2016-11-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: win32-dir
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
@@ -35,102 +32,101 @@ extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
34
  - bin/hiera
38
- - lib/hiera/version.rb
39
- - lib/hiera/noop_logger.rb
40
- - lib/hiera/error.rb
41
- - lib/hiera/fallback_logger.rb
42
- - lib/hiera/recursive_guard.rb
43
- - lib/hiera/backend/yaml_backend.rb
35
+ - lib/hiera/backend.rb
44
36
  - lib/hiera/backend/json_backend.rb
37
+ - lib/hiera/backend/yaml_backend.rb
45
38
  - lib/hiera/config.rb
39
+ - lib/hiera/console_logger.rb
40
+ - lib/hiera/error.rb
41
+ - lib/hiera/fallback_logger.rb
46
42
  - lib/hiera/filecache.rb
47
43
  - lib/hiera/interpolate.rb
48
- - lib/hiera/console_logger.rb
44
+ - lib/hiera/noop_logger.rb
49
45
  - lib/hiera/puppet_logger.rb
46
+ - lib/hiera/recursive_guard.rb
50
47
  - lib/hiera/util.rb
51
- - lib/hiera/backend.rb
48
+ - lib/hiera/version.rb
52
49
  - lib/hiera.rb
53
50
  - COPYING
54
51
  - README.md
55
52
  - LICENSE
56
- - spec/unit/interpolate_spec.rb
57
- - spec/unit/fixtures/override/config/hiera.yaml
58
- - spec/unit/fixtures/override/data/alternate.yaml
59
- - spec/unit/fixtures/override/data/common.yaml
53
+ - spec/spec_helper.rb
54
+ - spec/unit/backend/json_backend_spec.rb
55
+ - spec/unit/backend/yaml_backend_spec.rb
56
+ - spec/unit/backend_spec.rb
57
+ - spec/unit/config_spec.rb
58
+ - spec/unit/console_logger_spec.rb
59
+ - spec/unit/fallback_logger_spec.rb
60
+ - spec/unit/filecache_spec.rb
61
+ - spec/unit/fixtures/interpolate/config/hiera.yaml
60
62
  - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera.yaml
61
63
  - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera_bad.yaml
62
- - spec/unit/fixtures/interpolate/config/hiera.yaml
63
- - spec/unit/fixtures/interpolate/data/niltest.yaml
64
- - spec/unit/fixtures/interpolate/data/complex.yaml
65
- - spec/unit/fixtures/interpolate/data/frontend.json
66
- - spec/unit/fixtures/interpolate/data/role.json
67
64
  - spec/unit/fixtures/interpolate/data/bad_interpolation.yaml
65
+ - spec/unit/fixtures/interpolate/data/complex.yaml
68
66
  - spec/unit/fixtures/interpolate/data/dotted_keys.yaml
69
- - spec/unit/fixtures/interpolate/data/weird_keys.yaml
70
67
  - spec/unit/fixtures/interpolate/data/empty_interpolation.yaml
68
+ - spec/unit/fixtures/interpolate/data/frontend.json
69
+ - spec/unit/fixtures/interpolate/data/niltest.yaml
71
70
  - spec/unit/fixtures/interpolate/data/recursive.yaml
72
- - spec/unit/backend_spec.rb
73
- - spec/unit/filecache_spec.rb
74
- - spec/unit/config_spec.rb
75
- - spec/unit/backend/yaml_backend_spec.rb
76
- - spec/unit/backend/json_backend_spec.rb
71
+ - spec/unit/fixtures/interpolate/data/role.json
72
+ - spec/unit/fixtures/interpolate/data/weird_keys.yaml
73
+ - spec/unit/fixtures/override/config/hiera.yaml
74
+ - spec/unit/fixtures/override/data/alternate.yaml
75
+ - spec/unit/fixtures/override/data/common.yaml
76
+ - spec/unit/hiera_spec.rb
77
+ - spec/unit/interpolate_spec.rb
77
78
  - spec/unit/puppet_logger_spec.rb
78
- - spec/unit/console_logger_spec.rb
79
- - spec/unit/version_spec.rb
80
- - spec/unit/fallback_logger_spec.rb
81
79
  - spec/unit/util_spec.rb
82
- - spec/unit/hiera_spec.rb
83
- - spec/spec_helper.rb
80
+ - spec/unit/version_spec.rb
84
81
  homepage: https://github.com/puppetlabs/hiera
85
82
  licenses: []
83
+ metadata: {}
86
84
  post_install_message:
87
85
  rdoc_options: []
88
86
  require_paths:
89
87
  - lib
90
88
  required_ruby_version: !ruby/object:Gem::Requirement
91
- none: false
92
89
  requirements:
93
- - - ! '>='
90
+ - - '>='
94
91
  - !ruby/object:Gem::Version
95
92
  version: '0'
96
93
  required_rubygems_version: !ruby/object:Gem::Requirement
97
- none: false
98
94
  requirements:
99
- - - ! '>='
95
+ - - '>='
100
96
  - !ruby/object:Gem::Version
101
97
  version: '0'
102
98
  requirements: []
103
99
  rubyforge_project:
104
- rubygems_version: 1.8.23
100
+ rubygems_version: 2.0.14
105
101
  signing_key:
106
- specification_version: 3
102
+ specification_version: 4
107
103
  summary: Light weight hierarchical data store
108
104
  test_files:
109
- - spec/unit/interpolate_spec.rb
110
- - spec/unit/fixtures/override/config/hiera.yaml
111
- - spec/unit/fixtures/override/data/alternate.yaml
112
- - spec/unit/fixtures/override/data/common.yaml
105
+ - spec/spec_helper.rb
106
+ - spec/unit/backend/json_backend_spec.rb
107
+ - spec/unit/backend/yaml_backend_spec.rb
108
+ - spec/unit/backend_spec.rb
109
+ - spec/unit/config_spec.rb
110
+ - spec/unit/console_logger_spec.rb
111
+ - spec/unit/fallback_logger_spec.rb
112
+ - spec/unit/filecache_spec.rb
113
+ - spec/unit/fixtures/interpolate/config/hiera.yaml
113
114
  - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera.yaml
114
115
  - spec/unit/fixtures/interpolate/config/hiera_iplm_hiera_bad.yaml
115
- - spec/unit/fixtures/interpolate/config/hiera.yaml
116
- - spec/unit/fixtures/interpolate/data/niltest.yaml
117
- - spec/unit/fixtures/interpolate/data/complex.yaml
118
- - spec/unit/fixtures/interpolate/data/frontend.json
119
- - spec/unit/fixtures/interpolate/data/role.json
120
116
  - spec/unit/fixtures/interpolate/data/bad_interpolation.yaml
117
+ - spec/unit/fixtures/interpolate/data/complex.yaml
121
118
  - spec/unit/fixtures/interpolate/data/dotted_keys.yaml
122
- - spec/unit/fixtures/interpolate/data/weird_keys.yaml
123
119
  - spec/unit/fixtures/interpolate/data/empty_interpolation.yaml
120
+ - spec/unit/fixtures/interpolate/data/frontend.json
121
+ - spec/unit/fixtures/interpolate/data/niltest.yaml
124
122
  - spec/unit/fixtures/interpolate/data/recursive.yaml
125
- - spec/unit/backend_spec.rb
126
- - spec/unit/filecache_spec.rb
127
- - spec/unit/config_spec.rb
128
- - spec/unit/backend/yaml_backend_spec.rb
129
- - spec/unit/backend/json_backend_spec.rb
123
+ - spec/unit/fixtures/interpolate/data/role.json
124
+ - spec/unit/fixtures/interpolate/data/weird_keys.yaml
125
+ - spec/unit/fixtures/override/config/hiera.yaml
126
+ - spec/unit/fixtures/override/data/alternate.yaml
127
+ - spec/unit/fixtures/override/data/common.yaml
128
+ - spec/unit/hiera_spec.rb
129
+ - spec/unit/interpolate_spec.rb
130
130
  - spec/unit/puppet_logger_spec.rb
131
- - spec/unit/console_logger_spec.rb
132
- - spec/unit/version_spec.rb
133
- - spec/unit/fallback_logger_spec.rb
134
131
  - spec/unit/util_spec.rb
135
- - spec/unit/hiera_spec.rb
136
- - spec/spec_helper.rb
132
+ - spec/unit/version_spec.rb