hierarchical_config 0.4 → 0.5

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.
Files changed (2) hide show
  1. data/lib/hierarchical_config.rb +3 -0
  2. metadata +22 -39
@@ -5,7 +5,10 @@ require 'set'
5
5
 
6
6
  module HierarchicalConfig
7
7
  REQUIRED = :REQUIRED
8
+ #this is the incantation that works for ruby 1.8.7 (syck)
8
9
  YAML.add_builtin_type( 'REQUIRED' ){ REQUIRED }
10
+ #and this works for 1.9.3 (Psych)
11
+ YAML.add_domain_type( nil, 'REQUIRED' ){ REQUIRED }
9
12
 
10
13
  class OpenStruct < ::OpenStruct
11
14
  def method_missing( mid, *args ) # :nodoc:
metadata CHANGED
@@ -1,68 +1,51 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hierarchical_config
3
- version: !ruby/object:Gem::Version
4
- hash: 3
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.5'
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- version: "0.4"
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - timgaleckas
13
9
  - tjbladez
14
10
  - jdfrens
15
11
  autorequire:
16
12
  bindir: bin
17
13
  cert_chain: []
18
-
19
- date: 2012-07-19 00:00:00 Z
14
+ date: 2012-07-19 00:00:00.000000000 Z
20
15
  dependencies: []
21
-
22
- description: Robust strategy for defining the configuration accross environements, machines, clusters
16
+ description: Robust strategy for defining the configuration accross environments,
17
+ machines, clusters
23
18
  email: tim@galeckas.com, nick@tjbladez.com
24
19
  executables: []
25
-
26
20
  extensions: []
27
-
28
21
  extra_rdoc_files: []
29
-
30
- files:
22
+ files:
31
23
  - lib/hierarchical_config.rb
32
24
  - README.markdown
33
25
  homepage: http://github.com/timgaleckas/hierarchical_config
34
26
  licenses: []
35
-
36
27
  post_install_message:
37
28
  rdoc_options: []
38
-
39
- require_paths:
29
+ require_paths:
40
30
  - lib
41
- required_ruby_version: !ruby/object:Gem::Requirement
31
+ required_ruby_version: !ruby/object:Gem::Requirement
42
32
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
- version: "0"
50
- required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
38
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- hash: 3
56
- segments:
57
- - 0
58
- version: "0"
39
+ requirements:
40
+ - - ! '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
59
43
  requirements: []
60
-
61
44
  rubyforge_project:
62
- rubygems_version: 1.8.21
45
+ rubygems_version: 1.8.23
63
46
  signing_key:
64
47
  specification_version: 3
65
- summary: Robust strategy for defining the configuration accross environements, machines, clusters
48
+ summary: Robust strategy for defining the configuration accross environments, machines,
49
+ clusters
66
50
  test_files: []
67
-
68
51
  has_rdoc: false