hashery 2.1.2 → 2.2.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.
- checksums.yaml +5 -5
- data/HISTORY.md +77 -0
- data/README.md +59 -42
- data/lib/hashery/core_ext.rb +1 -1
- data/lib/hashery/crud_hash.rb +2 -2
- data/lib/hashery/dictionary.rb +125 -46
- data/lib/hashery/fuzzy_hash.rb +1 -1
- data/lib/hashery/ini_hash.rb +4 -4
- data/lib/hashery/linked_list.rb +1 -1
- data/lib/hashery/lru_hash.rb +167 -160
- data/lib/hashery/open_hash.rb +2 -2
- data/lib/hashery/path_hash.rb +120 -46
- data/lib/hashery/static_hash.rb +2 -0
- data/lib/hashery/version.rb +3 -0
- data/lib/hashery.rb +1 -3
- data/test/case_association.rb +2 -2
- data/test/case_dictionary.rb +270 -15
- data/test/case_ini_hash.rb +28 -2
- data/test/case_lru_hash.rb +276 -6
- data/test/case_path_hash.rb +225 -0
- metadata +16 -72
- data/.index +0 -78
- data/Index.yml +0 -52
- data/lib/hashery.yml +0 -78
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hashery
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Trans
|
|
@@ -11,53 +11,10 @@ authors:
|
|
|
11
11
|
- George Moschovitis
|
|
12
12
|
- Jeena Paradies
|
|
13
13
|
- Erik Veenstra
|
|
14
|
-
autorequire:
|
|
15
14
|
bindir: bin
|
|
16
15
|
cert_chain: []
|
|
17
|
-
date:
|
|
18
|
-
dependencies:
|
|
19
|
-
- !ruby/object:Gem::Dependency
|
|
20
|
-
name: qed
|
|
21
|
-
requirement: !ruby/object:Gem::Requirement
|
|
22
|
-
requirements:
|
|
23
|
-
- - ">="
|
|
24
|
-
- !ruby/object:Gem::Version
|
|
25
|
-
version: '0'
|
|
26
|
-
type: :development
|
|
27
|
-
prerelease: false
|
|
28
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
29
|
-
requirements:
|
|
30
|
-
- - ">="
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0'
|
|
33
|
-
- !ruby/object:Gem::Dependency
|
|
34
|
-
name: lemon
|
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - ">="
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '0'
|
|
40
|
-
type: :development
|
|
41
|
-
prerelease: false
|
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: rubytest-cli
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - ">="
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: '0'
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - ">="
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: '0'
|
|
16
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
17
|
+
dependencies: []
|
|
61
18
|
description: The Hashery is a tight collection of Hash-like classes. Included among
|
|
62
19
|
its many offerings are the auto-sorting Dictionary class, the efficient LRUHash,
|
|
63
20
|
the flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass
|
|
@@ -68,15 +25,13 @@ email:
|
|
|
68
25
|
executables: []
|
|
69
26
|
extensions: []
|
|
70
27
|
extra_rdoc_files:
|
|
28
|
+
- HISTORY.md
|
|
71
29
|
- LICENSE.txt
|
|
72
30
|
- NOTICE.txt
|
|
73
|
-
- HISTORY.md
|
|
74
31
|
- README.md
|
|
75
32
|
files:
|
|
76
|
-
- ".index"
|
|
77
33
|
- ".yardopts"
|
|
78
34
|
- HISTORY.md
|
|
79
|
-
- Index.yml
|
|
80
35
|
- LICENSE.txt
|
|
81
36
|
- NOTICE.txt
|
|
82
37
|
- README.md
|
|
@@ -104,7 +59,6 @@ files:
|
|
|
104
59
|
- demo/applique/ae.rb
|
|
105
60
|
- demo/applique/hashery.rb
|
|
106
61
|
- lib/hashery.rb
|
|
107
|
-
- lib/hashery.yml
|
|
108
62
|
- lib/hashery/association.rb
|
|
109
63
|
- lib/hashery/casting_hash.rb
|
|
110
64
|
- lib/hashery/core_ext.rb
|
|
@@ -123,6 +77,7 @@ files:
|
|
|
123
77
|
- lib/hashery/query_hash.rb
|
|
124
78
|
- lib/hashery/stash.rb
|
|
125
79
|
- lib/hashery/static_hash.rb
|
|
80
|
+
- lib/hashery/version.rb
|
|
126
81
|
- test/case_association.rb
|
|
127
82
|
- test/case_casting_hash.rb
|
|
128
83
|
- test/case_core_ext.rb
|
|
@@ -134,15 +89,20 @@ files:
|
|
|
134
89
|
- test/case_lru_hash.rb
|
|
135
90
|
- test/case_open_cascade.rb
|
|
136
91
|
- test/case_open_hash.rb
|
|
92
|
+
- test/case_path_hash.rb
|
|
137
93
|
- test/case_property_hash.rb
|
|
138
94
|
- test/case_query_hash.rb
|
|
139
95
|
- test/fixture/example.ini
|
|
140
96
|
- test/helper.rb
|
|
141
|
-
homepage:
|
|
97
|
+
homepage: https://rubyworks.github.io/hashery
|
|
142
98
|
licenses:
|
|
143
99
|
- BSD-2-Clause
|
|
144
|
-
metadata:
|
|
145
|
-
|
|
100
|
+
metadata:
|
|
101
|
+
homepage_uri: https://rubyworks.github.io/hashery
|
|
102
|
+
source_code_uri: https://github.com/rubyworks/hashery
|
|
103
|
+
bug_tracker_uri: https://github.com/rubyworks/hashery/issues
|
|
104
|
+
changelog_uri: https://github.com/rubyworks/hashery/blob/master/HISTORY.md
|
|
105
|
+
documentation_uri: https://rubydoc.info/gems/hashery
|
|
146
106
|
rdoc_options: []
|
|
147
107
|
require_paths:
|
|
148
108
|
- lib
|
|
@@ -150,30 +110,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
150
110
|
requirements:
|
|
151
111
|
- - ">="
|
|
152
112
|
- !ruby/object:Gem::Version
|
|
153
|
-
version: '
|
|
113
|
+
version: '2.7'
|
|
154
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
115
|
requirements:
|
|
156
116
|
- - ">="
|
|
157
117
|
- !ruby/object:Gem::Version
|
|
158
118
|
version: '0'
|
|
159
119
|
requirements: []
|
|
160
|
-
|
|
161
|
-
rubygems_version: 2.5.1
|
|
162
|
-
signing_key:
|
|
120
|
+
rubygems_version: 3.6.9
|
|
163
121
|
specification_version: 4
|
|
164
122
|
summary: Facets-bread collection of Hash-like classes.
|
|
165
|
-
test_files:
|
|
166
|
-
- test/case_core_ext.rb
|
|
167
|
-
- test/case_open_hash.rb
|
|
168
|
-
- test/case_ini_hash.rb
|
|
169
|
-
- test/case_linked_list.rb
|
|
170
|
-
- test/case_association.rb
|
|
171
|
-
- test/case_key_hash.rb
|
|
172
|
-
- test/case_dictionary.rb
|
|
173
|
-
- test/case_property_hash.rb
|
|
174
|
-
- test/helper.rb
|
|
175
|
-
- test/case_lru_hash.rb
|
|
176
|
-
- test/case_query_hash.rb
|
|
177
|
-
- test/case_crud_hash.rb
|
|
178
|
-
- test/case_casting_hash.rb
|
|
179
|
-
- test/case_open_cascade.rb
|
|
123
|
+
test_files: []
|
data/.index
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
revision: 2013
|
|
3
|
-
type: ruby
|
|
4
|
-
sources:
|
|
5
|
-
- Index.yml
|
|
6
|
-
- Gemfile
|
|
7
|
-
authors:
|
|
8
|
-
- name: Trans
|
|
9
|
-
email: transfire@gmail.com
|
|
10
|
-
- name: Kirk Haines
|
|
11
|
-
- name: Robert Klemme
|
|
12
|
-
- name: Jan Molic
|
|
13
|
-
- name: George Moschovitis
|
|
14
|
-
- name: Jeena Paradies
|
|
15
|
-
- name: Erik Veenstra
|
|
16
|
-
organizations:
|
|
17
|
-
- name: RubyWorks (http://rubyworks.github.com/)
|
|
18
|
-
requirements:
|
|
19
|
-
- groups:
|
|
20
|
-
- development
|
|
21
|
-
- test
|
|
22
|
-
version: ">= 0"
|
|
23
|
-
name: qed
|
|
24
|
-
- groups:
|
|
25
|
-
- development
|
|
26
|
-
- test
|
|
27
|
-
version: ">= 0"
|
|
28
|
-
name: lemon
|
|
29
|
-
- groups:
|
|
30
|
-
- development
|
|
31
|
-
- test
|
|
32
|
-
version: ">= 0"
|
|
33
|
-
name: rubytest-cli
|
|
34
|
-
conflicts: []
|
|
35
|
-
alternatives: []
|
|
36
|
-
resources:
|
|
37
|
-
- type: home
|
|
38
|
-
uri: http://rubyworks.github.com/hashery
|
|
39
|
-
label: Homepage
|
|
40
|
-
- type: code
|
|
41
|
-
uri: http://github.com/rubyworks/hashery
|
|
42
|
-
label: Source Code
|
|
43
|
-
- type: mail
|
|
44
|
-
uri: http://groups.google.com/group/rubyworks-mailinglist
|
|
45
|
-
label: Mailing List
|
|
46
|
-
- type: docs
|
|
47
|
-
uri: http://rubydoc.info/github/rubyworks/hashery/master/frames
|
|
48
|
-
label: Documentation
|
|
49
|
-
- type: wiki
|
|
50
|
-
uri: http://wiki.github.com/rubyworks/hashery
|
|
51
|
-
label: User Guide
|
|
52
|
-
- type: gems
|
|
53
|
-
uri: http://rubygems.org/gems/hashery
|
|
54
|
-
repositories:
|
|
55
|
-
- name: upstream
|
|
56
|
-
scm: git
|
|
57
|
-
uri: git://github.com/rubyworks/hashery.git
|
|
58
|
-
categories: []
|
|
59
|
-
copyrights:
|
|
60
|
-
- holder: Rubyworks
|
|
61
|
-
year: '2010'
|
|
62
|
-
license: BSD-2-Clause
|
|
63
|
-
customs: []
|
|
64
|
-
paths:
|
|
65
|
-
lib:
|
|
66
|
-
- lib
|
|
67
|
-
- alt
|
|
68
|
-
name: hashery
|
|
69
|
-
title: Hashery
|
|
70
|
-
version: 2.1.2
|
|
71
|
-
summary: Facets-bread collection of Hash-like classes.
|
|
72
|
-
description: The Hashery is a tight collection of Hash-like classes. Included among
|
|
73
|
-
its many offerings are the auto-sorting Dictionary class, the efficient LRUHash,
|
|
74
|
-
the flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass
|
|
75
|
-
of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash making
|
|
76
|
-
it a snap to subclass and augment to fit any specific use case.
|
|
77
|
-
created: '2010-04-21'
|
|
78
|
-
date: '2016-05-01'
|
data/Index.yml
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name:
|
|
3
|
-
hashery
|
|
4
|
-
|
|
5
|
-
version:
|
|
6
|
-
2.1.2
|
|
7
|
-
|
|
8
|
-
title:
|
|
9
|
-
Hashery
|
|
10
|
-
|
|
11
|
-
summary:
|
|
12
|
-
Facets-bread collection of Hash-like classes.
|
|
13
|
-
|
|
14
|
-
description:
|
|
15
|
-
The Hashery is a tight collection of Hash-like classes. Included among its many
|
|
16
|
-
offerings are the auto-sorting Dictionary class, the efficient LRUHash, the
|
|
17
|
-
flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass
|
|
18
|
-
of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash
|
|
19
|
-
making it a snap to subclass and augment to fit any specific use case.
|
|
20
|
-
|
|
21
|
-
authors:
|
|
22
|
-
- Trans <transfire@gmail.com>
|
|
23
|
-
- Kirk Haines
|
|
24
|
-
- Robert Klemme
|
|
25
|
-
- Jan Molic
|
|
26
|
-
- George Moschovitis
|
|
27
|
-
- Jeena Paradies
|
|
28
|
-
- Erik Veenstra
|
|
29
|
-
|
|
30
|
-
resources:
|
|
31
|
-
home: http://rubyworks.github.com/hashery
|
|
32
|
-
code: http://github.com/rubyworks/hashery
|
|
33
|
-
mail: http://groups.google.com/group/rubyworks-mailinglist
|
|
34
|
-
docs: http://rubydoc.info/github/rubyworks/hashery/master/frames
|
|
35
|
-
wiki: http://wiki.github.com/rubyworks/hashery
|
|
36
|
-
gems: http://rubygems.org/gems/hashery
|
|
37
|
-
|
|
38
|
-
repositories:
|
|
39
|
-
upstream: "git://github.com/rubyworks/hashery.git"
|
|
40
|
-
|
|
41
|
-
organizations:
|
|
42
|
-
- RubyWorks (http://rubyworks.github.com/)
|
|
43
|
-
|
|
44
|
-
copyrights:
|
|
45
|
-
- 2010 Rubyworks (BSD-2-Clause)
|
|
46
|
-
|
|
47
|
-
load_path:
|
|
48
|
-
- lib
|
|
49
|
-
- alt
|
|
50
|
-
|
|
51
|
-
created: '2010-04-21'
|
|
52
|
-
|
data/lib/hashery.yml
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
revision: 2013
|
|
3
|
-
type: ruby
|
|
4
|
-
sources:
|
|
5
|
-
- Index.yml
|
|
6
|
-
- Gemfile
|
|
7
|
-
authors:
|
|
8
|
-
- name: Trans
|
|
9
|
-
email: transfire@gmail.com
|
|
10
|
-
- name: Kirk Haines
|
|
11
|
-
- name: Robert Klemme
|
|
12
|
-
- name: Jan Molic
|
|
13
|
-
- name: George Moschovitis
|
|
14
|
-
- name: Jeena Paradies
|
|
15
|
-
- name: Erik Veenstra
|
|
16
|
-
organizations:
|
|
17
|
-
- name: RubyWorks (http://rubyworks.github.com/)
|
|
18
|
-
requirements:
|
|
19
|
-
- groups:
|
|
20
|
-
- development
|
|
21
|
-
- test
|
|
22
|
-
version: ">= 0"
|
|
23
|
-
name: qed
|
|
24
|
-
- groups:
|
|
25
|
-
- development
|
|
26
|
-
- test
|
|
27
|
-
version: ">= 0"
|
|
28
|
-
name: lemon
|
|
29
|
-
- groups:
|
|
30
|
-
- development
|
|
31
|
-
- test
|
|
32
|
-
version: ">= 0"
|
|
33
|
-
name: rubytest-cli
|
|
34
|
-
conflicts: []
|
|
35
|
-
alternatives: []
|
|
36
|
-
resources:
|
|
37
|
-
- type: home
|
|
38
|
-
uri: http://rubyworks.github.com/hashery
|
|
39
|
-
label: Homepage
|
|
40
|
-
- type: code
|
|
41
|
-
uri: http://github.com/rubyworks/hashery
|
|
42
|
-
label: Source Code
|
|
43
|
-
- type: mail
|
|
44
|
-
uri: http://groups.google.com/group/rubyworks-mailinglist
|
|
45
|
-
label: Mailing List
|
|
46
|
-
- type: docs
|
|
47
|
-
uri: http://rubydoc.info/github/rubyworks/hashery/master/frames
|
|
48
|
-
label: Documentation
|
|
49
|
-
- type: wiki
|
|
50
|
-
uri: http://wiki.github.com/rubyworks/hashery
|
|
51
|
-
label: User Guide
|
|
52
|
-
- type: gems
|
|
53
|
-
uri: http://rubygems.org/gems/hashery
|
|
54
|
-
repositories:
|
|
55
|
-
- name: upstream
|
|
56
|
-
scm: git
|
|
57
|
-
uri: git://github.com/rubyworks/hashery.git
|
|
58
|
-
categories: []
|
|
59
|
-
copyrights:
|
|
60
|
-
- holder: Rubyworks
|
|
61
|
-
year: '2010'
|
|
62
|
-
license: BSD-2-Clause
|
|
63
|
-
customs: []
|
|
64
|
-
paths:
|
|
65
|
-
lib:
|
|
66
|
-
- lib
|
|
67
|
-
- alt
|
|
68
|
-
name: hashery
|
|
69
|
-
title: Hashery
|
|
70
|
-
version: 2.1.2
|
|
71
|
-
summary: Facets-bread collection of Hash-like classes.
|
|
72
|
-
description: The Hashery is a tight collection of Hash-like classes. Included among
|
|
73
|
-
its many offerings are the auto-sorting Dictionary class, the efficient LRUHash,
|
|
74
|
-
the flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass
|
|
75
|
-
of the CRUDHash which defines a CRUD model on top of Ruby's standard Hash making
|
|
76
|
-
it a snap to subclass and augment to fit any specific use case.
|
|
77
|
-
created: '2010-04-21'
|
|
78
|
-
date: '2016-05-01'
|