configurability 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,12 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- BEGIN {
4
- require 'pathname'
5
- basedir = Pathname.new( __FILE__ ).dirname.parent.parent
6
-
7
- libdir = basedir + "lib"
8
-
9
- $LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
10
- $LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
11
- }
3
+ require 'helpers'
12
4
 
13
5
  require 'tempfile'
14
6
  require 'logger'
15
7
  require 'fileutils'
16
8
  require 'rspec'
17
9
 
18
- require 'spec/lib/helpers'
19
-
20
10
  require 'configurability'
21
11
  require 'configurability/deferredconfig'
22
12
 
@@ -48,7 +38,7 @@ describe Configurability::DeferredConfig do
48
38
  end
49
39
  end
50
40
 
51
- a_class.config_object.should == :testing_config
41
+ expect( a_class.config_object ).to be( :testing_config )
52
42
  end
53
43
 
54
44
 
@@ -65,7 +55,7 @@ describe Configurability::DeferredConfig do
65
55
  end
66
56
  end
67
57
 
68
- a_class.config_object.should == :testing_config
58
+ expect( a_class.config_object ).to be( :testing_config )
69
59
  end
70
60
 
71
61
  end
@@ -1,19 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- BEGIN {
4
- require 'pathname'
5
- basedir = Pathname.new( __FILE__ ).dirname.parent
6
-
7
- libdir = basedir + "lib"
8
-
9
- $LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
10
- $LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
11
- }
3
+ require 'helpers'
12
4
 
13
5
  require 'rspec'
14
6
 
15
- require 'spec/lib/helpers'
16
-
17
7
  require 'configurability'
18
8
  require 'configurability/config'
19
9
 
@@ -40,7 +30,7 @@ describe Configurability do
40
30
  config_key :testconfig
41
31
  end
42
32
 
43
- klass.config_key.should == :testconfig
33
+ expect( klass.config_key ).to be( :testconfig )
44
34
  end
45
35
 
46
36
  it "fetches config sections via a method with the config key name if the config " +
@@ -50,11 +40,11 @@ describe Configurability do
50
40
  config_key :testconfig
51
41
  end
52
42
 
53
- config = mock( "configuration object" )
54
- config.should_receive( :respond_to? ).with( :testconfig ).and_return( true )
55
- config.should_receive( :testconfig ).and_return( :a_config_section )
43
+ config = double( "configuration object" )
44
+ expect( config ).to receive( :respond_to? ).with( :testconfig ).and_return( true )
45
+ expect( config ).to receive( :testconfig ).and_return( :a_config_section )
56
46
 
57
- klass.should_receive( :configure ).with( :a_config_section )
47
+ expect( klass ).to receive( :configure ).with( :a_config_section )
58
48
  Configurability.configure_objects( config )
59
49
  end
60
50
 
@@ -64,11 +54,11 @@ describe Configurability do
64
54
  config_key :testconfig
65
55
  end
66
56
 
67
- config = mock( "configuration object" )
68
- config.should_receive( :respond_to? ).with( :testconfig ).and_return( true )
69
- config.should_receive( :testconfig ).and_return( :a_config_section )
57
+ config = double( "configuration object" )
58
+ expect( config ).to receive( :respond_to? ).with( :testconfig ).and_return( true )
59
+ expect( config ).to receive( :testconfig ).and_return( :a_config_section )
70
60
 
71
- klass.should_receive( :configure ).with( :a_config_section )
61
+ expect( klass ).to receive( :configure ).with( :a_config_section )
72
62
  Configurability.configure_objects( config )
73
63
  end
74
64
 
@@ -79,14 +69,14 @@ describe Configurability do
79
69
  config_key :testconfig
80
70
  end
81
71
 
82
- config = mock( "configuration object" )
83
- config.should_receive( :respond_to? ).with( :testconfig ).and_return( false )
84
- config.should_receive( :respond_to? ).with( :key? ).and_return( true )
85
- config.should_receive( :respond_to? ).with( :[] ).and_return( true )
86
- config.should_receive( :key? ).with( :testconfig ).and_return( true )
87
- config.should_receive( :[] ).with( :testconfig ).and_return( :a_config_section )
72
+ config = double( "configuration object" )
73
+ expect( config ).to receive( :respond_to? ).with( :testconfig ).and_return( false )
74
+ expect( config ).to receive( :respond_to? ).with( :key? ).and_return( true )
75
+ expect( config ).to receive( :respond_to? ).with( :[] ).and_return( true )
76
+ expect( config ).to receive( :key? ).with( :testconfig ).and_return( true )
77
+ expect( config ).to receive( :[] ).with( :testconfig ).and_return( :a_config_section )
88
78
 
