configfiles 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Changelog +4 -0
  2. data/lib/configfiles.rb +3 -1
  3. metadata +4 -4
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ 0.4.0
2
+
3
+ * Base#load returns self
4
+
1
5
  0.3.2
2
6
 
3
7
  * implementation based on class instance variables
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.2'
10
+ VERSION = '0.4.0'
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
@@ -260,6 +260,8 @@ module ConfigFiles
260
260
  @data.merge! deferred_data if opt_h[:compute_deferred]
261
261
 
262
262
  validate if opt_h[:validate]
263
+
264
+ return self
263
265
  end
264
266
 
265
267
  # Like Hash#[], but more rigidly! Raise an Exception on unknown
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- - 2
9
- version: 0.3.2
7
+ - 4
8
+ - 0
9
+ version: 0.4.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Guido De Rosa
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-15 00:00:00 +02:00
17
+ date: 2010-09-21 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency