storable 0.8.5 → 0.8.6

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 (4) hide show
  1. data/CHANGES.txt +4 -0
  2. data/lib/storable.rb +4 -0
  3. data/storable.gemspec +1 -1
  4. metadata +4 -4
@@ -3,6 +3,10 @@ STORABLE, CHANGES
3
3
  * TODO: Handle nested hashes and arrays.
4
4
  * TODO: to_xml, see: http://codeforpeople.com/lib/ruby/xx/xx-2.0.0/README
5
5
 
6
+ #### 0.8.6 (2010-12-31) #############################
7
+
8
+ * ADDED: Re-added a default initialize that defers to the default init
9
+
6
10
  #### 0.8.5 (2010-12-29) #############################
7
11
 
8
12
  * FIXED: Added calls to preprocess in the to_FORMAT methods.
@@ -200,6 +200,10 @@ class Storable
200
200
  def init *args
201
201
  from_array *args
202
202
  end
203
+
204
+ def initialize *args
205
+ init *args
206
+ end
203
207
 
204
208
  def from_array *from
205
209
  (self.field_names || []).each_with_index do |n,index|
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "storable"
3
3
  s.rubyforge_project = "storable"
4
- s.version = "0.8.5"
4
+ s.version = "0.8.6"
5
5
  s.summary = "Storable: Marshal Ruby classes into and out of multiple formats (yaml, json, csv, tsv)"
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 5
10
- version: 0.8.5
9
+ - 6
10
+ version: 0.8.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Delano Mandelbaum
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-30 00:00:00 -05:00
18
+ date: 2010-12-31 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21