89
- klass.should_receive( :configure ).with( :a_config_section )
79
+ expect( klass ).to receive( :configure ).with( :a_config_section )
90
80
  Configurability.configure_objects( config )
91
81
  end
92
82
 
@@ -97,11 +87,11 @@ describe Configurability do
97
87
  config_key :testconfig
98
88
  end
99
89
 
100
- config = mock( "configuration object" )
101
- config.should_receive( :respond_to? ).with( :testconfig ).and_return( false )
102
- config.should_receive( :respond_to? ).with( :[] ).and_return( false )
90
+ config = double( "configuration object" )
91
+ expect( config ).to receive( :respond_to? ).with( :testconfig ).and_return( false )
92
+ expect( config ).to receive( :respond_to? ).with( :[] ).and_return( false )
103
93
 
104
- klass.should_receive( :configure ).with( nil )
94
+ expect( klass ).to receive( :configure ).with( nil )
105
95
 
106
96
  Configurability.configure_objects( config )
107
97
  end
@@ -112,16 +102,16 @@ describe Configurability do
112
102
  config_key :testconfig
113
103
  end
114
104
 
115
- config = mock( "configuration object" )
116
- config.should_receive( :respond_to? ).with( :testconfig ).and_return( false )
117
- config.should_receive( :respond_to? ).with( :key? ).and_return( true )
118
- config.should_receive( :respond_to? ).with( :[] ).and_return( true )
119
- config.should_receive( :key? ).with( :testconfig ).and_return( false )
120
- config.should_receive( :key? ).with( 'testconfig' ).and_return( true )
121
- config.should_receive( :[] ).with( :testconfig ).and_return( nil )
122
- config.should_receive( :[] ).with( 'testconfig' ).and_return( :a_config_section )
105
+ config = double( "configuration object" )
106
+ expect( config ).to receive( :respond_to? ).with( :testconfig ).and_return( false )
107
+ expect( config ).to receive( :respond_to? ).with( :key? ).and_return( true )
108
+ expect( config ).to receive( :respond_to? ).with( :[] ).and_return( true )
109
+ expect( config ).to receive( :key? ).with( :testconfig ).and_return( false )
110
+ expect( config ).to receive( :key? ).with( 'testconfig' ).and_return( true )
111
+ expect( config ).to receive( :[] ).with( :testconfig ).and_return( nil )
112
+ expect( config ).to receive( :[] ).with( 'testconfig' ).and_return( :a_config_section )
123
113
 
124
- klass.should_receive( :configure ).with( :a_config_section )
114
+ expect( klass ).to receive( :configure ).with( :a_config_section )
125
115
 
126
116
  Configurability.configure_objects( config )
127
117
  end
@@ -131,11 +121,31 @@ describe Configurability do
131
121
  object.extend( Configurability )
132
122
  object.config_key = :testobjconfig
133
123
 
134
- config = mock( "configuration object" )
135
- config.should_receive( :respond_to? ).with( :testobjconfig ).and_return( true )
136
- config.should_receive( :testobjconfig ).and_return( :a_config_section )
124
+ config = double( "configuration object" )
125
+ expect( config ).to receive( :respond_to? ).with( :testobjconfig ).and_return( true )
126
+ expect( config ).to receive( :testobjconfig ).and_return( :a_config_section )
127
+
128
+ expect( object ).to receive( :configure ).with( :a_config_section )
129
+
130
+ Configurability.configure_objects( config )
131
+ end
132
+
133
+ it "configures classes that have inherited Configurability and set a different config_key" do
134
+ klass = Class.new do
135
+ extend Configurability
136
+ config_key :testconfig
137
+ end
138
+ subclass = Class.new( klass ) do
139
+ config_key :subconfig
140
+ end
141
+
142
+ config = double( "configuration object" )
143
+ expect( config ).to receive( :respond_to? ).with( :testconfig ).and_return( true )
144
+ expect( config ).to receive( :testconfig ).and_return( :a_config_section )
145
+ expect( config ).to receive( :respond_to? ).with( :subconfig ).and_return( true )
146
+ expect( config ).to receive( :subconfig ).and_return( :a_sub_config_section )
137
147
 
138
- object.should_receive( :configure ).with( :a_config_section )
148
+ expect( subclass ).to receive( :configure ).with( :a_sub_config_section )
139
149
 
140
150
  Configurability.configure_objects( config )
141
151
  end
@@ -146,11 +156,11 @@ describe Configurability do
146
156
  def object.name; "testobjconfig"; end
147
157
  object.extend( Configurability )
148
158
 
149
- config = mock( "configuration object" )
150
- config.should_receive( :respond_to? ).with( :testobjconfig ).and_return( true )
151
- config.should_receive( :testobjconfig ).and_return( :a_config_section )
159
+ config = double( "configuration object" )
160
+ expect( config ).to receive( :respond_to? ).with( :testobjconfig ).and_return( true )
161
+ expect( config ).to receive( :testobjconfig ).and_return( :a_config_section )
152
162
 
153
- object.should_receive( :configure ).with( :a_config_section )
163
+ expect( object ).to receive( :configure ).with( :a_config_section )
154
164
 
155
165
  Configurability.configure_objects( config )
156
166
  end
@@ -160,11 +170,11 @@ describe Configurability do
160
170
  def object.name; "Test Obj-Config"; end
161
171
  object.extend( Configurability )
162
172
 
163
- config = mock( "configuration object" )
164
- config.should_receive( :respond_to? ).with( :test_obj_config ).and_return( true )
165
- config.should_receive( :test_obj_config ).and_return( :a_config_section )
173
+ config = double( "configuration object" )
174
+ expect( config ).to receive( :respond_to? ).with( :test_obj_config ).and_return( true )
175
+ expect( config ).to receive( :test_obj_config ).and_return( :a_config_section )
166
176
 
167
- object.should_receive( :configure ).with( :a_config_section )
177
+ expect( object ).to receive( :configure ).with( :a_config_section )
168
178
 
169
179
  Configurability.configure_objects( config )
170
180
  end
@@ -174,11 +184,11 @@ describe Configurability do
174
184
  object = Object.new
175
185
  object.extend( Configurability )
176
186
 
177
- config = mock( "configuration object" )
178
- config.should_receive( :respond_to? ).with( :object ).and_return( true )
179
- config.should_receive( :object ).and_return( :a_config_section )
187
+ config = double( "configuration object" )
188
+ expect( config ).to receive( :respond_to? ).with( :object ).and_return( true )
189
+ expect( config ).to receive( :object ).and_return( :a_config_section )
180
190
 
181
- object.should_receive( :configure ).with( :a_config_section )
191
+ expect( object ).to receive( :configure ).with( :a_config_section )
182
192
 
183
193
  Configurability.configure_objects( config )
184
194
  end
@@ -190,11 +200,11 @@ describe Configurability do
190
200
  end
191
201
  end
192
202
 
193
- config = mock( "configuration object" )
194
- config.should_receive( :respond_to? ).with( :dbobject ).and_return( true )
195
- config.should_receive( :dbobject ).and_return( :a_config_section )
203
+ config = double( "configuration object" )
204
+ expect( config ).to receive( :respond_to? ).with( :dbobject ).and_return( true )
205
+ expect( config ).to receive( :dbobject ).and_return( :a_config_section )
196
206
 
197
- My::DbObject.should_receive( :configure ).with( :a_config_section )
207
+ expect( My::DbObject ).to receive( :configure ).with( :a_config_section )
198
208
 
199
209
  Configurability.configure_objects( config )
200
210
  end
@@ -205,11 +215,11 @@ describe Configurability do
205
215
  object = objectclass.new
206
216
  object.extend( Configurability )
207
217
 
208
- config = mock( "configuration object" )
209
- config.should_receive( :respond_to? ).with( :anonymous ).and_return( true )
210
- config.should_receive( :anonymous ).and_return( :a_config_section )
218
+ config = double( "configuration object" )
219
+ expect( config ).to receive( :respond_to? ).with( :anonymous ).and_return( true )
220
+ expect( config ).to receive( :anonymous ).and_return( :a_config_section )
211
221
 
212
- object.should_receive( :configure ).with( :a_config_section )
222
+ expect( object ).to receive( :configure ).with( :a_config_section )
213
223
 
214
224
  Configurability.configure_objects( config )
215
225
  end
@@ -229,7 +239,7 @@ describe Configurability do
229
239
 
230
240
 
231
241
  it "should know what the currently-installed configuration is" do
232
- Configurability.loaded_config.should equal( @config )
242
+ expect( Configurability.loaded_config ).to equal( @config )
233
243
  end
234
244
 
235
245
  it "propagates the installed configuration to any objects which add Configurability" do
