rambling-trie 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/LICENSE +1 -1
  4. data/README.md +45 -20
  5. data/lib/rambling/trie/comparable.rb +1 -2
  6. data/lib/rambling/trie/compressible.rb +2 -4
  7. data/lib/rambling/trie/compressor.rb +2 -12
  8. data/lib/rambling/trie/configuration/properties.rb +4 -11
  9. data/lib/rambling/trie/configuration/provider_collection.rb +10 -20
  10. data/lib/rambling/trie/container.rb +20 -32
  11. data/lib/rambling/trie/enumerable.rb +1 -2
  12. data/lib/rambling/trie/nodes/compressed.rb +1 -2
  13. data/lib/rambling/trie/nodes/missing.rb +1 -2
  14. data/lib/rambling/trie/nodes/node.rb +14 -27
  15. data/lib/rambling/trie/readers/plain_text.rb +1 -2
  16. data/lib/rambling/trie/readers/reader.rb +2 -4
  17. data/lib/rambling/trie/serializers/marshal.rb +10 -19
  18. data/lib/rambling/trie/serializers/yaml.rb +8 -15
  19. data/lib/rambling/trie/serializers/zip.rb +1 -1
  20. data/lib/rambling/trie/version.rb +1 -1
  21. data/lib/rambling/trie.rb +11 -16
  22. data/rambling-trie.gemspec +4 -4
  23. data/spec/integration/rambling/trie_spec.rb +36 -4
  24. data/spec/lib/rambling/trie/configuration/provider_collection_spec.rb +7 -7
  25. data/spec/lib/rambling/trie/container_spec.rb +4 -4
  26. data/spec/lib/rambling/trie/nodes/compressed_spec.rb +6 -0
  27. data/spec/lib/rambling/trie/nodes/raw_spec.rb +6 -4
  28. data/spec/lib/rambling/trie/serializers/file_spec.rb +1 -1
  29. data/spec/lib/rambling/trie/serializers/marshal_spec.rb +1 -1
  30. data/spec/lib/rambling/trie/serializers/yaml_spec.rb +1 -1
  31. data/spec/lib/rambling/trie/serializers/zip_spec.rb +4 -4
  32. data/spec/lib/rambling/trie_spec.rb +11 -11
  33. data/spec/spec_helper.rb +5 -5
  34. data/spec/support/shared_examples/a_container_word.rb +3 -3
  35. data/spec/support/shared_examples/a_serializable_trie.rb +1 -1
  36. data/spec/support/shared_examples/a_serializer.rb +2 -2
  37. data/spec/support/shared_examples/a_trie_node.rb +3 -2
  38. metadata +8 -8
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rambling-trie
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edgar Gonzalez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-11 00:00:00.000000000 Z
12
+ date: 2024-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '13.0'
20
+ version: '13.1'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '13.0'
27
+ version: '13.1'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 0.9.28
48
+ version: 0.9.34
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 0.9.28
55
+ version: 0.9.34
56
56
  description: 'The Rambling Trie is a Ruby implementation of the trie data structure,
57
57
  which includes compression abilities and is designed to be very fast to traverse. '
58
58
  email:
@@ -133,7 +133,7 @@ files:
133
133
  - spec/support/shared_examples/a_trie_node.rb
134
134
  - spec/support/shared_examples/a_trie_node_implementation.rb
135
135
  - spec/tmp/.gitkeep
136
- homepage: http://github.com/gonzedge/rambling-trie
136
+ homepage: https://github.com/gonzedge/rambling-trie
137
137
  licenses:
138
138
  - MIT
139
139
  metadata:
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 3.4.10
160
+ rubygems_version: 3.5.3
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: A Ruby implementation of the trie data structure.