SimBot 0.1.41 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +21 -21
- data/lib/SimBot/version.rb +1 -1
- data/lib/utils.rb +1 -1
- metadata +1 -2
- data/SimBot-0.1.40.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: 8da88d74c58a1a7dc5eb702adf677066a8cc9a83ea79c10aeae709aac0aa954e
|
4
|
+
data.tar.gz: 2d239076e3c96e40d731f137acf2782330a20a8141d7f26a7e8e693528c4892d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2763a8a4bcb34a85219f29372f4421dca48a1d2c952feb6b021de5f2829cf0c4ac17d8d43ad0312994317796393440fbf473bc19f5bbf37c92dd75be8866dbb2
|
7
|
+
data.tar.gz: 42cc6852d553320247be644fc2f67ee196b752764dce44d4b7436e9d72f61cca9128005c4293799cb64b0c87047189bc77d8eb8d86e63402119bdb5d340f31c5
|
data/.idea/workspace.xml
CHANGED
@@ -3,7 +3,6 @@
|
|
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" />
|
7
6
|
<change beforePath="$PROJECT_DIR$/.idea/.rakeTasks" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" afterDir="false" />
|
8
7
|
<change beforePath="$PROJECT_DIR$/.idea/SimBot.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/SimBot.iml" afterDir="false" />
|
9
8
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
@@ -114,8 +113,8 @@
|
|
114
113
|
<file leaf-file-name="utils.rb" pinned="false" current-in-tab="false">
|
115
114
|
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
116
115
|
<provider selected="true" editor-type-id="text-editor">
|
117
|
-
<state relative-caret-position="
|
118
|
-
<caret line="
|
116
|
+
<state relative-caret-position="145">
|
117
|
+
<caret line="44" column="25" selection-start-line="44" selection-start-column="25" selection-end-line="44" selection-end-column="25" />
|
119
118
|
</state>
|
120
119
|
</provider>
|
121
120
|
</entry>
|
@@ -141,7 +140,7 @@
|
|
141
140
|
<file leaf-file-name="SimBot.gemspec" pinned="false" current-in-tab="false">
|
142
141
|
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
143
142
|
<provider selected="true" editor-type-id="text-editor">
|
144
|
-
<state relative-caret-position="
|
143
|
+
<state relative-caret-position="920">
|
145
144
|
<caret line="40" column="28" selection-start-line="40" selection-start-column="28" selection-end-line="40" selection-end-column="28" />
|
146
145
|
</state>
|
147
146
|
</provider>
|
@@ -367,12 +366,13 @@
|
|
367
366
|
<workItem from="1544890937953" duration="3444000" />
|
368
367
|
<workItem from="1546773914382" duration="1629000" />
|
369
368
|
<workItem from="1548690509123" duration="3000" />
|
370
|
-
<workItem from="1550430960196" duration="
|
369
|
+
<workItem from="1550430960196" duration="265000" />
|
370
|
+
<workItem from="1550431340576" duration="148000" />
|
371
371
|
</task>
|
372
372
|
<servers />
|
373
373
|
</component>
|
374
374
|
<component name="TimeTrackingManager">
|
375
|
-
<option name="totallyTimeSpent" value="
|
375
|
+
<option name="totallyTimeSpent" value="191108000" />
|
376
376
|
</component>
|
377
377
|
<component name="TodoView">
|
378
378
|
<todo-panel id="selected-file">
|
@@ -387,18 +387,18 @@
|
|
387
387
|
<frame x="1893" y="-61" width="1440" height="877" extended-state="0" />
|
388
388
|
<editor active="true" />
|
389
389
|
<layout>
|
390
|
-
<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.18240343" />
|
391
391
|
<window_info anchor="bottom" id="TODO" order="6" weight="0.32995495" />
|
392
392
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
393
393
|
<window_info anchor="bottom" id="Event Log" order="11" sideWeight="0.30114448" side_tool="true" weight="0.44097695" />
|
394
394
|
<window_info anchor="right" id="Database" order="3" />
|
395
395
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
396
|
-
<window_info anchor="bottom" id="Version Control" order="10" weight="0.3292683" />
|
397
396
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.6044349" weight="0.42231077" />
|
397
|
+
<window_info anchor="bottom" id="Version Control" order="10" weight="0.3292683" />
|
398
398
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
399
|
-
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.6988555"
|
400
|
-
<window_info id="Favorites" order="2" side_tool="true" />
|
399
|
+
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.6988555" weight="0.15272245" />
|
401
400
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
401
|
+
<window_info id="Favorites" order="2" side_tool="true" />
|
402
402
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
403
403
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
404
404
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
@@ -412,21 +412,21 @@
|
|
412
412
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
413
413
|
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
|
414
414
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
415
|
-
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
416
415
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2123369" />
|
417
416
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
418
417
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
419
418
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
420
419
|
<window_info anchor="bottom" id="TODO" order="6" />
|
420
|
+
<window_info anchor="bottom" id="Version Control" order="11" />
|
421
421
|
<window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.28540304" />
|
422
|
-
<window_info anchor="bottom" id="
|
422
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
423
423
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
424
424
|
<window_info anchor="right" id="Database" order="3" />
|
425
425
|
<window_info anchor="bottom" id="Terminal" order="9" sideWeight="0.49619377" weight="0.41463414" />
|
426
426
|
<window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50380623" side_tool="true" weight="0.28540304" />
|
427
427
|
<window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
|
428
|
-
<window_info anchor="bottom" id="
|
429
|
-
<window_info anchor="bottom" id="
|
428
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
429
|
+
<window_info anchor="bottom" id="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
|
430
430
|
<window_info anchor="bottom" id="Messages" order="12" sideWeight="0.49965397" weight="0.3293348" />
|
431
431
|
<window_info id="Favorites" order="2" side_tool="true" />
|
432
432
|
</layout-to-restore>
|
@@ -628,22 +628,22 @@
|
|
628
628
|
</entry>
|
629
629
|
<entry file="file://$PROJECT_DIR$/SimBot.gemspec">
|
630
630
|
<provider selected="true" editor-type-id="text-editor">
|
631
|
-
<state relative-caret-position="
|
631
|
+
<state relative-caret-position="920">
|
632
632
|
<caret line="40" column="28" selection-start-line="40" selection-start-column="28" selection-end-line="40" selection-end-column="28" />
|
633
633
|
</state>
|
634
634
|
</provider>
|
635
635
|
</entry>
|
636
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
636
|
+
<entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
|
637
637
|
<provider selected="true" editor-type-id="text-editor">
|
638
|
-
<state relative-caret-position="
|
639
|
-
<caret line="
|
638
|
+
<state relative-caret-position="713">
|
639
|
+
<caret line="31" column="7" selection-start-line="31" selection-start-column="7" selection-end-line="31" selection-end-column="7" />
|
640
640
|
</state>
|
641
641
|
</provider>
|
642
642
|
</entry>
|
643
|
-
<entry file="file://$PROJECT_DIR$/lib/
|
643
|
+
<entry file="file://$PROJECT_DIR$/lib/utils.rb">
|
644
644
|
<provider selected="true" editor-type-id="text-editor">
|
645
|
-
<state relative-caret-position="
|
646
|
-
<caret line="
|
645
|
+
<state relative-caret-position="145">
|
646
|
+
<caret line="44" column="25" selection-start-line="44" selection-start-column="25" selection-end-line="44" selection-end-column="25" />
|
647
647
|
</state>
|
648
648
|
</provider>
|
649
649
|
</entry>
|
data/lib/SimBot/version.rb
CHANGED
data/lib/utils.rb
CHANGED
@@ -42,7 +42,7 @@ 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 = RestClient.get('https://www.freeforexapi.com/api/live?pairs=USDZAR')
|
46
46
|
hash = JSON.parse(response.body)
|
47
47
|
hash['rates']['USDZAR']['rate'].to_f.round(2)
|
48
48
|
end
|
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.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Ovadia
|
@@ -167,7 +167,6 @@ files:
|
|
167
167
|
- LICENSE.txt
|
168
168
|
- README.md
|
169
169
|
- Rakefile
|
170
|
-
- SimBot-0.1.40.gem
|
171
170
|
- SimBot.gemspec
|
172
171
|
- bin/console
|
173
172
|
- bin/setup
|
data/SimBot-0.1.40.gem
DELETED
Binary file
|