netlinx-erb 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; Documentation by YARD 0.9.12
10
10
 
11
11
  </title>
12
12
 
@@ -15,9 +15,8 @@
15
15
  <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "";
19
19
  relpath = '';
20
- framesUrl = "frames.html#!top-level-namespace.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,58 +27,56 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
33
38
 
34
39
  <a href="_index.html">Index</a> &raquo;
35
40
 
36
41
 
37
42
  <span class="title">Top Level Namespace</span>
38
43
 
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
44
  </div>
42
45
 
43
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
58
56
  </a>
59
57
 
60
58
  </div>
61
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Top Level Namespace
62
+ <div id="content"><h1>Top Level Namespace
67
63
 
68
64
 
69
65
 
70
66
  </h1>
67
+ <div class="box_info">
68
+
71
69
 
72
- <dl class="box">
73
70
 
74
71
 
75
-
76
72
 
77
-
78
73
 
79
74
 
75
+
80
76
 
81
- </dl>
82
- <div class="clear"></div>
77
+
78
+
79
+ </div>
83
80
 
84
81
  <h2>Defined Under Namespace</h2>
85
82
  <p class="children">
@@ -104,11 +101,12 @@
104
101
 
105
102
  </div>
106
103
 
107
- <div id="footer">
108
- Generated on Mon Jun 29 16:09:05 2015 by
104
+ <div id="footer">
105
+ Generated on Tue Feb 13 21:56:15 2018 by
109
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
- 0.8.7.6 (ruby-2.1.3).
107
+ 0.9.12 (ruby-2.1.8).
111
108
  </div>
112
109
 
110
+ </div>
113
111
  </body>
114
112
  </html>
@@ -1,6 +1,4 @@
1
1
 
2
- require_relative 'helpers'
3
-
4
2
  module NetLinx
5
3
  module ERB
6
4
 
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netlinx-erb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex McLain
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-29 00:00:00.000000000 Z
12
+ date: 2018-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: netlinx-compile
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.0'
34
+ version: '1.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.0'
41
+ version: '1.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: netlinx-src
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -59,56 +59,62 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '10.4'
62
+ version: '12.3'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '10.4'
69
+ version: '12.3'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: yard
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.8.7
76
+ version: '0.9'
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 0.9.11
77
80
  type: :runtime
78
81
  prerelease: false
79
82
  version_requirements: !ruby/object:Gem::Requirement
80
83
  requirements:
81
84
  - - "~>"
82
85
  - !ruby/object:Gem::Version
83
- version: 0.8.7
86
+ version: '0.9'
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 0.9.11
84
90
  - !ruby/object:Gem::Dependency
85
91
  name: rspec
86
92
  requirement: !ruby/object:Gem::Requirement
87
93
  requirements:
88
94
  - - "~>"
89
95
  - !ruby/object:Gem::Version
90
- version: '3.1'
96
+ version: '3.7'
91
97
  type: :development
92
98
  prerelease: false
93
99
  version_requirements: !ruby/object:Gem::Requirement
94
100
  requirements:
95
101
  - - "~>"
96
102
  - !ruby/object:Gem::Version
97
- version: '3.1'
103
+ version: '3.7'
98
104
  - !ruby/object:Gem::Dependency
99
105
  name: rspec-its
100
106
  requirement: !ruby/object:Gem::Requirement
101
107
  requirements:
102
108
  - - "~>"
103
109
  - !ruby/object:Gem::Version
104
- version: '1.1'
110
+ version: '1.2'
105
111
  type: :development
106
112
  prerelease: false
107
113
  version_requirements: !ruby/object:Gem::Requirement
108
114
  requirements:
109
115
  - - "~>"
110
116
  - !ruby/object:Gem::Version
111
- version: '1.1'
117
+ version: '1.2'
112
118
  - !ruby/object:Gem::Dependency
113
119
  name: fivemat
114
120
  requirement: !ruby/object:Gem::Requirement
@@ -164,20 +170,16 @@ files:
164
170
  - bin/netlinx-erb
165
171
  - doc/Array.html
166
172
  - doc/Hash.html
167
- - doc/HashHelpers.html
168
- - doc/Helpers.html
169
173
  - doc/NetLinx.html
170
174
  - doc/NetLinx/ERB.html
171
175
  - doc/NetLinx/ERB/HashHelpers.html
172
176
  - doc/NetLinx/ERB/Helpers.html
173
177
  - doc/NetLinx/Rake.html
174
178
  - doc/NetLinx/Rake/ERB.html
175
- - doc/NetLinx/Rake/ERB/Compile.html
176
179
  - doc/NetLinx/Rake/ERB/GenerateERB.html
177
180
  - doc/NetLinx/Rake/ERB/GenerateRPC.html
