netlinx-compile 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +91 -6
  3. data/doc/NetLinx.html +6 -6
  4. data/doc/NetLinx/Compile.html +6 -6
  5. data/doc/NetLinx/Compile/Extension.html +6 -6
  6. data/doc/NetLinx/Compile/Extension/AXS.html +6 -6
  7. data/doc/NetLinx/Compile/ExtensionDiscovery.html +21 -24
  8. data/doc/NetLinx/Compile/ExtensionHandler.html +20 -41
  9. data/doc/NetLinx/Compile/Script.html +6 -6
  10. data/doc/NetLinx/Compiler.html +9 -13
  11. data/doc/NetLinx/CompilerResult.html +7 -7
  12. data/doc/NetLinx/NoCompilerError.html +6 -6
  13. data/doc/NetLinx/Rake.html +6 -6
  14. data/doc/NetLinx/Rake/Compile.html +9 -10
  15. data/doc/NetLinx/SourceFile.html +39 -33
  16. data/doc/_index.html +7 -7
  17. data/doc/class_list.html +2 -2
  18. data/doc/css/style.css +6 -9
  19. data/doc/file.README.html +71 -29
  20. data/doc/file.license.html +6 -6
  21. data/doc/file_list.html +2 -2
  22. data/doc/frames.html +2 -2
  23. data/doc/index.html +71 -29
  24. data/doc/js/app.js +69 -3
  25. data/doc/method_list.html +22 -22
  26. data/doc/top-level-namespace.html +6 -6
  27. data/lib/netlinx/source_file.rb +4 -0
  28. metadata +9 -49
  29. data/doc/Test.html +0 -147
  30. data/doc/Test/NetLinx.html +0 -147
  31. data/doc/Test/NetLinx/Compilable.html +0 -148
  32. data/doc/Test/NetLinx/Compile.html +0 -146
  33. data/doc/Test/NetLinx/Compile/Discoverable.html +0 -148
  34. data/doc/Test/NetLinx/Compile/Invokable.html +0 -149
  35. data/doc/created.rid +0 -12
  36. data/doc/images/add.png +0 -0
  37. data/doc/images/arrow_up.png +0 -0
  38. data/doc/images/brick.png +0 -0
  39. data/doc/images/brick_link.png +0 -0
  40. data/doc/images/bug.png +0 -0
  41. data/doc/images/bullet_black.png +0 -0
  42. data/doc/images/bullet_toggle_minus.png +0 -0
  43. data/doc/images/bullet_toggle_plus.png +0 -0
  44. data/doc/images/date.png +0 -0
  45. data/doc/images/delete.png +0 -0
  46. data/doc/images/find.png +0 -0
  47. data/doc/images/loadingAnimation.gif +0 -0
  48. data/doc/images/macFFBgHack.png +0 -0
  49. data/doc/images/package.png +0 -0
  50. data/doc/images/page_green.png +0 -0
  51. data/doc/images/page_white_text.png +0 -0
  52. data/doc/images/page_white_width.png +0 -0
  53. data/doc/images/plugin.png +0 -0
  54. data/doc/images/ruby.png +0 -0
  55. data/doc/images/tag_blue.png +0 -0
  56. data/doc/images/tag_green.png +0 -0
  57. data/doc/images/transparent.png +0 -0
  58. data/doc/images/wrench.png +0 -0
  59. data/doc/images/wrench_orange.png +0 -0
  60. data/doc/images/zoom.png +0 -0
  61. data/doc/js/darkfish.js +0 -155
  62. data/doc/js/navigation.js +0 -142
  63. data/doc/js/search.js +0 -94
  64. data/doc/js/search_index.js +0 -1
  65. data/doc/js/searcher.js +0 -228
  66. data/doc/rdoc.css +0 -595
  67. data/doc/table_of_contents.html +0 -138
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::Compile::Script
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compile::Script";
19
19
  relpath = '../../';
20
20
  </script>