@@ -242,7 +252,8 @@ describe Configurability do
242
252
 
243
253
  object = objectclass.new
244
254
  object.extend( Configurability )
245
- object.config.should == :yes
255
+
256
+ expect( object.config ).to eq( :yes )
246
257
  end
247
258
 
248
259
  it "defers configuration until after an object has defined a #configure method if " +
@@ -254,7 +265,7 @@ describe Configurability do
254
265
  class << self; attr_reader :config; end
255
266
  end
256
267
 
257
- objectclass.config.should == :yes
268
+ expect( objectclass.config ).to eq( :yes )
258
269
  end
259
270
 
260
271
  it "doesn't reconfigure objects that have already been configured unless the config changes" do
@@ -278,9 +289,9 @@ describe Configurability do
278
289
  def self::configure( config ); @configs ||= []; @configs << config; end
279
290
  end
280
291
 
281
- first_objectclass.configs.should == [ @config[:postconfig] ]
282
- second_objectclass.configs.should == [ nil, @config[:postconfig] ]
283
- third_objectclass.configs.should == [ nil, @config[:postconfig] ]
292
+ expect( first_objectclass.configs ).to eq([ @config[:postconfig] ])
293
+ expect( second_objectclass.configs ).to eq([ nil, @config[:postconfig] ])
294
+ expect( third_objectclass.configs ).to eq([ nil, @config[:postconfig] ])
284
295
  end
285
296
 
286
297
  end
@@ -300,9 +311,11 @@ describe Configurability do
300
311
  Configurability.log.debug "Defaults: %p" % [ self.defaults ]
301
312
  end
302
313
 
303
- Configurability.gather_defaults.should include( :testconfig )
304
- Configurability.gather_defaults[:testconfig].should == klass.const_get( :CONFIG_DEFAULTS )
305
- Configurability.gather_defaults[:testconfig].should_not be( klass.const_get(:CONFIG_DEFAULTS) )
314
+ defaults = Configurability.gather_defaults
315
+
316
+ expect( defaults ).to include( :testconfig )
317
+ expect( defaults[:testconfig] ).to eq( klass.const_get(:CONFIG_DEFAULTS) )
318
+ expect( defaults[:testconfig] ).to_not be( klass.const_get(:CONFIG_DEFAULTS) )
306
319
  end
307
320
 
308
321
  it "fetches defaults from a DEFAULT_CONFIG constant if the object defines one" do
@@ -312,9 +325,11 @@ describe Configurability do
312
325
  self::DEFAULT_CONFIG = { :two => 2, :types => {:two => true} }
313
326
  end
314
327
 
315
- Configurability.gather_defaults.should include( :testconfig )
316
- Configurability.gather_defaults[:testconfig].should == klass.const_get( :DEFAULT_CONFIG )
317
- Configurability.gather_defaults[:testconfig].should_not be( klass.const_get(:DEFAULT_CONFIG) )
328
+ defaults = Configurability.gather_defaults
329
+
330
+ expect( defaults ).to include( :testconfig )
331
+ expect( defaults[:testconfig] ).to eq( klass.const_get(:DEFAULT_CONFIG) )
332
+ expect( defaults[:testconfig] ).to_not be( klass.const_get(:DEFAULT_CONFIG) )
318
333
  end
319
334
 
320
335
  it "fetches defaults from a #defaults method if the object implements one" do
@@ -324,9 +339,11 @@ describe Configurability do
324
339
  def self::defaults; { :other => true }; end
325
340
  end
326
341
 
327
- Configurability.gather_defaults.should include( :otherconfig )
328
- Configurability.gather_defaults[:otherconfig].should == klass.defaults
329
- Configurability.gather_defaults[:otherconfig].should_not be( klass.defaults )
342
+ defaults = Configurability.gather_defaults
343
+
344
+ expect( defaults ).to include( :otherconfig )
345
+ expect( defaults[:otherconfig] ).to eq( klass.defaults )
346
+ expect( defaults[:otherconfig] ).to_not be( klass.defaults )
330
347
  end
331
348
 
332
349
  it "can return a Configurability::Config object with defaults, too" do
@@ -348,12 +365,31 @@ describe Configurability do
348
365
 
349
366
  config = Configurability.default_config
350
367
 
