isimud 1.3.9 → 1.4.1
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/.yardoc/checksums +0 -15
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +17 -13
- data/LICENSE.txt +1 -1
- data/README.md +98 -62
- data/Rakefile +1 -1
- data/checksum/isimud-1.4.0.gem.sha512 +1 -0
- data/doc/Isimud.html +118 -138
- data/doc/Isimud/BunnyClient.html +2 -2
- data/doc/Isimud/Client.html +2 -2
- data/doc/Isimud/Event.html +2 -2
- data/doc/Isimud/EventListener.html +208 -88
- data/doc/Isimud/EventObserver.html +96 -31
- data/doc/Isimud/EventObserver/ClassMethods.html +14 -14
- data/doc/Isimud/Generators.html +2 -2
- data/doc/Isimud/Logging.html +2 -2
- data/doc/Isimud/ModelWatcher.html +2 -2
- data/doc/Isimud/ModelWatcher/ClassMethods.html +2 -2
- data/doc/Isimud/Railtie.html +2 -2
- data/doc/Isimud/TestClient.html +2 -2
- data/doc/Isimud/TestClient/Queue.html +74 -2
- data/doc/_index.html +2 -195
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +3 -3
- data/doc/file.README.html +157 -65
- data/doc/index.html +157 -65
- data/doc/method_list.html +0 -732
- data/doc/top-level-namespace.html +2 -12
- data/lib/isimud.rb +22 -17
- data/lib/isimud/bunny_client.rb +12 -10
- data/lib/isimud/client.rb +10 -1
- data/lib/isimud/event_listener.rb +6 -6
- data/lib/isimud/test_client.rb +12 -12
- data/lib/isimud/version.rb +1 -1
- data/release +1 -1
- data/spec/isimud/bunny_client_spec.rb +28 -27
- data/spec/isimud/client_spec.rb +50 -5
- metadata +3 -4
- metadata.gz.sig +0 -0
- data/doc/Isimud/Generators/ConfigGenerator.html +0 -192
- data/doc/Isimud/Generators/InitializerGenerator.html +0 -192
data/Rakefile
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
d7687a10e31b8148257d90ea9de8b7cb3f296391376ac3dfa1004bcac7acd0c42a489e819109a4202620cef326ec4c398f03287b12e75e12c09dc074825bb145
|
data/doc/Isimud.html
CHANGED
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
<dt class="r2 last">Defined in:</dt>
|
86
86
|
<dd class="r2 last">lib/isimud/event_observer.rb<span class="defines">,<br />
|
87
|
-
lib/isimud.rb,<br /> lib/isimud/event.rb,<br /> lib/isimud/client.rb,<br /> lib/isimud/
|
87
|
+
lib/isimud.rb,<br /> lib/isimud/event.rb,<br /> lib/isimud/client.rb,<br /> lib/isimud/railtie.rb,<br /> lib/isimud/version.rb,<br /> lib/isimud/logging.rb,<br /> lib/isimud/test_client.rb,<br /> lib/isimud/bunny_client.rb,<br /> lib/isimud/model_watcher.rb,<br /> lib/isimud/event_listener.rb,<br /> lib/rails/generators/isimud/config_generator.rb,<br /> lib/rails/generators/isimud/initializer_generator.rb</span>
|
88
88
|
</dd>
|
89
89
|
|
90
90
|
</dl>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
<dt id="VERSION-constant" class="">VERSION =
|
126
126
|
|
127
127
|
</dt>
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1.
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>1.4.0</span><span class='tstring_end'>'</span></span></pre></dd>
|
129
129
|
|
130
130
|
</dl>
|
131
131
|
|
@@ -148,8 +148,6 @@
|
|
148
148
|
|
149
149
|
|
150
150
|
|
151
|
-
<span class="note title readonly">readonly</span>
|
152
|
-
|
153
151
|
|
154
152
|
|
155
153
|
|
@@ -177,8 +175,6 @@
|
|
177
175
|
|
178
176
|
|
179
177
|
|
180
|
-
<span class="note title readonly">readonly</span>
|
181
|
-
|
182
178
|
|
183
179
|
|
184
180
|
|
@@ -206,8 +202,6 @@
|
|
206
202
|
|
207
203
|
|
208
204
|
|
209
|
-
<span class="note title readonly">readonly</span>
|
210
|
-
|
211
205
|
|
212
206
|
|
213
207
|
|
@@ -235,8 +229,6 @@
|
|
235
229
|
|
236
230
|
|
237
231
|
|
238
|
-
<span class="note title readonly">readonly</span>
|
239
|
-
|
240
232
|
|
241
233
|
|
242
234
|
|
@@ -264,8 +256,6 @@
|
|
264
256
|
|
265
257
|
|
266
258
|
|
267
|
-
<span class="note title readonly">readonly</span>
|
268
|
-
|
269
259
|
|
270
260
|
|
271
261
|
|
@@ -293,8 +283,6 @@
|
|
293
283
|
|
294
284
|
|
295
285
|
|
296
|
-
<span class="note title readonly">readonly</span>
|
297
|
-
|
298
286
|
|
299
287
|
|
300
288
|
|
@@ -323,8 +311,6 @@
|
|
323
311
|
|
324
312
|
|
325
313
|
|
326
|
-
<span class="note title readonly">readonly</span>
|
327
|
-
|
328
314
|
|
329
315
|
|
330
316
|
|
@@ -352,8 +338,6 @@
|
|
352
338
|
|
353
339
|
|
354
340
|
|
355
|
-
<span class="note title readonly">readonly</span>
|
356
|
-
|
357
341
|
|
358
342
|
|
359
343
|
|
@@ -381,8 +365,6 @@
|
|
381
365
|
|
382
366
|
|
383
367
|
|
384
|
-
<span class="note title readonly">readonly</span>
|
385
|
-
|
386
368
|
|
387
369
|
|
388
370
|
|
@@ -410,8 +392,6 @@
|
|
410
392
|
|
411
393
|
|
412
394
|
|
413
|
-
<span class="note title readonly">readonly</span>
|
414
|
-
|
415
395
|
|
416
396
|
|
417
397
|
|
@@ -440,8 +420,6 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
440
420
|
|
441
421
|
|
442
422
|
|
443
|
-
<span class="note title readonly">readonly</span>
|
444
|
-
|
445
423
|
|
446
424
|
|
447
425
|
|
@@ -460,7 +438,7 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
460
438
|
<li class="public ">
|
461
439
|
<span class="summary_signature">
|
462
440
|
|
463
|
-
<a href="#retry_failures-instance_method" title="#retry_failures (instance method)">- (Boolean) <strong>retry_failures</strong> </a>
|
441
|
+
<a href="#retry_failures-instance_method" title="#retry_failures (instance method)">- (Boolean|nil) <strong>retry_failures</strong> </a>
|
464
442
|
|
465
443
|
|
466
444
|
|
@@ -469,8 +447,6 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
469
447
|
|
470
448
|
|
471
449
|
|
472
|
-
<span class="note title readonly">readonly</span>
|
473
|
-
|
474
450
|
|
475
451
|
|
476
452
|
|
@@ -480,7 +456,7 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
480
456
|
|
481
457
|
|
482
458
|
<span class="summary_desc"><div class='inline'>
|
483
|
-
<p>When set,
|
459
|
+
<p>When set to nil, the return status from exception handlers is used.</p>
|
484
460
|
</div></span>
|
485
461
|
|
486
462
|
</li>
|
@@ -498,8 +474,6 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
498
474
|
|
499
475
|
|
500
476
|
|
501
|
-
<span class="note title readonly">readonly</span>
|
502
|
-
|
503
477
|
|
504
478
|
|
505
479
|
|
@@ -509,7 +483,7 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
509
483
|
|
510
484
|
|
511
485
|
<span class="summary_desc"><div class='inline'>
|
512
|
-
<p>Server connection attributes.</p>
|
486
|
+
<p>Server connection attributes ().</p>
|
513
487
|
</div></span>
|
514
488
|
|
515
489
|
</li>
|
@@ -655,11 +629,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
655
629
|
<h2>Instance Attribute Details</h2>
|
656
630
|
|
657
631
|
|
658
|
-
<span id=""></span>
|
632
|
+
<span id="client_options=-instance_method"></span>
|
659
633
|
<div class="method_details first">
|
660
634
|
<h3 class="signature first" id="client_options-instance_method">
|
661
635
|
|
662
|
-
- (<tt>Hash</tt>) <strong>client_options</strong>
|
636
|
+
- (<tt>Hash</tt>) <strong>client_options</strong>
|
663
637
|
|
664
638
|
|
665
639
|
|
@@ -700,12 +674,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
700
674
|
<pre class="lines">
|
701
675
|
|
702
676
|
|
703
|
-
|
704
|
-
|
705
|
-
|
677
|
+
34
|
678
|
+
35
|
679
|
+
36</pre>
|
706
680
|
</td>
|
707
681
|
<td>
|
708
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
682
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
709
683
|
|
710
684
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
711
685
|
<span class='symbol'>:bunny</span>
|
@@ -716,11 +690,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
716
690
|
</div>
|
717
691
|
|
718
692
|
|
719
|
-
<span id=""></span>
|
693
|
+
<span id="client_type=-instance_method"></span>
|
720
694
|
<div class="method_details ">
|
721
695
|
<h3 class="signature " id="client_type-instance_method">
|
722
696
|
|
723
|
-
- (<tt>Enumerable<'bunny', 'test'></tt>) <strong>client_type</strong>
|
697
|
+
- (<tt>Enumerable<'bunny', 'test'></tt>) <strong>client_type</strong>
|
724
698
|
|
725
699
|
|
726
700
|
|
@@ -761,12 +735,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
761
735
|
<pre class="lines">
|
762
736
|
|
763
737
|
|
764
|
-
|
765
|
-
|
766
|
-
|
738
|
+
34
|
739
|
+
35
|
740
|
+
36</pre>
|
767
741
|
</td>
|
768
742
|
<td>
|
769
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
743
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
770
744
|
|
771
745
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
772
746
|
<span class='symbol'>:bunny</span>
|
@@ -777,11 +751,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
777
751
|
</div>
|
778
752
|
|
779
753
|
|
780
|
-
<span id=""></span>
|
754
|
+
<span id="default_client=-instance_method"></span>
|
781
755
|
<div class="method_details ">
|
782
756
|
<h3 class="signature " id="default_client-instance_method">
|
783
757
|
|
784
|
-
- (<tt><span class='object_link'><a href="Isimud/Client.html" title="Isimud::Client (class)">Isimud::Client</a></span></tt>) <strong>default_client</strong>
|
758
|
+
- (<tt><span class='object_link'><a href="Isimud/Client.html" title="Isimud::Client (class)">Isimud::Client</a></span></tt>) <strong>default_client</strong>
|
785
759
|
|
786
760
|
|
787
761
|
|
@@ -822,12 +796,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
822
796
|
<pre class="lines">
|
823
797
|
|
824
798
|
|
825
|
-
|
826
|
-
|
827
|
-
|
799
|
+
34
|
800
|
+
35
|
801
|
+
36</pre>
|
828
802
|
</td>
|
829
803
|
<td>
|
830
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
804
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
831
805
|
|
832
806
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
833
807
|
<span class='symbol'>:bunny</span>
|
@@ -838,11 +812,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
838
812
|
</div>
|
839
813
|
|
840
814
|
|
841
|
-
<span id=""></span>
|
815
|
+
<span id="enable_model_watcher=-instance_method"></span>
|
842
816
|
<div class="method_details ">
|
843
817
|
<h3 class="signature " id="enable_model_watcher-instance_method">
|
844
818
|
|
845
|
-
- (<tt>Boolean</tt>) <strong>enable_model_watcher</strong>
|
819
|
+
- (<tt>Boolean</tt>) <strong>enable_model_watcher</strong>
|
846
820
|
|
847
821
|
|
848
822
|
|
@@ -883,12 +857,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
883
857
|
<pre class="lines">
|
884
858
|
|
885
859
|
|
886
|
-
|
887
|
-
|
888
|
-
|
860
|
+
34
|
861
|
+
35
|
862
|
+
36</pre>
|
889
863
|
</td>
|
890
864
|
<td>
|
891
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
865
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
892
866
|
|
893
867
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
894
868
|
<span class='symbol'>:bunny</span>
|
@@ -899,11 +873,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
899
873
|
</div>
|
900
874
|
|
901
875
|
|
902
|
-
<span id=""></span>
|
876
|
+
<span id="events_exchange=-instance_method"></span>
|
903
877
|
<div class="method_details ">
|
904
878
|
<h3 class="signature " id="events_exchange-instance_method">
|
905
879
|
|
906
|
-
- (<tt>String</tt>) <strong>events_exchange</strong>
|
880
|
+
- (<tt>String</tt>) <strong>events_exchange</strong>
|
907
881
|
|
908
882
|
|
909
883
|
|
@@ -944,12 +918,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
944
918
|
<pre class="lines">
|
945
919
|
|
946
920
|
|
947
|
-
|
948
|
-
|
949
|
-
|
921
|
+
34
|
922
|
+
35
|
923
|
+
36</pre>
|
950
924
|
</td>
|
951
925
|
<td>
|
952
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
926
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
953
927
|
|
954
928
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
955
929
|
<span class='symbol'>:bunny</span>
|
@@ -960,11 +934,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
960
934
|
</div>
|
961
935
|
|
962
936
|
|
963
|
-
<span id=""></span>
|
937
|
+
<span id="listener_error_limit=-instance_method"></span>
|
964
938
|
<div class="method_details ">
|
965
939
|
<h3 class="signature " id="listener_error_limit-instance_method">
|
966
940
|
|
967
|
-
- (<tt>Integer</tt>) <strong>listener_error_limit</strong>
|
941
|
+
- (<tt>Integer</tt>) <strong>listener_error_limit</strong>
|
968
942
|
|
969
943
|
|
970
944
|
|
@@ -1007,12 +981,12 @@ down (100)</p>
|
|
1007
981
|
<pre class="lines">
|
1008
982
|
|
1009
983
|
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
984
|
+
34
|
985
|
+
35
|
986
|
+
36</pre>
|
1013
987
|
</td>
|
1014
988
|
<td>
|
1015
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
989
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1016
990
|
|
1017
991
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1018
992
|
<span class='symbol'>:bunny</span>
|
@@ -1023,11 +997,11 @@ down (100)</p>
|
|
1023
997
|
</div>
|
1024
998
|
|
1025
999
|
|
1026
|
-
<span id=""></span>
|
1000
|
+
<span id="log_level=-instance_method"></span>
|
1027
1001
|
<div class="method_details ">
|
1028
1002
|
<h3 class="signature " id="log_level-instance_method">
|
1029
1003
|
|
1030
|
-
- (<tt>Symbol</tt>) <strong>log_level</strong>
|
1004
|
+
- (<tt>Symbol</tt>) <strong>log_level</strong>
|
1031
1005
|
|
1032
1006
|
|
1033
1007
|
|
@@ -1068,12 +1042,12 @@ down (100)</p>
|
|
1068
1042
|
<pre class="lines">
|
1069
1043
|
|
1070
1044
|
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1045
|
+
34
|
1046
|
+
35
|
1047
|
+
36</pre>
|
1074
1048
|
</td>
|
1075
1049
|
<td>
|
1076
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1050
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1077
1051
|
|
1078
1052
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1079
1053
|
<span class='symbol'>:bunny</span>
|
@@ -1084,11 +1058,11 @@ down (100)</p>
|
|
1084
1058
|
</div>
|
1085
1059
|
|
1086
1060
|
|
1087
|
-
<span id=""></span>
|
1061
|
+
<span id="logger=-instance_method"></span>
|
1088
1062
|
<div class="method_details ">
|
1089
1063
|
<h3 class="signature " id="logger-instance_method">
|
1090
1064
|
|
1091
|
-
- (<tt>Logger</tt>) <strong>logger</strong>
|
1065
|
+
- (<tt>Logger</tt>) <strong>logger</strong>
|
1092
1066
|
|
1093
1067
|
|
1094
1068
|
|
@@ -1129,12 +1103,12 @@ down (100)</p>
|
|
1129
1103
|
<pre class="lines">
|
1130
1104
|
|
1131
1105
|
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1106
|
+
34
|
1107
|
+
35
|
1108
|
+
36</pre>
|
1135
1109
|
</td>
|
1136
1110
|
<td>
|
1137
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1111
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1138
1112
|
|
1139
1113
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1140
1114
|
<span class='symbol'>:bunny</span>
|
@@ -1145,11 +1119,11 @@ down (100)</p>
|
|
1145
1119
|
</div>
|
1146
1120
|
|
1147
1121
|
|
1148
|
-
<span id=""></span>
|
1122
|
+
<span id="model_watcher_exchange=-instance_method"></span>
|
1149
1123
|
<div class="method_details ">
|
1150
1124
|
<h3 class="signature " id="model_watcher_exchange-instance_method">
|
1151
1125
|
|
1152
|
-
- (<tt>String</tt>) <strong>model_watcher_exchange</strong>
|
1126
|
+
- (<tt>String</tt>) <strong>model_watcher_exchange</strong>
|
1153
1127
|
|
1154
1128
|
|
1155
1129
|
|
@@ -1190,12 +1164,12 @@ down (100)</p>
|
|
1190
1164
|
<pre class="lines">
|
1191
1165
|
|
1192
1166
|
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1167
|
+
34
|
1168
|
+
35
|
1169
|
+
36</pre>
|
1196
1170
|
</td>
|
1197
1171
|
<td>
|
1198
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1172
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1199
1173
|
|
1200
1174
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1201
1175
|
<span class='symbol'>:bunny</span>
|
@@ -1206,11 +1180,11 @@ down (100)</p>
|
|
1206
1180
|
</div>
|
1207
1181
|
|
1208
1182
|
|
1209
|
-
<span id=""></span>
|
1183
|
+
<span id="model_watcher_schema=-instance_method"></span>
|
1210
1184
|
<div class="method_details ">
|
1211
1185
|
<h3 class="signature " id="model_watcher_schema-instance_method">
|
1212
1186
|
|
1213
|
-
- (<tt>String</tt>) <strong>model_watcher_schema</strong>
|
1187
|
+
- (<tt>String</tt>) <strong>model_watcher_schema</strong>
|
1214
1188
|
|
1215
1189
|
|
1216
1190
|
|
@@ -1253,12 +1227,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
1253
1227
|
<pre class="lines">
|
1254
1228
|
|
1255
1229
|
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1230
|
+
34
|
1231
|
+
35
|
1232
|
+
36</pre>
|
1259
1233
|
</td>
|
1260
1234
|
<td>
|
1261
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1235
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1262
1236
|
|
1263
1237
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1264
1238
|
<span class='symbol'>:bunny</span>
|
@@ -1269,11 +1243,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
1269
1243
|
</div>
|
1270
1244
|
|
1271
1245
|
|
1272
|
-
<span id=""></span>
|
1246
|
+
<span id="prefetch_count=-instance_method"></span>
|
1273
1247
|
<div class="method_details ">
|
1274
1248
|
<h3 class="signature " id="prefetch_count-instance_method">
|
1275
1249
|
|
1276
|
-
- (<tt>Integer</tt>) <strong>prefetch_count</strong>
|
1250
|
+
- (<tt>Integer</tt>) <strong>prefetch_count</strong>
|
1277
1251
|
|
1278
1252
|
|
1279
1253
|
|
@@ -1314,12 +1288,12 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
1314
1288
|
<pre class="lines">
|
1315
1289
|
|
1316
1290
|
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1291
|
+
34
|
1292
|
+
35
|
1293
|
+
36</pre>
|
1320
1294
|
</td>
|
1321
1295
|
<td>
|
1322
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1296
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1323
1297
|
|
1324
1298
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1325
1299
|
<span class='symbol'>:bunny</span>
|
@@ -1330,11 +1304,11 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
1330
1304
|
</div>
|
1331
1305
|
|
1332
1306
|
|
1333
|
-
<span id=""></span>
|
1307
|
+
<span id="retry_failures=-instance_method"></span>
|
1334
1308
|
<div class="method_details ">
|
1335
1309
|
<h3 class="signature " id="retry_failures-instance_method">
|
1336
1310
|
|
1337
|
-
- (<tt>Boolean</tt>) <strong>retry_failures</strong>
|
1311
|
+
- (<tt>Boolean|nil</tt>) <strong>retry_failures</strong>
|
1338
1312
|
|
1339
1313
|
|
1340
1314
|
|
@@ -1343,8 +1317,7 @@ href="Rails.env">Rails.configuration.database_configuration</a>['database
|
|
1343
1317
|
</h3><div class="docstring">
|
1344
1318
|
<div class="discussion">
|
1345
1319
|
|
1346
|
-
<p>
|
1347
|
-
it</p>
|
1320
|
+
<p>When set to nil, the return status from exception handlers is used. (false)</p>
|
1348
1321
|
|
1349
1322
|
|
1350
1323
|
</div>
|
@@ -1357,31 +1330,38 @@ it</p>
|
|
1357
1330
|
<li>
|
1358
1331
|
|
1359
1332
|
|
1360
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
1333
|
+
<span class='type'>(<tt>Boolean|nil</tt>)</span>
|
1361
1334
|
|
1362
1335
|
|
1363
1336
|
|
1364
1337
|
—
|
1365
1338
|
<div class='inline'>
|
1366
|
-
<p>
|
1339
|
+
<p>whether to requeue a message if an exception occurs during processing.</p>
|
1367
1340
|
</div>
|
1368
1341
|
|
1369
1342
|
</li>
|
1370
1343
|
|
1371
1344
|
</ul>
|
1372
1345
|
|
1346
|
+
<p class="tag_title">See Also:</p>
|
1347
|
+
<ul class="see">
|
1348
|
+
|
1349
|
+
<li><span class='object_link'><a href="Isimud/Client.html#on_exception-instance_method" title="Isimud::Client#on_exception (method)">Isimud::Client#on_exception</a></span></li>
|
1350
|
+
|
1351
|
+
</ul>
|
1352
|
+
|
1373
1353
|
</div><table class="source_code">
|
1374
1354
|
<tr>
|
1375
1355
|
<td>
|
1376
1356
|
<pre class="lines">
|
1377
1357
|
|
1378
1358
|
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1359
|
+
34
|
1360
|
+
35
|
1361
|
+
36</pre>
|
1382
1362
|
</td>
|
1383
1363
|
<td>
|
1384
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1364
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1385
1365
|
|
1386
1366
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1387
1367
|
<span class='symbol'>:bunny</span>
|
@@ -1392,11 +1372,11 @@ it</p>
|
|
1392
1372
|
</div>
|
1393
1373
|
|
1394
1374
|
|
1395
|
-
<span id=""></span>
|
1375
|
+
<span id="server=-instance_method"></span>
|
1396
1376
|
<div class="method_details ">
|
1397
1377
|
<h3 class="signature " id="server-instance_method">
|
1398
1378
|
|
1399
|
-
- (<tt><String, Hash></tt>) <strong>server</strong>
|
1379
|
+
- (<tt><String, Hash></tt>) <strong>server</strong>
|
1400
1380
|
|
1401
1381
|
|
1402
1382
|
|
@@ -1405,7 +1385,7 @@ it</p>
|
|
1405
1385
|
</h3><div class="docstring">
|
1406
1386
|
<div class="discussion">
|
1407
1387
|
|
1408
|
-
<p>Returns server connection attributes</p>
|
1388
|
+
<p>Returns server connection attributes ()</p>
|
1409
1389
|
|
1410
1390
|
|
1411
1391
|
</div>
|
@@ -1424,7 +1404,7 @@ it</p>
|
|
1424
1404
|
|
1425
1405
|
—
|
1426
1406
|
<div class='inline'>
|
1427
|
-
<p>server connection attributes</p>
|
1407
|
+
<p>server connection attributes ()</p>
|
1428
1408
|
</div>
|
1429
1409
|
|
1430
1410
|
</li>
|
@@ -1437,12 +1417,12 @@ it</p>
|
|
1437
1417
|
<pre class="lines">
|
1438
1418
|
|
1439
1419
|
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1420
|
+
34
|
1421
|
+
35
|
1422
|
+
36</pre>
|
1443
1423
|
</td>
|
1444
1424
|
<td>
|
1445
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1425
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 34</span>
|
1446
1426
|
|
1447
1427
|
<span class='id identifier rubyid_config_accessor'>config_accessor</span> <span class='symbol'>:client_type</span> <span class='kw'>do</span>
|
1448
1428
|
<span class='symbol'>:bunny</span>
|
@@ -1503,12 +1483,12 @@ it</p>
|
|
1503
1483
|
<pre class="lines">
|
1504
1484
|
|
1505
1485
|
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1486
|
+
70
|
1487
|
+
71
|
1488
|
+
72</pre>
|
1509
1489
|
</td>
|
1510
1490
|
<td>
|
1511
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1491
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 70</span>
|
1512
1492
|
|
1513
1493
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_client'>client</span>
|
1514
1494
|
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_default_client'>default_client</span> <span class='op'>||=</span> <span class='id identifier rubyid_client_class'>client_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_server'>server</span><span class='comma'>,</span> <span class='id identifier rubyid_client_options'>client_options</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
@@ -1533,13 +1513,13 @@ it</p>
|
|
1533
1513
|
<pre class="lines">
|
1534
1514
|
|
1535
1515
|
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1516
|
+
63
|
1517
|
+
64
|
1518
|
+
65
|
1519
|
+
66</pre>
|
1540
1520
|
</td>
|
1541
1521
|
<td>
|
1542
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1522
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 63</span>
|
1543
1523
|
|
1544
1524
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_client_class'>client_class</span>
|
1545
1525
|
<span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_client_type'>client_type</span><span class='embexpr_end'>}</span><span class='tstring_content'>_client</span><span class='tstring_end'>"</span></span><span class='period'>.</span><span class='id identifier rubyid_classify'>classify</span>
|
@@ -1576,12 +1556,12 @@ it</p>
|
|
1576
1556
|
<pre class="lines">
|
1577
1557
|
|
1578
1558
|
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1559
|
+
75
|
1560
|
+
76
|
1561
|
+
77</pre>
|
1582
1562
|
</td>
|
1583
1563
|
<td>
|
1584
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1564
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 75</span>
|
1585
1565
|
|
1586
1566
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_connect'>connect</span>
|
1587
1567
|
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_connect'>connect</span>
|
@@ -1630,12 +1610,12 @@ it</p>
|
|
1630
1610
|
<pre class="lines">
|
1631
1611
|
|
1632
1612
|
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1613
|
+
80
|
1614
|
+
81
|
1615
|
+
82</pre>
|
1636
1616
|
</td>
|
1637
1617
|
<td>
|
1638
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1618
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 80</span>
|
1639
1619
|
|
1640
1620
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_model_watcher_enabled?'>model_watcher_enabled?</span>
|
1641
1621
|
<span class='id identifier rubyid_enable_model_watcher'>enable_model_watcher</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_enable_model_watcher'>enable_model_watcher</span>
|
@@ -1671,12 +1651,12 @@ it</p>
|
|
1671
1651
|
<pre class="lines">
|
1672
1652
|
|
1673
1653
|
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1654
|
+
85
|
1655
|
+
86
|
1656
|
+
87</pre>
|
1677
1657
|
</td>
|
1678
1658
|
<td>
|
1679
|
-
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line
|
1659
|
+
<pre class="code"><span class="info file"># File 'lib/isimud.rb', line 85</span>
|
1680
1660
|
|
1681
1661
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_reconnect'>reconnect</span>
|
1682
1662
|
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_reconnect'>reconnect</span>
|
@@ -1691,9 +1671,9 @@ it</p>
|
|
1691
1671
|
</div>
|
1692
1672
|
|
1693
1673
|
<div id="footer">
|
1694
|
-
Generated on
|
1674
|
+
Generated on Tue Aug 23 17:34:23 2016 by
|
1695
1675
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1696
|
-
0.8.7.6 (ruby-2.
|
1676
|
+
0.8.7.6 (ruby-2.3.0).
|
1697
1677
|
</div>
|
1698
1678
|
|
1699
1679
|
</body>
|