htmlcom 0.2.2 → 0.2.3
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.tar.gz.sig +0 -0
- data/lib/htmlcom.rb +12 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a2fd06c95ce60e65e0f1d4082f5cbc2f0d93effcaff34d15e77c06427970b1d
|
4
|
+
data.tar.gz: 7671c93c7c1dfdd81dc3d9f5ffb18fb025515795c7cb16d2a6a56d3f9d010365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b311a20a90ad93122484bd820f333b16a0a24a7acfdbe3ae50eb91e0b092ad68b185edc720cdf8d5408d14f01a232a538f3ed7c4db824acac417e37d1a685f47
|
7
|
+
data.tar.gz: 5e97a64b67e032f7ef585724d9065c8817b57e58f2176c0722f1a3a261374cf17117e813bf0a60301d773d5fc8320169689c0f504c1b993a8d8a3f76b95cab7e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/htmlcom.rb
CHANGED
@@ -219,5 +219,17 @@ xsl= %q(
|
|
219
219
|
|
220
220
|
end
|
221
221
|
|
222
|
+
class Tree
|
223
|
+
|
224
|
+
def initialize(s, debug: false, hn: 2)
|
225
|
+
jtb = JsTreeBuilder.new(:sidebar, {src: s, hn: hn, debug: debug})
|
226
|
+
@html = jtb.to_webpage
|
227
|
+
end
|
228
|
+
|
229
|
+
def to_webpage()
|
230
|
+
@html
|
231
|
+
end
|
232
|
+
|
233
|
+
end
|
222
234
|
|
223
235
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmlcom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
WiRgzz3/21eCm7N/8s5UGa7uDJXDDxf/i/QsEUJn1VcorDbODN3DbcPYph26bgQm
|
36
36
|
vY6P53Z8DPcEft++oI9aZl1n
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2020-02-
|
38
|
+
date: 2020-02-29 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: jsmenubuilder
|
metadata.gz.sig
CHANGED
Binary file
|