SimBot 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/.rakeTasks +1 -1
- data/.idea/SimBot.iml +9 -1
- data/.idea/workspace.xml +144 -108
- data/Gemfile.lock +1 -1
- data/lib/SimBot/version.rb +1 -1
- data/lib/utils.rb +11 -1
- metadata +1 -2
- data/SimBot-0.1.31.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a14023b9e039b7830e29484a9d603c7cb7636aa0a89f5f3fdadfda9f1b8d3c7
|
4
|
+
data.tar.gz: d236ef9ac859539ef63d5d152880eb1a4bd893933584d9aa9edfaa0d45018ab2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b9c3f65147f0251b9b6c3af09eb105847def099b76de988f0f4f56501b475d7ddc22d63f68308a389e4583ec564382aad471a0ffa4534f0d6668e9fad3fc7b
|
7
|
+
data.tar.gz: a72eb70fa6b4a0dbdd66014fb73c810cdad08f2148ad13cbd57bb6467355aeb01d2917e0b8f90a71cbc5e4d2206dad7f556792ab286ab6e70c89ccf56f9e2410
|
data/.idea/.rakeTasks
CHANGED
@@ -4,4 +4,4 @@ You are allowed to:
|
|
4
4
|
1. Remove rake task
|
5
5
|
2. Add existing rake tasks
|
6
6
|
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
-
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build SimBot-0.1.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build SimBot-0.1.32.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install SimBot-0.1.32.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install SimBot-0.1.32.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.32 and build and push SimBot-0.1.32.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/.idea/SimBot.iml
CHANGED
@@ -10,19 +10,27 @@
|
|
10
10
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.3, RVM: ruby-2.5.0) [gem]" level="application" />
|
11
11
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.5.0) [gem]" level="application" />
|
12
12
|
<orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20180417, RVM: ruby-2.5.0) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="event_emitter (v0.2.6, RVM: ruby-2.5.0) [gem]" level="application" />
|
13
14
|
<orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.5.0) [gem]" level="application" />
|
14
15
|
<orderEntry type="library" scope="PROVIDED" name="json (v2.1.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
15
|
-
<orderEntry type="library" scope="PROVIDED" name="mail (v2.7.
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="mail (v2.7.1, RVM: ruby-2.5.0) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.2.2, RVM: ruby-2.5.0) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2018.0812, RVM: ruby-2.5.0) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_mime (v1.0.1, RVM: ruby-2.5.0) [gem]" level="application" />
|
16
20
|
<orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
17
22
|
<orderEntry type="library" scope="PROVIDED" name="rest-client (v2.0.2, RVM: ruby-2.5.0) [gem]" level="application" />
|
18
23
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.7.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
19
24
|
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.7.1, RVM: ruby-2.5.0) [gem]" level="application" />
|
20
25
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.7.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
21
26
|
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.7.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
22
27
|
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.7.1, RVM: ruby-2.5.0) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-ole (v1.2.12.1, RVM: ruby-2.5.0) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="spreadsheet (v1.1.8, RVM: ruby-2.5.0) [gem]" level="application" />
|
23
30
|
<orderEntry type="library" scope="PROVIDED" name="thor (v0.20.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
24
31
|
<orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.5.0) [gem]" level="application" />
|
25
32
|
<orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.5, RVM: ruby-2.5.0) [gem]" level="application" />
|
26
33
|
<orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.8, RVM: ruby-2.5.0) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket-client-simple (v0.3.0, RVM: ruby-2.5.0) [gem]" level="application" />
|
27
35
|
</component>
|
28
36
|
</module>
|
data/.idea/workspace.xml
CHANGED
@@ -8,19 +8,19 @@
|
|
8
8
|
<change beforePath="$PROJECT_DIR$/.ruby-gemset" beforeDir="false" afterPath="$PROJECT_DIR$/.ruby-gemset" afterDir="false" />
|
9
9
|
<change beforePath="$PROJECT_DIR$/.ruby-version" beforeDir="false" afterPath="$PROJECT_DIR$/.ruby-version" afterDir="false" />
|
10
10
|
<change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
|
11
|
-
<change beforePath="$PROJECT_DIR$/SimBot-0.1.30.gem" beforeDir="false" />
|
12
11
|
<change beforePath="$PROJECT_DIR$/SimBot.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/SimBot.gemspec" afterDir="false" />
|
13
12
|
<change beforePath="$PROJECT_DIR$/lib/SimBot.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/SimBot.rb" afterDir="false" />
|
14
|
-
<change beforePath="$PROJECT_DIR$/lib/
|
13
|
+
<change beforePath="$PROJECT_DIR$/lib/utils.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/utils.rb" afterDir="false" />
|
15
14
|
</list>
|
16
15
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
16
|
+
<option name="TRACKING_ENABLED" value="true" />
|
17
17
|
<option name="SHOW_DIALOG" value="false" />
|
18
18
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
19
19
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
20
20
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
21
21
|
</component>
|
22
22
|
<component name="CoverageDataManager">
|
23
|
-
<SUITE FILE_PATH="coverage/SimBot@Install_My_Gem.rcov" NAME="Install My Gem Coverage Results" MODIFIED="
|
23
|
+
<SUITE FILE_PATH="coverage/SimBot@Install_My_Gem.rcov" NAME="Install My Gem Coverage Results" MODIFIED="1540398933959" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="SimBot" />
|
24
24
|
<SUITE FILE_PATH="coverage/simbot@Install_My_Gem.rcov" NAME="Install My Gem Coverage Results" MODIFIED="1540290531990" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="SimBot" />
|
25
25
|
</component>
|
26
26
|
<component name="ExportToHTMLSettings">
|
@@ -75,25 +75,25 @@
|
|
75
75
|
</component>
|
76
76
|
<component name="FileEditorManager">
|
77
77
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
78
|
-
<file pinned="false" current-in-tab="false">
|
78
|
+
<file leaf-file-name="SimBot.gemspec" pinned="false" current-in-tab="false">
|
79
79
|
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
80
80
|
<provider selected="true" editor-type-id="text-editor">
|
81
|
-
<state relative-caret-position="
|
81
|
+
<state relative-caret-position="690">
|
82
82
|
<caret line="30" column="30" selection-start-line="30" selection-start-column="30" selection-end-line="30" selection-end-column="30" />
|
83
83
|
</state>
|
84
84
|
</provider>
|
85
85
|
</entry>
|
86
86
|
</file>
|
87
|
-
<file pinned="false" current-in-tab="false">
|
87
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
88
88
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
89
89
|
<provider selected="true" editor-type-id="text-editor">
|
90
|
-
<state relative-caret-position="
|
90
|
+
<state relative-caret-position="115">
|
91
91
|
<caret line="5" column="6" selection-start-line="5" selection-start-column="6" selection-end-line="5" selection-end-column="6" />
|
92
92
|
</state>
|
93
93
|
</provider>
|
94
94
|
</entry>
|
95
95
|
</file>
|
96
|
-
<file pinned="false" current-in-tab="false">
|
96
|
+
<file leaf-file-name=".ruby-version" pinned="false" current-in-tab="false">
|
97
97
|
<entry file="file://$PROJECT_DIR$/.ruby-version">
|
98
98
|
<provider selected="true" editor-type-id="text-editor">
|
99
99
|
<state>
|
@@ -102,61 +102,56 @@
|
|
102
102
|
</provider>
|
103
103
|
</entry>
|
104
104
|
</file>
|
105
|
-
<file pinned="false" current-in-tab="false">
|
106
|
-
<entry file="file://$PROJECT_DIR$/.ruby-gemset">
|
107
|
-
<provider selected="true" editor-type-id="text-editor" />
|
108
|
-
</entry>
|
109
|
-
</file>
|
110
|
-
<file pinned="false" current-in-tab="false">
|
105
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
111
106
|
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
112
107
|
<provider selected="true" editor-type-id="text-editor">
|
113
|
-
<state>
|
114
|
-
<caret column="
|
108
|
+
<state relative-caret-position="46">
|
109
|
+
<caret line="2" column="3" lean-forward="true" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
|
115
110
|
</state>
|
116
111
|
</provider>
|
117
112
|
</entry>
|
118
113
|
</file>
|
119
|
-
<file pinned="false" current-in-tab="false">
|
114
|
+
<file leaf-file-name="bitcoind.rb" pinned="false" current-in-tab="false">
|
120
115
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
121
116
|
<provider selected="true" editor-type-id="text-editor">
|
122
|
-
<state relative-caret-position="
|
117
|
+
<state relative-caret-position="92">
|
123
118
|
<caret line="4" column="5" selection-start-line="4" selection-start-column="5" selection-end-line="4" selection-end-column="5" />
|
124
119
|
</state>
|
125
120
|
</provider>
|
126
121
|
</entry>
|
127
122
|
</file>
|
128
|
-
<file pinned="false" current-in-tab="false">
|
123
|
+
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="false">
|
129
124
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
130
125
|
<provider selected="true" editor-type-id="text-editor">
|
131
|
-
<state relative-caret-position="
|
126
|
+
<state relative-caret-position="322">
|
132
127
|
<caret line="14" column="36" selection-start-line="14" selection-start-column="36" selection-end-line="14" selection-end-column="36" />
|
133
128
|
</state>
|
134
129
|
</provider>
|
135
130
|
</entry>
|
136
131
|
</file>
|
137
|
-
<file pinned="false" current-in-tab="
|
132
|
+
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="true">
|
138
133
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
139
134
|
<provider selected="true" editor-type-id="text-editor">
|
140
|
-
<state relative-caret-position="
|
141
|
-
<caret line="
|
135
|
+
<state relative-caret-position="345">
|
136
|
+
<caret line="15" column="18" lean-forward="true" selection-start-line="15" selection-start-column="18" selection-end-line="15" selection-end-column="18" />
|
142
137
|
</state>
|
143
138
|
</provider>
|
144
139
|
</entry>
|
145
140
|
</file>
|
146
|
-
<file pinned="false" current-in-tab="false">
|
141
|
+
<file leaf-file-name="geth.rb" pinned="false" current-in-tab="false">
|
147
142
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/geth.rb">
|
148
143
|
<provider selected="true" editor-type-id="text-editor">
|
149
|
-
<state relative-caret-position="
|
144
|
+
<state relative-caret-position="644">
|
150
145
|
<caret line="28" column="30" selection-start-line="28" selection-start-column="30" selection-end-line="28" selection-end-column="30" />
|
151
146
|
</state>
|
152
147
|
</provider>
|
153
148
|
</entry>
|
154
149
|
</file>
|
155
|
-
<file pinned="false" current-in-tab="
|
150
|
+
<file leaf-file-name="bitcoind-abc.rb" pinned="false" current-in-tab="false">
|
156
151
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb">
|
157
152
|
<provider selected="true" editor-type-id="text-editor">
|
158
|
-
<state relative-caret-position="
|
159
|
-
<caret line="
|
153
|
+
<state relative-caret-position="149">
|
154
|
+
<caret line="25" selection-start-line="25" selection-end-line="25" />
|
160
155
|
</state>
|
161
156
|
</provider>
|
162
157
|
</entry>
|
@@ -208,7 +203,6 @@
|
|
208
203
|
<option value="$PROJECT_DIR$/lib/Deamons/simple_mm.rb" />
|
209
204
|
<option value="$PROJECT_DIR$/lib/Deamons/geth.rb" />
|
210
205
|
<option value="$PROJECT_DIR$/lib/Deamons/ngrok.rb" />
|
211
|
-
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
212
206
|
<option value="$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb" />
|
213
207
|
<option value="$PROJECT_DIR$/lib/Deamons/litecoind.rb" />
|
214
208
|
<option value="$PROJECT_DIR$/lib/ApiController/barong.rb" />
|
@@ -217,6 +211,7 @@
|
|
217
211
|
<option value="$PROJECT_DIR$/.ruby-version" />
|
218
212
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
219
213
|
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
214
|
+
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
220
215
|
</list>
|
221
216
|
</option>
|
222
217
|
</component>
|
@@ -226,10 +221,14 @@
|
|
226
221
|
<detection-done>true</detection-done>
|
227
222
|
<sorting>DEFINITION_ORDER</sorting>
|
228
223
|
</component>
|
229
|
-
<component name="
|
224
|
+
<component name="NodePackageJsonFileManager">
|
225
|
+
<packageJsonPaths />
|
226
|
+
</component>
|
227
|
+
<component name="ProjectFrameBounds">
|
228
|
+
<option name="x" value="1639" />
|
230
229
|
<option name="y" value="23" />
|
231
|
-
<option name="width" value="
|
232
|
-
<option name="height" value="
|
230
|
+
<option name="width" value="1484" />
|
231
|
+
<option name="height" value="1057" />
|
233
232
|
</component>
|
234
233
|
<component name="ProjectView">
|
235
234
|
<navigator proportions="" version="1">
|
@@ -241,23 +240,23 @@
|
|
241
240
|
<subPane>
|
242
241
|
<expand>
|
243
242
|
<path>
|
244
|
-
<item name="
|
245
|
-
<item name="
|
243
|
+
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
244
|
+
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
246
245
|
</path>
|
247
246
|
<path>
|
248
|
-
<item name="
|
249
|
-
<item name="
|
247
|
+
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
248
|
+
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
250
249
|
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
251
250
|
</path>
|
252
251
|
<path>
|
253
|
-
<item name="
|
254
|
-
<item name="
|
252
|
+
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
253
|
+
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
255
254
|
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
256
255
|
<item name="Deamons" type="462c0819:PsiDirectoryNode" />
|
257
256
|
</path>
|
258
257
|
<path>
|
259
|
-
<item name="
|
260
|
-
<item name="
|
258
|
+
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
259
|
+
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
261
260
|
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
262
261
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
263
262
|
</path>
|
@@ -316,7 +315,6 @@
|
|
316
315
|
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="gem" />
|
317
316
|
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="install ./SimBot-0.1.31.gem" />
|
318
317
|
<COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="$MODULE_DIR$" />
|
319
|
-
<method v="2" />
|
320
318
|
</configuration>
|
321
319
|
</component>
|
322
320
|
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
@@ -346,11 +344,12 @@
|
|
346
344
|
<workItem from="1539962617528" duration="7924000" />
|
347
345
|
<workItem from="1540289900445" duration="2400000" />
|
348
346
|
<workItem from="1540392568366" duration="340000" />
|
347
|
+
<workItem from="1540393269263" duration="744000" />
|
349
348
|
</task>
|
350
349
|
<servers />
|
351
350
|
</component>
|
352
351
|
<component name="TimeTrackingManager">
|
353
|
-
<option name="totallyTimeSpent" value="
|
352
|
+
<option name="totallyTimeSpent" value="181547000" />
|
354
353
|
</component>
|
355
354
|
<component name="TodoView">
|
356
355
|
<todo-panel id="selected-file">
|
@@ -362,51 +361,51 @@
|
|
362
361
|
</todo-panel>
|
363
362
|
</component>
|
364
363
|
<component name="ToolWindowManager">
|
365
|
-
<frame x="
|
364
|
+
<frame x="1639" y="23" width="1484" height="1057" extended-state="0" />
|
366
365
|
<editor active="true" />
|
367
366
|
<layout>
|
368
|
-
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.
|
369
|
-
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
370
|
-
<window_info id="Favorites" order="2" side_tool="true" />
|
371
|
-
<window_info anchor="bottom" id="Message" order="0" />
|
372
|
-
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32876712" />
|
373
|
-
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6044349" visible="true" weight="0.35342467" />
|
374
|
-
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
375
|
-
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
376
|
-
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
367
|
+
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.18099861" />
|
377
368
|
<window_info anchor="bottom" id="TODO" order="6" weight="0.32995495" />
|
378
369
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
370
|
+
<window_info anchor="bottom" id="Event Log" order="11" sideWeight="0.3962804" side_tool="true" weight="0.35325366" />
|
371
|
+
<window_info anchor="right" id="Database" order="3" />
|
379
372
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
380
|
-
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.7010014" weight="0.44246575" />
|
381
373
|
<window_info anchor="bottom" id="Version Control" order="10" weight="0.3292683" />
|
382
|
-
<window_info anchor="bottom" id="
|
383
|
-
<window_info
|
374
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6037196" visible="true" weight="0.35262594" />
|
375
|
+
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
376
|
+
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.7010014" weight="0.35691318" />
|
377
|
+
<window_info id="Favorites" order="2" side_tool="true" />
|
378
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
379
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
380
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
384
381
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
385
382
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
386
|
-
<window_info anchor="
|
387
|
-
<window_info anchor="
|
383
|
+
<window_info anchor="bottom" id="Messages" order="12" sideWeight="0.49928468" weight="0.3283767" />
|
384
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
385
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
386
|
+
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32876712" />
|
388
387
|
</layout>
|
389
388
|
<layout-to-restore>
|
389
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
390
|
+
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
391
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
392
|
+
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
390
393
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2123369" />
|
391
394
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
392
|
-
<window_info id="
|
393
|
-
<window_info anchor="bottom" id="Message" order="0" />
|
394
|
-
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
395
|
-
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.28540304" />
|
396
|
-
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
397
|
-
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
398
|
-
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
395
|
+
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
399
396
|
<window_info anchor="bottom" id="TODO" order="6" />
|
400
|
-
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
401
397
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
398
|
+
<window_info anchor="bottom" id="Version Control" order="11" />
|
399
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.28540304" />
|
400
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
401
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
402
|
+
<window_info anchor="right" id="Database" order="3" />
|
402
403
|
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.49619377" weight="0.41463414" />
|
403
404
|
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50380623" side_tool="true" weight="0.28540304" />
|
404
|
-
<window_info anchor="bottom" id="
|
405
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
406
|
+
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
405
407
|
<window_info anchor="bottom" id="Messages" order="12" sideWeight="0.49965397" weight="0.3293348" />
|
406
|
-
<window_info
|
407
|
-
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
408
|
-
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
409
|
-
<window_info anchor="right" id="Database" order="3" />
|
408
|
+
<window_info id="Favorites" order="2" side_tool="true" />
|
410
409
|
</layout-to-restore>
|
411
410
|
</component>
|
412
411
|
<component name="TypeScriptGeneratedFilesManager">
|
@@ -419,6 +418,55 @@
|
|
419
418
|
<option name="myLimit" value="2678400000" />
|
420
419
|
</component>
|
421
420
|
<component name="editorHistoryManager">
|
421
|
+
<entry file="file://$PROJECT_DIR$/.ruby-version">
|
422
|
+
<provider selected="true" editor-type-id="text-editor">
|
423
|
+
<state>
|
424
|
+
<caret column="10" selection-start-column="10" selection-end-column="10" />
|
425
|
+
</state>
|
426
|
+
</provider>
|
427
|
+
</entry>
|
428
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
429
|
+
<provider selected="true" editor-type-id="text-editor">
|
430
|
+
<state>
|
431
|
+
<caret column="13" selection-start-column="13" selection-end-column="13" />
|
432
|
+
</state>
|
433
|
+
</provider>
|
434
|
+
</entry>
|
435
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
436
|
+
<provider selected="true" editor-type-id="text-editor">
|
437
|
+
<state relative-caret-position="92">
|
438
|
+
<caret line="4" column="5" selection-start-line="4" selection-start-column="5" selection-end-line="4" selection-end-column="5" />
|
439
|
+
</state>
|
440
|
+
</provider>
|
441
|
+
</entry>
|
442
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
443
|
+
<provider selected="true" editor-type-id="text-editor">
|
444
|
+
<state relative-caret-position="322">
|
445
|
+
<caret line="14" column="36" selection-start-line="14" selection-start-column="36" selection-end-line="14" selection-end-column="36" />
|
446
|
+
</state>
|
447
|
+
</provider>
|
448
|
+
</entry>
|
449
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
450
|
+
<provider selected="true" editor-type-id="text-editor">
|
451
|
+
<state relative-caret-position="2300">
|
452
|
+
<caret line="100" column="64" selection-start-line="100" selection-start-column="64" selection-end-line="100" selection-end-column="64" />
|
453
|
+
</state>
|
454
|
+
</provider>
|
455
|
+
</entry>
|
456
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/geth.rb">
|
457
|
+
<provider selected="true" editor-type-id="text-editor">
|
458
|
+
<state relative-caret-position="644">
|
459
|
+
<caret line="28" column="30" selection-start-line="28" selection-start-column="30" selection-end-line="28" selection-end-column="30" />
|
460
|
+
</state>
|
461
|
+
</provider>
|
462
|
+
</entry>
|
463
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb">
|
464
|
+
<provider selected="true" editor-type-id="text-editor">
|
465
|
+
<state relative-caret-position="437">
|
466
|
+
<caret line="19" column="72" selection-start-line="19" selection-start-column="72" selection-end-line="19" selection-end-column="72" />
|
467
|
+
</state>
|
468
|
+
</provider>
|
469
|
+
</entry>
|
422
470
|
<entry file="file://$PROJECT_DIR$/98808.errfile" />
|
423
471
|
<entry file="file://$PROJECT_DIR$/98808.outfile" />
|
424
472
|
<entry file="file://$PROJECT_DIR$/98990.outfile" />
|
@@ -499,13 +547,6 @@
|
|
499
547
|
</state>
|
500
548
|
</provider>
|
501
549
|
</entry>
|
502
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
503
|
-
<provider selected="true" editor-type-id="text-editor">
|
504
|
-
<state relative-caret-position="540">
|
505
|
-
<caret line="36" column="18" selection-start-line="36" selection-start-column="18" selection-end-line="36" selection-end-column="18" />
|
506
|
-
</state>
|
507
|
-
</provider>
|
508
|
-
</entry>
|
509
550
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/litecoind.rb">
|
510
551
|
<provider selected="true" editor-type-id="text-editor">
|
511
552
|
<state relative-caret-position="225">
|
@@ -513,15 +554,6 @@
|
|
513
554
|
</state>
|
514
555
|
</provider>
|
515
556
|
</entry>
|
516
|
-
<entry file="file://$PROJECT_DIR$/bin/console">
|
517
|
-
<provider selected="true" editor-type-id="text-editor" />
|
518
|
-
</entry>
|
519
|
-
<entry file="file://$PROJECT_DIR$/bin/setup">
|
520
|
-
<provider selected="true" editor-type-id="text-editor" />
|
521
|
-
</entry>
|
522
|
-
<entry file="file://$PROJECT_DIR$/exe/SimBot">
|
523
|
-
<provider selected="true" editor-type-id="text-editor" />
|
524
|
-
</entry>
|
525
557
|
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
526
558
|
<provider selected="true" editor-type-id="text-editor">
|
527
559
|
<state relative-caret-position="30">
|
@@ -531,14 +563,14 @@
|
|
531
563
|
</entry>
|
532
564
|
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
533
565
|
<provider selected="true" editor-type-id="text-editor">
|
534
|
-
<state relative-caret-position="
|
566
|
+
<state relative-caret-position="690">
|
535
567
|
<caret line="30" column="30" selection-start-line="30" selection-start-column="30" selection-end-line="30" selection-end-column="30" />
|
536
568
|
</state>
|
537
569
|
</provider>
|
538
570
|
</entry>
|
539
571
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
540
572
|
<provider selected="true" editor-type-id="text-editor">
|
541
|
-
<state relative-caret-position="
|
573
|
+
<state relative-caret-position="115">
|
542
574
|
<caret line="5" column="6" selection-start-line="5" selection-start-column="6" selection-end-line="5" selection-end-column="6" />
|
543
575
|
</state>
|
544
576
|
</provider>
|
@@ -550,48 +582,52 @@
|
|
550
582
|
</state>
|
551
583
|
</provider>
|
552
584
|
</entry>
|
553
|
-
<entry file="file://$PROJECT_DIR
|
554
|
-
<provider selected="true" editor-type-id="text-editor"
|
585
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/geth.rb">
|
586
|
+
<provider selected="true" editor-type-id="text-editor">
|
587
|
+
<state relative-caret-position="644">
|
588
|
+
<caret line="28" column="30" selection-start-line="28" selection-start-column="30" selection-end-line="28" selection-end-column="30" />
|
589
|
+
</state>
|
590
|
+
</provider>
|
555
591
|
</entry>
|
556
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
592
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
557
593
|
<provider selected="true" editor-type-id="text-editor">
|
558
|
-
<state>
|
559
|
-
<caret column="
|
594
|
+
<state relative-caret-position="92">
|
595
|
+
<caret line="4" column="5" selection-start-line="4" selection-start-column="5" selection-end-line="4" selection-end-column="5" />
|
560
596
|
</state>
|
561
597
|
</provider>
|
562
598
|
</entry>
|
563
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
599
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
564
600
|
<provider selected="true" editor-type-id="text-editor">
|
565
|
-
<state relative-caret-position="
|
566
|
-
<caret line="
|
601
|
+
<state relative-caret-position="322">
|
602
|
+
<caret line="14" column="36" selection-start-line="14" selection-start-column="36" selection-end-line="14" selection-end-column="36" />
|
567
603
|
</state>
|
568
604
|
</provider>
|
569
605
|
</entry>
|
570
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
606
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind-abc.rb">
|
571
607
|
<provider selected="true" editor-type-id="text-editor">
|
572
|
-
<state relative-caret-position="
|
573
|
-
<caret line="
|
608
|
+
<state relative-caret-position="149">
|
609
|
+
<caret line="25" selection-start-line="25" selection-end-line="25" />
|
574
610
|
</state>
|
575
611
|
</provider>
|
576
612
|
</entry>
|
577
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
613
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
578
614
|
<provider selected="true" editor-type-id="text-editor">
|
579
|
-
<state relative-caret-position="-
|
580
|
-
<caret line="
|
615
|
+
<state relative-caret-position="-398">
|
616
|
+
<caret line="18" column="13" lean-forward="true" selection-start-line="18" selection-start-column="13" selection-end-line="18" selection-end-column="13" />
|
581
617
|
</state>
|
582
618
|
</provider>
|
583
619
|
</entry>
|
584
|
-
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
620
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
585
621
|
<provider selected="true" editor-type-id="text-editor">
|
586
|
-
<state relative-caret-position="
|
587
|
-
<caret line="
|
622
|
+
<state relative-caret-position="46">
|
623
|
+
<caret line="2" column="3" lean-forward="true" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
|
588
624
|
</state>
|
589
625
|
</provider>
|
590
626
|
</entry>
|
591
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
627
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
592
628
|
<provider selected="true" editor-type-id="text-editor">
|
593
|
-
<state relative-caret-position="
|
594
|
-
<caret line="
|
629
|
+
<state relative-caret-position="345">
|
630
|
+
<caret line="15" column="18" lean-forward="true" selection-start-line="15" selection-start-column="18" selection-end-line="15" selection-end-column="18" />
|
595
631
|
</state>
|
596
632
|
</provider>
|
597
633
|
</entry>
|
data/Gemfile.lock
CHANGED
data/lib/SimBot/version.rb
CHANGED
data/lib/utils.rb
CHANGED
@@ -6,6 +6,10 @@ class Utils
|
|
6
6
|
# @return [FalseClass and Float]
|
7
7
|
def self.quote(market)
|
8
8
|
case market
|
9
|
+
when 'btceth'
|
10
|
+
btceth_price
|
11
|
+
when 'tusdbtc'
|
12
|
+
1 / btcusd_price
|
9
13
|
when 'bchxrp'
|
10
14
|
bchxrp_price
|
11
15
|
when 'bchbtc'
|
@@ -78,7 +82,13 @@ class Utils
|
|
78
82
|
hash = JSON.parse(response.body)
|
79
83
|
hash['data']['quotes']['LTC']['price'].to_f.round(4)
|
80
84
|
end
|
81
|
-
|
85
|
+
# fetch btc/eth price from coin market cap
|
86
|
+
# @return [float] rate
|
87
|
+
def self.btceth_price
|
88
|
+
response = RestClient.get('https://api.coinmarketcap.com/v2/ticker/1/?convert=ETH')
|
89
|
+
hash = JSON.parse(response.body)
|
90
|
+
hash['data']['quotes']['ETH']['price'].to_f.round(4)
|
91
|
+
end
|
82
92
|
# fetch bch/xrp price from coin market cap
|
83
93
|
# @return [float] rate
|
84
94
|
def self.bchxrp_price
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SimBot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Ovadia
|
@@ -166,7 +166,6 @@ files:
|
|
166
166
|
- LICENSE.txt
|
167
167
|
- README.md
|
168
168
|
- Rakefile
|
169
|
-
- SimBot-0.1.31.gem
|
170
169
|
- SimBot.gemspec
|
171
170
|
- bin/console
|
172
171
|
- bin/setup
|
data/SimBot-0.1.31.gem
DELETED
Binary file
|