orderedhash 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/orderedautohash.rb +7 -0
  2. data/lib/orderedhash.rb +4 -0
  3. metadata +40 -33
@@ -16,3 +16,10 @@ class AutoOrderedHash < OrderedHash
16
16
  end # class AutoOrderedHash
17
17
 
18
18
  OrderedAutoHash = AutoOrderedHash
19
+
20
+ def OrderedAutoHash(*a, &b)
21
+ OrderedAutoHash.new(*a, &b)
22
+ end
23
+ def AutoOrderedHash(*a, &b)
24
+ AutoOrderedHash.new(*a, &b)
25
+ end
@@ -183,3 +183,7 @@ class OrderedHash < ::Hash
183
183
  end
184
184
  def yaml_inline!() self.yaml_inline = true end
185
185
  end # class OrderedHash
186
+
187
+ def OrderedHash(*a, &b)
188
+ OrderedHash.new(*a, &b)
189
+ end
metadata CHANGED
@@ -1,50 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: orderedhash
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.0.3
7
- date: 2007-12-06 00:00:00 -07:00
8
- summary: orderedhash
9
- require_paths:
10
- - lib
11
- email: ara.t.howard@gmail.com
12
- homepage: http://codeforpeople.com/lib/ruby/orderedhash/
13
- rubyforge_project:
14
- description:
15
- autorequire: orderedhash
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: false
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.0.4
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Ara T. Howard
8
+ autorequire: orderedhash
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-05-10 00:00:00 -06:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: ara.t.howard@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
31
24
  files:
32
25
  - gemspec.rb
33
26
  - install.rb
34
27
  - lib
35
28
  - lib/orderedautohash.rb
36
29
  - lib/orderedhash.rb
37
- test_files: []
38
-
30
+ has_rdoc: false
31
+ homepage: http://codeforpeople.com/lib/ruby/orderedhash/
32
+ post_install_message:
39
33
  rdoc_options: []
40
34
 
41
- extra_rdoc_files: []
42
-
43
- executables: []
44
-
45
- extensions: []
46
-
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: "0"
42
+ version:
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: "0"
48
+ version:
47
49
  requirements: []
48
50
 
49
- dependencies: []
51
+ rubyforge_project:
52
+ rubygems_version: 1.0.1
53
+ signing_key:
54
+ specification_version: 2
55
+ summary: orderedhash
56
+ test_files: []
50
57