178
181
  - doc/NetLinx/Rake/ERB/Lines.html
179
182
  - doc/NetLinx/Rake/ERB/Push.html
180
- - doc/NetLinx/Rake/Lines.html
181
183
  - doc/RPC.html
182
184
  - doc/String.html
183
185
  - doc/_index.html
@@ -228,9 +230,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
230
  version: '0'
229
231
  requirements: []
230
232
  rubyforge_project:
231
- rubygems_version: 2.4.8
233
+ rubygems_version: 2.6.13
232
234
  signing_key:
233
235
  specification_version: 4
234
236
  summary: A code generation utility for AMX NetLinx control systems.
235
237
  test_files: []
236
- has_rdoc:
@@ -1,413 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: HashHelpers
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!HashHelpers.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (H)</a> &raquo;
35
-
36
-
37
- <span class="title">HashHelpers</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: HashHelpers
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/netlinx/erb/hash_helpers.rb</dd>
83
-
84
- </dl>
85
- <div class="clear"></div>
86
-
87
- <h2>Overview</h2><div class="docstring">
88
- <div class="discussion">
89
-
90
- <p>A collection of helper methods for use in Hash</p>
91
-
92
-
93
- </div>
94
- </div>
95
- <div class="tags">
96
-
97
-
98
- </div>
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
- <h2>
107
- Instance Method Summary
108
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
109
- </h2>
110
-
111
- <ul class="summary">
112
-
113
- <li class="public ">
114
- <span class="summary_signature">
115
-
116
- <a href="#append_suffix-instance_method" title="#append_suffix (instance method)">- (Object) <strong>append_suffix</strong> </a>
117
-
118
-
119
-
120
- </span>
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
- <span class="summary_desc"><div class='inline'>
131
- <p>Append the @tmpl_suffix to each key in the hash.</p>
132
- </div></span>
133
-
134
- </li>
135
-
136
-
137
- <li class="public ">
138
- <span class="summary_signature">
139
-
140
- <a href="#append_suffix%21-instance_method" title="#append_suffix! (instance method)">- (Object) <strong>append_suffix!</strong> </a>
141
-
142
-
143
-
144
- </span>
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
- <span class="summary_desc"><div class='inline'>
155
- <p>Append the @tmpl_suffix to each key in the hash and overwrite this hash
156
- with the result.</p>
157
- </div></span>
158
-
159
- </li>
160
-
161
-
162
- <li class="public ">
163
- <span class="summary_signature">
164
-
165
- <a href="#tmpl_suffix-instance_method" title="#tmpl_suffix (instance method)">- (Object) <strong>tmpl_suffix</strong> </a>
166
-
167
-
168
-
169
- </span>
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
- <span class="summary_desc"><div class='inline'>
180
- <p>Template suffix (capitalized / unmodified).</p>
181
- </div></span>
182
-
183
- </li>
184
-
185
-
186
- <li class="public ">
187
- <span class="summary_signature">
188
-
189
- <a href="#tmpl_var_suffix-instance_method" title="#tmpl_var_suffix (instance method)">- (Object) <strong>tmpl_var_suffix</strong> </a>
190
-
191
-
192
-
193
- </span>
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
- <span class="summary_desc"><div class='inline'>
204
- <p>Template suffix for variables (lowercase).</p>
205
- </div></span>
206
-
207
- </li>
208
-
209
-
210
- </ul>
211
-
212
-
213
-
214
-
215
- <div id="instance_method_details" class="method_details_list">
216
- <h2>Instance Method Details</h2>
217
-
218
-
219
- <div class="method_details first">
220
- <h3 class="signature first" id="append_suffix-instance_method">
221
-
222
- - (<tt>Object</tt>) <strong>append_suffix</strong>
223
-
224
-
225
-
226
-
227
-
228
- </h3><div class="docstring">
229
- <div class="discussion">
230
-
231
- <p>Append the @tmpl_suffix to each key in the hash.</p>
232
-
233
-
234
- </div>
235
- </div>
236
- <div class="tags">
237
-
238
-
239
- </div><table class="source_code">
240
- <tr>
241
- <td>
242
- <pre class="lines">
243
-
244
-
245
- 19
246
- 20
247
- 21
248
- 22
249
- 23
250
- 24
251
- 25
252
- 26
253
- 27
254
- 28</pre>
255
- </td>
256
- <td>
257
- <pre class="code"><span class="info file"># File 'lib/netlinx/erb/hash_helpers.rb', line 19</span>
258
-
259
- <span class='kw'>def</span> <span class='id identifier rubyid_append_suffix'>append_suffix</span>
260
- <span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
261
- <span class='id identifier rubyid_key_name'>key_name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_k'>k</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
262
- <span class='id identifier rubyid_key_name'>key_name</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>_</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_tmpl_suffix'>tmpl_suffix</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_tmpl_suffix'>tmpl_suffix</span> <span class='kw'>and</span> <span class='kw'>not</span> <span class='id identifier rubyid_tmpl_suffix'>tmpl_suffix</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
263
-
264
- <span class='lbracket'>[</span><span class='id identifier rubyid_key_name'>key_name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rbracket'>]</span>
265
- <span class='kw'>end</span>
266
-
267
- <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_hash'>hash</span><span class='rbracket'>]</span>
268
- <span class='kw'>end</span></pre>
269
- </td>
270
- </tr>
271
- </table>
272
- </div>
273
-
274
- <div class="method_details ">
275
- <h3 class="signature " id="append_suffix!-instance_method">
276
-
277
- - (<tt>Object</tt>) <strong>append_suffix!</strong>
278
-
279
-
280
-
281
-
282
-
283
- </h3><div class="docstring">
284
- <div class="discussion">
285
-
286
- <p>Append the @tmpl_suffix to each key in the hash and overwrite this hash
287
- with the result.</p>
288
-
289
-
290
- </div>
291
- </div>
292
- <div class="tags">
293
-
294
-
295
- </div><table class="source_code">
296
- <tr>
297
- <td>
298
- <pre class="lines">
299
-
300
-
301
- 32
302
- 33
303
- 34
304
- 35
305
- 36</pre>
306
- </td>
307
- <td>
308
- <pre class="code"><span class="info file"># File 'lib/netlinx/erb/hash_helpers.rb', line 32</span>
309
-
310
- <span class='kw'>def</span> <span class='id identifier rubyid_append_suffix!'>append_suffix!</span>
311
- <span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='id identifier rubyid_append_suffix'>append_suffix</span>
312
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
313
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_merge!'>merge!</span> <span class='id identifier rubyid_hash'>hash</span>
314
- <span class='kw'>end</span></pre>
315
- </td>
316
- </tr>
317
- </table>
318
- </div>
319
-
320
- <div class="method_details ">
321
- <h3 class="signature " id="tmpl_suffix-instance_method">
322
-
323
- - (<tt>Object</tt>) <strong>tmpl_suffix</strong>
324
-
325
-
326
-
327
-
328
-
329
- </h3><div class="docstring">
330
- <div class="discussion">
331
-
332
- <p>Template suffix (capitalized / unmodified).</p>
333
-
334
-
335
- </div>
336
- </div>
337
- <div class="tags">
338
-
339
-
340
- </div><table class="source_code">
341
- <tr>
342
- <td>
343
- <pre class="lines">
344
-
345
-
346
- 9
347
- 10
348
- 11</pre>
349
- </td>
350
- <td>
351
- <pre class="code"><span class="info file"># File 'lib/netlinx/erb/hash_helpers.rb', line 9</span>
352
-
353
- <span class='kw'>def</span> <span class='id identifier rubyid_tmpl_suffix'>tmpl_suffix</span>
354
- <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span> <span class='symbol'>:@tmpl_suffix</span>
355
- <span class='kw'>end</span></pre>
356
- </td>
357
- </tr>
358
- </table>
359
- </div>
360
-
361
- <div class="method_details ">
362
- <h3 class="signature " id="tmpl_var_suffix-instance_method">
363
-
364
- - (<tt>Object</tt>) <strong>tmpl_var_suffix</strong>
365
-
366
-
367
-
368
-
369
-
370
- </h3><div class="docstring">
371
- <div class="discussion">
372
-
373
- <p>Template suffix for variables (lowercase).</p>
374
-
375
-
376
- </div>
377
- </div>
378
- <div class="tags">
379
-
380
-
381
- </div><table class="source_code">
382
- <tr>
383
- <td>
384
- <pre class="lines">
385
-
386
-
387
- 14
388
- 15
389
- 16</pre>
390
- </td>
391
- <td>
392
- <pre class="code"><span class="info file"># File 'lib/netlinx/erb/hash_helpers.rb', line 14</span>
393
-
394
- <span class='kw'>def</span> <span class='id identifier rubyid_tmpl_var_suffix'>tmpl_var_suffix</span>
395
- <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span> <span class='symbol'>:@tmpl_var_suffix</span>
396
- <span class='kw'>end</span></pre>
397
- </td>
398
- </tr>
399
- </table>
400
- </div>
401
-
402
- </div>
403
-
404
- </div>
405
-
406
- <div id="footer">
407
- Generated on Fri Jan 30 11:09:15 2015 by
408
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
409
- 0.8.7.6 (ruby-2.1.3).
410
- </div>
411
-
412
- </body>
413
- </html>