freewifi 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/freewifi.iml +22 -2
- data/.idea/workspace.xml +161 -182
- data/freewifi.gemspec +2 -1
- data/lib/freewifi/additional/additional_functions.rb +29 -9
- data/lib/freewifi/cisco/cisco_schemes_conf_gen.rb +12 -0
- data/lib/freewifi/config.rb +4 -0
- data/lib/freewifi/database/mongo/mongoconnector.rb +24 -19
- data/lib/freewifi/database/mysql/database_methods_wifi.rb +1 -1
- data/lib/freewifi/mikrotik/newhub_mtik_ssh.rb +321 -0
- data/lib/freewifi/mikrotik/schemes_conf_gen.rb +54 -0
- data/lib/freewifi/params.rb +6 -0
- data/lib/freewifi/version.rb +2 -2
- data/lib/freewifi.rb +119 -43
- metadata +20 -2
- data/lib/freewifi/mikrotik/hewhub_mtik_ssh.rb +0 -204
data/.idea/workspace.xml
CHANGED
@@ -20,10 +20,14 @@
|
|
20
20
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/freewifi.gemspec" />
|
21
21
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi.rb" />
|
22
22
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb" />
|
23
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/cisco/cisco_schemes_conf_gen.rb" />
|
24
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/config.rb" />
|
23
25
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/database/mongo/mongoconnector.rb" />
|
24
26
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/database/mysql/database_methods_wifi.rb" />
|
25
27
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/mikrotik/getsubscribermikrotik.rb" />
|
26
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/mikrotik/
|
28
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb" />
|
29
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/mikrotik/schemes_conf_gen.rb" />
|
30
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/params.rb" />
|
27
31
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/freewifi/version.rb" />
|
28
32
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/test/freewifi_test.rb" />
|
29
33
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/test/test_helper.rb" />
|
@@ -37,58 +41,49 @@
|
|
37
41
|
</component>
|
38
42
|
<component name="ChangesViewManager" flattened_view="false" />
|
39
43
|
<component name="CoverageDataManager">
|
40
|
-
<SUITE FILE_PATH="coverage/freewifi@
|
44
|
+
<SUITE FILE_PATH="coverage/freewifi@additional_functions.coverage" NAME="additional_functions Coverage Results" MODIFIED="1588023723762" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/freewifi/additional" MODULE_NAME="freewifi" />
|
45
|
+
<SUITE FILE_PATH="coverage/freewifi@test_helper.coverage" NAME="test_helper Coverage Results" MODIFIED="1588028754516" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/test" MODULE_NAME="freewifi" />
|
41
46
|
<SUITE FILE_PATH="coverage/freewifi@test.coverage" NAME="test Coverage Results" MODIFIED="1587924491650" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/test" MODULE_NAME="freewifi" />
|
42
47
|
<SUITE FILE_PATH="coverage/freewifi@hewhub_mtik_ssh.coverage" NAME="hewhub_mtik_ssh Coverage Results" MODIFIED="1587796347972" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/freewifi/mikrotik" MODULE_NAME="freewifi" />
|
43
48
|
</component>
|
44
49
|
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
45
50
|
<component name="FileEditorManager">
|
46
51
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
47
|
-
<file leaf-file-name="freewifi.
|
48
|
-
<entry file="file://$PROJECT_DIR$/freewifi.
|
52
|
+
<file leaf-file-name="freewifi.rb" pinned="false" current-in-tab="false">
|
53
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
|
49
54
|
<provider selected="true" editor-type-id="text-editor">
|
50
|
-
<state relative-caret-position="
|
51
|
-
<caret line="
|
55
|
+
<state relative-caret-position="86">
|
56
|
+
<caret line="167" column="0" lean-forward="false" selection-start-line="167" selection-start-column="0" selection-end-line="167" selection-end-column="0" />
|
52
57
|
<folding />
|
53
58
|
</state>
|
54
59
|
</provider>
|
55
60
|
</entry>
|
56
61
|
</file>
|
57
|
-
<file leaf-file-name="
|
58
|
-
<entry file="file://$PROJECT_DIR$/
|
62
|
+
<file leaf-file-name="schemes_conf_gen.rb" pinned="false" current-in-tab="false">
|
63
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/schemes_conf_gen.rb">
|
59
64
|
<provider selected="true" editor-type-id="text-editor">
|
60
|
-
<state relative-caret-position="
|
61
|
-
<caret line="
|
65
|
+
<state relative-caret-position="183">
|
66
|
+
<caret line="14" column="0" lean-forward="true" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
|
62
67
|
<folding />
|
63
68
|
</state>
|
64
69
|
</provider>
|
65
70
|
</entry>
|
66
71
|
</file>
|
67
|
-
<file leaf-file-name="test_helper.rb" pinned="false" current-in-tab="
|
72
|
+
<file leaf-file-name="test_helper.rb" pinned="false" current-in-tab="true">
|
68
73
|
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
69
74
|
<provider selected="true" editor-type-id="text-editor">
|
70
|
-
<state relative-caret-position="
|
71
|
-
<caret line="
|
75
|
+
<state relative-caret-position="355">
|
76
|
+
<caret line="29" column="1" lean-forward="true" selection-start-line="29" selection-start-column="1" selection-end-line="29" selection-end-column="1" />
|
72
77
|
<folding />
|
73
78
|
</state>
|
74
79
|
</provider>
|
75
80
|
</entry>
|
76
81
|
</file>
|
77
|
-
<file leaf-file-name="
|
78
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/
|
82
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
83
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
|
79
84
|
<provider selected="true" editor-type-id="text-editor">
|
80
85
|
<state relative-caret-position="0">
|
81
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="
|
82
|
-
<folding />
|
83
|
-
</state>
|
84
|
-
</provider>
|
85
|
-
</entry>
|
86
|
-
</file>
|
87
|
-
<file leaf-file-name="hewhub_mtik_ssh.rb" pinned="false" current-in-tab="false">
|
88
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/hewhub_mtik_ssh.rb">
|
89
|
-
<provider selected="true" editor-type-id="text-editor">
|
90
|
-
<state relative-caret-position="-2410">
|
91
|
-
<caret line="27" column="37" lean-forward="false" selection-start-line="27" selection-start-column="37" selection-end-line="27" selection-end-column="37" />
|
86
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="2" selection-end-column="3" />
|
92
87
|
<folding />
|
93
88
|
</state>
|
94
89
|
</provider>
|
@@ -97,38 +92,28 @@
|
|
97
92
|
<file leaf-file-name="mongoconnector.rb" pinned="false" current-in-tab="false">
|
98
93
|
<entry file="file://$PROJECT_DIR$/lib/freewifi/database/mongo/mongoconnector.rb">
|
99
94
|
<provider selected="true" editor-type-id="text-editor">
|
100
|
-
<state relative-caret-position="
|
101
|
-
<caret line="
|
95
|
+
<state relative-caret-position="290">
|
96
|
+
<caret line="20" column="0" lean-forward="true" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" />
|
102
97
|
<folding />
|
103
98
|
</state>
|
104
99
|
</provider>
|
105
100
|
</entry>
|
106
101
|
</file>
|
107
|
-
<file leaf-file-name="
|
108
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
|
102
|
+
<file leaf-file-name="params.rb" pinned="false" current-in-tab="false">
|
103
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/params.rb">
|
109
104
|
<provider selected="true" editor-type-id="text-editor">
|
110
|
-
<state relative-caret-position="
|
111
|
-
<caret line="
|
105
|
+
<state relative-caret-position="41700">
|
106
|
+
<caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
112
107
|
<folding />
|
113
108
|
</state>
|
114
109
|
</provider>
|
115
110
|
</entry>
|
116
111
|
</file>
|
117
|
-
<file leaf-file-name="
|
118
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/
|
112
|
+
<file leaf-file-name="config.rb" pinned="false" current-in-tab="false">
|
113
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/config.rb">
|
119
114
|
<provider selected="true" editor-type-id="text-editor">
|
120
|
-
<state relative-caret-position="
|
121
|
-
<caret line="
|
122
|
-
<folding />
|
123
|
-
</state>
|
124
|
-
</provider>
|
125
|
-
</entry>
|
126
|
-
</file>
|
127
|
-
<file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
|
128
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
|
129
|
-
<provider selected="true" editor-type-id="text-editor">
|
130
|
-
<state relative-caret-position="15">
|
131
|
-
<caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
115
|
+
<state relative-caret-position="60">
|
116
|
+
<caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
132
117
|
<folding />
|
133
118
|
</state>
|
134
119
|
</provider>
|
@@ -137,8 +122,8 @@
|
|
137
122
|
<file leaf-file-name="additional_functions.rb" pinned="false" current-in-tab="false">
|
138
123
|
<entry file="file://$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb">
|
139
124
|
<provider selected="true" editor-type-id="text-editor">
|
140
|
-
<state relative-caret-position="
|
141
|
-
<caret line="
|
125
|
+
<state relative-caret-position="422">
|
126
|
+
<caret line="53" column="47" lean-forward="true" selection-start-line="53" selection-start-column="6" selection-end-line="53" selection-end-column="47" />
|
142
127
|
<folding />
|
143
128
|
</state>
|
144
129
|
</provider>
|
@@ -155,14 +140,20 @@
|
|
155
140
|
<option value="$PROJECT_DIR$/lib/freewifi/hewhub_mtik.rb" />
|
156
141
|
<option value="$PROJECT_DIR$/test/test.rb" />
|
157
142
|
<option value="$PROJECT_DIR$/lib/freewifi/database/mysql/database_methods.rb" />
|
158
|
-
<option value="$PROJECT_DIR$/freewifi.gemspec" />
|
159
|
-
<option value="$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb" />
|
160
143
|
<option value="$PROJECT_DIR$/lib/freewifi/database/mysql/database_methods_wifi.rb" />
|
144
|
+
<option value="$PROJECT_DIR$/lib/freewifi/version.rb" />
|
145
|
+
<option value="$PROJECT_DIR$/lib/freewifi/database/mysql/database_methods_wifi_1.rb" />
|
146
|
+
<option value="$PROJECT_DIR$/lib/freewifi/mikrotik/hewhub_mtik_ssh.rb" />
|
147
|
+
<option value="$PROJECT_DIR$/lib/freewifi/cisco/cisco_schemes_conf_gen.rb" />
|
148
|
+
<option value="$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb" />
|
149
|
+
<option value="$PROJECT_DIR$/freewifi.gemspec" />
|
150
|
+
<option value="$PROJECT_DIR$/lib/freewifi/params.rb" />
|
161
151
|
<option value="$PROJECT_DIR$/lib/freewifi/database/mongo/mongoconnector.rb" />
|
162
|
-
<option value="$PROJECT_DIR$/
|
152
|
+
<option value="$PROJECT_DIR$/lib/freewifi/config.rb" />
|
153
|
+
<option value="$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb" />
|
154
|
+
<option value="$PROJECT_DIR$/lib/freewifi/mikrotik/schemes_conf_gen.rb" />
|
163
155
|
<option value="$PROJECT_DIR$/lib/freewifi.rb" />
|
164
|
-
<option value="$PROJECT_DIR$/
|
165
|
-
<option value="$PROJECT_DIR$/lib/freewifi/version.rb" />
|
156
|
+
<option value="$PROJECT_DIR$/test/test_helper.rb" />
|
166
157
|
</list>
|
167
158
|
</option>
|
168
159
|
</component>
|
@@ -272,58 +263,6 @@
|
|
272
263
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
273
264
|
</PATH_ELEMENT>
|
274
265
|
</PATH>
|
275
|
-
<PATH>
|
276
|
-
<PATH_ELEMENT>
|
277
|
-
<option name="myItemId" value="freewifi" />
|
278
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
279
|
-
</PATH_ELEMENT>
|
280
|
-
<PATH_ELEMENT>
|
281
|
-
<option name="myItemId" value="freewifi" />
|
282
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
283
|
-
</PATH_ELEMENT>
|
284
|
-
<PATH_ELEMENT>
|
285
|
-
<option name="myItemId" value="lib" />
|
286
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
287
|
-
</PATH_ELEMENT>
|
288
|
-
<PATH_ELEMENT>
|
289
|
-
<option name="myItemId" value="freewifi" />
|
290
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
291
|
-
</PATH_ELEMENT>
|
292
|
-
<PATH_ELEMENT>
|
293
|
-
<option name="myItemId" value="database" />
|
294
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
295
|
-
</PATH_ELEMENT>
|
296
|
-
<PATH_ELEMENT>
|
297
|
-
<option name="myItemId" value="mysql" />
|
298
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
299
|
-
</PATH_ELEMENT>
|
300
|
-
</PATH>
|
301
|
-
<PATH>
|
302
|
-
<PATH_ELEMENT>
|
303
|
-
<option name="myItemId" value="freewifi" />
|
304
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
305
|
-
</PATH_ELEMENT>
|
306
|
-
<PATH_ELEMENT>
|
307
|
-
<option name="myItemId" value="freewifi" />
|
308
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
309
|
-
</PATH_ELEMENT>
|
310
|
-
<PATH_ELEMENT>
|
311
|
-
<option name="myItemId" value="lib" />
|
312
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
313
|
-
</PATH_ELEMENT>
|
314
|
-
<PATH_ELEMENT>
|
315
|
-
<option name="myItemId" value="freewifi" />
|
316
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
317
|
-
</PATH_ELEMENT>
|
318
|
-
<PATH_ELEMENT>
|
319
|
-
<option name="myItemId" value="database" />
|
320
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
321
|
-
</PATH_ELEMENT>
|
322
|
-
<PATH_ELEMENT>
|
323
|
-
<option name="myItemId" value="mongo" />
|
324
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
325
|
-
</PATH_ELEMENT>
|
326
|
-
</PATH>
|
327
266
|
<PATH>
|
328
267
|
<PATH_ELEMENT>
|
329
268
|
<option name="myItemId" value="freewifi" />
|
@@ -376,6 +315,25 @@
|
|
376
315
|
</option>
|
377
316
|
</component>
|
378
317
|
<component name="RunManager" selected="Ruby.test_helper">
|
318
|
+
<configuration default="false" name="additional_functions" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
319
|
+
<module name="freewifi" />
|
320
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
321
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/freewifi/additional" />
|
322
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
323
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
324
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
325
|
+
<envs />
|
326
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
327
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
328
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
329
|
+
<COVERAGE_PATTERN ENABLED="true">
|
330
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
331
|
+
</COVERAGE_PATTERN>
|
332
|
+
</EXTENSION>
|
333
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/freewifi/additional/additional_functions.rb" />
|
334
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
335
|
+
<method />
|
336
|
+
</configuration>
|
379
337
|
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
380
338
|
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
381
339
|
<module name="" />
|
@@ -519,15 +477,36 @@
|
|
519
477
|
<envs />
|
520
478
|
<method />
|
521
479
|
</configuration>
|
522
|
-
<
|
480
|
+
<configuration default="false" name="newhub_mtik_ssh" type="RubyRunConfigurationType" factoryName="Ruby">
|
481
|
+
<module name="freewifi" />
|
482
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
483
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/freewifi/mikrotik" />
|
484
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
485
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
486
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
487
|
+
<envs />
|
488
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
489
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
490
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
491
|
+
<COVERAGE_PATTERN ENABLED="true">
|
492
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
493
|
+
</COVERAGE_PATTERN>
|
494
|
+
</EXTENSION>
|
495
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb" />
|
496
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
497
|
+
<method />
|
498
|
+
</configuration>
|
499
|
+
<list size="4">
|
523
500
|
<item index="0" class="java.lang.String" itemvalue="Ruby.test_helper" />
|
524
|
-
<item index="1" class="java.lang.String" itemvalue="Ruby.
|
501
|
+
<item index="1" class="java.lang.String" itemvalue="Ruby.newhub_mtik_ssh" />
|
525
502
|
<item index="2" class="java.lang.String" itemvalue="Ruby.test" />
|
503
|
+
<item index="3" class="java.lang.String" itemvalue="Ruby.additional_functions" />
|
526
504
|
</list>
|
527
505
|
<recent_temporary>
|
528
|
-
<list size="
|
529
|
-
<item index="0" class="java.lang.String" itemvalue="Ruby.
|
530
|
-
<item index="1" class="java.lang.String" itemvalue="Ruby.
|
506
|
+
<list size="3">
|
507
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.additional_functions" />
|
508
|
+
<item index="1" class="java.lang.String" itemvalue="Ruby.test" />
|
509
|
+
<item index="2" class="java.lang.String" itemvalue="Ruby.newhub_mtik_ssh" />
|
531
510
|
</list>
|
532
511
|
</recent_temporary>
|
533
512
|
</component>
|
@@ -561,22 +540,22 @@
|
|
561
540
|
<workItem from="1586354062505" duration="297000" />
|
562
541
|
<workItem from="1586463231468" duration="598000" />
|
563
542
|
<workItem from="1587794173933" duration="25602000" />
|
564
|
-
<workItem from="1588004674911" duration="
|
543
|
+
<workItem from="1588004674911" duration="18896000" />
|
565
544
|
</task>
|
566
545
|
<servers />
|
567
546
|
</component>
|
568
547
|
<component name="TimeTrackingManager">
|
569
|
-
<option name="totallyTimeSpent" value="
|
548
|
+
<option name="totallyTimeSpent" value="56630000" />
|
570
549
|
</component>
|
571
550
|
<component name="ToolWindowManager">
|
572
551
|
<frame x="0" y="0" width="1440" height="900" extended-state="6" />
|
573
|
-
<editor active="true" />
|
574
552
|
<layout>
|
575
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.
|
553
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24177396" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
576
554
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
577
555
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
578
556
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
579
|
-
<window_info id="
|
557
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
558
|
+
<window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3283582" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
580
559
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
581
560
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
582
561
|
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
@@ -587,7 +566,6 @@
|
|
587
566
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
588
567
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
589
568
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
590
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
591
569
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
592
570
|
</layout>
|
593
571
|
</component>
|
@@ -602,45 +580,6 @@
|
|
602
580
|
<watches-manager />
|
603
581
|
</component>
|
604
582
|
<component name="editorHistoryManager">
|
605
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
|
606
|
-
<provider selected="true" editor-type-id="text-editor">
|
607
|
-
<state relative-caret-position="45">
|
608
|
-
<caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
609
|
-
<folding />
|
610
|
-
</state>
|
611
|
-
</provider>
|
612
|
-
</entry>
|
613
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
|
614
|
-
<provider selected="true" editor-type-id="text-editor">
|
615
|
-
<state relative-caret-position="15">
|
616
|
-
<caret line="1" column="0" lean-forward="false" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
617
|
-
<folding />
|
618
|
-
</state>
|
619
|
-
</provider>
|
620
|
-
</entry>
|
621
|
-
<entry file="file://$PROJECT_DIR$/test/freewifi_test.rb">
|
622
|
-
<provider selected="true" editor-type-id="text-editor">
|
623
|
-
<state relative-caret-position="0">
|
624
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
625
|
-
</state>
|
626
|
-
</provider>
|
627
|
-
</entry>
|
628
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/hewhub_mtik_ssh.rb">
|
629
|
-
<provider selected="true" editor-type-id="text-editor">
|
630
|
-
<state relative-caret-position="1095">
|
631
|
-
<caret line="73" column="7" lean-forward="false" selection-start-line="73" selection-start-column="7" selection-end-line="73" selection-end-column="7" />
|
632
|
-
<folding />
|
633
|
-
</state>
|
634
|
-
</provider>
|
635
|
-
</entry>
|
636
|
-
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
637
|
-
<provider selected="true" editor-type-id="text-editor">
|
638
|
-
<state relative-caret-position="240">
|
639
|
-
<caret line="16" column="0" lean-forward="false" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
|
640
|
-
<folding />
|
641
|
-
</state>
|
642
|
-
</provider>
|
643
|
-
</entry>
|
644
583
|
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/getsubscribermikrotik.rb">
|
645
584
|
<provider selected="true" editor-type-id="text-editor">
|
646
585
|
<state relative-caret-position="0">
|
@@ -673,7 +612,7 @@
|
|
673
612
|
</state>
|
674
613
|
</provider>
|
675
614
|
</entry>
|
676
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/
|
615
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
|
677
616
|
<provider selected="true" editor-type-id="text-editor">
|
678
617
|
<state relative-caret-position="360">
|
679
618
|
<caret line="24" column="0" lean-forward="false" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
|
@@ -721,7 +660,7 @@
|
|
721
660
|
</state>
|
722
661
|
</provider>
|
723
662
|
</entry>
|
724
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/
|
663
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
|
725
664
|
<provider selected="true" editor-type-id="text-editor">
|
726
665
|
<state relative-caret-position="360">
|
727
666
|
<caret line="24" column="0" lean-forward="false" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
|
@@ -769,7 +708,7 @@
|
|
769
708
|
</state>
|
770
709
|
</provider>
|
771
710
|
</entry>
|
772
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/
|
711
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
|
773
712
|
<provider selected="true" editor-type-id="text-editor">
|
774
713
|
<state relative-caret-position="360">
|
775
714
|
<caret line="24" column="0" lean-forward="false" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
|
@@ -809,7 +748,7 @@
|
|
809
748
|
</state>
|
810
749
|
</provider>
|
811
750
|
</entry>
|
812
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/
|
751
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
|
813
752
|
<provider selected="true" editor-type-id="text-editor">
|
814
753
|
<state relative-caret-position="360">
|
815
754
|
<caret line="24" column="0" lean-forward="false" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
|
@@ -849,7 +788,7 @@
|
|
849
788
|
</state>
|
850
789
|
</provider>
|
851
790
|
</entry>
|
852
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/
|
791
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
|
853
792
|
<provider selected="true" editor-type-id="text-editor">
|
854
793
|
<state relative-caret-position="360">
|
855
794
|
<caret line="24" column="0" lean-forward="true" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
|
@@ -933,10 +872,10 @@
|
|
933
872
|
</state>
|
934
873
|
</provider>
|
935
874
|
</entry>
|
936
|
-
<entry file="file://$PROJECT_DIR$/freewifi.
|
875
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/getsubscribermikrotik.rb">
|
937
876
|
<provider selected="true" editor-type-id="text-editor">
|
938
|
-
<state relative-caret-position="
|
939
|
-
<caret line="
|
877
|
+
<state relative-caret-position="0">
|
878
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
940
879
|
<folding />
|
941
880
|
</state>
|
942
881
|
</provider>
|
@@ -949,58 +888,98 @@
|
|
949
888
|
</state>
|
950
889
|
</provider>
|
951
890
|
</entry>
|
952
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/
|
891
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/cisco_schemes_conf_gen.rb">
|
892
|
+
<provider selected="true" editor-type-id="text-editor">
|
893
|
+
<state relative-caret-position="120">
|
894
|
+
<caret line="8" column="0" lean-forward="true" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
|
895
|
+
<folding />
|
896
|
+
</state>
|
897
|
+
</provider>
|
898
|
+
</entry>
|
899
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.4.1/gems/net-ssh-4.0.1/lib/net/ssh/prompt.rb">
|
900
|
+
<provider selected="true" editor-type-id="text-editor">
|
901
|
+
<state relative-caret-position="170">
|
902
|
+
<caret line="43" column="0" lean-forward="false" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
|
903
|
+
<folding />
|
904
|
+
</state>
|
905
|
+
</provider>
|
906
|
+
</entry>
|
907
|
+
<entry file="file://$PROJECT_DIR$/freewifi.gemspec">
|
908
|
+
<provider selected="true" editor-type-id="text-editor">
|
909
|
+
<state relative-caret-position="437">
|
910
|
+
<caret line="43" column="0" lean-forward="true" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
|
911
|
+
<folding />
|
912
|
+
</state>
|
913
|
+
</provider>
|
914
|
+
</entry>
|
915
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
|
916
|
+
<provider selected="true" editor-type-id="text-editor">
|
917
|
+
<state relative-caret-position="91">
|
918
|
+
<caret line="19" column="0" lean-forward="false" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
|
919
|
+
<folding />
|
920
|
+
</state>
|
921
|
+
</provider>
|
922
|
+
</entry>
|
923
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
|
953
924
|
<provider selected="true" editor-type-id="text-editor">
|
954
925
|
<state relative-caret-position="0">
|
955
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="
|
926
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="2" selection-end-column="3" />
|
956
927
|
<folding />
|
957
928
|
</state>
|
958
929
|
</provider>
|
959
930
|
</entry>
|
960
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/
|
931
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/params.rb">
|
961
932
|
<provider selected="true" editor-type-id="text-editor">
|
962
|
-
<state relative-caret-position="
|
963
|
-
<caret line="
|
933
|
+
<state relative-caret-position="41700">
|
934
|
+
<caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
964
935
|
<folding />
|
965
936
|
</state>
|
966
937
|
</provider>
|
967
938
|
</entry>
|
968
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
|
939
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/config.rb">
|
969
940
|
<provider selected="true" editor-type-id="text-editor">
|
970
|
-
<state relative-caret-position="
|
971
|
-
<caret line="
|
941
|
+
<state relative-caret-position="60">
|
942
|
+
<caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
943
|
+
<folding />
|
944
|
+
</state>
|
945
|
+
</provider>
|
946
|
+
</entry>
|
947
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb">
|
948
|
+
<provider selected="true" editor-type-id="text-editor">
|
949
|
+
<state relative-caret-position="422">
|
950
|
+
<caret line="53" column="47" lean-forward="true" selection-start-line="53" selection-start-column="6" selection-end-line="53" selection-end-column="47" />
|
972
951
|
<folding />
|
973
952
|
</state>
|
974
953
|
</provider>
|
975
954
|
</entry>
|
976
955
|
<entry file="file://$PROJECT_DIR$/lib/freewifi/database/mongo/mongoconnector.rb">
|
977
956
|
<provider selected="true" editor-type-id="text-editor">
|
978
|
-
<state relative-caret-position="
|
979
|
-
<caret line="
|
957
|
+
<state relative-caret-position="290">
|
958
|
+
<caret line="20" column="0" lean-forward="true" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" />
|
980
959
|
<folding />
|
981
960
|
</state>
|
982
961
|
</provider>
|
983
962
|
</entry>
|
984
|
-
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/
|
963
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/schemes_conf_gen.rb">
|
985
964
|
<provider selected="true" editor-type-id="text-editor">
|
986
|
-
<state relative-caret-position="
|
987
|
-
<caret line="
|
965
|
+
<state relative-caret-position="183">
|
966
|
+
<caret line="14" column="0" lean-forward="true" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
|
988
967
|
<folding />
|
989
968
|
</state>
|
990
969
|
</provider>
|
991
970
|
</entry>
|
992
|
-
<entry file="file://$PROJECT_DIR$/
|
971
|
+
<entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
|
993
972
|
<provider selected="true" editor-type-id="text-editor">
|
994
|
-
<state relative-caret-position="
|
995
|
-
<caret line="
|
973
|
+
<state relative-caret-position="86">
|
974
|
+
<caret line="167" column="0" lean-forward="false" selection-start-line="167" selection-start-column="0" selection-end-line="167" selection-end-column="0" />
|
996
975
|
<folding />
|
997
976
|
</state>
|
998
977
|
</provider>
|
999
978
|
</entry>
|
1000
|
-
<entry file="file://$PROJECT_DIR$/
|
979
|
+
<entry file="file://$PROJECT_DIR$/test/test_helper.rb">
|
1001
980
|
<provider selected="true" editor-type-id="text-editor">
|
1002
|
-
<state relative-caret-position="
|
1003
|
-
<caret line="
|
981
|
+
<state relative-caret-position="355">
|
982
|
+
<caret line="29" column="1" lean-forward="true" selection-start-line="29" selection-start-column="1" selection-end-line="29" selection-end-column="1" />
|
1004
983
|
<folding />
|
1005
984
|
</state>
|
1006
985
|
</provider>
|
data/freewifi.gemspec
CHANGED
@@ -5,7 +5,7 @@ require "freewifi/version"
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "freewifi"
|
8
|
-
spec.version =
|
8
|
+
spec.version = Freewifi_1::VERSION
|
9
9
|
spec.authors = ["Dzmitry Buynovskiy"]
|
10
10
|
spec.email = ["imperituro.ard@gmail.com"]
|
11
11
|
|
@@ -39,4 +39,5 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "date", "3.0.0"
|
40
40
|
spec.add_development_dependency "mysql2", "0.5.3"
|
41
41
|
spec.add_development_dependency "mongo", "2.11.4"
|
42
|
+
spec.add_development_dependency "translit", "0.1.5"
|
42
43
|
end
|