HackT 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 175e538ffca8cecf353e12ff81ff64ba84b5269d
4
- data.tar.gz: 0aa03ede3287de26e8441cef4253e4b232abdbc3
3
+ metadata.gz: 530dba1ddb1385a5d41664386653242dae82c07e
4
+ data.tar.gz: c37833c68392f55cebe9a5dff5a3add36cf55cc0
5
5
  SHA512:
6
- metadata.gz: f08a50d5da49ae5e4018b2d0010e0caa806ea18227de7a404b373555658b4a35aa0555c70fbe85cbc5f020c2e696548c0396bd7bb5654d1c6965bbb2a7198c06
7
- data.tar.gz: 4ea009475eda94e3f2c993d5420b7e3285dbaa56edf9889078ccfdc7fcee8c2582d8cfd64285e7add40343ff4a237149ac73a7be65d479c842d0e861f80c58c1
6
+ metadata.gz: add95dd78b54d584b11f128de37108f6f8c0530ad1c6a00210ae024e6b1f9a9df06134cf412505951ce8f29576c74c4085d1a935c541759de301f2a1a07e807a
7
+ data.tar.gz: 50d061415e75b4ac987057b7025ecff82bdbbebbbf1d28944e5d607e32a27e60a1145e36200c5d0d80bbb5ccaeec60240ecb49dfc3793ea7c2354de727140c96
@@ -14,7 +14,7 @@
14
14
  </component>
15
15
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
16
16
  <component name="CoverageDataManager">
17
- <SUITE FILE_PATH="coverage/HackT@console.coverage" NAME="console Coverage Results" MODIFIED="1452339660240" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bin" MODULE_NAME="HackT" />
17
+ <SUITE FILE_PATH="coverage/HackT@console.coverage" NAME="console Coverage Results" MODIFIED="1452362855566" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/bin" MODULE_NAME="HackT" />
18
18
  <SUITE FILE_PATH="coverage/HackT@request.coverage" NAME="request Coverage Results" MODIFIED="1452177492784" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/hackt" MODULE_NAME="HackT" />
19
19
  </component>
20
20
  <component name="CreatePatchCommitExecutor">
@@ -30,7 +30,7 @@
30
30
  <entry file="file://$PROJECT_DIR$/lib/HackT.rb">
31
31
  <provider selected="true" editor-type-id="text-editor">
32
32
  <state vertical-scroll-proportion="0.0">
33
- <caret line="1" column="1" selection-start-line="1" selection-start-column="1" selection-end-line="1" selection-end-column="1" />
33
+ <caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
34
34
  <folding />
35
35
  </state>
36
36
  </provider>
@@ -66,10 +66,10 @@
66
66
  </provider>
67
67
  </entry>
68
68
  </file>
69
- <file leaf-file-name="console" pinned="false" current-in-tab="true">
69
+ <file leaf-file-name="console" pinned="false" current-in-tab="false">
70
70
  <entry file="file://$PROJECT_DIR$/bin/console">
71
71
  <provider selected="true" editor-type-id="text-editor">
72
- <state vertical-scroll-proportion="0.4117647">
72
+ <state vertical-scroll-proportion="0.0">
73
73
  <caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
74
74
  <folding />
75
75
  </state>
@@ -106,11 +106,11 @@
106
106
  </provider>
107
107
  </entry>
108
108
  </file>
109
- <file leaf-file-name="request.rb" pinned="false" current-in-tab="false">
109
+ <file leaf-file-name="request.rb" pinned="false" current-in-tab="true">
110
110
  <entry file="file://$PROJECT_DIR$/lib/hackt/request.rb">
111
111
  <provider selected="true" editor-type-id="text-editor">
112
- <state vertical-scroll-proportion="0.0">
113
- <caret line="88" column="0" selection-start-line="88" selection-start-column="0" selection-end-line="88" selection-end-column="0" />
112
+ <state vertical-scroll-proportion="0.74019605">
113
+ <caret line="158" column="46" selection-start-line="158" selection-start-column="46" selection-end-line="158" selection-end-column="46" />
114
114
  <folding />
115
115
  </state>
116
116
  </provider>
@@ -135,7 +135,6 @@
135
135
  <option value="$PROJECT_DIR$/lib/hackt/hackex.rb" />
