SimBot 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +90 -68
- data/SimBot-0.1.40.gem +0 -0
- data/lib/Deamons/wash_trade.rb +0 -1
- data/lib/SimBot/version.rb +1 -1
- data/lib/utils.rb +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78552a93129d512aa551142b0b1c0ceeceaa480475940fa3b72756f4467d47aa
|
|
4
|
+
data.tar.gz: 492c00affefa4ef6ae29a5cca7861a09a8af3e9ee8e447d984114d1d7033d89d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e494922448eb4d011410ba61bf2e9d73b92bbc9f272fffd0584fbfbf21129c8c0d4656f8cd584874913e73e46e0c73a707d136939245271ad09497a389717def
|
|
7
|
+
data.tar.gz: 60c5f79b6f4bdda5d9e314840e55f263b5c666c9cd6cb298e768e2e572ee378be8266292da3b9882f34935f638be9c5c6e57b186c169295ea8010e9a9a0ffc73
|
data/.idea/workspace.xml
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="d905eaf2-5cab-434b-a4d1-1ccf165356a4" name="Default" comment="">
|
|
5
5
|
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
|
|
6
|
+
<change afterPath="$PROJECT_DIR$/SimBot-0.1.40.gem" afterDir="false" />
|
|
6
7
|
<change beforePath="$PROJECT_DIR$/.idea/.rakeTasks" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" afterDir="false" />
|
|
7
8
|
<change beforePath="$PROJECT_DIR$/.idea/SimBot.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/SimBot.iml" afterDir="false" />
|
|
8
9
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
@@ -83,15 +84,6 @@
|
|
|
83
84
|
</component>
|
|
84
85
|
<component name="FileEditorManager">
|
|
85
86
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
|
86
|
-
<file leaf-file-name=".ruby-version" pinned="false" current-in-tab="false">
|
|
87
|
-
<entry file="file://$PROJECT_DIR$/.ruby-version">
|
|
88
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
89
|
-
<state>
|
|
90
|
-
<caret column="10" selection-start-column="10" selection-end-column="10" />
|
|
91
|
-
</state>
|
|
92
|
-
</provider>
|
|
93
|
-
</entry>
|
|
94
|
-
</file>
|
|
95
87
|
<file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
|
|
96
88
|
<entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
|
|
97
89
|
<provider selected="true" editor-type-id="text-editor">
|
|
@@ -104,8 +96,8 @@
|
|
|
104
96
|
<file leaf-file-name="bitcoind.rb" pinned="false" current-in-tab="false">
|
|
105
97
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
|
106
98
|
<provider selected="true" editor-type-id="text-editor">
|
|
107
|
-
<state relative-caret-position="
|
|
108
|
-
<caret line="
|
|
99
|
+
<state relative-caret-position="391">
|
|
100
|
+
<caret line="17" selection-start-line="17" selection-end-line="17" />
|
|
109
101
|
</state>
|
|
110
102
|
</provider>
|
|
111
103
|
</entry>
|
|
@@ -113,8 +105,8 @@
|
|
|
113
105
|
<file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="false">
|
|
114
106
|
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
|
115
107
|
<provider selected="true" editor-type-id="text-editor">
|
|
116
|
-
<state relative-caret-position="
|
|
117
|
-
<caret line="31" column="7"
|
|
108
|
+
<state relative-caret-position="713">
|
|
109
|
+
<caret line="31" column="7" selection-start-line="31" selection-start-column="7" selection-end-line="31" selection-end-column="7" />
|
|
118
110
|
</state>
|
|
119
111
|
</provider>
|
|
120
112
|
</entry>
|
|
@@ -122,8 +114,35 @@
|
|
|
122
114
|
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="false">
|
|
123
115
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
|
124
116
|
<provider selected="true" editor-type-id="text-editor">
|
|
125
|
-
<state relative-caret-position="
|
|
126
|
-
<caret line="
|
|
117
|
+
<state relative-caret-position="299">
|
|
118
|
+
<caret line="46" column="48" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
|
|
119
|
+
</state>
|
|
120
|
+
</provider>
|
|
121
|
+
</entry>
|
|
122
|
+
</file>
|
|
123
|
+
<file leaf-file-name="restclient.rb" pinned="false" current-in-tab="false">
|
|
124
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.5.0@-global/gems/rest-client-2.0.2/lib/restclient.rb">
|
|
125
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
126
|
+
<state relative-caret-position="1449">
|
|
127
|
+
<caret line="63" column="7" selection-start-line="63" selection-start-column="7" selection-end-line="63" selection-end-column="7" />
|
|
128
|
+
</state>
|
|
129
|
+
</provider>
|
|
130
|
+
</entry>
|
|
131
|
+
</file>
|
|
132
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
|
133
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
134
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
135
|
+
<state relative-caret-position="138">
|
|
136
|
+
<caret line="6" selection-start-line="6" selection-end-line="6" />
|
|
137
|
+
</state>
|
|
138
|
+
</provider>
|
|
139
|
+
</entry>
|
|
140
|
+
</file>
|
|
141
|
+
<file leaf-file-name="SimBot.gemspec" pinned="false" current-in-tab="false">
|
|
142
|
+
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
|
143
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
144
|
+
<state relative-caret-position="414">
|
|
145
|
+
<caret line="40" column="28" selection-start-line="40" selection-start-column="28" selection-end-line="40" selection-end-column="28" />
|
|
127
146
|
</state>
|
|
128
147
|
</provider>
|
|
129
148
|
</entry>
|
|
@@ -131,8 +150,8 @@
|
|
|
131
150
|
<file leaf-file-name="wash_trade.rb" pinned="false" current-in-tab="false">
|
|
132
151
|
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
|
133
152
|
<provider selected="true" editor-type-id="text-editor">
|
|
134
|
-
<state relative-caret-position="
|
|
135
|
-
<caret line="
|
|
153
|
+
<state relative-caret-position="667">
|
|
154
|
+
<caret line="29" column="73" selection-start-line="29" selection-start-column="73" selection-end-line="29" selection-end-column="73" />
|
|
136
155
|
</state>
|
|
137
156
|
</provider>
|
|
138
157
|
</entry>
|
|
@@ -210,9 +229,9 @@
|
|
|
210
229
|
<option value="$PROJECT_DIR$/lib/Deamons/bitcoind.rb" />
|
|
211
230
|
<option value="$PROJECT_DIR$/SimBot.gemspec" />
|
|
212
231
|
<option value="$PROJECT_DIR$/.ruby-version" />
|
|
213
|
-
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
|
214
|
-
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
|
215
232
|
<option value="$PROJECT_DIR$/lib/SimBot.rb" />
|
|
233
|
+
<option value="$PROJECT_DIR$/lib/Deamons/wash_trade.rb" />
|
|
234
|
+
<option value="$PROJECT_DIR$/lib/utils.rb" />
|
|
216
235
|
<option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
|
|
217
236
|
</list>
|
|
218
237
|
</option>
|
|
@@ -227,10 +246,10 @@
|
|
|
227
246
|
<packageJsonPaths />
|
|
228
247
|
</component>
|
|
229
248
|
<component name="ProjectFrameBounds">
|
|
230
|
-
<option name="x" value="
|
|
231
|
-
<option name="y" value="
|
|
232
|
-
<option name="width" value="
|
|
233
|
-
<option name="height" value="
|
|
249
|
+
<option name="x" value="1893" />
|
|
250
|
+
<option name="y" value="-61" />
|
|
251
|
+
<option name="width" value="1440" />
|
|
252
|
+
<option name="height" value="877" />
|
|
234
253
|
</component>
|
|
235
254
|
<component name="ProjectView">
|
|
236
255
|
<navigator proportions="" version="1">
|
|
@@ -253,7 +272,7 @@
|
|
|
253
272
|
<item name="SimBot" type="b2602c69:ProjectViewProjectNode" />
|
|
254
273
|
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
|
255
274
|
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
|
256
|
-
<item name="
|
|
275
|
+
<item name="SimBot" type="462c0819:PsiDirectoryNode" />
|
|
257
276
|
</path>
|
|
258
277
|
</expand>
|
|
259
278
|
<select />
|
|
@@ -345,12 +364,15 @@
|
|
|
345
364
|
<workItem from="1543413426007" duration="137000" />
|
|
346
365
|
<workItem from="1543938137760" duration="3461000" />
|
|
347
366
|
<workItem from="1544462202927" duration="460000" />
|
|
348
|
-
<workItem from="1544890937953" duration="
|
|
367
|
+
<workItem from="1544890937953" duration="3444000" />
|
|
368
|
+
<workItem from="1546773914382" duration="1629000" />
|
|
369
|
+
<workItem from="1548690509123" duration="3000" />
|
|
370
|
+
<workItem from="1550430960196" duration="178000" />
|
|
349
371
|
</task>
|
|
350
372
|
<servers />
|
|
351
373
|
</component>
|
|
352
374
|
<component name="TimeTrackingManager">
|
|
353
|
-
<option name="totallyTimeSpent" value="
|
|
375
|
+
<option name="totallyTimeSpent" value="190873000" />
|
|
354
376
|
</component>
|
|
355
377
|
<component name="TodoView">
|
|
356
378
|
<todo-panel id="selected-file">
|
|
@@ -362,21 +384,21 @@
|
|
|
362
384
|
</todo-panel>
|
|
363
385
|
</component>
|
|
364
386
|
<component name="ToolWindowManager">
|
|
365
|
-
<frame x="
|
|
387
|
+
<frame x="1893" y="-61" width="1440" height="877" extended-state="0" />
|
|
366
388
|
<editor active="true" />
|
|
367
389
|
<layout>
|
|
368
|
-
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.
|
|
390
|
+
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.18025751" />
|
|
369
391
|
<window_info anchor="bottom" id="TODO" order="6" weight="0.32995495" />
|
|
370
392
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
|
371
393
|
<window_info anchor="bottom" id="Event Log" order="11" sideWeight="0.30114448" side_tool="true" weight="0.44097695" />
|
|
372
394
|
<window_info anchor="right" id="Database" order="3" />
|
|
373
395
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
|
374
|
-
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6044349" weight="0.35262594" />
|
|
375
396
|
<window_info anchor="bottom" id="Version Control" order="10" weight="0.3292683" />
|
|
397
|
+
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6044349" weight="0.42231077" />
|
|
376
398
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
|
377
|
-
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.6988555" visible="true" weight="0.
|
|
378
|
-
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
|
399
|
+
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.6988555" visible="true" weight="0.15272245" />
|
|
379
400
|
<window_info id="Favorites" order="2" side_tool="true" />
|
|
401
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
|
380
402
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
|
381
403
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
|
382
404
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
|
@@ -390,21 +412,21 @@
|
|
|
390
412
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
|
391
413
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
|
392
414
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
|
415
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
|
393
416
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2123369" />
|
|
394
417
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
|
395
418
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
|
396
419
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
|
397
420
|
<window_info anchor="bottom" id="TODO" order="6" />
|
|
398
|
-
<window_info anchor="bottom" id="Version Control" order="11" />
|
|
399
421
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.28540304" />
|
|
400
|
-
<window_info anchor="bottom" id="
|
|
422
|
+
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
|
401
423
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
|
402
424
|
<window_info anchor="right" id="Database" order="3" />
|
|
403
425
|
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.49619377" weight="0.41463414" />
|
|
404
426
|
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50380623" side_tool="true" weight="0.28540304" />
|
|
405
427
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
|
406
|
-
<window_info anchor="bottom" id="
|
|
407
|
-
<window_info anchor="bottom" id="
|
|
428
|
+
<window_info anchor="bottom" id="Version Control" order="11" />
|
|
429
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
|
408
430
|
<window_info anchor="bottom" id="Messages" order="12" sideWeight="0.49965397" weight="0.3293348" />
|
|
409
431
|
<window_info id="Favorites" order="2" side_tool="true" />
|
|
410
432
|
</layout-to-restore>
|
|
@@ -419,13 +441,6 @@
|
|
|
419
441
|
<option name="myLimit" value="2678400000" />
|
|
420
442
|
</component>
|
|
421
443
|
<component name="editorHistoryManager">
|
|
422
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
|
423
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
424
|
-
<state relative-caret-position="92">
|
|
425
|
-
<caret line="4" column="5" selection-start-line="4" selection-start-column="5" selection-end-line="4" selection-end-column="5" />
|
|
426
|
-
</state>
|
|
427
|
-
</provider>
|
|
428
|
-
</entry>
|
|
429
444
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
|
430
445
|
<provider selected="true" editor-type-id="text-editor">
|
|
431
446
|
<state relative-caret-position="2300">
|
|
@@ -541,20 +556,6 @@
|
|
|
541
556
|
</state>
|
|
542
557
|
</provider>
|
|
543
558
|
</entry>
|
|
544
|
-
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
|
545
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
546
|
-
<state relative-caret-position="450">
|
|
547
|
-
<caret line="30" column="30" selection-start-line="30" selection-start-column="30" selection-end-line="30" selection-end-column="30" />
|
|
548
|
-
</state>
|
|
549
|
-
</provider>
|
|
550
|
-
</entry>
|
|
551
|
-
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
552
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
553
|
-
<state relative-caret-position="75">
|
|
554
|
-
<caret line="5" column="6" selection-start-line="5" selection-start-column="6" selection-end-line="5" selection-end-column="6" />
|
|
555
|
-
</state>
|
|
556
|
-
</provider>
|
|
557
|
-
</entry>
|
|
558
559
|
<entry file="file://$PROJECT_DIR$/.ruby-version">
|
|
559
560
|
<provider selected="true" editor-type-id="text-editor">
|
|
560
561
|
<state>
|
|
@@ -597,31 +598,52 @@
|
|
|
597
598
|
</state>
|
|
598
599
|
</provider>
|
|
599
600
|
</entry>
|
|
600
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
|
601
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/bitcoind.rb">
|
|
601
602
|
<provider selected="true" editor-type-id="text-editor">
|
|
602
|
-
<state relative-caret-position="
|
|
603
|
-
<caret line="
|
|
603
|
+
<state relative-caret-position="391">
|
|
604
|
+
<caret line="17" selection-start-line="17" selection-end-line="17" />
|
|
604
605
|
</state>
|
|
605
606
|
</provider>
|
|
606
607
|
</entry>
|
|
607
|
-
<entry file="file://$PROJECT_DIR$/lib/Deamons/
|
|
608
|
+
<entry file="file://$PROJECT_DIR$/lib/Deamons/wash_trade.rb">
|
|
608
609
|
<provider selected="true" editor-type-id="text-editor">
|
|
609
|
-
<state relative-caret-position="
|
|
610
|
-
<caret line="
|
|
610
|
+
<state relative-caret-position="667">
|
|
611
|
+
<caret line="29" column="73" selection-start-line="29" selection-start-column="73" selection-end-line="29" selection-end-column="73" />
|
|
611
612
|
</state>
|
|
612
613
|
</provider>
|
|
613
614
|
</entry>
|
|
614
|
-
<entry file="file://$
|
|
615
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.5.0@-global/gems/rest-client-2.0.2/lib/restclient.rb">
|
|
615
616
|
<provider selected="true" editor-type-id="text-editor">
|
|
616
|
-
<state relative-caret-position="
|
|
617
|
-
<caret line="
|
|
617
|
+
<state relative-caret-position="1449">
|
|
618
|
+
<caret line="63" column="7" selection-start-line="63" selection-start-column="7" selection-end-line="63" selection-end-column="7" />
|
|
618
619
|
</state>
|
|
619
620
|
</provider>
|
|
620
621
|
</entry>
|
|
621
|
-
<entry file="file://$PROJECT_DIR$/
|
|
622
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
623
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
624
|
+
<state relative-caret-position="138">
|
|
625
|
+
<caret line="6" selection-start-line="6" selection-end-line="6" />
|
|
626
|
+
</state>
|
|
627
|
+
</provider>
|
|
628
|
+
</entry>
|
|
629
|
+
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
|
630
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
631
|
+
<state relative-caret-position="414">
|
|
632
|
+
<caret line="40" column="28" selection-start-line="40" selection-start-column="28" selection-end-line="40" selection-end-column="28" />
|
|
633
|
+
</state>
|
|
634
|
+
</provider>
|
|
635
|
+
</entry>
|
|
636
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
|
637
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
638
|
+
<state relative-caret-position="299">
|
|
639
|
+
<caret line="46" column="48" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
|
|
640
|
+
</state>
|
|
641
|
+
</provider>
|
|
642
|
+
</entry>
|
|
643
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
|
622
644
|
<provider selected="true" editor-type-id="text-editor">
|
|
623
|
-
<state relative-caret-position="
|
|
624
|
-
<caret line="
|
|
645
|
+
<state relative-caret-position="713">
|
|
646
|
+
<caret line="31" column="7" selection-start-line="31" selection-start-column="7" selection-end-line="31" selection-end-column="7" />
|
|
625
647
|
</state>
|
|
626
648
|
</provider>
|
|
627
649
|
</entry>
|
data/SimBot-0.1.40.gem
ADDED
|
Binary file
|
data/lib/Deamons/wash_trade.rb
CHANGED
|
@@ -28,7 +28,6 @@ module Deamons
|
|
|
28
28
|
loop do
|
|
29
29
|
vol = rand(@volume...@volume*1.3) * (Math.sin(Time.now.hour / 6.00)
|
|
30
30
|
+ 1.00) * Utils.rand_for_hour(1.5, 2)
|
|
31
|
-
vol /= 1
|
|
32
31
|
price = aug_price
|
|
33
32
|
@api.post_order(@market, price, vol, 'buy') if rand(1...100) < 22
|
|
34
33
|
@api.post_order(@market, price, vol, 'sell') if rand(1...100) < 22
|
data/lib/SimBot/version.rb
CHANGED
data/lib/utils.rb
CHANGED
|
@@ -42,9 +42,9 @@ class Utils
|
|
|
42
42
|
# fetch btc/usd price from coin market cap
|
|
43
43
|
# @return [float] rate
|
|
44
44
|
def self.tusdzar_price
|
|
45
|
-
response =
|
|
45
|
+
response = Faraday.get('https://www.freeforexapi.com/api/live?pairs=USDZAR')
|
|
46
46
|
hash = JSON.parse(response.body)
|
|
47
|
-
hash['
|
|
47
|
+
hash['rates']['USDZAR']['rate'].to_f.round(2)
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.41
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Ovadia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -167,6 +167,7 @@ files:
|
|
|
167
167
|
- LICENSE.txt
|
|
168
168
|
- README.md
|
|
169
169
|
- Rakefile
|
|
170
|
+
- SimBot-0.1.40.gem
|
|
170
171
|
- SimBot.gemspec
|
|
171
172
|
- bin/console
|
|
172
173
|
- bin/setup
|