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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b68e86ea3ee83f01fdf4ab38527294441fee8c63f7dc945602b98d3ca7e4b925
4
- data.tar.gz: 49ce0e8bee5916dd80cb70327535df676054516185e675f8f6ad3c419d7f0e23
3
+ metadata.gz: 8004cbae029ee293b21479ba8848c1651f26f335b999d16c0ef8d81441b71f30
4
+ data.tar.gz: 9cf701e4bb970992b648fd54b73e4e7a700716bbaa8c5a898fce1b43800ebad1
5
5
  SHA512:
6
- metadata.gz: 02ebc9e784ebc11f8f4535b550d7d3d08ce977918a9ab414531c037d8744e658d3a6a4b8288010ef3b5be7bea780eaac2b5f5608028594f73606e5d9eeb1988a
7
- data.tar.gz: 9ed44ce561beafad256048619081fce3450235627177be6db03072b954a62f17e47defc62a59ca2c6e72d762bf85574cae7e66e33cb5a4500926247cd55aa31d
6
+ metadata.gz: 91c0da1574759668917fd20254b82babcdbfca8302a6019b4d2d13e6125c26fdf08b65299965debf497ad530f2fd8120851bd88e7aabccc27e40360386a9aa98
7
+ data.tar.gz: 66e8aba374f7e41d4c9c01cc5820141c8ed03f823f1ec2dea5de68c5a6af8aac98308a3a1b37ea80422fdd75e88ac98b268f1183bff3ce53a7b576e0231a0923
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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>", callback: self
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
- @build = JsMenuBuilder.new(@type, tabs: tabs, active: @active_tab)
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
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
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwNzEyMTkwOTA2WhcN
15
- MjAwNzExMTkwOTA2WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCzzWXZ
17
- TL6xk999BKr4lVCAlobCVnxEotwgpmtPQPhhGGg7PsQPP/QUCt23JrmsSBfpPmIH
18
- MpPjC1dfhwjGQgcmkjB5sNSprB6z0zFTJ8Mdox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QsFAAOCAYEAAoxegKwCmU/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: 2020-04-20 00:00:00.000000000 Z
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.3
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.3
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.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.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.10'
126
+ version: '1.11'
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: 1.10.8
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.10'
136
+ version: '1.11'
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 1.10.8
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
- rubygems_version: 3.0.3
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