351
- config.should be_a( Configurability::Config )
352
- config.testconfig.one.should == 1
353
- config.testconfig.two.should == 2
354
- config.testconfig.types.one.should be_true()
355
- config.testconfig.types.two.should be_true()
356
- config.otherconfig.other.should be_true()
368
+ expect( config ).to be_a( Configurability::Config )
369
+ expect( config.testconfig.one ).to eq( 1 )
370
+ expect( config.testconfig.two ).to eq( 2 )
371
+ expect( config.testconfig.types.one ).to be_true()
372
+ expect( config.testconfig.types.two ).to be_true()
373
+ expect( config.otherconfig.other ).to be_true()
374
+ end
375
+
376
+ it "returns defaults for an object that inherits from a class with Configurability" do
377
+ klass = Class.new do
378
+ extend Configurability
379
+ config_key :testconfig
380
+ self::CONFIG_DEFAULTS = { :one => 1, :types => {:one => true} }
381
+ Configurability.log.debug "Defaults: %p" % [ self.defaults ]
382
+ end
383
+ subclass = Class.new( klass ) do
384
+ config_key :spanishconfig
385
+ self::CONFIG_DEFAULTS = { :uno => 1 }
386
+ end
387
+
388
+ config = Configurability.default_config
389
+
390
+ expect( config ).to respond_to( :spanishconfig )
391
+ expect( config.spanishconfig.uno ).to eq( 1 )
392
+
357
393
  end
358
394
 
359
395
  end
@@ -28,7 +28,10 @@ require 'configurability'
28
28
 
29
29
 
30
30
  RSpec.configure do |config|
31
- config.mock_with( :rspec )
31
+ config.mock_with( :rspec ) do |config|
32
+ config.syntax = :expect
33
+ end
34
+
32
35
  config.include( Loggability::SpecHelpers )
33
36
  config.treat_symbols_as_metadata_keys_with_true_values = true
34
37
 
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: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -10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ZzAc
25
+ BgNVHRIEFTATgRFnZWRARmFlcmllTVVELm9yZzANBgkqhkiG9w0BAQUFAAOCAQEA
26
+ Vlcfyq6GwyE8i0QuFPCeVOwJaneSvcwx316DApjy9/tt2YD2HomLbtpXtji5QXor
27
+ ON6oln4tWBIB3Klbr3szq5oR3Rc1D02SaBTalxSndp4M6UkW9hRFu5jn98pDB4fq
28
+ 5l8wMMU0Xdmqx1VYvysVAjVFVC/W4NNvlmg+2mEgSVZP5K6Tc9qDh3eMQInoYw6h
29
+ t1YA6RsUJHp5vGQyhP1x34YpLAaly8icbns/8PqOf7Osn9ztmg8bOMJCeb32eQLj
30
+ 6mKCwjpegytE0oifXfF8k75A9105cBnNiMZOe1tXiqYc/exCgWvbggurzDOcRkZu
31
+ /YSusaiDXHKU2O3Akc3htA==
32
32
  -----END CERTIFICATE-----
33
- date: 2013-06-14 00:00:00.000000000 Z
33
+ date: 2013-08-14 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: loggability
@@ -94,42 +94,42 @@ dependencies:
94
94
  requirements:
95
95
  - - ~>
96
96
  - !ruby/object:Gem::Version
97
- version: '2.4'
97
+ version: '2.14'
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: '2.4'
104
+ version: '2.14'
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: simplecov
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ~>
110
110
  - !ruby/object:Gem::Version
111
- version: '0.3'
111
+ version: '0.5'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ~>
117
117
  - !ruby/object:Gem::Version
118
- version: '0.3'
118
+ version: '0.5'
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: hoe
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: '3.6'
125
+ version: '3.7'
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ~>
131
131
  - !ruby/object:Gem::Version
132
- version: '3.6'
132
+ version: '3.7'
133
133
  description: |-
134
134
  Configurability is a unified, unintrusive, assume-nothing configuration system
135
135
  for Ruby. It lets you keep the configuration for multiple objects in a single
@@ -162,7 +162,7 @@ files:
162
162
  - spec/configurability/config_spec.rb
163
163
  - spec/configurability/deferredconfig_spec.rb
164
164
  - spec/configurability_spec.rb
165
- - spec/lib/helpers.rb
165
+ - spec/helpers.rb
166
166
  - .gemtest
167
167
  homepage: https://bitbucket.org/ged/configurability
168
168
  licenses:
@@ -180,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
181
  - - '>='
182
182
  - !ruby/object:Gem::Version
183
- version: 1.8.7
183
+ version: 1.9.2
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - '>='
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project: configurability
191
- rubygems_version: 2.0.0
191
+ rubygems_version: 2.0.5
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Configurability is a unified, unintrusive, assume-nothing configuration system