decode 0.18.2 → 0.18.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73f08a729f4aab1c447325886ac2f07a76c3e0b12a4ac9fadd0da81343fb24fe
4
- data.tar.gz: 0fa743ec70c64044f12d56b1660fd8e2d2dfb5f6aeeb7ee49fbbe8325eca724d
3
+ metadata.gz: 1b3a885982996f92c838d5065a4f9aba8e856516fce39118a3e2b09a9da20220
4
+ data.tar.gz: cfdeaabc522ab801d88e9d275c4dff72621814aef5be81f8bb9b10c7ba4714f5
5
5
  SHA512:
6
- metadata.gz: 65c43bcc6ead3b9ab8b67a5a203910520e81837a8654dedb86f3fd92010803e9762fc200b14cb724d4862871fc8d4f87ee39d2aee2eaa5abbe23b34b2a1cea19
7
- data.tar.gz: 8aa62d064fd628fd5a8fa16dfcd6464072e7d7b271be4c81f66b504905b725aec59892ffcbf8d30835328ce7f42903a44f2ffbd437f80bdc7c6bb89cbd19952e
6
+ metadata.gz: 39bd5fe52847af28ac4975c06f25350ae5ed997cd90370e4b54231327800cfd0922fd65be72409ebfa1b3906026220429416a57c8b63d3aedd805e452ecc21de
7
+ data.tar.gz: 6c7a0bc6901211f85b3e0fe63befe1a051baaeaade0748f480480e0825a2f34c6178ffa95024cd8e2e0cd232fb2a5c85c7306c654d402a4cfae95b4e0b185d7a
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/decode/index.rb CHANGED
@@ -37,6 +37,12 @@ module Decode
37
37
  @trie = Trie.new
38
38
  end
39
39
 
40
+ def inspect
41
+ "#<#{self.class} #{@definitions.size} definition(s)>"
42
+ end
43
+
44
+ alias to_s inspect
45
+
40
46
  # All supported languages for this index.
41
47
  # @attribute [Languages]
42
48
  attr :languages
data/lib/decode/trie.rb CHANGED
@@ -30,6 +30,12 @@ module Decode
30
30
  @children = Hash.new
31
31
  end
32
32
 
33
+ def inspect
34
+ "#<#{self.class} #{@children.size} children>"
35
+ end
36
+
37
+ alias to_s inspect
38
+
33
39
  # A mutable array of all values that terminate at this node.
34
40
  # @attribute [Array]
35
41
  attr_accessor :values
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Decode
22
- VERSION = "0.18.2"
22
+ VERSION = "0.18.5"
23
23
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.2
4
+ version: 0.18.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file