htmlcom 0.2.0 → 0.2.1
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/htmlcom.rb +3 -1
- data.tar.gz.sig +0 -0
- metadata +14 -14
- 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: 3d63b26341bc033396dbfd9b65865b655c47ba2fccff5854b0f98074de69433f
|
4
|
+
data.tar.gz: d3471f1e55a310f8c8d1536d4f558c8c014fcf60d3c5f32f624c9676c8e91c09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2df0df4fd5b6b41b99dede576b31cc06c2da5043f120f639ad40b2db82eefeb7a982f34c5ad9358bdc82101051ccf24ff7675cb13a7adda64b99165c37e1fbd
|
7
|
+
data.tar.gz: 2ddd93aa77b67123c2b50b5d3f3fe42a93f0ad7ffa32358791674305ee69bcec8ecc771a98f3a7975574e67d4acc229f4ffbeab4992994a0f30da71009ef4889
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/htmlcom.rb
CHANGED
@@ -14,7 +14,7 @@ module HtmlCom
|
|
14
14
|
|
15
15
|
class Accordion
|
16
16
|
|
17
|
-
attr_reader :to_html
|
17
|
+
attr_reader :to_html, :to_css, :to_js
|
18
18
|
|
19
19
|
def initialize(xml, debug: false)
|
20
20
|
|
@@ -24,6 +24,8 @@ module HtmlCom
|
|
24
24
|
tags = Nokogiri::XSLT(xsl()).transform(Nokogiri::XML(xml))\
|
25
25
|
.to_xhtml(indent: 0)
|
26
26
|
jmb = JsMenuBuilder.new(tags, debug: debug)
|
27
|
+
@to_css = jmb.to_css
|
28
|
+
@to_js = jmb.to_js
|
27
29
|
|
28
30
|
# apply the AJAX
|
29
31
|
@to_html = JsAjaxWizard.new(jmb.to_webpage).to_html
|
data.tar.gz.sig
CHANGED
Binary file
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,28 +35,28 @@ cert_chain:
|
|
35
35
|
WiRgzz3/21eCm7N/8s5UGa7uDJXDDxf/i/QsEUJn1VcorDbODN3DbcPYph26bgQm
|
36
36
|
vY6P53Z8DPcEft++oI9aZl1n
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: jsmenubuilder
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.2.0
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
46
|
version: '0.2'
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.2.10
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 0.2.0
|
57
54
|
- - "~>"
|
58
55
|
- !ruby/object:Gem::Version
|
59
56
|
version: '0.2'
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 0.2.10
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: jsajax_wizard
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,22 +81,22 @@ dependencies:
|
|
81
81
|
name: xml_to_sliml
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 0.1.0
|
87
84
|
- - "~>"
|
88
85
|
- !ruby/object:Gem::Version
|
89
86
|
version: '0.1'
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.1.1
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1.0
|
97
94
|
- - "~>"
|
98
95
|
- !ruby/object:Gem::Version
|
99
96
|
version: '0.1'
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 0.1.1
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: nokogiri
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|