hiera 2.0.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING +202 -0
  3. data/LICENSE +18 -0
  4. data/README.md +276 -0
  5. data/bin/hiera +248 -0
  6. data/lib/hiera/backend/json_backend.rb +58 -0
  7. data/lib/hiera/backend/yaml_backend.rb +63 -0
  8. data/lib/hiera/backend.rb +325 -0
  9. data/lib/hiera/config.rb +90 -0
  10. data/lib/hiera/console_logger.rb +13 -0
  11. data/lib/hiera/error.rb +4 -0
  12. data/lib/hiera/fallback_logger.rb +41 -0
  13. data/lib/hiera/filecache.rb +86 -0
  14. data/lib/hiera/interpolate.rb +98 -0
  15. data/lib/hiera/noop_logger.rb +8 -0
  16. data/lib/hiera/puppet_logger.rb +17 -0
  17. data/lib/hiera/recursive_guard.rb +20 -0
  18. data/lib/hiera/util.rb +47 -0
  19. data/lib/hiera/version.rb +89 -0
  20. data/lib/hiera.rb +115 -0
  21. data/spec/spec_helper.rb +78 -0
  22. data/spec/unit/backend/json_backend_spec.rb +85 -0
  23. data/spec/unit/backend/yaml_backend_spec.rb +138 -0
  24. data/spec/unit/backend_spec.rb +743 -0
  25. data/spec/unit/config_spec.rb +118 -0
  26. data/spec/unit/console_logger_spec.rb +19 -0
  27. data/spec/unit/fallback_logger_spec.rb +80 -0
  28. data/spec/unit/filecache_spec.rb +142 -0
  29. data/spec/unit/fixtures/interpolate/config/hiera.yaml +6 -0
  30. data/spec/unit/fixtures/interpolate/data/niltest.yaml +2 -0
  31. data/spec/unit/fixtures/interpolate/data/recursive.yaml +3 -0
  32. data/spec/unit/fixtures/override/config/hiera.yaml +5 -0
  33. data/spec/unit/fixtures/override/data/alternate.yaml +1 -0
  34. data/spec/unit/fixtures/override/data/common.yaml +2 -0
  35. data/spec/unit/hiera_spec.rb +81 -0
  36. data/spec/unit/interpolate_spec.rb +36 -0
  37. data/spec/unit/puppet_logger_spec.rb +31 -0
  38. data/spec/unit/util_spec.rb +49 -0
  39. data/spec/unit/version_spec.rb +44 -0
  40. metadata +128 -0
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hiera
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
5
+ platform: x64-mingw32
6
+ authors:
7
+ - Puppet Labs
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: json_pure
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: win32-dir
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 0.4.8
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 0.4.8
41
+ description: A pluggable data store for hierarcical data
42
+ email: info@puppetlabs.com
43
+ executables:
44
+ - hiera
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - bin/hiera
49
+ - lib/hiera/backend.rb
50
+ - lib/hiera/backend/json_backend.rb
51
+ - lib/hiera/backend/yaml_backend.rb
52
+ - lib/hiera/config.rb
53
+ - lib/hiera/console_logger.rb
54
+ - lib/hiera/error.rb
55
+ - lib/hiera/fallback_logger.rb
56
+ - lib/hiera/filecache.rb
57
+ - lib/hiera/interpolate.rb
58
+ - lib/hiera/noop_logger.rb
59
+ - lib/hiera/puppet_logger.rb
60
+ - lib/hiera/recursive_guard.rb
61
+ - lib/hiera/util.rb
62
+ - lib/hiera/version.rb
63
+ - lib/hiera.rb
64
+ - COPYING
65
+ - README.md
66
+ - LICENSE
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
+ - spec/unit/fixtures/interpolate/data/niltest.yaml
77
+ - spec/unit/fixtures/interpolate/data/recursive.yaml
78
+ - spec/unit/fixtures/override/config/hiera.yaml
79
+ - spec/unit/fixtures/override/data/alternate.yaml
80
+ - spec/unit/fixtures/override/data/common.yaml
81
+ - spec/unit/hiera_spec.rb
82
+ - spec/unit/interpolate_spec.rb
83
+ - spec/unit/puppet_logger_spec.rb
84
+ - spec/unit/util_spec.rb
85
+ - spec/unit/version_spec.rb
86
+ homepage: https://github.com/puppetlabs/hiera
87
+ licenses: []
88
+ metadata: {}
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubyforge_project:
105
+ rubygems_version: 2.0.14
106
+ signing_key:
107
+ specification_version: 4
108
+ summary: Light weight hierarchical data store
109
+ test_files:
110
+ - spec/spec_helper.rb
111
+ - spec/unit/backend/json_backend_spec.rb
112
+ - spec/unit/backend/yaml_backend_spec.rb
113
+ - spec/unit/backend_spec.rb
114
+ - spec/unit/config_spec.rb
115
+ - spec/unit/console_logger_spec.rb
116
+ - spec/unit/fallback_logger_spec.rb
117
+ - spec/unit/filecache_spec.rb
118
+ - spec/unit/fixtures/interpolate/config/hiera.yaml
119
+ - spec/unit/fixtures/interpolate/data/niltest.yaml
120
+ - spec/unit/fixtures/interpolate/data/recursive.yaml
121
+ - spec/unit/fixtures/override/config/hiera.yaml
122
+ - spec/unit/fixtures/override/data/alternate.yaml
123
+ - spec/unit/fixtures/override/data/common.yaml
124
+ - spec/unit/hiera_spec.rb
125
+ - spec/unit/interpolate_spec.rb
126
+ - spec/unit/puppet_logger_spec.rb
127
+ - spec/unit/util_spec.rb
128
+ - spec/unit/version_spec.rb