rambling-trie 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rambling/trie.rb +3 -3
- data/lib/rambling/trie/version.rb +1 -1
- metadata +3 -4
- data/lib/rambling/trie/forwardable.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee20334126cebef1f6c2701fe7d612fde28854e3
|
4
|
+
data.tar.gz: 832b58d0d0580d2318350adeafdd1b894b5f7ee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d654657d6cdaf376c84c28855c08ca4d9d21e752badf94e88a36f796dfeff0179abc748bd79cc6d7749b7840f9d0eeb20f7f62957237ec7c4861b016db61a2
|
7
|
+
data.tar.gz: f46b5c920c9871e637706ce3a1a2578aca2e938c824979c5925ebf8f8994e7f5bbc85e1ac4b062da318db310c4642a9650d22fbbf8e516cc35967e9f1e3a7e89
|
data/README.md
CHANGED
@@ -232,10 +232,10 @@ The Rambling Trie has been tested with the following Ruby versions:
|
|
232
232
|
* 2.4.x
|
233
233
|
* 2.3.x
|
234
234
|
* 2.2.x
|
235
|
-
* 2.1.x
|
236
235
|
|
237
236
|
**No longer supported**:
|
238
237
|
|
238
|
+
* 2.1.x (might still work, but is not officially supported)
|
239
239
|
* 2.0.x (might still work, but is not officially supported)
|
240
240
|
* 1.9.x
|
241
241
|
* 1.8.x
|
data/lib/rambling/trie.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
require 'forwardable'
|
2
2
|
|
3
3
|
%w{
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
comparable compressable compressor configuration container enumerable
|
5
|
+
inspectable invalid_operation readers serializers stringifyable node
|
6
|
+
missing_node compressed_node raw_node version
|
7
7
|
}.each do |file|
|
8
8
|
require File.join('rambling', 'trie', file)
|
9
9
|
end
|
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: 1.0.
|
4
|
+
version: 1.0.2
|
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: 2017-
|
12
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -78,7 +78,6 @@ files:
|
|
78
78
|
- lib/rambling/trie/configuration/provider_collection.rb
|
79
79
|
- lib/rambling/trie/container.rb
|
80
80
|
- lib/rambling/trie/enumerable.rb
|
81
|
-
- lib/rambling/trie/forwardable.rb
|
82
81
|
- lib/rambling/trie/inspectable.rb
|
83
82
|
- lib/rambling/trie/invalid_operation.rb
|
84
83
|
- lib/rambling/trie/missing_node.rb
|
@@ -141,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
140
|
version: '0'
|
142
141
|
requirements: []
|
143
142
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.6.
|
143
|
+
rubygems_version: 2.6.14
|
145
144
|
signing_key:
|
146
145
|
specification_version: 4
|
147
146
|
summary: A Ruby implementation of the trie data structure.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# module Rambling
|
2
|
-
# module Trie
|
3
|
-
# # Provides delegation behavior.
|
4
|
-
# module Forwardable
|
5
|
-
# # Custom delegation behavior due to Ruby 2.4 delegation performance
|
6
|
-
# # degradation. See {https://bugs.ruby-lang.org/issues/13111 Bug #13111}.
|
7
|
-
# # @param [Hash] methods_to_target a Hash consisting of the methods to be
|
8
|
-
# # delegated and the target to delegate those methods to.
|
9
|
-
# # @return [Hash] the `methods_to_target` parameter.
|
10
|
-
# def delegate methods_to_target
|
11
|
-
# methods_to_target.each do |methods, target|
|
12
|
-
# methods.each do |method|
|
13
|
-
# define_method method do |*args|
|
14
|
-
# send(target).send method, *args
|
15
|
-
# end
|
16
|
-
# end
|
17
|
-
# end
|
18
|
-
# end
|
19
|
-
# end
|
20
|
-
# end
|
21
|
-
# end
|