configurability 3.2.0.pre20170417124946 → 3.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e8dd8f36e8946a47bb0995306511f0b294cb017
4
- data.tar.gz: 328e482e54d855294152c4cdd6c3a681537970a0
3
+ metadata.gz: 4ffd2e97221e0558f84a3a455089aaa44aa2a41d
4
+ data.tar.gz: 42b0863e1184683ccaea9e807da969de757d3b43
5
5
  SHA512:
6
- metadata.gz: 0d44d26d9266ebdf4356507f42714471015a99c3a889d9b373ed89a8958db681ce35a0e4af16962d74aceb5d803c6b511c4dd473d72ed1b49d203424081d7781
7
- data.tar.gz: 6050a8d1125b623b4ffa2f4795c7df05ad846977e01cdee654ff944c4bc9deee16f7488781f1b66b0eef93ccdba997fe9bb72dde84262abe7ed782647a6817ef
6
+ metadata.gz: b19de705961544e8f61f671855151391b3635768f126551dd7fac083f0c06c73c472c3171df35b1a93771204af394bc6fb75e2e5970b5c970cb5db7a6ac7f458
7
+ data.tar.gz: 2ea226c4cefde892364f1da8d50fe4666f180748dd1801f0c49b884be0771c2ae5bd70e67187cf3cf2b3dbbd03ee8c1dc45691fb2dd47e45acda7a948c5b0b09
@@ -0,0 +1,2 @@
1
+ �|��i�}mC���.6�P����j�O�Wٛ�%��|57�&Һ��y��e=n+9��J�g8f��N<��Vq����8,�5�y�� �_�3s�"�L�F�2��wy:k��p[���K�(��ڎ� z��𡒳�=0���(���:'����%�)��X�p0l����~��s��F2�l1λ�!sE�<�J�K�Q�Dt�R��@�A�1�K0BJ"w ^-w�Sص�P]h�-Q��1���C���x�Ө:�{9�v��h��6���w���tT^(~U�Ƨ�"�7�(�~H�����;<�!
2
+ `��-����4����sS�E���R���'��H��7+����}�Pn :�D�u���m���LJ�O�c/
Binary file
data/ChangeLog CHANGED
@@ -1,14 +1,195 @@
1
+ 2017-04-17 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .hgtags:
4
+ Added tag v3.2.0 for changeset f29a2ec77509
5
+ [a21b6f09e76c] [tip]
6
+
7
+ * .hgsigs:
8
+ Added signature for changeset c1a8ffc3266f
9
+ [f29a2ec77509] [v3.2.0]
10
+
11
+ * History.md, lib/configurability.rb:
12
+ Bump the minor version, update history.
13
+ [c1a8ffc3266f]
14
+
15
+ * configurability.gemspec, lib/configurability/setting_installer.rb,
16
+ spec/configurability_spec.rb:
17
+ Add an option to use class vars for settings
18
+ [236bcf961ed6]
19
+
20
+ 2017-01-16 Michael Granger <ged@FaerieMUD.org>
21
+
22
+ * README.md:
23
+ Update the README to point out that the setting block needs to
24
+ handle the default value.
25
+ [1c8f45be5fe6] [github/master]
26
+
27
+ * .hgtags:
28
+ Added tag v3.1.2 for changeset 36951902684f
29
+ [12ec255291d1]
30
+
31
+ * .hgsigs:
32
+ Added signature for changeset d4831719cb5d
33
+ [36951902684f] [v3.1.2]
34
+
35
+ * History.md, lib/configurability.rb:
36
+ Bump patch version, update history.
37
+ [d4831719cb5d]
38
+
39
+ * lib/configurability/setting_installer.rb,
40
+ spec/configurability_spec.rb:
41
+ Always use the setting block for defaults.
42
+ [164094235d5c]
43
+
44
+ 2017-01-03 Michael Granger <ged@FaerieMUD.org>
45
+
46
+ * .hgtags:
47
+ Added tag v3.1.1 for changeset 7f0973e5f2e7
48
+ [1a3860249ac9]
49
+
50
+ * .hgsigs:
51
+ Added signature for changeset d6721e4b2dd5
52
+ [7f0973e5f2e7] [v3.1.1]
53
+
54
+ * History.md, lib/configurability.rb:
55
+ Bump the patch version, update history.
56
+ [d6721e4b2dd5]
57
+
58
+ * lib/configurability/setting_installer.rb,
59
+ spec/configurability_spec.rb:
60
+ Fix inheritance of defaults when declared using settings
61
+ [6357b355b23f]
62
+
63
+ * .hgtags:
64
+ Added tag v3.1.0 for changeset e00033001c05
65
+ [5067776633a5]
66
+
67
+ * .hgsigs:
68
+ Added signature for changeset 0d8d72ac797f
69
+ [e00033001c05] [v3.1.0]
70
+
71
+ * History.md, README.md, lib/configurability.rb:
72
+ Bump the minor version, update (and fix syntax of) history.
73
+ [0d8d72ac797f]
74
+
75
+ * Rakefile, configurability.gemspec:
76
+ Update Loggability dependency.
77
+ [257202284624]
78
+
79
+ * README.md, lib/configurability/setting_installer.rb,
80
+ spec/configurability_spec.rb:
81
+ Add optional pre-processor block to `setting`s.
82
+ [75629325016a]
83
+
84
+ 2016-12-28 Michael Granger <ged@FaerieMUD.org>
85
+
86
+ * .hgtags:
87
+ Added tag v3.0.0 for changeset b4daf17fa286
88
+ [196fa0caf834]
89
+
90
+ * .hgsigs:
91
+ Added signature for changeset f363eb5811b9
92
+ [b4daf17fa286] [v3.0.0]
93
+
94
+ * History.md, Manifest.txt, lib/configurability.rb:
95
+ Update history and manifest files.
96
+ [f363eb5811b9]
97
+
98
+ 2016-12-22 Michael Granger <ged@FaerieMUD.org>
99
+
100
+ * .tm_properties, Manifest.txt, README.md, configurability.gemspec,
101
+ examples/config.yml, examples/readme.rb, lib/configurability.rb,
102
+ lib/configurability/deferred_config.rb,
103
+ lib/configurability/deferredconfig.rb,
104
+ lib/configurability/setting_installer.rb,
105
+ spec/configurability/deferred_config_spec.rb,
106
+ spec/configurability/deferredconfig_spec.rb,
107
+ spec/configurability_spec.rb:
108
+ Add a more-useful default configure method
109
+ [2a6eff290276]
110
+
111
+ 2016-11-28 Michael Granger <ged@FaerieMUD.org>
112
+
113
+ * spec/configurability_spec.rb:
114
+ Remove a bunch more mocking from the specs.
115
+ [3f4150145974]
116
+
117
+ 2016-11-23 Michael Granger <ged@FaerieMUD.org>
118
+
119
+ * History.md, History.rdoc, LICENSE, Manifest.txt, README.md,
120
+ README.rdoc, Rakefile, configurability.gemspec,
121
+ lib/configurability.rb, spec/configurability_spec.rb:
122
+ Fix up some stuff for version 3.0.
123
+
124
+ - Fill out some missing stuff in the docs.
125
+ - Make the return value from Configurabilty#default_config consistent.
126
+ - Convert docs to Markdown
127
+ - Remove a bunch of needless mocking from the specs.
128
+ [1932602f7894]
129
+
130
+ * Rakefile, configurability.gemspec, lib/configurability.rb,
131
+ spec/configurability_spec.rb:
132
+ Add ability to specify sub-sections of the config
133
+ [0192980aa073]
134
+
135
+ 2016-11-21 Michael Granger <ged@FaerieMUD.org>
136
+
137
+ * .gems, .ruby-gemset, .ruby-version, .rvm.gems, .rvmrc,
138
+ lib/configurability.rb:
139
+ Convert to universal version-manager metadata files
140
+ [1b1c94f1b2ae]
141
+
142
+ * spec/configurability/config_spec.rb,
143
+ spec/configurability/deferredconfig_spec.rb,
144
+ spec/configurability_spec.rb:
145
+ Expand vertical whitespace in the specs a bit
146
+ [e6b0cadb644f]
147
+
148
+ * .hgignore:
149
+ Ignore gem files
150
+ [c19849f4d812]
151
+
152
+ 2016-09-28 Michael Granger <ged@FaerieMUD.org>
153
+
154
+ * .hgtags:
155
+ Added tag v2.2.2 for changeset 90aa8da1df04
156
+ [fa4f3479d3c2]
157
+
158
+ * .hgsigs:
159
+ Added signature for changeset 806d1f512f55
160
+ [90aa8da1df04] [v2.2.2]
161
+
162
+ * History.rdoc, lib/configurability.rb:
163
+ Bump the patch version, update history
164
+ [806d1f512f55]
165
+
166
+ * LICENSE, README.rdoc, Rakefile, certs/ged.pem,
167
+ configurability.gemspec, spec/configurability/config_spec.rb,
168
+ spec/configurability/deferredconfig_spec.rb,
169
+ spec/configurability_spec.rb:
170
+ Update docs, build files, spec logging
171
+ [8257db70a7c2]
172
+
173
+ 2016-08-31 Michael Granger <ged@FaerieMUD.org>
174
+
175
+ * lib/configurability.rb, lib/configurability/config.rb,
176
+ spec/configurability/config_spec.rb:
177
+ Fix the merge used by Configurability.gather_defaults
178
+
179
+ It should now correctly merge top-level sections together.
180
+ [91c270d482af]
181
+
1
182
  2016-03-30 Mahlon E. Smith <mahlon@martini.nu>
2
183
 
3
184
  * lib/configurability.rb:
4
185
  Make configuration source logging log at a consistent level.
5
- [27dcc1cfb771] [tip]
186
+ [27dcc1cfb771]
6
187
 
7
188
  2015-02-27 Michael Granger <ged@FaerieMUD.org>
8
189
 
9
190
  * .rvmrc, .travis.yml, Gemfile, Rakefile, configurability.gemspec:
10
191
  Set up for travis-ci
11
- [98edc94ff5d3] [github/master]
192
+ [98edc94ff5d3]
12
193
 
13
194
  2014-06-04 Michael Granger <ged@FaerieMUD.org>
14
195
 
data/History.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## v3.2.0 [2017-04-17] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Enhancements:
4
+
5
+ - Add an option to use class variables for settings instead of class-instance variables.
6
+
7
+ Bugfixes:
8
+
9
+ - Update the README to point out that the setting block needs to
10
+ handle the default value.
11
+
12
+
1
13
  ## v3.1.2 [2017-01-16] Michael Granger <ged@FaerieMUD.org>
2
14
 
3
15
  Bugfix:
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.
@@ -13,10 +13,10 @@ module Configurability
13
13
 
14
14
 
15
15
  # Library version constant
16
- VERSION = '3.1.2'
16
+ VERSION = '3.2.0'
17
17
 
18
18
  # Version-control revision constant
19
- REVISION = %q$Revision: d4831719cb5d $
19
+ REVISION = %q$Revision: c1a8ffc3266f $
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.2.0.pre20170417124946
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -9,8 +9,34 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain:
12
- - certs/ged.pem
13
- date: 2017-04-17 00:00:00.000000000 Z
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MQwwCgYDVQQDDANnZWQx
15
+ GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
16
+ HhcNMTYwODIwMTgxNzQyWhcNMTcwODIwMTgxNzQyWjA+MQwwCgYDVQQDDANnZWQx
17
+ GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
18
+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2h34uX71q5QgeOyxvMg+7V3u/Q06DXyQ2VgeeqiwDFFpEH0
34
+ PFkdPO6ZqbTRcLfNH7mFgCBJjsfSjJrn0sPBlYyOXgCoByfZnZyrIMH/UY+lgQqS
35
+ 6Von1VDsfQm0eJh5zYZD64ZF86phSR7mUX3mXItwH04HrZwkWpvgd871DZVR3i1n
36
+ w8aNA5re5+Rt/Vvjxj5AcEnZnZiz5x959NaddQocX32Z1unHw44pzRNUur1GInfW
37
+ p4vpx2kUSFSAGjtCbDGTNV2AH8w9OU4xEmNz8c5lyoA=
38
+ -----END CERTIFICATE-----
39
+ date: 2017-04-18 00:00:00.000000000 Z
14
40
  dependencies:
15
41
  - !ruby/object:Gem::Dependency
16
42
  name: loggability
@@ -46,14 +72,14 @@ dependencies:
46
72
  requirements:
47
73
  - - "~>"
48
74
  - !ruby/object:Gem::Version
49
- version: '0.9'
75
+ version: '0.8'
50
76
  type: :development
51
77
  prerelease: false
52
78
  version_requirements: !ruby/object:Gem::Requirement
53
79
  requirements:
54
80
  - - "~>"
55
81
  - !ruby/object:Gem::Version
56
- version: '0.9'
82
+ version: '0.8'
57
83
  - !ruby/object:Gem::Dependency
58
84
  name: hoe-highline
59
85
  requirement: !ruby/object:Gem::Requirement
@@ -116,14 +142,14 @@ dependencies:
116
142
  requirements:
117
143
  - - "~>"
118
144
  - !ruby/object:Gem::Version
119
- version: '3.16'
145
+ version: '3.15'
120
146
  type: :development
121
147
  prerelease: false
122
148
  version_requirements: !ruby/object:Gem::Requirement
123
149
  requirements:
124
150
  - - "~>"
125
151
  - !ruby/object:Gem::Version
126
- version: '3.16'
152
+ version: '3.15'
127
153
  description: |-
128
154
  Configurability is a unified, non-intrusive, assume-nothing configuration system
129
155
  for Ruby. It lets you keep the configuration for multiple objects in a single
@@ -143,6 +169,7 @@ extra_rdoc_files:
143
169
  files:
144
170
  - ChangeLog
145
171
  - History.md
172
+ - LICENSE
146
173
  - Manifest.txt
147
174
  - README.md
148
175
  - Rakefile
@@ -176,12 +203,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
203
  version: 2.2.0
177
204
  required_rubygems_version: !ruby/object:Gem::Requirement
178
205
  requirements:
179
- - - ">"
206
+ - - ">="
180
207
  - !ruby/object:Gem::Version
181
- version: 1.3.1
208
+ version: '0'
182
209
  requirements: []
183
210
  rubyforge_project:
184
- rubygems_version: 2.6.11
211
+ rubygems_version: 2.6.8
185
212
  signing_key:
186
213
  specification_version: 4
187
214
  summary: Configurability is a unified, non-intrusive, assume-nothing configuration
@@ -0,0 +1,4 @@
1
+ X�
2
+ G�ǒ�*ÁF����S�@k��
3
+ �pDNO�hR�4KP(��=Ph�D����e�t��QE6���JO����@�9ЕR/��`F�md��y=�DJ��,���S�je�,���
4
+ <_B��ta��`A�`�譍���Vfoԇ\_�!�����@8+C`���I��`