configfiles 0.3.0 → 0.3.1

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/configfiles.rb +3 -3
  2. metadata +2 -2
data/lib/configfiles.rb CHANGED
@@ -7,7 +7,7 @@ require 'configfiles/extensions/enumerable'
7
7
 
8
8
  module ConfigFiles
9
9
 
10
- VERSION = '0.3.0'
10
+ VERSION = '0.3.1'
11
11
 
12
12
  # You should write a read(io) method,
13
13
  # taking an IO object and returnig a key-value hash, where keys
@@ -234,7 +234,7 @@ module ConfigFiles
234
234
  end
235
235
  end
236
236
 
237
- if opt_h[:defaults]
237
+ if opt_h[:compute_defaults]
238
238
  # assign default values to the remaining params
239
239
  @@parameters.each_pair do |name, h|
240
240
  if !@data[name] and @@parameters[name][:default]
@@ -243,7 +243,7 @@ module ConfigFiles
243
243
  end
244
244
  end
245
245
 
246
- @data.merge! deferred_data if opt_h[:deferred]
246
+ @data.merge! deferred_data if opt_h[:compute_deferred]
247
247
 
248
248
  validate if opt_h[:validate]
249
249
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Guido De Rosa