triglav-agent 1.0.0.pre2 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/Triglav.html +1 -1
  4. data/docs/Triglav/Agent.html +2 -2
  5. data/docs/Triglav/Agent/ApiClient.html +82 -20
  6. data/docs/Triglav/Agent/ApiClient/AuthenticationError.html +1 -1
  7. data/docs/Triglav/Agent/ApiClient/ConnectionError.html +1 -1
  8. data/docs/Triglav/Agent/ApiClient/Error.html +1 -1
  9. data/docs/Triglav/Agent/Base.html +1 -1
  10. data/docs/Triglav/Agent/Base/CLI.html +21 -19
  11. data/docs/Triglav/Agent/Base/Connection.html +92 -6
  12. data/docs/Triglav/Agent/Base/Monitor.html +1 -1
  13. data/docs/Triglav/Agent/Base/Processor.html +22 -30
  14. data/docs/Triglav/Agent/Base/Setting.html +65 -63
  15. data/docs/Triglav/Agent/Base/Worker.html +1 -1
  16. data/docs/Triglav/Agent/Configuration.html +1 -1
  17. data/docs/Triglav/Agent/Error.html +1 -1
  18. data/docs/Triglav/Agent/HashUtil.html +1 -1
  19. data/docs/Triglav/Agent/LogFormatter.html +1 -1
  20. data/docs/Triglav/Agent/Logger.html +1 -1
  21. data/docs/Triglav/Agent/StorageFile.html +1 -1
  22. data/docs/Triglav/Agent/Timer.html +1 -1
  23. data/docs/Triglav/Agent/TooManyError.html +1 -1
  24. data/docs/_index.html +1 -1
  25. data/docs/file.LICENSE.html +2 -2
  26. data/docs/file.README.html +1 -1
  27. data/docs/index.html +1 -1
  28. data/docs/method_list.html +50 -34
  29. data/docs/top-level-namespace.html +1 -1
  30. data/lib/triglav/agent.rb +1 -0
  31. data/lib/triglav/agent/base/cli.rb +4 -2
  32. data/lib/triglav/agent/base/processor.rb +4 -1
  33. data/lib/triglav/agent/base/setting.rb +4 -2
  34. data/lib/triglav/agent/base/worker.rb +7 -0
  35. data/lib/triglav/agent/status.rb +68 -0
  36. data/lib/triglav/agent/storage_file.rb +20 -0
  37. data/lib/triglav/agent/version.rb +1 -1
  38. data/triglav-agent.gemspec +2 -2
  39. metadata +5 -4
@@ -360,7 +360,7 @@ parallel thread basically, and `#process` is ran concurrently.</p>
360
360
  </div>
361
361
 
362
362
  <div id="footer">
363
- Generated on Thu Feb 23 23:20:33 2017 by
363
+ Generated on Wed Mar 8 23:12:39 2017 by
364
364
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
365
365
  0.9.5 (ruby-2.3.2).
366
366
  </div>
@@ -334,14 +334,7 @@ implement your original, configure</p>
334
334
  17
335
335
  18
336
336
  19
337
- 20
338
- 21
339
- 22
340
- 23
341
- 24
342
- 25
343
- 26
344
- 27</pre>
337
+ 20</pre>
345
338
  </td>
346
339
  <td>
347
340
  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 17</span>
@@ -349,13 +342,6 @@ implement your original, configure</p>
349
342
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_worker'>worker</span><span class='comma'>,</span> <span class='id identifier rubyid_resource_uri_prefix'>resource_uri_prefix</span><span class='rparen'>)</span>
350
343
  <span class='ivar'>@worker</span> <span class='op'>=</span> <span class='id identifier rubyid_worker'>worker</span>
351
344
  <span class='ivar'>@resource_uri_prefix</span> <span class='op'>=</span> <span class='id identifier rubyid_resource_uri_prefix'>resource_uri_prefix</span>
352
- <span class='ivar'>@connection_pool</span> <span class='op'>=</span> <span class='const'>ConnectionPool</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_pool_opts'>connection_pool_opts</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
353
- <span class='id identifier rubyid_connection_class'>connection_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_get_connection_info'>get_connection_info</span><span class='lparen'>(</span><span class='id identifier rubyid_resource_uri_prefix'>resource_uri_prefix</span><span class='rparen'>)</span><span class='rparen'>)</span>
354
- <span class='rbrace'>}</span>
355
- <span class='ivar'>@api_client_pool</span> <span class='op'>=</span> <span class='const'>ConnectionPool</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_pool_opts'>connection_pool_opts</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
356
- <span class='const'>ApiClient</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='comment'># renew connection
357
- </span> <span class='rbrace'>}</span>
358
- <span class='ivar'>@mutex</span> <span class='op'>=</span> <span class='const'>Mutex</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
359
345
  <span class='kw'>end</span></pre>
360
346
  </td>
361
347
  </tr>
@@ -475,12 +461,12 @@ implement your original, configure</p>
475
461
  <pre class="lines">
476
462
 
477
463
 
478
- 29
479
- 30
480
- 31</pre>
464
+ 22
465
+ 23
466
+ 24</pre>
481
467
  </td>
482
468
  <td>
483
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 29</span>
469
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 22</span>
484
470
 
485
471
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_max_consecuitive_error_count'>max_consecuitive_error_count</span>
486
472
  <span class='int'>3</span>
@@ -511,6 +497,13 @@ implement your original, configure</p>
511
497
  <pre class="lines">
512
498
 
513
499
 
500
+ 26
501
+ 27
502
+ 28
503
+ 29
504
+ 30
505
+ 31
506
+ 32
514
507
  33
515
508
  34
516
509
  35
@@ -535,16 +528,13 @@ implement your original, configure</p>
535
528
  54
536
529
  55
537
530
  56
538
- 57
539
- 58
540
- 59
541
- 60
542
- 61</pre>
531
+ 57</pre>
543
532
  </td>
544
533
  <td>
545
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 33</span>
534
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 26</span>
546
535
 
547
536
  <span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span>
537
+ <span class='id identifier rubyid_before_process'>before_process</span>
548
538
  <span class='id identifier rubyid_success_count'>success_count</span> <span class='op'>=</span> <span class='int'>0</span>
549
539
  <span class='id identifier rubyid_consecutive_error_count'>consecutive_error_count</span> <span class='op'>=</span> <span class='int'>0</span>
550
540
  <span class='const'>Parallel</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lparen'>(</span><span class='id identifier rubyid_resources'>resources</span><span class='comma'>,</span> <span class='id identifier rubyid_parallel_opts'>parallel_opts</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_resource'>resource</span><span class='op'>|</span>
@@ -572,6 +562,8 @@ implement your original, configure</p>
572
562
  <span class='kw'>end</span>
573
563
  <span class='kw'>end</span>
574
564
  <span class='id identifier rubyid_success_count'>success_count</span>
565
+ <span class='kw'>ensure</span>
566
+ <span class='id identifier rubyid_after_process'>after_process</span>
575
567
  <span class='kw'>end</span></pre>
576
568
  </td>
577
569
  </tr>
@@ -593,12 +585,12 @@ implement your original, configure</p>
593
585
  <pre class="lines">
594
586
 
595
587
 
596
- 63
597
- 64
598
- 65</pre>
588
+ 59
589
+ 60
590
+ 61</pre>
599
591
  </td>
600
592
  <td>
601
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 63</span>
593
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 59</span>
602
594
 
603
595
  <span class='kw'>def</span> <span class='id identifier rubyid_total_count'>total_count</span>
604
596
  <span class='id identifier rubyid_resources'>resources</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span>
@@ -613,7 +605,7 @@ implement your original, configure</p>
613
605
  </div>
614
606
 
615
607
  <div id="footer">
616
- Generated on Thu Feb 23 23:20:34 2017 by
608
+ Generated on Wed Mar 8 23:12:39 2017 by
617
609
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
618
610
  0.9.5 (ruby-2.3.2).
619
611
  </div>
@@ -106,8 +106,10 @@
106
106
 
107
107
  <p>A base class represents settings coming from config.yml and cli options</p>
108
108
 
109
- <p>This base class usually should be enough for agent plugins, but you can
110
- override this class and configure with Configuration#setting_class=</p>
109
+ <p>You usually do not need to customize this class, but if you want to
110
+ implement your original, configure</p>
111
+
112
+ <pre class="code ruby"><code class="ruby">Triglav::Agent::Configuration.setting_class =</code></pre>
111
113
 
112
114
 
113
115
  </div>
@@ -528,16 +530,16 @@ override this class and configure with Configuration#setting_class=</p>
528
530
  <pre class="lines">
529
531
 
530
532
 
531
- 19
532
- 20
533
533
  21
534
534
  22
535
535
  23
536
536
  24
537
- 25</pre>
537
+ 25
538
+ 26
539
+ 27</pre>
538
540
  </td>
539
541
  <td>
540
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 19</span>
542
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 21</span>
541
543
 
542
544
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_cli_options'>cli_options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
543
545
  <span class='ivar'>@cli_options</span> <span class='op'>=</span> <span class='id identifier rubyid_cli_options'>cli_options</span>
@@ -584,12 +586,12 @@ override this class and configure with Configuration#setting_class=</p>
584
586
  <pre class="lines">
585
587
 
586
588
 
587
- 13
588
- 14
589
- 15</pre>
589
+ 15
590
+ 16
591
+ 17</pre>
590
592
  </td>
591
593
  <td>
592
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 13</span>
594
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 15</span>
593
595
 
594
596
  <span class='kw'>def</span> <span class='id identifier rubyid_cli_options'>cli_options</span>
595
597
  <span class='ivar'>@cli_options</span>
@@ -621,12 +623,12 @@ override this class and configure with Configuration#setting_class=</p>
621
623
  <pre class="lines">
622
624
 
623
625
 
624
- 84
625
- 85
626
- 86</pre>
626
+ 86
627
+ 87
628
+ 88</pre>
627
629
  </td>
628
630
  <td>
629
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 84</span>
631
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 86</span>
630
632
 
631
633
  <span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span>
632
634
  <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span>
@@ -651,12 +653,12 @@ override this class and configure with Configuration#setting_class=</p>
651
653
  <pre class="lines">
652
654
 
653
655
 
654
- 34
655
- 35
656
- 36</pre>
656
+ 36
657
+ 37
658
+ 38</pre>
657
659
  </td>
658
660
  <td>
659
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 34</span>
661
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 36</span>
660
662
 
661
663
  <span class='kw'>def</span> <span class='id identifier rubyid_app_env'>app_env</span>
662
664
  <span class='ivar'>@app_env</span> <span class='op'>||=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>APP_ENV</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'>DEFAULT_APP_ENV</span>
@@ -681,12 +683,12 @@ override this class and configure with Configuration#setting_class=</p>
681
683
  <pre class="lines">
682
684
 
683
685
 
684
- 38
685
- 39
686
- 40</pre>
686
+ 40
687
+ 41
688
+ 42</pre>
687
689
  </td>
688
690
  <td>
689
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 38</span>
691
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 40</span>
690
692
 
691
693
  <span class='kw'>def</span> <span class='id identifier rubyid_config_file'>config_file</span>
692
694
  <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:config</span><span class='rbracket'>]</span>
@@ -733,12 +735,12 @@ override this class and configure with Configuration#setting_class=</p>
733
735
  <pre class="lines">
734
736
 
735
737
 
736
- 54
737
- 55
738
- 56</pre>
738
+ 56
739
+ 57
740
+ 58</pre>
739
741
  </td>
740
742
  <td>
741
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 54</span>
743
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 56</span>
742
744
 
743
745
  <span class='kw'>def</span> <span class='id identifier rubyid_debug?'>debug?</span>
744
746
  <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:debug</span><span class='rbracket'>]</span>
@@ -763,12 +765,12 @@ override this class and configure with Configuration#setting_class=</p>
763
765
  <pre class="lines">
764
766
 
765
767
 
766
- 88
767
- 89
768
- 90</pre>
768
+ 90
769
+ 91
770
+ 92</pre>
769
771
  </td>
770
772
  <td>
771
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 88</span>
773
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 90</span>
772
774
 
773
775
  <span class='kw'>def</span> <span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
774
776
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
@@ -815,12 +817,12 @@ override this class and configure with Configuration#setting_class=</p>
815
817
  <pre class="lines">
816
818
 
817
819
 
818
- 50
819
- 51
820
- 52</pre>
820
+ 52
821
+ 53
822
+ 54</pre>
821
823
  </td>
822
824
  <td>
823
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 50</span>
825
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 52</span>
824
826
 
825
827
  <span class='kw'>def</span> <span class='id identifier rubyid_dotenv?'>dotenv?</span>
826
828
  <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:dotenv</span><span class='rbracket'>]</span>
@@ -845,12 +847,12 @@ override this class and configure with Configuration#setting_class=</p>
845
847
  <pre class="lines">
846
848
 
847
849
 
848
- 66
849
- 67
850
- 68</pre>
850
+ 68
851
+ 69
852
+ 70</pre>
851
853
  </td>
852
854
  <td>
853
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 66</span>
855
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 68</span>
854
856
 
855
857
  <span class='kw'>def</span> <span class='id identifier rubyid_log'>log</span>
856
858
  <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:log</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='symbol'>:serverengine</span><span class='comma'>,</span> <span class='symbol'>:log</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='const'>DEFAULT_LOG</span>
@@ -875,12 +877,12 @@ override this class and configure with Configuration#setting_class=</p>
875
877
  <pre class="lines">
876
878
 
877
879
 
878
- 62
879
- 63
880
- 64</pre>
880
+ 64
881
+ 65
882
+ 66</pre>
881
883
  </td>
882
884
  <td>
883
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 62</span>
885
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 64</span>
884
886
 
885
887
  <span class='kw'>def</span> <span class='id identifier rubyid_log_level'>log_level</span>
886
888
  <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:log_level</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='symbol'>:serverengine</span><span class='comma'>,</span> <span class='symbol'>:log_level</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='const'>DEFAULT_LOG_LEVEL</span>
@@ -905,12 +907,12 @@ override this class and configure with Configuration#setting_class=</p>
905
907
  <pre class="lines">
906
908
 
907
909
 
908
- 58
909
- 59
910
- 60</pre>
910
+ 60
911
+ 61
912
+ 62</pre>
911
913
  </td>
912
914
  <td>
913
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 58</span>
915
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 60</span>
914
916
 
915
917
  <span class='kw'>def</span> <span class='id identifier rubyid_logger'>logger</span>
916
918
  <span class='ivar'>@logger</span> <span class='op'>||=</span> <span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_log'>log</span><span class='comma'>,</span> <span class='id identifier rubyid_serverengine_logger_options'>serverengine_logger_options</span><span class='rparen'>)</span>
@@ -935,15 +937,15 @@ override this class and configure with Configuration#setting_class=</p>
935
937
  <pre class="lines">
936
938
 
937
939
 
938
- 27
939
- 28
940
940
  29
941
941
  30
942
942
  31
943
- 32</pre>
943
+ 32
944
+ 33
945
+ 34</pre>
944
946
  </td>
945
947
  <td>
946
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 27</span>
948
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 29</span>
947
949
 
948
950
  <span class='kw'>def</span> <span class='id identifier rubyid_reload'>reload</span>
949
951
  <span class='const'>Dotenv</span><span class='period'>.</span><span class='id identifier rubyid_overload'>overload</span> <span class='kw'>if</span> <span class='id identifier rubyid_dotenv?'>dotenv?</span>
@@ -971,8 +973,6 @@ override this class and configure with Configuration#setting_class=</p>
971
973
  <pre class="lines">
972
974
 
973
975
 
974
- 70
975
- 71
976
976
  72
977
977
  73
978
978
  74
@@ -983,10 +983,12 @@ override this class and configure with Configuration#setting_class=</p>
983
983
  79
984
984
  80
985
985
  81
986
- 82</pre>
986
+ 82
987
+ 83
988
+ 84</pre>
987
989
  </td>
988
990
  <td>
989
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 70</span>
991
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 72</span>
990
992
 
991
993
  <span class='kw'>def</span> <span class='id identifier rubyid_serverengine_options'>serverengine_options</span>
992
994
  <span class='id identifier rubyid_serverengine_options'>serverengine_options</span> <span class='op'>=</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:serverengine</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
@@ -1021,12 +1023,12 @@ override this class and configure with Configuration#setting_class=</p>
1021
1023
  <pre class="lines">
1022
1024
 
1023
1025
 
1024
- 42
1025
- 43
1026
- 44</pre>
1026
+ 44
1027
+ 45
1028
+ 46</pre>
1027
1029
  </td>
1028
1030
  <td>
1029
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 42</span>
1031
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 44</span>
1030
1032
 
1031
1033
  <span class='kw'>def</span> <span class='id identifier rubyid_status_file'>status_file</span>
1032
1034
  <span class='ivar'>@status_file</span> <span class='op'>||=</span> <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:status</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='symbol'>:triglav</span><span class='comma'>,</span> <span class='symbol'>:status_file</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>status.yml</span><span class='tstring_end'>&#39;</span></span>
@@ -1051,12 +1053,12 @@ override this class and configure with Configuration#setting_class=</p>
1051
1053
  <pre class="lines">
1052
1054
 
1053
1055
 
1054
- 46
1055
- 47
1056
- 48</pre>
1056
+ 48
1057
+ 49
1058
+ 50</pre>
1057
1059
  </td>
1058
1060
  <td>
1059
- <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 46</span>
1061
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/setting.rb', line 48</span>
1060
1062
 
1061
1063
  <span class='kw'>def</span> <span class='id identifier rubyid_token_file'>token_file</span>
1062
1064
  <span class='ivar'>@token_file</span> <span class='op'>||=</span> <span class='ivar'>@cli_options</span><span class='lbracket'>[</span><span class='symbol'>:token</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='symbol'>:triglav</span><span class='comma'>,</span> <span class='symbol'>:token_file</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>token.yml</span><span class='tstring_end'>&#39;</span></span>
@@ -1071,7 +1073,7 @@ override this class and configure with Configuration#setting_class=</p>
1071
1073
  </div>
1072
1074
 
1073
1075
  <div id="footer">
1074
- Generated on Thu Feb 23 23:20:33 2017 by
1076
+ Generated on Wed Mar 8 23:12:39 2017 by
1075
1077
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1076
1078
  0.9.5 (ruby-2.3.2).
1077
1079
  </div>
@@ -625,7 +625,7 @@ implement your original, configure</p>
625
625
  </div>
626
626
 
627
627
  <div id="footer">
628
- Generated on Thu Feb 23 23:20:33 2017 by
628
+ Generated on Wed Mar 8 23:12:38 2017 by
629
629
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
630
630
  0.9.5 (ruby-2.3.2).
631
631
  </div>
@@ -957,7 +957,7 @@
957
957
  </div>
958
958
 
959
959
  <div id="footer">
960
- Generated on Thu Feb 23 23:20:34 2017 by
960
+ Generated on Wed Mar 8 23:12:39 2017 by
961
961
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
962
962
  0.9.5 (ruby-2.3.2).
963
963
  </div>
@@ -120,7 +120,7 @@
120
120
  </div>
121
121
 
122
122
  <div id="footer">
123
- Generated on Thu Feb 23 23:20:33 2017 by
123
+ Generated on Wed Mar 8 23:12:38 2017 by
124
124
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
125
  0.9.5 (ruby-2.3.2).
126
126
  </div>
@@ -341,7 +341,7 @@ href="'a'">hash</a>[&#39;b&#39;] = &#39;bar&#39;</p>
341
341
  </div>
342
342
 
343
343
  <div id="footer">
344
- Generated on Thu Feb 23 23:20:33 2017 by
344
+ Generated on Wed Mar 8 23:12:38 2017 by
345
345
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
346
346
  0.9.5 (ruby-2.3.2).
347
347
  </div>
@@ -261,7 +261,7 @@
261
261
  </div>
262
262
 
263
263
  <div id="footer">
264
- Generated on Thu Feb 23 23:20:33 2017 by
264
+ Generated on Wed Mar 8 23:12:38 2017 by
265
265
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
266
266
  0.9.5 (ruby-2.3.2).
267
267
  </div>