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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d7960f5340eeea39252bf10f7b8c916c0b88877d86cea08064a132043602a45
4
- data.tar.gz: 1d6d0f6e7ec0bf4508f77e611e7301925cc791744ff84ae58ed32debd058e3fb
3
+ metadata.gz: 3d63b26341bc033396dbfd9b65865b655c47ba2fccff5854b0f98074de69433f
4
+ data.tar.gz: d3471f1e55a310f8c8d1536d4f558c8c014fcf60d3c5f32f624c9676c8e91c09
5
5
  SHA512:
6
- metadata.gz: 91ef20411c97b6b4dfbe8cec05547b4f38adfa4247d21b20db78f05c5880dcaa449543d17d4056b2a647998bb0318df46e35d1268fa4f42aa7e189f6930d135f
7
- data.tar.gz: b39f2b7c0f1385577fe682c10fca9073a8f28c9a8babe10436d0dd9d99443e8fd46f8088fe8c0fe13022540e38a16b8a1fe3a7fe1b34edeaae9aa4a9594d6da3
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.0
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: 2019-12-07 00:00:00.000000000 Z
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