@@ -432,9 +432,9 @@
432
432
  </div>
433
433
 
434
434
  <div id="footer">
435
- Generated on Tue Feb 13 21:36:33 2018 by
435
+ Generated on Sat Jul 11 17:29:50 2020 by
436
436
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
437
- 0.9.12 (ruby-2.1.8).
437
+ 0.9.25 (ruby-2.7.1).
438
438
  </div>
439
439
 
440
440
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::Compiler
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compiler";
19
19
  relpath = '../';
20
20
  </script>
@@ -169,8 +169,7 @@
169
169
 
170
170
 
171
171
  <span class="summary_desc"><div class='inline'>
172
- <p>Checks for the AMX NetLinx compiler (third-party software, nlrc.exe) at the
173
- default installation path.</p>
172
+ <p>Checks for the AMX NetLinx compiler (third-party software, nlrc.exe) at the default installation path.</p>
174
173
  </div></span>
175
174
 
176
175
  </li>
@@ -194,8 +193,7 @@ default installation path.

194
193
  </h3><div class="docstring">
195
194
  <div class="discussion">
196
195
 
197
- <p>Checks for the AMX NetLinx compiler (third-party software, nlrc.exe) at the
198
- default installation path.</p>
196
+ <p>Checks for the AMX NetLinx compiler (third-party software, nlrc.exe) at the default installation path.</p>
199
197
 
200
198
 
201
199
  </div>
@@ -264,9 +262,7 @@ default installation path.

264
262
  </span>
265
263
 
266
264
  &mdash; <div class='inline'>
267
- <p>Set to true to force `wine` at the front of the compiler command. This is
268
- automatic if nlrc.exe is installed at Wine&#39;s default Program Files
269
- path.</p>
265
+ <p>Set to true to force `wine` at the front of the compiler command. This is automatic if nlrc.exe is installed at Wine&#39;s default Program Files path.</p>
270
266
  </div>
271
267
 
272
268
  </li>
@@ -500,9 +496,9 @@ path.

500
496
  </div>
501
497
 
502
498
  <div id="footer">
503
- Generated on Tue Feb 13 21:36:33 2018 by
499
+ Generated on Sat Jul 11 17:29:50 2020 by
504
500
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
505
- 0.9.12 (ruby-2.1.8).
501
+ 0.9.25 (ruby-2.7.1).
506
502
  </div>
507
503
 
508
504
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::CompilerResult
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::CompilerResult";
19
19
  relpath = '../';
20
20
  </script>
@@ -497,7 +497,7 @@
497
497
  </h3><div class="docstring">
498
498
  <div class="discussion">
499
499
 
500
- <p>Returns a new instance of CompilerResult</p>
500
+ <p>Returns a new instance of CompilerResult.</p>
501
501
 
502
502
 
503
503
  </div>
@@ -1243,9 +1243,9 @@
1243
1243
  </div>
1244
1244
 
1245
1245
  <div id="footer">
1246
- Generated on Tue Feb 13 21:36:33 2018 by
1246
+ Generated on Sat Jul 11 17:29:51 2020 by
1247
1247
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1248
- 0.9.12 (ruby-2.1.8).
1248
+ 0.9.25 (ruby-2.7.1).
1249
1249
  </div>
1250
1250
 
1251
1251
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Exception: NetLinx::NoCompilerError
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::NoCompilerError";
19
19
  relpath = '../';
20
20
  </script>
@@ -132,9 +132,9 @@
132
132
  </div>
133
133
 
134
134
  <div id="footer">
135
- Generated on Tue Feb 13 21:36:33 2018 by
135
+ Generated on Sat Jul 11 17:29:50 2020 by
136
136
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
137
- 0.9.12 (ruby-2.1.8).
137
+ 0.9.25 (ruby-2.7.1).
138
138
  </div>
139
139
 
140
140
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: NetLinx::Rake
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Rake";
19
19
  relpath = '../';
20
20
  </script>
@@ -105,9 +105,9 @@
105
105
  </div>
106
106
 
107
107
  <div id="footer">
108
- Generated on Tue Feb 13 21:36:33 2018 by
108
+ Generated on Sat Jul 11 17:29:50 2020 by
109
109
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
- 0.9.12 (ruby-2.1.8).
110
+ 0.9.25 (ruby-2.7.1).
111
111
  </div>
112
112
 
113
113
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::Rake::Compile
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Rake::Compile";
19
19
  relpath = '../../';
20
20
  </script>
@@ -104,8 +104,7 @@
104
104
  <h2>Overview</h2><div class="docstring">
105
105
  <div class="discussion">
106
106
 
107
- <p>Compile to deployable code from the source code files in the given
108
- workspace.</p>
107
+ <p>Compile to deployable code from the source code files in the given workspace.</p>
109
108
 
110
109
 
111
110
  </div>
@@ -205,7 +204,7 @@ workspace.

205
204
  </h3><div class="docstring">
206
205
  <div class="discussion">
207
206
 
208
- <p>Returns a new instance of Compile</p>
207
+ <p>Returns a new instance of Compile.</p>
209
208
 
210
209
 
211
210
  </div>
@@ -314,7 +313,7 @@ workspace.

314
313
  </h3><div class="docstring">
315
314
  <div class="discussion">
316
315
 
317
- <p>Returns the value of attribute name</p>
316
+ <p>Returns the value of attribute name.</p>
318
317
 
319
318
 
320
319
  </div>
@@ -349,9 +348,9 @@ workspace.

349
348
  </div>
350
349
 
351
350
  <div id="footer">
352
- Generated on Tue Feb 13 21:36:33 2018 by
351
+ Generated on Sat Jul 11 17:29:51 2020 by
353
352
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
354
- 0.9.12 (ruby-2.1.8).
353
+ 0.9.25 (ruby-2.7.1).
355
354
  </div>
356
355
 
357
356
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::SourceFile
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::SourceFile";
19
19
  relpath = '../';
20
20
  </script>
@@ -257,8 +257,7 @@
257
257
 
258
258
 
259
259
  <span class="summary_desc"><div class='inline'>
260
- <p>NOTE: SourceFile searches the body of the source file to automatically
261
- determine include and module paths.</p>
260
+ <p>NOTE: SourceFile searches the body of the source file to automatically determine include and module paths.</p>
262
261
  </div></span>
263
262
 
264
263
  </li>
@@ -282,8 +281,7 @@ determine include and module paths.

282
281
  </h3><div class="docstring">
283
282
  <div class="discussion">
284
283
 
285
- <p>NOTE: SourceFile searches the body of the source file to automatically
286
- determine include and module paths.</p>
284
+ <p>NOTE: SourceFile searches the body of the source file to automatically determine include and module paths.</p>
287
285
 
288
286
 
289
287
  </div>
@@ -403,7 +401,11 @@ determine include and module paths.

403
401
  47
404
402
  48
405
403
  49
406
- 50</pre>
404
+ 50
405
+ 51
406
+ 52
407
+ 53
408
+ 54</pre>
407
409
  </td>
408
410
  <td>
409
411
  <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 12</span>
@@ -417,6 +419,10 @@ determine include and module paths.

417
419
 
418
420
  <span class='id identifier rubyid_source_code'>source_code</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='ivar'>@compiler_target_files</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span>
419
421
 
422
+ <span class='kw'>unless</span> <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_valid_encoding?'>valid_encoding?</span>
423
+ <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_force_encoding'>force_encoding</span> <span class='const'>Encoding</span><span class='op'>::</span><span class='const'>ASCII_8BIT</span>
424
+ <span class='kw'>end</span>
425
+
420
426
  <span class='comment'># Scan file for additional include paths.
421
427
  </span> <span class='id identifier rubyid_includes'>includes</span> <span class='op'>=</span> <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(?i)^\s*(?:\#include)\s+&#39;([\w\-]+)&#39;</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
422
428
 
@@ -485,14 +491,14 @@ determine include and module paths.

485
491
  <pre class="lines">
486
492
 
487
493
 
488
- 73
489
- 74
490
- 75
491
- 76
492
- 77</pre>
494
+ 77
495
+ 78
496
+ 79
497
+ 80
498
+ 81</pre>
493
499
  </td>
494
500
  <td>
495
- <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 73</span>
501
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 77</span>
496
502
 
497
503
  <span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span>
498
504
  <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>netlinx/compiler</span><span class='tstring_end'>&#39;</span></span>
@@ -535,12 +541,12 @@ determine include and module paths.

535
541
  <pre class="lines">
536
542
 
537
543
 
538
- 58
539
- 59
540
- 60</pre>
544
+ 62
545
+ 63
546
+ 64</pre>
541
547
  </td>
542
548
  <td>
543
- <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 58</span>
549
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 62</span>
544
550
 
545
551
  <span class='kw'>def</span> <span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span>
546
552
  <span class='ivar'>@compiler_include_paths</span>
@@ -581,12 +587,12 @@ determine include and module paths.

581
587
  <pre class="lines">
582
588
 
583
589
 
584
- 68
585
- 69
586
- 70</pre>
590
+ 72
591
+ 73
592
+ 74</pre>
587
593
  </td>
588
594
  <td>
589
- <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 68</span>
595
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 72</span>
590
596
 
591
597
  <span class='kw'>def</span> <span class='id identifier rubyid_compiler_library_paths'>compiler_library_paths</span>
592
598
  <span class='lbracket'>[</span><span class='rbracket'>]</span>
@@ -627,12 +633,12 @@ determine include and module paths.

627
633
  <pre class="lines">
628
634
 
629
635
 
630
- 63
631
- 64
632
- 65</pre>
636
+ 67
637
+ 68
638
+ 69</pre>
633
639
  </td>
634
640
  <td>
635
- <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 63</span>
641
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 67</span>
636
642
 
637
643
  <span class='kw'>def</span> <span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span>
638
644
  <span class='ivar'>@compiler_module_paths</span>
@@ -673,12 +679,12 @@ determine include and module paths.

673
679
  <pre class="lines">
674
680
 
675
681
 
676
- 53
677
- 54
678
- 55</pre>
682
+ 57
683
+ 58
684
+ 59</pre>
679
685
  </td>
680
686
  <td>
681
- <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 53</span>
687
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 57</span>
682
688
 
683
689
  <span class='kw'>def</span> <span class='id identifier rubyid_compiler_target_files'>compiler_target_files</span>
684
690
  <span class='ivar'>@compiler_target_files</span>
@@ -693,9 +699,9 @@ determine include and module paths.

693
699
  </div>
694
700
 
695
701
  <div id="footer">
696
- Generated on Tue Feb 13 21:36:33 2018 by
702
+ Generated on Sat Jul 11 17:29:50 2020 by
697
703
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
698
- 0.9.12 (ruby-2.1.8).
704
+ 0.9.25 (ruby-2.7.1).
699
705
  </div>
700
706
 
701
707
  </div>
@@ -4,15 +4,15 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.12
7
+ Documentation by YARD 0.9.25
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
14
14
 
15
- <script type="text/javascript" charset="utf-8">
15
+ <script type="text/javascript">
16
16
  pathId = null;
17
17
  relpath = '';
18
18
  </script>
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.12</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.25</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -224,9 +224,9 @@
224
224
  </div>
225
225
 
226
226
  <div id="footer">
227
- Generated on Tue Feb 13 21:36:33 2018 by
227
+ Generated on Sat Jul 11 17:29:49 2020 by
228
228
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
229
- 0.9.12 (ruby-2.1.8).
229
+ 0.9.25 (ruby-2.7.1).
230
230
  </div>
231
231
 
232
232
  </div>