orderedhash 0.0.1 → 0.0.2

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/orderedautohash.rb +3 -0
  2. metadata +1 -1
@@ -1,6 +1,8 @@
1
1
  #
2
2
  # auto vivifying ordered hash that dumps as yaml nicely
3
3
  #
4
+ require 'orderedhash' unless defined? OrderedHash
5
+
4
6
  class AutoOrderedHash < OrderedHash
5
7
  #--{{{
6
8
  def initialize(*args)
@@ -20,4 +22,5 @@ class AutoOrderedHash < OrderedHash
20
22
  end
21
23
  #--}}}
22
24
  end # class AutoOrderedHash
25
+
23
26
  OrderedAutoHash = AutoOrderedHash
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: orderedhash
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
6
+ version: 0.0.2
7
7
  date: 2007-09-26 00:00:00 -06:00
8
8
  summary: orderedhash
9
9
  require_paths: