SimBot 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01dd70731141e099cae68e17fdf87af5d6a7bd4da158fd15c456a55eb90b1f7f
4
- data.tar.gz: 0e0d7cad47197a6f63b23da623c7050fccce3750fce932373abe3690678cf22c
3
+ metadata.gz: af9bcbba18bd6d55f89bb1182f3bfb29d65598576ed1a7cce2d058f6450225b4
4
+ data.tar.gz: 5a23939038037a0f82dafc55e2b54a778ba768730b028a8574466f8738601de9
5
5
  SHA512:
6
- metadata.gz: 734441eb84345999cd91883310ae473800a8e7ed4235be90e33d0efb55f04504d724faee56e3d88856f516b664c4a7921e39a0932c2ea3dbb752611daef17a18
7
- data.tar.gz: b4098e438ab6fb101903aba8f64d3eb8c46cdbb27c016eb3de585409c21dbd686e5f9b2c02b6fe8da6e9b4e150c4efe4c6661adacc3e6993d9a69cde13364fd1
6
+ metadata.gz: 8dd154dc52127040e2f4f270c132eefa5c5e9ab422e9ad9e6d2d8d9e5f1d5527807dc94747571519b6c80d67d8dcd96d9c54a726c8183c5faf457acac6b5dbf6
7
+ data.tar.gz: 1bb95fab0a8819d49bf63f325217a599af489cf30f80be74d767661e4d1dab64cf90d99cdd27d40dc9368870247df216f7677eb4311bc3ddc2e894c632c1805f
@@ -16,7 +16,7 @@
16
16
  <option name="LAST_RESOLUTION" value="IGNORE" />
17
17
  </component>
18
18
  <component name="CoverageDataManager">
19
- <SUITE FILE_PATH="coverage/SimBot@Install_My_Gem.rcov" NAME="Install My Gem Coverage Results" MODIFIED="1525370580105" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="SimBot" />
19
+ <SUITE FILE_PATH="coverage/SimBot@Install_My_Gem.rcov" NAME="Install My Gem Coverage Results" MODIFIED="1525376082299" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="SimBot" />
20
20
  </component>
21
21
  <component name="FileEditorManager">
22
22
  <splitter split-orientation="horizontal" split-proportion="0.5">
@@ -25,8 +25,8 @@
25
25
  <file leaf-file-name="SimBot.rb" pinned="false" current-in-tab="true">
26
26
  <entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
27
27
  <provider selected="true" editor-type-id="text-editor">
28
- <state relative-caret-position="479">
29
- <caret line="23" column="9" lean-forward="true" selection-start-line="23" selection-start-column="9" selection-end-line="23" selection-end-column="9" />
28
+ <state relative-caret-position="283">
29
+ <caret line="29" column="42" lean-forward="true" selection-start-line="29" selection-start-column="42" selection-end-line="29" selection-end-column="42" />
30
30
  </state>
31
31
  </provider>
32
32
  </entry>
@@ -43,8 +43,8 @@
43
43
  <file leaf-file-name="SimBot.gemspec" pinned="false" current-in-tab="false">
44
44
  <entry file="file://$PROJECT_DIR$/SimBot.gemspec">
45
45
  <provider selected="true" editor-type-id="text-editor">
46
- <state relative-caret-position="527">
47
- <caret line="24" lean-forward="true" selection-start-line="24" selection-end-line="24" />
46
+ <state relative-caret-position="377">
47
+ <caret line="36" column="35" lean-forward="true" selection-start-line="36" selection-start-column="35" selection-end-line="36" selection-end-column="35" />
48
48
  </state>
49
49
  </provider>
50
50
  </entry>
@@ -83,8 +83,8 @@
83
83
  <file leaf-file-name="utils.rb" pinned="false" current-in-tab="true">
84
84
  <entry file="file://$PROJECT_DIR$/lib/utils.rb">
85
85
  <provider selected="true" editor-type-id="text-editor">
86
- <state relative-caret-position="322">
87
- <caret line="14" column="3" lean-forward="true" selection-start-line="14" selection-start-column="3" selection-end-line="14" selection-end-column="3" />
86
+ <state relative-caret-position="368">
87
+ <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" />
88
88
  </state>
89
89
  </provider>
90
90
  </entry>
@@ -117,8 +117,8 @@
117
117
  <option value="$PROJECT_DIR$/SimBot.gemspec" />
118
118
  <option value="$PROJECT_DIR$/lib/api_controller.rb" />
119
119
  <option value="$PROJECT_DIR$/.gitignore" />
120
- <option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
121
120
  <option value="$PROJECT_DIR$/lib/SimBot.rb" />
121
+ <option value="$PROJECT_DIR$/lib/SimBot/version.rb" />
122
122
  <option value="$PROJECT_DIR$/lib/utils.rb" />
123
123
  </list>
124
124
  </option>
@@ -133,7 +133,7 @@
133
133
  <packageJsonPaths />
134
134
  </component>
135
135
  <component name="ProjectFrameBounds">
136
- <option name="x" value="1611" />
136
+ <option name="x" value="1834" />
137
137
  <option name="y" value="22" />
138
138
  <option name="width" value="1489" />
139
139
  <option name="height" value="1058" />
@@ -222,24 +222,24 @@
222
222
  <option name="number" value="Default" />
223
223
  <option name="presentableId" value="Default" />
224
224
  <updated>1525279604835</updated>
225
- <workItem from="1525279607229" duration="31554000" />
225
+ <workItem from="1525279607229" duration="35325000" />
226
226
  </task>
227
227
  <servers />
228
228
  </component>
229
229
  <component name="TimeTrackingManager">
230
- <option name="totallyTimeSpent" value="31554000" />
230
+ <option name="totallyTimeSpent" value="35325000" />
231
231
  </component>
232
232
  <component name="ToolWindowManager">
233
- <frame x="1611" y="22" width="1489" height="1058" extended-state="0" />
233
+ <frame x="1834" y="22" width="1489" height="1058" extended-state="0" />
234
234
  <editor active="true" />
235
235
  <layout>
236
236
  <window_info anchor="bottom" id="TODO" order="6" />
237
237
  <window_info anchor="bottom" id="Messages" sideWeight="0.49965397" weight="0.3293348" />
238
238
  <window_info anchor="bottom" id="Event Log" sideWeight="0.50380623" side_tool="true" weight="0.28540304" />
239
239
  <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
240
- <window_info active="true" anchor="bottom" id="Run" order="2" sideWeight="0.48719722" visible="true" weight="0.2777778" />
240
+ <window_info anchor="bottom" id="Run" order="2" sideWeight="0.48719722" weight="0.2777778" />
241
241
  <window_info anchor="bottom" id="Version Control" />
242
- <window_info anchor="bottom" id="Terminal" sideWeight="0.49619377" weight="0.3453159" />
242
+ <window_info active="true" anchor="bottom" id="Terminal" sideWeight="0.49619377" visible="true" weight="0.3453159" />
243
243
  <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.24982698" />
244
244
  <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
245
245
  <window_info anchor="right" id="Database" />
@@ -354,38 +354,38 @@
354
354
  </state>
355
355
  </provider>
356
356
  </entry>
357
- <entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
357
+ <entry file="file://$PROJECT_DIR$/lib/api_controller.rb">
358
358
  <provider selected="true" editor-type-id="text-editor">
359
- <state relative-caret-position="69">
360
- <caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
359
+ <state relative-caret-position="439">
360
+ <caret line="24" column="5" lean-forward="true" selection-start-line="24" selection-start-column="5" selection-end-line="24" selection-end-column="5" />
361
361
  </state>
362
362
  </provider>
363
363
  </entry>
364
364
  <entry file="file://$PROJECT_DIR$/SimBot.gemspec">
365
365
  <provider selected="true" editor-type-id="text-editor">
366
- <state relative-caret-position="527">
367
- <caret line="24" lean-forward="true" selection-start-line="24" selection-end-line="24" />
366
+ <state relative-caret-position="377">
367
+ <caret line="36" column="35" lean-forward="true" selection-start-line="36" selection-start-column="35" selection-end-line="36" selection-end-column="35" />
368
368
  </state>
369
369
  </provider>
370
370
  </entry>
371
- <entry file="file://$PROJECT_DIR$/lib/api_controller.rb">
371
+ <entry file="file://$PROJECT_DIR$/lib/SimBot/version.rb">
372
372
  <provider selected="true" editor-type-id="text-editor">
373
- <state relative-caret-position="439">
374
- <caret line="24" column="5" lean-forward="true" selection-start-line="24" selection-start-column="5" selection-end-line="24" selection-end-column="5" />
373
+ <state relative-caret-position="69">
374
+ <caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
375
375
  </state>
376
376
  </provider>
377
377
  </entry>
378
378
  <entry file="file://$PROJECT_DIR$/lib/SimBot.rb">
379
379
  <provider selected="true" editor-type-id="text-editor">
380
- <state relative-caret-position="479">
381
- <caret line="23" column="9" lean-forward="true" selection-start-line="23" selection-start-column="9" selection-end-line="23" selection-end-column="9" />
380
+ <state relative-caret-position="283">
381
+ <caret line="29" column="42" lean-forward="true" selection-start-line="29" selection-start-column="42" selection-end-line="29" selection-end-column="42" />
382
382
  </state>
383
383
  </provider>
384
384
  </entry>
385
385
  <entry file="file://$PROJECT_DIR$/lib/utils.rb">
386
386
  <provider selected="true" editor-type-id="text-editor">
387
- <state relative-caret-position="322">
388
- <caret line="14" column="3" lean-forward="true" selection-start-line="14" selection-start-column="3" selection-end-line="14" selection-end-column="3" />
387
+ <state relative-caret-position="368">
388
+ <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" />
389
389
  </state>
390
390
  </provider>
391
391
  </entry>
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- SimBot (0.1.1)
4
+ SimBot (0.1.2)
5
5
  json
6
6
  rest-client
7
7
  thor (~> 0.20)
@@ -1,3 +1,3 @@
1
1
  module SimBot
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  class Utils
2
2
  def self.get_bchxrp_price
3
3
  # fetch bch/xrp price from coin market cap
4
- factor = rand(1...1.05)
4
+ factor = rand(1...1.01)
5
5
  response = RestClient.get('https://api.coinmarketcap.com/v2/ticker/1831/?convert=XRP')
6
6
  hash = JSON.parse (response.body)
7
7
  return hash['data']['quotes']['XRP']['price'].to_f.round(4) * factor
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Ovadia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-03 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler