array 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 +64 -0
  2. data/lib/array.rb +3 -0
  3. metadata +177 -0
@@ -0,0 +1,64 @@
1
+ # Array #
2
+
3
+ http://rubygems.org/gems/array
4
+
5
+ # Summary #
6
+
7
+ A convenience package providing a collection of all-purpose Array subclasses.
8
+
9
+ # Description #
10
+
11
+ Event-hooked Array, Sorted Array, Unique Array, Sorted-Unique Array, Downward-Compositing Array, Downward-Compositing Sorted Array, Downward-Compositing Unique Array, Downward-Compositing Sorted-Unique Array.
12
+
13
+ # Install #
14
+
15
+ * sudo gem install array
16
+
17
+ # Usage #
18
+
19
+ ## Basic Event-Hooked Arrays ##
20
+
21
+ Event-Hooked Arrays ensure that all method calls go through common points so that event hooks can be inserted.
22
+
23
+ All Event-Hooked Arrays respond to #initialize( configuration_instance = nil, *args ), where *args is passed to Array#initialize.
24
+
25
+ * <a href="https://github.com/RidiculousPower/array-hooked">Array::Hooked</a> (provided by <a href="https://rubygems.org/gems/array-hooked">array-hooked</a>)
26
+ * <a href="https://github.com/RidiculousPower/array-sorted">Array::Sorted</a> (provided by <a href="https://rubygems.org/gems/array-sorted">array-sorted</a>)
27
+ * <a href="https://github.com/RidiculousPower/array-unique">Array::Unique</a> (provided by <a href="https://rubygems.org/gems/array-unique">array-unique</a>)
28
+ * <a href="https://github.com/RidiculousPower/array-sorted-unique">Array::Sorted::Unique</a> (provided by <a href="https://rubygems.org/gems/array-sorted-unique">array-sorted-unique</a>)
29
+
30
+ ## Compositing Arrays ##
31
+
32
+ Compositing Arrays optionally maintain a parent-child relationship.
33
+
34
+ All Compositing Arrays respond to #initialize( parent_instance = nil, configuration_instance = nil, *args ), where everything after parent_instance is passed to the relative parent Event-Hooked array #initialize.
35
+
36
+ * <a href="https://github.com/RidiculousPower/array-compositing">Array::Compositing</a> (provided by <a href="https://rubygems.org/gems/array-compositing">array-compositing</a>)
37
+ * <a href="https://github.com/RidiculousPower/array-sorted-compositing">Array::Sorted::Compositing</a> (provided by <a href="https://rubygems.org/gems/array-sorted-compositing">array-sorted-compositing</a>)
38
+ * <a href="https://github.com/RidiculousPower/array-unique-compositing">Array::Unique::Compositing</a> (provided by <a href="https://rubygems.org/gems/array-unique-compositing">array-unique-compositing</a>)
39
+ * <a href="https://github.com/RidiculousPower/array-sorted-unique-compositing">Array::Sorted::Unique::Compositing</a> (provided by <a href="https://rubygems.org/gems/array-sorted-unique-compositing">array-sorted-unique-compositing</a>)
40
+
41
+ # License #
42
+
43
+ (The MIT License)
44
+
45
+ Copyright (c) Ridiculous Power, Asher
46
+
47
+ Permission is hereby granted, free of charge, to any person obtaining
48
+ a copy of this software and associated documentation files (the
49
+ 'Software'), to deal in the Software without restriction, including
50
+ without limitation the rights to use, copy, modify, merge, publish,
51
+ distribute, sublicense, and/or sell copies of the Software, and to
52
+ permit persons to whom the Software is furnished to do so, subject to
53
+ the following conditions:
54
+
55
+ The above copyright notice and this permission notice shall be
56
+ included in all copies or substantial portions of the Software.
57
+
58
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
59
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
61
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
62
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
63
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
64
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+
2
+ require 'array/sorted/unique'
3
+ require 'array/sorted/unique/compositing'
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: array
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: array-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: array-sorted
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
+ - !ruby/object:Gem::Dependency
47
+ name: array-unique
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: array-sorted-unique
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: array-compositing
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: array-sorted-compositing
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: array-unique-compositing
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: array-sorted-unique-compositing
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ description: Event-hooked Array, Sorted Array, Unique Array, Sorted-Unique Array,
143
+ Downward-Compositing Array, Downward-Compositing Sorted Array, Downward-Compositing
144
+ Unique Array, Downward-Compositing Sorted-Unique Array.
145
+ email: asher@ridiculouspower.com
146
+ executables: []
147
+ extensions: []
148
+ extra_rdoc_files: []
149
+ files:
150
+ - lib/array.rb
151
+ - README.md
152
+ homepage: http://rubygems.org/gems/array
153
+ licenses: []
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ none: false
160
+ requirements:
161
+ - - ! '>='
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ! '>='
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubyforge_project: array
172
+ rubygems_version: 1.8.23
173
+ signing_key:
174
+ specification_version: 3
175
+ summary: A convenience package providing a collection of all-purpose Array subclasses.
176
+ test_files: []
177
+ has_rdoc: