istox 0.1.136 → 0.1.137.hotfix

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -2,15 +2,13 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="f70e0449-76c0-44d8-bcb9-7991f2a7e0f8" name="Default Changelist" comment="">
5
- <change beforePath="$PROJECT_DIR$/.idea/.rakeTasks" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" afterDir="false" />
6
5
  <change beforePath="$PROJECT_DIR$/.idea/istox-gem.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/istox-gem.iml" afterDir="false" />
7
6
  <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
8
- <change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
7
+ <change beforePath="$PROJECT_DIR$/lib/istox.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox.rb" afterDir="false" />
8
+ <change beforePath="$PROJECT_DIR$/lib/istox/helpers/bunny_boot.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/helpers/bunny_boot.rb" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/lib/istox/helpers/dlm.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/helpers/dlm.rb" afterDir="false" />
9
10
  <change beforePath="$PROJECT_DIR$/lib/istox/helpers/subscriber.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/helpers/subscriber.rb" afterDir="false" />
10
11
  <change beforePath="$PROJECT_DIR$/lib/istox/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/version.rb" afterDir="false" />
11
- <change beforePath="$PROJECT_DIR$/spec/helpers/istox/subscriber_spec.rb" beforeDir="false" afterPath="$PROJECT_DIR$/spec/helpers/istox/subscriber_spec.rb" afterDir="false" />
12
- <change beforePath="$PROJECT_DIR$/spec/spec_helper.rb" beforeDir="false" afterPath="$PROJECT_DIR$/spec/spec_helper.rb" afterDir="false" />
13
- <change beforePath="$PROJECT_DIR$/spec/test-amqp.yml" beforeDir="false" afterPath="$PROJECT_DIR$/spec/test-amqp.yml" afterDir="false" />
14
12
  </list>
15
13
  <option name="SHOW_DIALOG" value="false" />
16
14
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -19,94 +17,24 @@
19
17
  </component>
20
18
  <component name="Git.Settings">
21
19
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
22
- <option name="ROOT_SYNC" value="DONT_SYNC" />
23
20
  </component>
24
- <component name="ProjectId" id="1W3m7XaSdlcJvEJHLmYs68fuSEf" />
21
+ <component name="ProjectFrameBounds" extendedState="6">
22
+ <option name="y" value="23" />
23
+ <option name="width" value="1440" />
24
+ <option name="height" value="852" />
25
+ </component>
25
26
  <component name="ProjectViewState">
26
27
  <option name="hideEmptyMiddlePackages" value="true" />
27
28
  <option name="showExcludedFiles" value="true" />
28
29
  <option name="showLibraryContents" value="true" />
29
30
  </component>
30
31
  <component name="PropertiesComponent">
31
- <property name="ASKED_ADD_EXTERNAL_FILES" value="true" />
32
32
  <property name="WebServerToolWindowFactoryState" value="false" />
33
33
  <property name="last_opened_file_path" value="$PROJECT_DIR$" />
34
34
  <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
35
35
  <property name="nodejs_npm_path_reset_for_default_project" value="true" />
36
- <property name="settings.editor.selected.configurable" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
37
- </component>
38
- <component name="RunManager" selected="Ruby.publisher">
39
- <configuration name="::Istox::Publisher test pub..." type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true" nameIsGenerated="true">
40
- <module name="istox-gem" />
41
- <predefined_log_file enabled="true" id="RUBY_RSPEC" />
42
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="" />
43
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
44
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
45
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
46
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
47
- <envs>
48
- <env name="JRUBY_OPTS" value="-X+O" />
49
- </envs>
50
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
51
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
52
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
53
- <COVERAGE_PATTERN ENABLED="true">
54
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
55
- </COVERAGE_PATTERN>
56
- </EXTENSION>
57
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
58
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/helpers/istox/publisher_spec.rb" />
59
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
60
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="'**/*_spec.rb'" />
61
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="::Istox::Publisher test publisher Simulate multh-threading publish msg on confirm channel" />
62
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
63
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
64
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
65
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
66
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
67
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
68
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
69
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
70
- <method v="2" />
71
- </configuration>
72
- <configuration name="publisher" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
73
- <module name="istox-gem" />
74
- <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="" />
75
- <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/istox/helpers" />
76
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
77
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
78
- <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
79
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
80
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
81
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
82
- <COVERAGE_PATTERN ENABLED="true">
83
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
84
- </COVERAGE_PATTERN>
85
- </EXTENSION>
86
- <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/istox/helpers/publisher.rb" />
87
- <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
88
- <method v="2" />
89
- </configuration>
90
- <recent_temporary>
91
- <list>
92
- <item itemvalue="Ruby.publisher" />
93
- <item itemvalue="RSpec.::Istox::Publisher test pub..." />
94
- </list>
95
- </recent_temporary>
96
- </component>
97
- <component name="ServiceViewManager">
98
- <option name="viewStates">
99
- <list>
100
- <serviceView>
101
- <treeState>
102
- <expand />
103
- <select />
104
- </treeState>
105
- </serviceView>
106
- </list>
107
- </option>
108
36
  </component>
109
- <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" RAKE_SPRING_PRE_LOADER_OPTION="false" RAILS_SPRING_PRE_LOADER_OPTION="false" />
37
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
110
38
  <component name="SvnConfiguration">
111
39
  <configuration />
112
40
  </component>
@@ -118,180 +46,11 @@
118
46
  <option name="presentableId" value="Default" />
119
47
  <updated>1566200631090</updated>
120
48
  <workItem from="1566200632743" duration="997000" />
121
- <workItem from="1578386487941" duration="18737000" />
122
- <workItem from="1578563126760" duration="91200000" />
123
- <workItem from="1579269535795" duration="1309000" />
124
- <workItem from="1579502866155" duration="137000" />
125
- <workItem from="1579503021528" duration="47000" />
126
- <workItem from="1579503074747" duration="33221000" />
127
- <workItem from="1580188100223" duration="29285000" />
128
- <workItem from="1580636078385" duration="150000" />
129
- <workItem from="1580636268918" duration="15217000" />
130
- <workItem from="1580778333268" duration="38342000" />
131
- <workItem from="1581417729768" duration="622000" />
132
- <workItem from="1581997247028" duration="13298000" />
133
- <workItem from="1582531415155" duration="2948000" />
134
- <workItem from="1582721620073" duration="1020000" />
135
- <workItem from="1582724056395" duration="121000" />
136
- <workItem from="1582725579882" duration="410000" />
137
- <workItem from="1582726229359" duration="130000" />
138
- <workItem from="1582726580750" duration="184000" />
139
- <workItem from="1582727163150" duration="3027000" />
140
- <workItem from="1582731738723" duration="123000" />
141
- <workItem from="1582733310576" duration="1118000" />
142
- <workItem from="1582763652048" duration="4024000" />
143
- <workItem from="1582769446142" duration="100000" />
144
- <workItem from="1582769955751" duration="343000" />
145
- <workItem from="1582772331852" duration="114000" />
146
- <workItem from="1582772517220" duration="167000" />
147
- <workItem from="1582773229066" duration="1054000" />
148
- <workItem from="1582775256351" duration="904000" />
149
- <workItem from="1582776881393" duration="595000" />
150
- <workItem from="1582806790655" duration="2281000" />
151
- <workItem from="1582862640313" duration="2087000" />
152
- <workItem from="1582894739340" duration="779000" />
153
- <workItem from="1582895906887" duration="5525000" />
154
- <workItem from="1583022656492" duration="954000" />
155
- <workItem from="1583024727569" duration="51823000" />
156
- <workItem from="1583196497543" duration="13750000" />
157
- <workItem from="1583825260794" duration="3486000" />
158
- <workItem from="1583840162610" duration="3000" />
159
- <workItem from="1583846522884" duration="2801000" />
160
- <workItem from="1583895516142" duration="16000" />
161
- <workItem from="1583895768306" duration="42000" />
162
- <workItem from="1583895839621" duration="79000" />
163
- <workItem from="1583896073478" duration="692000" />
164
- <workItem from="1583906284603" duration="542000" />
165
- <workItem from="1583907173794" duration="509000" />
166
- <workItem from="1583909885333" duration="43000" />
167
- <workItem from="1583914894861" duration="259000" />
168
- <workItem from="1583915514802" duration="2546000" />
169
- <workItem from="1584082900512" duration="3829000" />
170
- <workItem from="1584156750136" duration="4823000" />
171
- <workItem from="1584171260181" duration="151000" />
172
- <workItem from="1584174718115" duration="89000" />
173
- <workItem from="1584176007214" duration="2037000" />
174
- <workItem from="1584253439522" duration="15000" />
175
- <workItem from="1584256907627" duration="2018000" />
176
- <workItem from="1584284679436" duration="1192000" />
177
- <workItem from="1584288572081" duration="338000" />
178
- <workItem from="1584328714176" duration="107000" />
179
- <workItem from="1584328841971" duration="288000" />
180
- <workItem from="1584331199501" duration="120000" />
181
- <workItem from="1584332241639" duration="403000" />
182
- <workItem from="1584332684791" duration="177000" />
183
- <workItem from="1584333060541" duration="156000" />
184
- <workItem from="1584333534487" duration="62000" />
185
- <workItem from="1584334247945" duration="610000" />
186
- <workItem from="1584334928551" duration="180000" />
187
- <workItem from="1584335544474" duration="9000" />
188
- <workItem from="1584345541113" duration="633000" />
189
- <workItem from="1584346448446" duration="4295000" />
190
- <workItem from="1584368617066" duration="62000" />
191
- <workItem from="1584371011877" duration="981000" />
192
- <workItem from="1584373741231" duration="17000" />
193
- <workItem from="1584374064972" duration="5000" />
194
- <workItem from="1584374116416" duration="363000" />
195
- <workItem from="1584375874621" duration="180000" />
196
- <workItem from="1584377420037" duration="203000" />
197
- <workItem from="1584378037345" duration="194000" />
198
- <workItem from="1584378685204" duration="611000" />
199
- <workItem from="1584379458338" duration="386000" />
200
- <workItem from="1584404539563" duration="1818000" />
201
- <workItem from="1584411231137" duration="123000" />
202
- <workItem from="1584412854708" duration="320000" />
203
- <workItem from="1584415615640" duration="115000" />
204
- <workItem from="1584416137733" duration="665000" />
205
- <workItem from="1584418527327" duration="2333000" />
206
- <workItem from="1584432542999" duration="429000" />
207
- <workItem from="1584440391992" duration="1085000" />
208
- <workItem from="1584497708680" duration="1330000" />
209
- <workItem from="1584517700734" duration="2297000" />
210
- <workItem from="1584585644237" duration="113000" />
211
- <workItem from="1584585960680" duration="42000" />
212
- <workItem from="1584668346577" duration="228000" />
213
- <workItem from="1584671633418" duration="1289000" />
214
- <workItem from="1584673548321" duration="108000" />
215
- <workItem from="1584674323539" duration="441000" />
216
- <workItem from="1584674914218" duration="837000" />
217
- <workItem from="1584677208159" duration="65000" />
218
- <workItem from="1584677277530" duration="2366000" />
219
- <workItem from="1584889298658" duration="271000" />
220
- <workItem from="1584889648687" duration="6000" />
221
- <workItem from="1584931169307" duration="514000" />
222
- <workItem from="1584934360105" duration="6543000" />
223
- <workItem from="1585008276083" duration="10192000" />
224
- <workItem from="1585130686204" duration="283000" />
225
- <workItem from="1585131818294" duration="70000" />
226
- <workItem from="1585135439027" duration="315000" />
227
- <workItem from="1585136176547" duration="208000" />
228
- <workItem from="1585136387725" duration="274000" />
229
- <workItem from="1585136704867" duration="3124000" />
230
- <workItem from="1585143727872" duration="13555000" />
231
- <workItem from="1585198166197" duration="2400000" />
232
- <workItem from="1585474855223" duration="345000" />
233
- <workItem from="1585476049573" duration="5811000" />
234
- <workItem from="1585493070214" duration="3856000" />
235
- <workItem from="1585529182401" duration="2061000" />
236
- <workItem from="1585571736690" duration="373000" />
237
- <workItem from="1585615891692" duration="914000" />
238
- <workItem from="1585655434567" duration="39000" />
239
- <workItem from="1585655665291" duration="277000" />
240
- <workItem from="1585723474156" duration="4434000" />
241
- <workItem from="1585730625376" duration="2553000" />
242
- <workItem from="1585757218947" duration="4398000" />
49
+ <workItem from="1587981651075" duration="1091000" />
243
50
  </task>