136
136
  <option value="$PROJECT_DIR$/lib/hackt/net/std.rb" />
137
137
  <option value="$PROJECT_DIR$/Rakefile" />
138
- <option value="$PROJECT_DIR$/lib/HackT.rb" />
139
138
  <option value="$PROJECT_DIR$/lib/hackt/error.rb" />
140
139
  <option value="$PROJECT_DIR$/bin/game" />
141
140
  <option value="$PROJECT_DIR$/lib/hackt/net.rb" />
@@ -143,6 +142,7 @@
143
142
  <option value="$PROJECT_DIR$/HackT.gemspec" />
144
143
  <option value="$PROJECT_DIR$/bin/console" />
145
144
  <option value="$PROJECT_DIR$/Gemfile" />
145
+ <option value="$PROJECT_DIR$/lib/HackT.rb" />
146
146
  <option value="$PROJECT_DIR$/lib/hackt/request.rb" />
147
147
  </list>
148
148
  </option>
@@ -156,9 +156,9 @@
156
156
  </component>
157
157
  <component name="ProjectFrameBounds">
158
158
  <option name="x" value="65" />
159
- <option name="y" value="-4" />
159
+ <option name="y" value="24" />
160
160
  <option name="width" value="1615" />
161
- <option name="height" value="1054" />
161
+ <option name="height" value="1026" />
162
162
  </component>
163
163
  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
164
164
  <OptionsSetting value="true" id="Add" />
@@ -183,8 +183,6 @@
183
183
  <sortByType />
184
184
  </navigator>
185
185
  <panes>
186
- <pane id="Scope" />
187
- <pane id="Scratches" />
188
186
  <pane id="ProjectPane">
189
187
  <subPane>
190
188
  <PATH>
@@ -251,6 +249,8 @@
251
249
  </PATH>
252
250
  </subPane>
253
251
  </pane>
252
+ <pane id="Scope" />
253
+ <pane id="Scratches" />
254
254
  </panes>
255
255
  </component>
256
256
  <component name="PropertiesComponent">
@@ -403,8 +403,8 @@
403
403
  </list>
404
404
  <recent_temporary>
405
405
  <list size="2">
406
- <item index="0" class="java.lang.String" itemvalue="Ruby.console" />
407
- <item index="1" class="java.lang.String" itemvalue="Ruby.request" />
406
+ <item index="0" class="java.lang.String" itemvalue="Ruby.request" />
407
+ <item index="1" class="java.lang.String" itemvalue="Ruby.console" />
408
408
  </list>
409
409
  </recent_temporary>
410
410
  </component>
@@ -431,27 +431,27 @@
431
431
  </todo-panel>
432
432
  </component>
433
433
  <component name="ToolWindowManager">
434
- <frame x="65" y="-4" width="1615" height="1054" extended-state="6" />
435
- <editor active="false" />
434
+ <frame x="65" y="24" width="1615" height="1026" extended-state="6" />
435
+ <editor active="true" />
436
436
  <layout>
437
437
  <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3197492" sideWeight="0.734863" order="7" side_tool="false" content_ui="tabs" />
438
438
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32938644" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
439
439
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
440
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
440
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2530274" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
441
441
  <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
442
442
  <window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
443
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2715105" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
444
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
445
- <window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3291536" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
443
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.2753346" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
446
444
  <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
447
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32077503" sideWeight="0.26513702" order="7" side_tool="true" content_ui="tabs" />
445
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3291536" sideWeight="0.3499044" order="7" side_tool="true" content_ui="tabs" />
448
446
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
449
447
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
450
448
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
451
449
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32938644" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
452
450
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
451
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
453
452
  <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32948583" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
454
453
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
454
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3291536" sideWeight="0.6500956" order="2" side_tool="false" content_ui="tabs" />
455
455
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
456
456
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
457
457
  <window_info id="Thumbnails" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32948583" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
@@ -796,14 +796,6 @@
796
796
  </state>
797
797
  </provider>
798
798
  </entry>
