SimBot 0.1.41 → 0.1.42

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78552a93129d512aa551142b0b1c0ceeceaa480475940fa3b72756f4467d47aa
4
- data.tar.gz: 492c00affefa4ef6ae29a5cca7861a09a8af3e9ee8e447d984114d1d7033d89d
3
+ metadata.gz: 8da88d74c58a1a7dc5eb702adf677066a8cc9a83ea79c10aeae709aac0aa954e
4
+ data.tar.gz: 2d239076e3c96e40d731f137acf2782330a20a8141d7f26a7e8e693528c4892d
5
5
  SHA512:
6
- metadata.gz: e494922448eb4d011410ba61bf2e9d73b92bbc9f272fffd0584fbfbf21129c8c0d4656f8cd584874913e73e46e0c73a707d136939245271ad09497a389717def
7
- data.tar.gz: 60c5f79b6f4bdda5d9e314840e55f263b5c666c9cd6cb298e768e2e572ee378be8266292da3b9882f34935f638be9c5c6e57b186c169295ea8010e9a9a0ffc73
6
+ metadata.gz: 2763a8a4bcb34a85219f29372f4421dca48a1d2c952feb6b021de5f2829cf0c4ac17d8d43ad0312994317796393440fbf473bc19f5bbf37c92dd75be8866dbb2
7
+ data.tar.gz: 42cc6852d553320247be644fc2f67ee196b752764dce44d4b7436e9d72f61cca9128005c4293799cb64b0c87047189bc77d8eb8d86e63402119bdb5d340f31c5
@@ -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="299">
118
- <caret line="46" column="48" selection-start-line="46" selection-start-column="48" selection-end-line="46" selection-end-column="48" />
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="414">
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="178000" />
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="190873000" />
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.18025751" />
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" visible="true" weight="0.15272245" />
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="Find" order="1" sideWeight="0.49896193" weight="0.32897604" />
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="Version Control" order="11" />
429
- <window_info anchor="bottom" id="Message" order="0" />
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="414">
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/utils.rb">
636
+ <entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
637
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" />
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/SimBot.rb">
643
+ <entry file="file://$PROJECT_DIR$/lib/utils.rb">
644
644
  <provider selected="true" editor-type-id="text-editor">
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" />
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>
@@ -1,3 +1,3 @@
1
1
  module SimBot
2
- VERSION = "0.1.41"
2
+ VERSION = "0.1.42"
3
3
  end
@@ -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 = Faraday.get('https://www.freeforexapi.com/api/live?pairs=USDZAR')
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.41
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
Binary file