line-tree 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/line-tree.rb +2 -6
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e05262cfe7c1837b9f24701a9fd1a9117862a11c
|
4
|
+
data.tar.gz: 4ce637c24ea955eafa11036e94fc502971de2da7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe1a66fc75a5d5240eb15bdb7701a737cc8d9d2201461ca839ef1df2f7bb08c0f4421681235b370665408f86639996f758b7bd6be64fb57b02c496faa2091ae7
|
7
|
+
data.tar.gz: 8de02a8a98aebc58404612682b195a36f9b6464157240c45e1da24e8589ef18ee7840b490f8cfab34c6660b4400177d0da8dea71c078778514060ed7a8ed6c43
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/line-tree.rb
CHANGED
@@ -51,9 +51,7 @@ class LineTree
|
|
51
51
|
private
|
52
52
|
|
53
53
|
def encap(a)
|
54
|
-
|
55
|
-
puts '_a: ' + a.inspect
|
56
|
-
|
54
|
+
|
57
55
|
a.each do |node|
|
58
56
|
|
59
57
|
encap node[-1] if node[-1].is_a? Array
|
@@ -65,9 +63,7 @@ class LineTree
|
|
65
63
|
end
|
66
64
|
|
67
65
|
end
|
68
|
-
|
69
|
-
puts '2a: ' + a.inspect
|
70
|
-
|
66
|
+
|
71
67
|
if a.first.is_a? String then
|
72
68
|
val = a[0]
|
73
69
|
a.insert 1, {}, val
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: line-tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
wN+2fv6EC2h0XIvfmiFpfz1F3AiA5cWUW8HuIO87gQy/9YbBrh4VK9WSnVaVEv0u
|
31
31
|
6gM=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2018-03-
|
33
|
+
date: 2018-03-16 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rexle
|
metadata.gz.sig
CHANGED
Binary file
|