799
- <entry file="file://$PROJECT_DIR$/lib/hackt/net.rb">
800
- <provider selected="true" editor-type-id="text-editor">
801
- <state vertical-scroll-proportion="0.0">
802
- <caret line="2" column="22" selection-start-line="2" selection-start-column="22" selection-end-line="2" selection-end-column="22" />
803
- <folding />
804
- </state>
805
- </provider>
806
- </entry>
807
799
  <entry file="file://$PROJECT_DIR$/lib/hackt/error.rb">
808
800
  <provider selected="true" editor-type-id="text-editor">
809
801
  <state vertical-scroll-proportion="0.0">
@@ -828,14 +820,6 @@
828
820
  </state>
829
821
  </provider>
830
822
  </entry>
831
- <entry file="file://$PROJECT_DIR$/lib/HackT.rb">
832
- <provider selected="true" editor-type-id="text-editor">
833
- <state vertical-scroll-proportion="0.0">
834
- <caret line="1" column="1" selection-start-line="1" selection-start-column="1" selection-end-line="1" selection-end-column="1" />
835
- <folding />
836
- </state>
837
- </provider>
838
- </entry>
839
823
  <entry file="file://$PROJECT_DIR$/Rakefile">
840
824
  <provider selected="true" editor-type-id="text-editor">
841
825
  <state vertical-scroll-proportion="0.0">
@@ -860,21 +844,37 @@
860
844
  </state>
861
845
  </provider>
862
846
  </entry>
863
- <entry file="file://$PROJECT_DIR$/lib/hackt/request.rb">
847
+ <entry file="file://$PROJECT_DIR$/lib/hackt/net.rb">
864
848
  <provider selected="true" editor-type-id="text-editor">
865
849
  <state vertical-scroll-proportion="0.0">
866
- <caret line="88" column="0" selection-start-line="88" selection-start-column="0" selection-end-line="88" selection-end-column="0" />
850
+ <caret line="2" column="22" selection-start-line="2" selection-start-column="22" selection-end-line="2" selection-end-column="22" />
851
+ <folding />
852
+ </state>
853
+ </provider>
854
+ </entry>
855
+ <entry file="file://$PROJECT_DIR$/lib/HackT.rb">
856
+ <provider selected="true" editor-type-id="text-editor">
857
+ <state vertical-scroll-proportion="0.0">
858
+ <caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
867
859
  <folding />
868
860
  </state>
869
861
  </provider>
870
862
  </entry>
871
863
  <entry file="file://$PROJECT_DIR$/bin/console">
872
864
  <provider selected="true" editor-type-id="text-editor">
873
- <state vertical-scroll-proportion="0.4117647">
865
+ <state vertical-scroll-proportion="0.0">
874
866
  <caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
875
867
  <folding />
876
868
  </state>
877
869
  </provider>
878
870
  </entry>
871
+ <entry file="file://$PROJECT_DIR$/lib/hackt/request.rb">
872
+ <provider selected="true" editor-type-id="text-editor">
873
+ <state vertical-scroll-proportion="0.74019605">
874
+ <caret line="158" column="46" selection-start-line="158" selection-start-column="46" selection-end-line="158" selection-end-column="46" />
875
+ <folding />
876
+ </state>
877
+ </provider>
878
+ </entry>
879
879
  </component>
880
880
  </project>
@@ -4,6 +4,6 @@ module HackT
4
4
  require 'hackt/request'
5
5
 
6
6
 
7
- VERSION = '0.0.2'
7
+ VERSION = '0.0.3'
8
8
  URL = 'http://melgarn.xyz/'
9
9
  end
@@ -152,6 +152,14 @@ module HackT
152
152
  HackTNet::Get '/process/info', auth_token: auth_token
153
153
  end
154
154
 
155
+ def ProcessOverclock(auth_token, process_id)
156
+ HackTNet::Post '/process/overclock', auth_token: auth_token, process_id: process_id
157
+ end
158
+
159
+ def ProcessRetry(auth_token, process_id)
160
+ HackTNet::Post '/process/retry', auth_token: auth_token, process_id: process_id
161
+ end
162
+
155
163
  def EndProcess(auth_token, process_id)
156
164
  HackTNet::Post '/process/end', auth_token: auth_token, process_id: process_id
157
165
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HackT
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - grig191
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-09 00:00:00.000000000 Z
11
+ date: 2016-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler