hash 1.0.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/README.md +58 -0
  2. data/lib/hash.rb +2 -0
  3. metadata +79 -0
@@ -0,0 +1,58 @@
1
+ # Hash #
2
+
3
+ http://rubygems.org/gems/hash
4
+
5
+ # Summary #
6
+
7
+ A convenience package providing a collection of all-purpose Hash subclasses.
8
+
9
+ # Description #
10
+
11
+ Event-hooked Hash, Downward-Compositing Hash.
12
+
13
+ # Install #
14
+
15
+ * sudo gem install hash
16
+
17
+ # Usage #
18
+
19
+ ## Basic Event-Hooked Hash ##
20
+
21
+ Event-Hooked Hash ensures that all method calls go through common points so that event hooks can be inserted.
22
+
23
+ Event-Hooked Hash responds to #initialize( configuration_instance = nil, *args ), where *args is passed to Hash#initialize.
24
+
25
+ * <a href="https://github.com/RidiculousPower/hash-hooked">Hash::Hooked</a> (provided by <a href="https://rubygems.org/gems/hash-hooked">hash-hooked</a>)
26
+
27
+ ## Compositing Hash ##
28
+
29
+ Compositing Hash optionally maintains a parent-child relationship.
30
+
31
+ Compositing Hash responds to #initialize( parent_instance = nil, configuration_instance = nil, *args ), where everything after parent_instance is passed to the Event-Hooked hash #initialize.
32
+
33
+ * <a href="https://github.com/RidiculousPower/hash-compositing">Hash::Compositing</a> (provided by <a href="https://rubygems.org/gems/hash-compositing">hash-compositing</a>)
34
+
35
+ # License #
36
+
37
+ (The MIT License)
38
+
39
+ Copyright (c) Ridiculous Power, Asher
40
+
41
+ Permission is hereby granted, free of charge, to any person obtaining
42
+ a copy of this software and associated documentation files (the
43
+ 'Software'), to deal in the Software without restriction, including
44
+ without limitation the rights to use, copy, modify, merge, publish,
45
+ distribute, sublicense, and/or sell copies of the Software, and to
46
+ permit persons to whom the Software is furnished to do so, subject to
47
+ the following conditions:
48
+
49
+ The above copyright notice and this permission notice shall be
50
+ included in all copies or substantial portions of the Software.
51
+
52
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
53
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
54
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
55
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
56
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
57
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
58
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,2 @@
1
+
2
+ require 'hash/compositing'
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hash
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Asher
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-07-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: hash-hooked
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: hash-compositing
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Event-hooked Hash, Downward-Compositing Hash.
47
+ email: asher@ridiculouspower.com
48
+ executables: []
49
+ extensions: []
50
+ extra_rdoc_files: []
51
+ files:
52
+ - lib/hash.rb
53
+ - README.md
54
+ homepage: http://rubygems.org/gems/hash
55
+ licenses: []
56
+ post_install_message:
57
+ rdoc_options: []
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubyforge_project: hash
74
+ rubygems_version: 1.8.23
75
+ signing_key:
76
+ specification_version: 3
77
+ summary: A convenience package providing a collection of all-purpose Hash subclasses.
78
+ test_files: []
79
+ has_rdoc: