configurability 3.1.0.pre20170103085451 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.md +32 -25
- data/LICENSE +27 -0
- data/README.md +1 -1
- data/lib/configurability.rb +2 -2
- metadata +4 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6efec5eb6d1c3f7a287d1b2e3b7e46d61a7bf35c
|
4
|
+
data.tar.gz: 4168132a01f061d48023c96b306bc5b63b075056
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f48627d04ffa108d008416c4ffe1b85fe41e98551e4fbadc9868d8cd5faa0dcaa954198287aa46cbaa03c1758ad196ffccf6e031f944a52a9c1c00670b1ad1ec
|
7
|
+
data.tar.gz: ce7b26244d1de74547837558b55081a84f75604719f0abe7f7ac5fd506578c8ca19a5b584ab4413c24a4d79d421799fad78c4c647882a95d34129f748070e238
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
|
1
|
+
## v3.1.0 [2017-01-03] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
Enhancement:
|
4
|
+
|
5
|
+
- Add optional pre-processor block to `setting`s.
|
6
|
+
|
7
|
+
|
8
|
+
## v3.0.0 [2016-11-23] Michael Granger <ged@FaerieMUD.org>
|
2
9
|
|
3
10
|
Enhancement:
|
4
11
|
|
@@ -7,60 +14,60 @@ Enhancement:
|
|
7
14
|
- Add a better default #configure method
|
8
15
|
|
9
16
|
|
10
|
-
|
17
|
+
## v2.2.2 [2016-09-28] Michael Granger <ged@FaerieMUD.org>
|
11
18
|
|
12
19
|
- Added signature for changeset 806d1f512f55
|
13
20
|
|
14
|
-
|
21
|
+
## v2.2.2 [2016-09-28] Michael Granger <ged@FaerieMUD.org>
|
15
22
|
|
16
23
|
- Fix the merge used by Configurability.gather_defaults
|
17
24
|
It should now correctly merge top-level sections together.
|
18
25
|
- Make configuration source logging log at a consistent level.
|
19
26
|
|
20
27
|
|
21
|
-
|
28
|
+
## v2.2.1 [2014-06-04] Michael Granger <ged@FaerieMUD.org>
|
22
29
|
|
23
30
|
Update shared behavior to work under RSpec 3.0.0.
|
24
31
|
|
25
32
|
|
26
|
-
|
33
|
+
## v2.2.0 [2014-05-19] Michael Granger <ged@FaerieMUD.org>
|
27
34
|
|
28
35
|
- Add a .default_config method to objects with Configurability.
|
29
36
|
|
30
37
|
|
31
|
-
|
38
|
+
## v2.1.2 [2014-01-20] Michael Granger <ged@FaerieMUD.org>
|
32
39
|
|
33
40
|
Symbolify keys of defaults for Configurability::Config.new (fixes #3).
|
34
41
|
|
35
42
|
|
36
|
-
|
43
|
+
## v2.1.1 [2013-11-20] Michael Granger <ged@FaerieMUD.org>
|
37
44
|
|
38
45
|
- Fix untainting to not try to dup/untaint immediate objects.
|
39
46
|
Thanks to john@cozy.co for the bug report.
|
40
47
|
|
41
48
|
|
42
|
-
|
49
|
+
## v2.1.0 [2013-08-13] Michael Granger <ged@FaerieMUD.org>
|
43
50
|
|
44
51
|
- Fix behavior of inherited Configurability
|
45
52
|
- Convert specs to use RSpec expect syntax
|
46
53
|
- Drop support for Ruby 1.8.7.
|
47
54
|
|
48
55
|
|
49
|
-
|
56
|
+
## v2.0.2 [2013-06-14] Mahlon E. Smith <mahlon@martini.nu>
|
50
57
|
|
51
58
|
- Added signature for changeset e53b53d65079
|
52
59
|
|
53
|
-
|
60
|
+
## v2.0.2 [2013-06-14] Mahlon E. Smith <mahlon@martini.nu>
|
54
61
|
|
55
62
|
- Load YAML safely if the safe_yaml gem is present.
|
56
63
|
|
57
64
|
|
58
|
-
|
65
|
+
## v2.0.1 [2013-06-07] Mahlon E. Smith <mahlon@martini.nu>
|
59
66
|
|
60
67
|
- Repair relationship with Loggability.
|
61
68
|
|
62
69
|
|
63
|
-
|
70
|
+
## v2.0.0 [2013-01-30] Michael Granger <ged@FaerieMUD.org>
|
64
71
|
|
65
72
|
- Make missing Configurability::Config values return nil instead of
|
66
73
|
auto-vivifying to a Struct.
|
@@ -72,13 +79,13 @@ Symbolify keys of defaults for Configurability::Config.new (fixes #3).
|
|
72
79
|
- Update to loggability 0.4 and add Rubinius (1.9-mode) fixes.
|
73
80
|
|
74
81
|
|
75
|
-
|
82
|
+
## v1.2.0 [2012-05-09] Michael Granger <ged@FaerieMUD.org>
|
76
83
|
|
77
84
|
- Added a command-line utility.
|
78
85
|
- Convert logging to use Loggability.
|
79
86
|
|
80
87
|
|
81
|
-
|
88
|
+
## v1.1.0 [2012-04-25] Michael Granger <ged@FaerieMUD.org>
|
82
89
|
|
83
90
|
Add a 'defaults' API that allows defaults to be gathered from any
|
84
91
|
object with configurability and merged into a hash keyed by the
|
@@ -86,12 +93,12 @@ object's config_key. This hash can be used to generate an initial
|
|
86
93
|
unified config file for all configurable parts of a given system.
|
87
94
|
|
88
95
|
|
89
|
-
|
96
|
+
## v1.0.10 [2012-03-13] Michael Granger <ged@FaerieMUD.org>
|
90
97
|
|
91
98
|
- Fix log level message.
|
92
99
|
|
93
100
|
|
94
|
-
|
101
|
+
## v1.0.9 [2012-01-27] Michael Granger <ged@FaerieMUD.org>
|
95
102
|
|
96
103
|
Fix problems associated with inheritance.
|
97
104
|
|
@@ -109,17 +116,17 @@ Thanks to Mahlon E. Smith for reporting this bug, and for pairing with
|
|
109
116
|
me to fix it.
|
110
117
|
|
111
118
|
|
112
|
-
|
119
|
+
## v1.0.8 [2011-11-01] Michael Granger <ged@FaerieMUD.org>
|
113
120
|
|
114
121
|
- Fix for Ruby 1.9.3-p0.
|
115
122
|
|
116
123
|
|
117
|
-
|
124
|
+
## v1.0.7 [2011-10-13] Michael Granger <ged@FaerieMUD.org>
|
118
125
|
|
119
126
|
- De-Yard and fix some other documentation/packaging issues.
|
120
127
|
|
121
128
|
|
122
|
-
|
129
|
+
## v1.0.6 [2011-03-03] Michael Granger <ged@FaerieMUD.org>
|
123
130
|
|
124
131
|
Bugfixes:
|
125
132
|
|
@@ -127,19 +134,19 @@ Bugfixes:
|
|
127
134
|
`true` as well.
|
128
135
|
|
129
136
|
|
130
|
-
|
137
|
+
## v1.0.5 [2011-02-08] Michael Granger <ged@FaerieMUD.org>
|
131
138
|
|
132
139
|
Bugfixes:
|
133
140
|
|
134
141
|
* Now handles config files with nil keys correctly.
|
135
142
|
|
136
143
|
|
137
|
-
|
144
|
+
## v1.0.4 [2010-11-29] Michael Granger <ged@FaerieMUD.org>
|
138
145
|
|
139
146
|
Packaging fix.
|
140
147
|
|
141
148
|
|
142
|
-
|
149
|
+
## v1.0.3 [2010-11-29] Michael Granger <ged@FaerieMUD.org>
|
143
150
|
|
144
151
|
Enchancements:
|
145
152
|
|
@@ -147,14 +154,14 @@ Enchancements:
|
|
147
154
|
config is loaded.
|
148
155
|
|
149
156
|
|
150
|
-
|
157
|
+
## v1.0.2 [2010-11-29] Michael Granger <ged@FaerieMUD.org>
|
151
158
|
|
152
159
|
Bugfixes:
|
153
160
|
|
154
161
|
* Fixes for specs under 1.9.2.
|
155
162
|
|
156
163
|
|
157
|
-
|
164
|
+
## v1.0.1 [2010-08-08] Michael Granger <ged@FaerieMUD.org>
|
158
165
|
|
159
166
|
Enhancements:
|
160
167
|
|
@@ -163,7 +170,7 @@ Enhancements:
|
|
163
170
|
* Converted tests to RSpec 2.
|
164
171
|
|
165
172
|
|
166
|
-
|
173
|
+
## v1.0.0 [2010-07-12] Michael Granger <ged@FaerieMUD.org>
|
167
174
|
|
168
175
|
Initial release
|
169
176
|
|
data/LICENSE
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
Copyright (c) 2010-2016 Michael Granger and Mahlon E. Smith
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
6
|
+
|
7
|
+
* Redistributions of source code must retain the above copyright notice,
|
8
|
+
this list of conditions and the following disclaimer.
|
9
|
+
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
12
|
+
and/or other materials provided with the distribution.
|
13
|
+
|
14
|
+
* Neither the name of the author/s, nor the names of the project's
|
15
|
+
contributors may be used to endorse or promote products derived from this
|
16
|
+
software without specific prior written permission.
|
17
|
+
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
19
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
22
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
23
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
24
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
25
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
26
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
CHANGED
@@ -396,7 +396,7 @@ and generate the API documentation.
|
|
396
396
|
|
397
397
|
## License
|
398
398
|
|
399
|
-
Copyright (c) 2010-
|
399
|
+
Copyright (c) 2010-2017 Michael Granger and Mahlon E. Smith
|
400
400
|
All rights reserved.
|
401
401
|
|
402
402
|
Redistribution and use in source and binary forms, with or without
|
data/lib/configurability.rb
CHANGED
@@ -13,10 +13,10 @@ module Configurability
|
|
13
13
|
|
14
14
|
|
15
15
|
# Library version constant
|
16
|
-
VERSION = '3.
|
16
|
+
VERSION = '3.1.0'
|
17
17
|
|
18
18
|
# Version-control revision constant
|
19
|
-
REVISION = %q$Revision:
|
19
|
+
REVISION = %q$Revision: 0d8d72ac797f $
|
20
20
|
|
21
21
|
require 'configurability/deferred_config'
|
22
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configurability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -169,6 +169,7 @@ extra_rdoc_files:
|
|
169
169
|
files:
|
170
170
|
- ChangeLog
|
171
171
|
- History.md
|
172
|
+
- LICENSE
|
172
173
|
- Manifest.txt
|
173
174
|
- README.md
|
174
175
|
- Rakefile
|
@@ -202,9 +203,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
203
|
version: 2.2.0
|
203
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
205
|
requirements:
|
205
|
-
- - "
|
206
|
+
- - ">="
|
206
207
|
- !ruby/object:Gem::Version
|
207
|
-
version:
|
208
|
+
version: '0'
|
208
209
|
requirements: []
|
209
210
|
rubyforge_project:
|
210
211
|
rubygems_version: 2.6.8
|
metadata.gz.sig
CHANGED
Binary file
|