htmlcom 0.2.6 → 0.2.7
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 +8 -4
- 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: 78857b5b1409a4daf21dae7af2bf0dcc74c3aa0e668966c1fe4f360c2056b8e7
|
4
|
+
data.tar.gz: 999fdf955851dee02c6e404e3d63ec1d8c342e26fe72992cfce1c63761918b79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07b170319e00f4cabb698f42f8ba6a005e4c5c4f074a9e71e76742dc40849d731df008e96f73676716499a66cdc11801ecf367df3553a57b46e698443f5e4189
|
7
|
+
data.tar.gz: 79b610a3280e750d1aa537cf05b45d4d3bf9bbca4c8eef2e0c203577cac28c0c531db657e9174bf53cdb1e60120fdaff75bfee484ac8125277da7abd4ae86cc5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/htmlcom.rb
CHANGED
@@ -253,10 +253,13 @@ xsl= %q(
|
|
253
253
|
|
254
254
|
end
|
255
255
|
|
256
|
-
class
|
257
|
-
|
258
|
-
|
259
|
-
|
256
|
+
class Menu
|
257
|
+
|
258
|
+
# current options
|
259
|
+
# :vertical_menu, :fixed_menu, sticky_nav, breadcrumb
|
260
|
+
#
|
261
|
+
def initialize(type=:vertical_menu, links, debug: false)
|
262
|
+
@jtb = JsMenuBuilder.new(type, {items: links, debug: debug})
|
260
263
|
end
|
261
264
|
|
262
265
|
def to_css()
|
@@ -276,5 +279,6 @@ xsl= %q(
|
|
276
279
|
end
|
277
280
|
|
278
281
|
end
|
282
|
+
|
279
283
|
|
280
284
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
Y7ogWFuR7xV5C2r4jFG/ETJJx68h+Dq4axa5mkEdMQz1iBbVr7SAq4Uoad0IbYtV
|
36
36
|
9JH57w1VS3ePSOlwBmm2yWGh
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2021-01-
|
38
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: jsmenubuilder
|
metadata.gz.sig
CHANGED
Binary file
|