244
51
  <servers />
245
52
  </component>
246
53
  <component name="TypeScriptGeneratedFilesManager">
247
54
  <option name="version" value="1" />
248
55
  </component>
249
- <component name="Vcs.Log.Tabs.Properties">
250
- <option name="TAB_STATES">
251
- <map>
252
- <entry key="MAIN">
253
- <value>
254
- <State>
255
- <option name="COLUMN_ORDER" />
256
- </State>
257
- </value>
258
- </entry>
259
- </map>
260
- </option>
261
- </component>
262
- <component name="WindowStateProjectService">
263
- <state x="0" y="780" width="276" height="120" key="FileDocumentManager.FileCacheConflict" timestamp="1583032451609">
264
- <screen x="0" y="0" width="1440" height="900" />
265
- </state>
266
- <state x="0" y="780" width="276" height="120" key="FileDocumentManager.FileCacheConflict/0.0.1440.900@0.0.1440.900" timestamp="1583032451609" />
267
- <state width="1400" height="245" key="GridCell.Tab.0.bottom" timestamp="1585197875091">
268
- <screen x="0" y="0" width="1440" height="900" />
269
- </state>
270
- <state width="1400" height="245" key="GridCell.Tab.0.bottom/0.0.1440.900@0.0.1440.900" timestamp="1585197875091" />
271
- <state width="1400" height="245" key="GridCell.Tab.0.center" timestamp="1585197875090">
272
- <screen x="0" y="0" width="1440" height="900" />
273
- </state>
274
- <state width="1400" height="245" key="GridCell.Tab.0.center/0.0.1440.900@0.0.1440.900" timestamp="1585197875090" />
275
- <state width="1400" height="245" key="GridCell.Tab.0.left" timestamp="1585197875089">
276
- <screen x="0" y="0" width="1440" height="900" />
277
- </state>
278
- <state width="1400" height="245" key="GridCell.Tab.0.left/0.0.1440.900@0.0.1440.900" timestamp="1585197875089" />
279
- <state width="1400" height="245" key="GridCell.Tab.0.right" timestamp="1585197875091">
280
- <screen x="0" y="0" width="1440" height="900" />
281
- </state>
282
- <state width="1400" height="245" key="GridCell.Tab.0.right/0.0.1440.900@0.0.1440.900" timestamp="1585197875091" />
283
- <state x="380" y="149" key="SettingsEditor" timestamp="1585146432975">
284
- <screen x="0" y="0" width="1440" height="900" />
285
- </state>
286
- <state x="380" y="149" key="SettingsEditor/0.0.1440.900@0.0.1440.900" timestamp="1585146432975" />
287
- <state x="506" y="179" key="SettingsEditor/0.0.1920.1080@0.0.1920.1080" timestamp="1584678361036" />
288
- <state x="625" y="241" width="670" height="676" key="search.everywhere.popup" timestamp="1584949295743">
289
- <screen x="0" y="0" width="1920" height="1080" />
290
- </state>
291
- <state x="625" y="241" width="670" height="676" key="search.everywhere.popup/0.0.1920.1080@0.0.1920.1080" timestamp="1584949295743" />
292
- </component>
293
- <component name="com.intellij.coverage.CoverageDataManagerImpl">
294
- <SUITE FILE_PATH="coverage/istox_gem@publisher.rcov" NAME="publisher Coverage Results" MODIFIED="1585144212721" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/istox/helpers" MODULE_NAME="istox-gem" />
295
- <SUITE FILE_PATH="coverage/istox_gem@__Istox__Publisher_test_pub___.rcov" NAME="::Istox::Publisher test pub... Coverage Results" MODIFIED="1579082703650" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="istox-gem" />
296
- </component>
297
56
  </project>
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- istox (0.1.136)
4
+ istox (0.1.137.hotfix)
5
5
  awesome_print
6
6
  binding_of_caller
7
7
  bunny (>= 2.12.0)
@@ -61,10 +61,10 @@ GEM
61
61
  i18n (>= 0.7, < 2)
62
62
  minitest (~> 5.1)
63
63
  tzinfo (~> 1.1)
64
- amq-protocol (2.3.0)
64
+ amq-protocol (2.3.1)
65
65
  arel (9.0.0)
66
66
  awesome_print (1.8.0)
67
- aws-eventstream (1.0.3)
67
+ aws-eventstream (1.1.0)
68
68
  aws-sigv4 (1.1.1)
69
69
  aws-eventstream (~> 1.0, >= 1.0.2)
70
70
  binding_of_caller (0.8.0)
@@ -73,8 +73,8 @@ GEM
73
73
  bullet (5.7.6)
74
74
  activesupport (>= 3.0.0)
75
75
  uniform_notifier (~> 1.11.0)
76
- bunny (2.14.4)
77
- amq-protocol (~> 2.3, >= 2.3.0)
76
+ bunny (2.15.0)
77
+ amq-protocol (~> 2.3, >= 2.3.1)
78
78
  concurrent-ruby (1.1.6)
79
79
  crass (1.0.6)
80
80
  database_cleaner (1.6.2)
@@ -97,21 +97,21 @@ GEM
97
97
  ffi (1.12.2)
98
98
  globalid (0.4.2)
99
99
  activesupport (>= 4.2.0)
100
- google-protobuf (3.11.4-universal-darwin)
101
- googleapis-common-protos-types (1.0.4)
102
- google-protobuf (~> 3.0)
100
+ google-protobuf (3.11.4)
101
+ googleapis-common-protos-types (1.0.5)
102
+ google-protobuf (~> 3.11)
103
103
  graphlient (0.3.7)
104
104
  faraday
105
105
  faraday_middleware
106
106
  graphql-client
107
- graphql (1.10.5)
107
+ graphql (1.10.6)
108
108
  graphql-client (0.16.0)
109
109
  activesupport (>= 3.0)
110
110
  graphql (~> 1.8)
111
- grpc (1.27.0-universal-darwin)
111
+ grpc (1.28.0)
112
112
  google-protobuf (~> 3.11)
113
113
  googleapis-common-protos-types (~> 1.0)
114
- grpc-tools (1.27.0)
114
+ grpc-tools (1.28.0)
115
115
  gruf (2.8.1)
116
116
  activesupport (> 4)
117
117
  concurrent-ruby (> 1)
@@ -130,7 +130,7 @@ GEM
130
130
  listen (3.0.8)
131
131
  rb-fsevent (~> 0.9, >= 0.9.4)
132
132
  rb-inotify (~> 0.9, >= 0.9.7)
133
- loofah (2.4.0)
133
+ loofah (2.5.0)
134
134
  crass (~> 1.0.2)
135
135
  nokogiri (>= 1.5.9)
136
136
  mail (2.7.1)
@@ -146,7 +146,7 @@ GEM
146
146
  nio4r (2.3.1)
147
147
  nokogiri (1.10.9)
148
148
  mini_portile2 (~> 2.4.0)
149
- oj (3.10.5)
149
+ oj (3.10.6)
150
150
  ougai (1.8.3)
151
151
  oj (~> 3.10)
152
152
  paranoia (2.4.2)
@@ -234,7 +234,7 @@ GEM
234
234
  thor (0.20.3)
235
235
  thread_safe (0.3.6)
236
236
  timecop (0.9.1)
237
- tzinfo (1.2.6)
237
+ tzinfo (1.2.7)
238
238
  thread_safe (~> 0.1)
239
239
  uniform_notifier (1.11.0)
240
240
  vault (0.13.0)
@@ -252,7 +252,6 @@ module Istox
252
252
  end
253
253
 
254
254
  def queue_ok?(conn, name)
255
- Logger "queue_ok? #{name}"
256
255
  ch = conn.create_channel
257
256
  begin
258
257
  q = ch.queue(name, passive: true)
@@ -1,10 +1,6 @@
1
- require 'redlock'
2
-
3
1
  module Istox
4
2
  class DLMBoot
5
3
  class << self
6
- private
7
-
8
4
  def lock(key, timeout = 3600, db)
9
5
  loop do
10
6
  break if ::Istox::RedisBoot.sets(key, 1, {nx: true, px: timeout}, db)
@@ -104,7 +104,7 @@ module Istox
104
104
  break unless ::Istox::BunnyBoot.queue_single_consumer? consumer_key
105
105
 
106
106
  flag = false
107
- ::Istox::DLMBoot.lock("peatio:#{consumer_key}:locking", 5) do
107
+ ::Istox::DLMBoot.lock("peatio:#{consumer_key}:locking", 10) do
108
108
  flag = ::Istox::BunnyBoot.queue_ok? @conn, queue.name
109
109
  end
110
110
  break if flag
data/lib/istox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.136'.freeze
2
+ VERSION = '0.1.137.hotfix'.freeze
3
3
  end
data/lib/istox.rb CHANGED
@@ -33,6 +33,7 @@ module Istox
33
33
  require 'istox/helpers/regex_helper'
34
34
  require 'istox/helpers/result_handler'
35
35
  require 'istox/helpers/redis'
36
+ require 'istox/helpers/dlm'
36
37
  require 'istox/models/blockchain_receipt'
37
38
  require 'istox/models/concerns/blockchain_receipt_query'
38
39
  require 'istox/consumers/blockchain_status_handler'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.136
4
+ version: 0.1.137.hotfix
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -442,9 +442,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
442
442
  version: '0'
443
443
  required_rubygems_version: !ruby/object:Gem::Requirement
444
444
  requirements:
445
- - - ">="
445
+ - - ">"
446
446
  - !ruby/object:Gem::Version
447
- version: '0'
447
+ version: 1.3.1
448
448
  requirements: []
449
449
  rubygems_version: 3.0.8
450
450
  signing_key: