htmlcom 0.2.4 → 0.2.5
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 +16 -7
- metadata +40 -39
- 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: 8004cbae029ee293b21479ba8848c1651f26f335b999d16c0ef8d81441b71f30
|
4
|
+
data.tar.gz: 9cf701e4bb970992b648fd54b73e4e7a700716bbaa8c5a898fce1b43800ebad1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91c0da1574759668917fd20254b82babcdbfca8302a6019b4d2d13e6125c26fdf08b65299965debf497ad530f2fd8120851bd88e7aabccc27e40360386a9aa98
|
7
|
+
data.tar.gz: 66e8aba374f7e41d4c9c01cc5820141c8ed03f823f1ec2dea5de68c5a6af8aac98308a3a1b37ea80422fdd75e88ac98b268f1183bff3ce53a7b576e0231a0923
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/htmlcom.rb
CHANGED
@@ -126,8 +126,8 @@ xsl= %q(
|
|
126
126
|
|
127
127
|
attr_accessor :title, :content
|
128
128
|
|
129
|
-
def initialize(title, content: '', callback: nil)
|
130
|
-
@title, @content, @callback = title, content, callback
|
129
|
+
def initialize(title, content: '', callback: nil, debug: false)
|
130
|
+
@title, @content, @callback, @debug = title, content, callback, debug
|
131
131
|
end
|
132
132
|
|
133
133
|
def content=(s)
|
@@ -156,13 +156,16 @@ xsl= %q(
|
|
156
156
|
# current options for type:
|
157
157
|
# :tabs, :full_page_tabs
|
158
158
|
|
159
|
-
def initialize(type=:tabs, headings: [], xml: nil)
|
159
|
+
def initialize(type=:tabs, headings: [], xml: nil, debug: false)
|
160
160
|
|
161
|
-
@type = type
|
161
|
+
@type, @debug = type, debug
|
162
162
|
@build = JsMenuBuilder.new(type, headings: headings)
|
163
|
+
|
164
|
+
@active_tab = 1
|
163
165
|
|
164
166
|
@tab = headings.map do |heading|
|
165
|
-
Tab.new heading, content: "<h3>#{heading}</h3>",
|
167
|
+
Tab.new heading, content: "<h3>#{heading}</h3>",
|
168
|
+
callback: self, debug: debug
|
166
169
|
end
|
167
170
|
|
168
171
|
if xml then
|
@@ -200,8 +203,14 @@ xsl= %q(
|
|
200
203
|
tabs = @tab.map do |tab|
|
201
204
|
tab.title ? tab.to_a : nil
|
202
205
|
end.compact.to_h
|
203
|
-
|
204
|
-
|
206
|
+
|
207
|
+
if @debug then
|
208
|
+
puts 'inside ping; tabs: ' + tabs.inspect
|
209
|
+
puts '@active_tab: ' + @active_tab.inspect
|
210
|
+
end
|
211
|
+
|
212
|
+
@build = JsMenuBuilder.new(@type, tabs: tabs,
|
213
|
+
active: @active_tab, debug: @debug)
|
205
214
|
|
206
215
|
end
|
207
216
|
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,31 +11,31 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
/
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjEwMTE3MTUzNjE1WhcN
|
15
|
+
Mj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U/XAf+rPvvgIXNHaHXNUrvz0UY35Fld
|
29
|
+
UAUAT5VtRdMl1fOsF20D1ZvB8EvgcO5R9sZOh2zdyjCmn/XT6VIyQXMZ3pBEFoCX
|
30
|
+
JyShDdKobcYKlMrb9Nr9+Mn4J4vfOQcB2NFYwonaDLPQ9AjXwit7rhuOsbDAPnHt
|
31
|
+
WXQfhCZCk5CoVQeDAuzpnCJm55chl07x+VQYBDedjbHCevrleL6REiRQ0LhkEpPi
|
32
|
+
6beXYDQ6kQfSx368fAS8NLwNuozMTcRgRUl7xqP0+ul8nSJZLLWIXmsrs6cyHnw9
|
33
|
+
HwdPlwmYQHY1xkBxGI9yW8rB4FrO3JUOgLgDnMZ57q9iNKMS9uIqXaWEm0MQLY6m
|
34
|
+
0KaSzHUAYca+U2kPPE5/bYl/PRm6PEwzKh9gvxP9DfOsvMo5zx6nIwTk7q9OBGVh
|
35
|
+
Y7ogWFuR7xV5C2r4jFG/ETJJx68h+Dq4axa5mkEdMQz1iBbVr7SAq4Uoad0IbYtV
|
36
|
+
9JH57w1VS3ePSOlwBmm2yWGh
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2021-01-17 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: jsmenubuilder
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0.2'
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.2.
|
69
|
+
version: 0.2.4
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -76,27 +76,27 @@ dependencies:
|
|
76
76
|
version: '0.2'
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.2.
|
79
|
+
version: 0.2.4
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: jsajax_wizard
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 0.3.0
|
87
84
|
- - "~>"
|
88
85
|
- !ruby/object:Gem::Version
|
89
86
|
version: '0.3'
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.3.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.3.0
|
97
94
|
- - "~>"
|
98
95
|
- !ruby/object:Gem::Version
|
99
96
|
version: '0.3'
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 0.3.1
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: xml_to_sliml
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
version: '0.1'
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.1.
|
109
|
+
version: 0.1.2
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -116,27 +116,27 @@ dependencies:
|
|
116
116
|
version: '0.1'
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.1.
|
119
|
+
version: 0.1.2
|
120
120
|
- !ruby/object:Gem::Dependency
|
121
121
|
name: nokogiri
|
122
122
|
requirement: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
124
|
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: '1.
|
126
|
+
version: '1.11'
|
127
127
|
- - ">="
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: 1.
|
129
|
+
version: 1.11.1
|
130
130
|
type: :runtime
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '1.
|
136
|
+
version: '1.11'
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 1.
|
139
|
+
version: 1.11.1
|
140
140
|
description:
|
141
141
|
email: james@jamesrobertson.eu
|
142
142
|
executables: []
|
@@ -163,7 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
|
166
|
+
rubyforge_project:
|
167
|
+
rubygems_version: 2.7.10
|
167
168
|
signing_key:
|
168
169
|
specification_version: 4
|
169
170
|
summary: Generates HTML components and is designed for rendering dynamic web pages
|
metadata.gz.sig
CHANGED
Binary file
|