freewifi 0.2.7 → 0.2.8

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
  SHA1:
3
- metadata.gz: 2c1e9f7beec54eb56816b4a7dbd6ce99f8329b23
4
- data.tar.gz: d3c3c94eaea5e2fc5cd23366e674cf5742a668c2
3
+ metadata.gz: 3dca0488f38e0c9edd732fdb4545bf0924c35af6
4
+ data.tar.gz: 7b885fa00af904ea6035e13efc94c9382eb8c989
5
5
  SHA512:
6
- metadata.gz: 465b1183bda3535d81b52e35186fb4a9bfc85018ebf464e4d2896dbef55a6d893e7c66708ce969170973e5741c466e8db93dc76d712bba87d323fecc1512f289
7
- data.tar.gz: 370ba8bf3e1b48f9e7f0d2da525320a15b6232e6eaca0d98b75eeebc098039f70d5d26023e7d0f7933b5ebecc917812449361889ebf23ce5f2d7115a6b791f93
6
+ metadata.gz: 0a1cea18331d01caa04defcd3634f9d40ba3d017ae9a2acf5a411ce6704451496ef51890ab91a831cf853ffd022b268474191168f0905eb2732c7addab2e4404
7
+ data.tar.gz: 6ba7b2af6c66ac6cec6b82ed8cf8cb352b594a3190c20de0eb3abfbe9c9de888943ef65a8e5f6a5e7165c5254ed7d912b696030f6eeda215947f07de712d3933
data/.idea/freewifi.iml CHANGED
@@ -191,6 +191,25 @@
191
191
  <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
192
192
  <method />
193
193
  </configuration>
194
+ <configuration default="false" name="test_wifi1" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
195
+ <module name="freewifi" />
196
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
197
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/test" />
198
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
199
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
200
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
201
+ <envs />
202
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
203
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
204
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
205
+ <COVERAGE_PATTERN ENABLED="true">
206
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
207
+ </COVERAGE_PATTERN>
208
+ </EXTENSION>
209
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/test/test_wifi1.rb" />
210
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
211
+ <method />
212
+ </configuration>
194
213
  </component>
195
214
  <component name="NewModuleRootManager">
196
215
  <content url="file://$MODULE_DIR$" />
data/.idea/workspace.xml CHANGED
@@ -54,6 +54,7 @@
54
54
  <SUITE FILE_PATH="coverage/freewifi@ssh_mtik_2.coverage" NAME="ssh_mtik_2 Coverage Results" MODIFIED="1645285472334" 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" />
55
55
  <SUITE FILE_PATH="coverage/freewifi@test2.coverage" NAME="test2 Coverage Results" MODIFIED="1617284278277" 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" />
56
56
  <SUITE FILE_PATH="coverage/freewifi@sql_delete_not_necc.coverage" NAME="sql_delete_not_necc Coverage Results" MODIFIED="1600631885005" 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" />
57
+ <SUITE FILE_PATH="coverage/freewifi@test_wifi1.coverage" NAME="test_wifi1 Coverage Results" MODIFIED="1645296837424" 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" />
57
58
  <SUITE FILE_PATH="coverage/freewifi@test_helper.coverage" NAME="test_helper Coverage Results" MODIFIED="1645287186567" 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" />
58
59
  <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" />
59
60
  <SUITE FILE_PATH="coverage/freewifi@wifi_portal_procedures.coverage" NAME="wifi_portal_procedures Coverage Results" MODIFIED="1588069407762" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/freewifi/general" MODULE_NAME="freewifi" />
@@ -64,31 +65,61 @@
64
65
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
65
66
  <component name="FileEditorManager">
66
67
  <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
67
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
68
- <entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
68
+ <file leaf-file-name="freewifi.rb" pinned="false" current-in-tab="false">
69
+ <entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
69
70
  <provider selected="true" editor-type-id="text-editor">
70
- <state relative-caret-position="15">
71
- <caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
71
+ <state relative-caret-position="142">
72
+ <caret line="381" column="51" lean-forward="true" selection-start-line="381" selection-start-column="44" selection-end-line="381" selection-end-column="67" />
72
73
  <folding />
73
74
  </state>
74
75
  </provider>
75
76
  </entry>
76
77
  </file>
77
- <file leaf-file-name="freewifi.rb" pinned="false" current-in-tab="true">
78
- <entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
78
+ <file leaf-file-name="wifi_portal_procedures.rb" pinned="false" current-in-tab="false">
79
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/general/wifi_portal_procedures.rb">
80
+ <provider selected="true" editor-type-id="text-editor">
81
+ <state relative-caret-position="-15535">
82
+ <caret line="12" column="2" lean-forward="false" selection-start-line="12" selection-start-column="2" selection-end-line="12" selection-end-column="2" />
83
+ <folding />
84
+ </state>
85
+ </provider>
86
+ </entry>
87
+ </file>
88
+ <file leaf-file-name="test_wifi1.rb" pinned="false" current-in-tab="true">
89
+ <entry file="file://$PROJECT_DIR$/test/test_wifi1.rb">
90
+ <provider selected="true" editor-type-id="text-editor">
91
+ <state relative-caret-position="338">
92
+ <caret line="38" column="0" lean-forward="true" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
93
+ <folding />
94
+ </state>
95
+ </provider>
96
+ </entry>
97
+ </file>
98
+ <file leaf-file-name="freewifi_test.rb" pinned="false" current-in-tab="false">
99
+ <entry file="file://$PROJECT_DIR$/test/freewifi_test.rb">
100
+ <provider selected="true" editor-type-id="text-editor">
101
+ <state relative-caret-position="0">
102
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
103
+ <folding />
104
+ </state>
105
+ </provider>
106
+ </entry>
107
+ </file>
108
+ <file leaf-file-name="test.rb" pinned="false" current-in-tab="false">
109
+ <entry file="file://$PROJECT_DIR$/test/test.rb">
79
110
  <provider selected="true" editor-type-id="text-editor">
80
- <state relative-caret-position="2857">
81
- <caret line="306" column="37" lean-forward="false" selection-start-line="306" selection-start-column="37" selection-end-line="306" selection-end-column="37" />
111
+ <state relative-caret-position="0">
112
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
82
113
  <folding />
83
114
  </state>
84
115
  </provider>
85
116
  </entry>
86
117
  </file>
87
- <file leaf-file-name="freewifi.gemspec" pinned="false" current-in-tab="false">
88
- <entry file="file://$PROJECT_DIR$/freewifi.gemspec">
118
+ <file leaf-file-name="newhub_mtik_api.rb" pinned="false" current-in-tab="false">
119
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_api.rb">
89
120
  <provider selected="true" editor-type-id="text-editor">
90
- <state relative-caret-position="645">
91
- <caret line="43" column="47" lean-forward="false" selection-start-line="43" selection-start-column="47" selection-end-line="43" selection-end-column="47" />
121
+ <state relative-caret-position="150">
122
+ <caret line="10" column="20" lean-forward="false" selection-start-line="10" selection-start-column="20" selection-end-line="10" selection-end-column="20" />
92
123
  <folding />
93
124
  </state>
94
125
  </provider>
@@ -125,14 +156,15 @@
125
156
  <option value="$PROJECT_DIR$/test/freewifi_test.rb" />
126
157
  <option value="$PROJECT_DIR$/test/test2.rb" />
127
158
  <option value="$PROJECT_DIR$/test/ssh_mtik_1.rb" />
128
- <option value="$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_api.rb" />
129
159
  <option value="$PROJECT_DIR$/test/ssh_mtik_2.rb" />
130
- <option value="$PROJECT_DIR$/lib/freewifi/general/wifi_portal_procedures.rb" />
131
160
  <option value="$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb" />
132
161
  <option value="$PROJECT_DIR$/test/test_helper.rb" />
133
- <option value="$PROJECT_DIR$/lib/freewifi.rb" />
134
- <option value="$PROJECT_DIR$/lib/freewifi/version.rb" />
135
162
  <option value="$PROJECT_DIR$/freewifi.gemspec" />
163
+ <option value="$PROJECT_DIR$/lib/freewifi/version.rb" />
164
+ <option value="$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_api.rb" />
165
+ <option value="$PROJECT_DIR$/lib/freewifi/general/wifi_portal_procedures.rb" />
166
+ <option value="$PROJECT_DIR$/lib/freewifi.rb" />
167
+ <option value="$PROJECT_DIR$/test/test_wifi1.rb" />
136
168
  </list>
137
169
  </option>
138
170
  </component>
@@ -185,191 +217,7 @@
185
217
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
186
218
  </PATH_ELEMENT>
187
219
  <PATH_ELEMENT>
188
- <option name="myItemId" value="lib" />
189
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
190
- </PATH_ELEMENT>
191
- </PATH>
192
- <PATH>
193
- <PATH_ELEMENT>
194
- <option name="myItemId" value="freewifi" />
195
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
196
- </PATH_ELEMENT>
197
- <PATH_ELEMENT>
198
- <option name="myItemId" value="freewifi" />
199
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
200
- </PATH_ELEMENT>
201
- <PATH_ELEMENT>
202
- <option name="myItemId" value="lib" />
203
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
204
- </PATH_ELEMENT>
205
- <PATH_ELEMENT>
206
- <option name="myItemId" value="freewifi" />
207
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
208
- </PATH_ELEMENT>
209
- </PATH>
210
- <PATH>
211
- <PATH_ELEMENT>
212
- <option name="myItemId" value="freewifi" />
213
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
214
- </PATH_ELEMENT>
215
- <PATH_ELEMENT>
216
- <option name="myItemId" value="freewifi" />
217
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
218
- </PATH_ELEMENT>
219
- <PATH_ELEMENT>
220
- <option name="myItemId" value="lib" />
221
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
222
- </PATH_ELEMENT>
223
- <PATH_ELEMENT>
224
- <option name="myItemId" value="freewifi" />
225
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
226
- </PATH_ELEMENT>
227
- <PATH_ELEMENT>
228
- <option name="myItemId" value="mikrotik" />
229
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
230
- </PATH_ELEMENT>
231
- </PATH>
232
- <PATH>
233
- <PATH_ELEMENT>
234
- <option name="myItemId" value="freewifi" />
235
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
236
- </PATH_ELEMENT>
237
- <PATH_ELEMENT>
238
- <option name="myItemId" value="freewifi" />
239
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
240
- </PATH_ELEMENT>
241
- <PATH_ELEMENT>
242
- <option name="myItemId" value="lib" />
243
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
244
- </PATH_ELEMENT>
245
- <PATH_ELEMENT>
246
- <option name="myItemId" value="freewifi" />
247
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
248
- </PATH_ELEMENT>
249
- <PATH_ELEMENT>
250
- <option name="myItemId" value="mikrotik" />
251
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
252
- </PATH_ELEMENT>
253
- <PATH_ELEMENT>
254
- <option name="myItemId" value="automation" />
255
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
256
- </PATH_ELEMENT>
257
- </PATH>
258
- <PATH>
259
- <PATH_ELEMENT>
260
- <option name="myItemId" value="freewifi" />
261
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
262
- </PATH_ELEMENT>
263
- <PATH_ELEMENT>
264
- <option name="myItemId" value="freewifi" />
265
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
266
- </PATH_ELEMENT>
267
- <PATH_ELEMENT>
268
- <option name="myItemId" value="lib" />
269
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
270
- </PATH_ELEMENT>
271
- <PATH_ELEMENT>
272
- <option name="myItemId" value="freewifi" />
273
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
274
- </PATH_ELEMENT>
275
- <PATH_ELEMENT>
276
- <option name="myItemId" value="huawei" />
277
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
278
- </PATH_ELEMENT>
279
- </PATH>
280
- <PATH>
281
- <PATH_ELEMENT>
282
- <option name="myItemId" value="freewifi" />
283
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
284
- </PATH_ELEMENT>
285
- <PATH_ELEMENT>
286
- <option name="myItemId" value="freewifi" />
287
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
288
- </PATH_ELEMENT>
289
- <PATH_ELEMENT>
290
- <option name="myItemId" value="lib" />
291
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
292
- </PATH_ELEMENT>
293
- <PATH_ELEMENT>
294
- <option name="myItemId" value="freewifi" />
295
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
296
- </PATH_ELEMENT>
297
- <PATH_ELEMENT>
298
- <option name="myItemId" value="general" />
299
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
300
- </PATH_ELEMENT>
301
- </PATH>
302
- <PATH>
303
- <PATH_ELEMENT>
304
- <option name="myItemId" value="freewifi" />
305
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
306
- </PATH_ELEMENT>
307
- <PATH_ELEMENT>
308
- <option name="myItemId" value="freewifi" />
309
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
310
- </PATH_ELEMENT>
311
- <PATH_ELEMENT>
312
- <option name="myItemId" value="lib" />
313
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
314
- </PATH_ELEMENT>
315
- <PATH_ELEMENT>
316
- <option name="myItemId" value="freewifi" />
317
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
318
- </PATH_ELEMENT>
319
- <PATH_ELEMENT>
320
- <option name="myItemId" value="database" />
321
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
322
- </PATH_ELEMENT>
323
- <PATH_ELEMENT>
324
- <option name="myItemId" value="mysql" />
325
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
326
- </PATH_ELEMENT>
327
- </PATH>
328
- <PATH>
329
- <PATH_ELEMENT>
330
- <option name="myItemId" value="freewifi" />
331
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
332
- </PATH_ELEMENT>
333
- <PATH_ELEMENT>
334
- <option name="myItemId" value="freewifi" />
335
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
336
- </PATH_ELEMENT>
337
- <PATH_ELEMENT>
338
- <option name="myItemId" value="lib" />
339
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
340
- </PATH_ELEMENT>
341
- <PATH_ELEMENT>
342
- <option name="myItemId" value="freewifi" />
343
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
344
- </PATH_ELEMENT>
345
- <PATH_ELEMENT>
346
- <option name="myItemId" value="database" />
347
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
348
- </PATH_ELEMENT>
349
- </PATH>
350
- <PATH>
351
- <PATH_ELEMENT>
352
- <option name="myItemId" value="freewifi" />
353
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
354
- </PATH_ELEMENT>
355
- <PATH_ELEMENT>
356
- <option name="myItemId" value="freewifi" />
357
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
358
- </PATH_ELEMENT>
359
- <PATH_ELEMENT>
360
- <option name="myItemId" value="lib" />
361
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
362
- </PATH_ELEMENT>
363
- <PATH_ELEMENT>
364
- <option name="myItemId" value="freewifi" />
365
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
366
- </PATH_ELEMENT>
367
- <PATH_ELEMENT>
368
- <option name="myItemId" value="cisco" />
369
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
370
- </PATH_ELEMENT>
371
- <PATH_ELEMENT>
372
- <option name="myItemId" value="iwag" />
220
+ <option name="myItemId" value="test" />
373
221
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
374
222
  </PATH_ELEMENT>
375
223
  </PATH>
@@ -386,18 +234,6 @@
386
234
  <option name="myItemId" value="lib" />
387
235
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
388
236
  </PATH_ELEMENT>
389
- <PATH_ELEMENT>
390
- <option name="myItemId" value="freewifi" />
391
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
392
- </PATH_ELEMENT>
393
- <PATH_ELEMENT>
394
- <option name="myItemId" value="cisco" />
395
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
396
- </PATH_ELEMENT>
397
- <PATH_ELEMENT>
398
- <option name="myItemId" value="any" />
399
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
400
- </PATH_ELEMENT>
401
237
  </PATH>
402
238
  <PATH>
403
239
  <PATH_ELEMENT>
@@ -416,10 +252,6 @@
416
252
  <option name="myItemId" value="freewifi" />
417
253
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
418
254
  </PATH_ELEMENT>
419
- <PATH_ELEMENT>
420
- <option name="myItemId" value="additional" />
421
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
422
- </PATH_ELEMENT>
423
255
  </PATH>
424
256
  </subPane>
425
257
  </pane>
@@ -451,7 +283,26 @@
451
283
  </list>
452
284
  </option>
453
285
  </component>
454
- <component name="RunManager" selected="Ruby.test_helper">
286
+ <component name="RunManager" selected="Ruby.test_wifi1">
287
+ <configuration default="false" name="test_wifi1" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
288
+ <module name="freewifi" />
289
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
290
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/test" />
291
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
292
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
293
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
294
+ <envs />
295
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
296
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
297
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
298
+ <COVERAGE_PATTERN ENABLED="true">
299
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
300
+ </COVERAGE_PATTERN>
301
+ </EXTENSION>
302
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/test/test_wifi1.rb" />
303
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
304
+ <method />
305
+ </configuration>
455
306
  <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
456
307
  <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
457
308
  <module name="" />
@@ -595,7 +446,7 @@
595
446
  <envs />
596
447
  <method />
597
448
  </configuration>
598
- <list size="10">
449
+ <list size="11">
599
450
  <item index="0" class="java.lang.String" itemvalue="Ruby.test_helper" />
600
451
  <item index="1" class="java.lang.String" itemvalue="Ruby.newhub_mtik_ssh" />
601
452
  <item index="2" class="java.lang.String" itemvalue="Ruby.test" />
@@ -606,7 +457,13 @@
606
457
  <item index="7" class="java.lang.String" itemvalue="Ruby.test2" />
607
458
  <item index="8" class="java.lang.String" itemvalue="Ruby.ssh_mtik_1" />
608
459
  <item index="9" class="java.lang.String" itemvalue="Ruby.ssh_mtik_2" />
460
+ <item index="10" class="java.lang.String" itemvalue="Ruby.test_wifi1" />
609
461
  </list>
462
+ <recent_temporary>
463
+ <list size="1">
464
+ <item index="0" class="java.lang.String" itemvalue="Ruby.test_wifi1" />
465
+ </list>
466
+ </recent_temporary>
610
467
  </component>
611
468
  <component name="ShelveChangesManager" show_recycled="false">
612
469
  <option name="remove_strategy" value="false" />
@@ -675,34 +532,39 @@
675
532
  <workItem from="1632223882664" duration="598000" />
676
533
  <workItem from="1645283410222" duration="948000" />
677
534
  <workItem from="1645284384865" duration="2164000" />
678
- <workItem from="1645286597600" duration="1055000" />
535
+ <workItem from="1645286597600" duration="1799000" />
536
+ <workItem from="1645294511184" duration="269000" />
537
+ <workItem from="1645294796817" duration="412000" />
538
+ <workItem from="1645295265784" duration="23000" />
539
+ <workItem from="1645295326630" duration="743000" />
540
+ <workItem from="1645296175448" duration="685000" />
679
541
  </task>
680
542
  <servers />
681
543
  </component>
682
544
  <component name="TimeTrackingManager">
683
- <option name="totallyTimeSpent" value="126106000" />
545
+ <option name="totallyTimeSpent" value="128982000" />
684
546
  </component>
685
547
  <component name="ToolWindowManager">
686
548
  <frame x="0" y="25" width="1440" height="834" extended-state="6" />
687
549
  <editor active="true" />
688
550
  <layout>
689
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.22389127" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
551
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23819743" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
690
552
  <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" />
691
553
  <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" />
554
+ <window_info id="Inspection Results" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32676056" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
692
555
  <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" />
693
- <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" />
694
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.35774648" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
556
+ <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" />
557
+ <window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.35774648" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
558
+ <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="9" side_tool="false" content_ui="tabs" />
695
559
  <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" />
696
- <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" />
697
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
560
+ <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="8" side_tool="false" content_ui="tabs" />
698
561
  <window_info id="Debug" 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="3" side_tool="false" content_ui="tabs" />
562
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
699
563
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
700
564
  <window_info id="Message" 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="0" side_tool="false" content_ui="tabs" />
701
565
  <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" />
702
566
  <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" />
703
567
  <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" />
704
- <window_info id="Inspection Results" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32816902" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
705
- <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" />
706
568
  <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" />
707
569
  </layout>
708
570
  </component>
@@ -717,20 +579,6 @@
717
579
  <watches-manager />
718
580
  </component>
719
581
  <component name="editorHistoryManager">
720
- <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
721
- <provider selected="true" editor-type-id="text-editor">
722
- <state relative-caret-position="360">
723
- <caret line="24" column="0" lean-forward="false" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
724
- </state>
725
- </provider>
726
- </entry>
727
- <entry file="file://$PROJECT_DIR$/test/test_helper.rb">
728
- <provider selected="true" editor-type-id="text-editor">
729
- <state relative-caret-position="270">
730
- <caret line="18" column="0" lean-forward="false" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
731
- </state>
732
- </provider>
733
- </entry>
734
582
  <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/getsubscribermikrotik.rb">
735
583
  <provider selected="true" editor-type-id="text-editor">
736
584
  <state relative-caret-position="0">
@@ -759,13 +607,7 @@
759
607
  </state>
760
608
  </provider>
761
609
  </entry>
762
- <entry file="file://$PROJECT_DIR$/test/test_helper.rb">
763
- <provider selected="true" editor-type-id="text-editor">
764
- <state relative-caret-position="270">
765
- <caret line="18" column="0" lean-forward="false" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
766
- </state>
767
- </provider>
768
- </entry>
610
+ <entry file="file://$PROJECT_DIR$/test/test_helper.rb" />
769
611
  <entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
770
612
  <provider selected="true" editor-type-id="text-editor">
771
613
  <state relative-caret-position="150">
@@ -794,13 +636,7 @@
794
636
  </state>
795
637
  </provider>
796
638
  </entry>
797
- <entry file="file://$PROJECT_DIR$/test/test_helper.rb">
798
- <provider selected="true" editor-type-id="text-editor">
799
- <state relative-caret-position="270">
800
- <caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
801
- </state>
802
- </provider>
803
- </entry>
639
+ <entry file="file://$PROJECT_DIR$/test/test_helper.rb" />
804
640
  <entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
805
641
  <provider selected="true" editor-type-id="text-editor">
806
642
  <state relative-caret-position="480">
@@ -871,211 +707,214 @@
871
707
  </state>
872
708
  </provider>
873
709
  </entry>
874
- <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/automation/get_data_ssh_fun.rb">
710
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
875
711
  <provider selected="true" editor-type-id="text-editor">
876
- <state relative-caret-position="30">
877
- <caret line="2" column="0" lean-forward="false" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
712
+ <state relative-caret-position="0">
713
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
878
714
  </state>
879
715
  </provider>
880
716
  </entry>
881
- <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/any/cisco_schemes_conf_gen.rb">
717
+ <entry file="file://$PROJECT_DIR$/Rakefile">
882
718
  <provider selected="true" editor-type-id="text-editor">
883
- <state relative-caret-position="120">
884
- <caret line="8" column="0" lean-forward="true" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
719
+ <state relative-caret-position="150">
720
+ <caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
885
721
  </state>
886
722
  </provider>
887
723
  </entry>
888
- <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/iwag/get_iwag_data.rb">
724
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/huawei/hua_controller_class.rb">
889
725
  <provider selected="true" editor-type-id="text-editor">
890
- <state relative-caret-position="375">
891
- <caret line="25" column="6" lean-forward="false" selection-start-line="25" selection-start-column="6" selection-end-line="25" selection-end-column="6" />
726
+ <state relative-caret-position="746">
727
+ <caret line="104" column="78" lean-forward="false" selection-start-line="104" selection-start-column="78" selection-end-line="104" selection-end-column="78" />
892
728
  </state>
893
729
  </provider>
894
730
  </entry>
895
- <entry file="file://$PROJECT_DIR$/lib/freewifi/database/mysql/database_methods_wifi.rb">
731
+ <entry file="file://$PROJECT_DIR$/test/sql_delete_not_necc.rb" />
732
+ <entry file="file://$PROJECT_DIR$/test/test2.rb" />
733
+ <entry file="file://$PROJECT_DIR$/test/ssh_mtik_2.rb" />
734
+ <entry file="file://$PROJECT_DIR$/test/ssh_mtik_1.rb" />
735
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/params.rb">
896
736
  <provider selected="true" editor-type-id="text-editor">
897
- <state relative-caret-position="225">
898
- <caret line="15" column="23" lean-forward="false" selection-start-line="15" selection-start-column="23" selection-end-line="15" selection-end-column="23" />
737
+ <state relative-caret-position="398">
738
+ <caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
899
739
  </state>
900
740
  </provider>
901
741
  </entry>
902
- <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/schemes_conf_gen.rb">
742
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/config.rb">
903
743
  <provider selected="true" editor-type-id="text-editor">
904
- <state relative-caret-position="341">
905
- <caret line="30" column="5" lean-forward="true" selection-start-line="30" selection-start-column="5" selection-end-line="30" selection-end-column="5" />
744
+ <state relative-caret-position="15">
745
+ <caret line="1" column="22" lean-forward="false" selection-start-line="1" selection-start-column="22" selection-end-line="1" selection-end-column="22" />
906
746
  </state>
907
747
  </provider>
908
748
  </entry>
909
- <entry file="file://$PROJECT_DIR$/Gemfile">
749
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/schemes_conf_gen.rb">
910
750
  <provider selected="true" editor-type-id="text-editor">
911
- <state relative-caret-position="90">
912
- <caret line="6" column="0" lean-forward="true" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
751
+ <state relative-caret-position="315">
752
+ <caret line="21" column="17" lean-forward="false" selection-start-line="21" selection-start-column="17" selection-end-line="21" selection-end-column="17" />
913
753
  </state>
914
754
  </provider>
915
755
  </entry>
916
- <entry file="file://$PROJECT_DIR$/Gemfile.lock">
756
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
917
757
  <provider selected="true" editor-type-id="text-editor">
918
- <state relative-caret-position="0">
919
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
758
+ <state relative-caret-position="330">
759
+ <caret line="22" column="0" lean-forward="false" selection-start-line="22" selection-start-column="0" selection-end-line="39" selection-end-column="7" />
920
760
  </state>
921
761
  </provider>
922
762
  </entry>
923
- <entry file="file://$PROJECT_DIR$/LICENSE.txt">
763
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/getsubscribermikrotik.rb">
924
764
  <provider selected="true" editor-type-id="text-editor">
925
765
  <state relative-caret-position="0">
926
766
  <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
927
767
  </state>
928
768
  </provider>
929
769
  </entry>
930
- <entry file="file://$PROJECT_DIR$/Rakefile">
770
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/automation/get_data_ssh_fun.rb">
931
771
  <provider selected="true" editor-type-id="text-editor">
932
- <state relative-caret-position="150">
933
- <caret line="10" column="0" lean-forward="false" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
772
+ <state relative-caret-position="30">
773
+ <caret line="2" column="0" lean-forward="true" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
934
774
  </state>
935
775
  </provider>
936
776
  </entry>
937
- <entry file="file://$PROJECT_DIR$/lib/freewifi/huawei/hua_controller_class.rb">
777
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb">
938
778
  <provider selected="true" editor-type-id="text-editor">
939
- <state relative-caret-position="746">
940
- <caret line="104" column="78" lean-forward="false" selection-start-line="104" selection-start-column="78" selection-end-line="104" selection-end-column="78" />
779
+ <state relative-caret-position="435">
780
+ <caret line="29" column="59" lean-forward="true" selection-start-line="29" selection-start-column="59" selection-end-line="29" selection-end-column="59" />
941
781
  </state>
942
782
  </provider>
943
783
  </entry>
944
- <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/iwag/iwag_database_worker.rb">
784
+ <entry file="file://$PROJECT_DIR$/Gemfile">
945
785
  <provider selected="true" editor-type-id="text-editor">
946
- <state relative-caret-position="195">
947
- <caret line="13" column="0" lean-forward="false" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
786
+ <state relative-caret-position="90">
787
+ <caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
788
+ <folding />
948
789
  </state>
949
790
  </provider>
950
791
  </entry>
951
- <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/iwag/iwag_telnet_connector.rb">
792
+ <entry file="file://$PROJECT_DIR$/freewifi.gemspec">
952
793
  <provider selected="true" editor-type-id="text-editor">
953
- <state relative-caret-position="1335">
954
- <caret line="89" column="93" lean-forward="false" selection-start-line="89" selection-start-column="93" selection-end-line="89" selection-end-column="93" />
794
+ <state relative-caret-position="645">
795
+ <caret line="43" column="47" lean-forward="false" selection-start-line="43" selection-start-column="47" selection-end-line="43" selection-end-column="47" />
796
+ <folding />
955
797
  </state>
956
798
  </provider>
957
799
  </entry>
958
- <entry file="file://$PROJECT_DIR$/lib/freewifi/config.rb">
800
+ <entry file="file://$PROJECT_DIR$/LICENSE.txt">
959
801
  <provider selected="true" editor-type-id="text-editor">
960
- <state relative-caret-position="15">
961
- <caret line="1" column="22" lean-forward="false" selection-start-line="1" selection-start-column="22" selection-end-line="1" selection-end-column="22" />
802
+ <state relative-caret-position="0">
803
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
804
+ <folding />
962
805
  </state>
963
806
  </provider>
964
807
  </entry>
965
- <entry file="file://$PROJECT_DIR$/test/sql_delete_not_necc.rb">
966
- <provider selected="true" editor-type-id="text-editor">
967
- <state relative-caret-position="90">
968
- <caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
808
+ <entry file="file://$PROJECT_DIR$/README.md">
809
+ <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
810
+ <state split_layout="SPLIT">
811
+ <first_editor relative-caret-position="0">
812
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
813
+ <folding />
814
+ </first_editor>
815
+ <second_editor />
969
816
  </state>
970
817
  </provider>
971
818
  </entry>
972
- <entry file="file://$PROJECT_DIR$/test/test2.rb">
819
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/iwag/get_iwag_data.rb">
973
820
  <provider selected="true" editor-type-id="text-editor">
974
- <state relative-caret-position="135">
975
- <caret line="9" column="3" lean-forward="false" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
821
+ <state relative-caret-position="375">
822
+ <caret line="25" column="6" lean-forward="false" selection-start-line="25" selection-start-column="6" selection-end-line="25" selection-end-column="6" />
823
+ <folding />
976
824
  </state>
977
825
  </provider>
978
826
  </entry>
979
- <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb">
827
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/any/cisco_schemes_conf_gen.rb">
980
828
  <provider selected="true" editor-type-id="text-editor">
981
- <state relative-caret-position="313">
982
- <caret line="22" column="0" lean-forward="false" selection-start-line="22" selection-start-column="0" selection-end-line="39" selection-end-column="7" />
829
+ <state relative-caret-position="120">
830
+ <caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
983
831
  </state>
984
832
  </provider>
985
833
  </entry>
986
- <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/getsubscribermikrotik.rb">
834
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/iwag/iwag_database_worker.rb">
987
835
  <provider selected="true" editor-type-id="text-editor">
988
- <state relative-caret-position="0">
989
- <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
836
+ <state relative-caret-position="195">
837
+ <caret line="13" column="0" lean-forward="false" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
838
+ <folding />
990
839
  </state>
991
840
  </provider>
992
841
  </entry>
993
- <entry file="file://$PROJECT_DIR$/lib/freewifi/additional/additional_functions.rb">
842
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/cisco/iwag/iwag_telnet_connector.rb">
994
843
  <provider selected="true" editor-type-id="text-editor">
995
- <state relative-caret-position="274">
996
- <caret line="29" column="59" lean-forward="true" selection-start-line="29" selection-start-column="59" selection-end-line="29" selection-end-column="59" />
844
+ <state relative-caret-position="652">
845
+ <caret line="89" column="93" lean-forward="false" selection-start-line="89" selection-start-column="93" selection-end-line="89" selection-end-column="93" />
846
+ <folding />
997
847
  </state>
998
848
  </provider>
999
849
  </entry>
1000
- <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_api.rb">
850
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/database/mysql/database_methods_wifi.rb">
1001
851
  <provider selected="true" editor-type-id="text-editor">
1002
- <state relative-caret-position="-871">
852
+ <state relative-caret-position="315">
1003
853
  <caret line="21" column="20" lean-forward="true" selection-start-line="21" selection-start-column="20" selection-end-line="21" selection-end-column="20" />
854
+ <folding />
1004
855
  </state>
1005
856
  </provider>
1006
857
  </entry>
1007
- <entry file="file://$PROJECT_DIR$/test/ssh_mtik_2.rb">
1008
- <provider selected="true" editor-type-id="text-editor">
1009
- <state relative-caret-position="1410">
1010
- <caret line="94" column="4" lean-forward="true" selection-start-line="94" selection-start-column="4" selection-end-line="94" selection-end-column="4" />
1011
- </state>
1012
- </provider>
1013
- </entry>
1014
- <entry file="file://$PROJECT_DIR$/lib/freewifi/general/wifi_portal_procedures.rb">
1015
- <provider selected="true" editor-type-id="text-editor">
1016
- <state relative-caret-position="104">
1017
- <caret line="260" column="36" lean-forward="false" selection-start-line="260" selection-start-column="19" selection-end-line="260" selection-end-column="36" />
1018
- </state>
1019
- </provider>
1020
- </entry>
1021
- <entry file="file://$PROJECT_DIR$/test/test.rb">
858
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
1022
859
  <provider selected="true" editor-type-id="text-editor">
1023
860
  <state relative-caret-position="45">
1024
- <caret line="3" column="14" lean-forward="false" selection-start-line="3" selection-start-column="14" selection-end-line="3" selection-end-column="14" />
861
+ <caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
862
+ <folding />
1025
863
  </state>
1026
864
  </provider>
1027
865
  </entry>
1028
- <entry file="file://$PROJECT_DIR$/lib/freewifi/params.rb">
866
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/mikrotik/newhub_mtik_api.rb">
1029
867
  <provider selected="true" editor-type-id="text-editor">
1030
- <state relative-caret-position="41700">
1031
- <caret line="4" column="0" lean-forward="false" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
868
+ <state relative-caret-position="150">
869
+ <caret line="10" column="20" lean-forward="false" selection-start-line="10" selection-start-column="20" selection-end-line="10" selection-end-column="20" />
870
+ <folding />
1032
871
  </state>
1033
872
  </provider>
1034
873
  </entry>
1035
- <entry file="file://$PROJECT_DIR$/test/freewifi_test.rb">
874
+ <entry file="file://$PROJECT_DIR$/test/test_helper.rb">
1036
875
  <provider selected="true" editor-type-id="text-editor">
1037
876
  <state relative-caret-position="165">
1038
- <caret line="11" column="0" lean-forward="false" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
877
+ <caret line="71" column="14" lean-forward="true" selection-start-line="71" selection-start-column="14" selection-end-line="71" selection-end-column="14" />
1039
878
  <folding />
1040
879
  </state>
1041
880
  </provider>
1042
881
  </entry>
1043
- <entry file="file://$PROJECT_DIR$/lib/freewifi/version.rb">
882
+ <entry file="file://$PROJECT_DIR$/test/freewifi_test.rb">
1044
883
  <provider selected="true" editor-type-id="text-editor">
1045
- <state relative-caret-position="15">
1046
- <caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
884
+ <state relative-caret-position="0">
885
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1047
886
  <folding />
1048
887
  </state>
1049
888
  </provider>
1050
889
  </entry>
1051
- <entry file="file://$PROJECT_DIR$/test/ssh_mtik_1.rb">
890
+ <entry file="file://$PROJECT_DIR$/test/test.rb">
1052
891
  <provider selected="true" editor-type-id="text-editor">
1053
- <state relative-caret-position="240">
1054
- <caret line="16" column="0" lean-forward="true" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
892
+ <state relative-caret-position="0">
893
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1055
894
  <folding />
1056
895
  </state>
1057
896
  </provider>
1058
897
  </entry>
1059
- <entry file="file://$PROJECT_DIR$/test/test_helper.rb">
898
+ <entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
1060
899
  <provider selected="true" editor-type-id="text-editor">
1061
- <state relative-caret-position="165">
1062
- <caret line="11" column="0" lean-forward="true" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
900
+ <state relative-caret-position="142">
901
+ <caret line="381" column="51" lean-forward="true" selection-start-line="381" selection-start-column="44" selection-end-line="381" selection-end-column="67" />
1063
902
  <folding />
1064
903
  </state>
1065
904
  </provider>
1066
905
  </entry>
1067
- <entry file="file://$PROJECT_DIR$/freewifi.gemspec">
906
+ <entry file="file://$PROJECT_DIR$/lib/freewifi/general/wifi_portal_procedures.rb">
1068
907
  <provider selected="true" editor-type-id="text-editor">
1069
- <state relative-caret-position="645">
1070
- <caret line="43" column="47" lean-forward="false" selection-start-line="43" selection-start-column="47" selection-end-line="43" selection-end-column="47" />
908
+ <state relative-caret-position="-15535">
909
+ <caret line="12" column="2" lean-forward="false" selection-start-line="12" selection-start-column="2" selection-end-line="12" selection-end-column="2" />
1071
910
  <folding />
1072
911
  </state>
1073
912
  </provider>
1074
913
  </entry>
1075
- <entry file="file://$PROJECT_DIR$/lib/freewifi.rb">
914
+ <entry file="file://$PROJECT_DIR$/test/test_wifi1.rb">
1076
915
  <provider selected="true" editor-type-id="text-editor">
1077
- <state relative-caret-position="2857">
1078
- <caret line="306" column="37" lean-forward="false" selection-start-line="306" selection-start-column="37" selection-end-line="306" selection-end-column="37" />
916
+ <state relative-caret-position="338">
917
+ <caret line="38" column="0" lean-forward="true" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
1079
918
  <folding />
1080
919
  </state>
1081
920
  </provider>
@@ -23,7 +23,7 @@ class InternalFunc_1
23
23
  response_mess = https_connector.request(request_mess)
24
24
  body = response_mess.body
25
25
  return {:code => 200,
26
- :result => 'Request completed successfully',
26
+ :result => "Request completed successfully",
27
27
  :body => {:telegram_resp => JSON.parse(body.to_s),
28
28
  :description => "Telegram message to telegram_chat_id: #{telegram_chat_id.to_s}"}}
29
29
  rescue
@@ -25,54 +25,54 @@ class WiFiPortal_1
25
25
  :protocol_mtik,
26
26
  :mtik_capsman_list
27
27
 
28
- def initialize(apigw_wsdl,
29
- apigw_endpoint,
30
- apigw_namespace,
31
- apigw_wsse_aut_log,
32
- apigw_wsse_aut_pass,
33
- iwag1_host,
34
- iwag1_username,
35
- iwag1_password,
36
- iwag1_port,
37
- mtik_control_ips_get,
38
- mtik_user,
39
- mtik_password,
40
- hua_wlc_1_ip,
41
- hua_wlc_2_ip,
42
- hua_wlc_login,
43
- hua_wlc_password,
44
- iwag2_host,
45
- iwag2_username,
46
- iwag2_password,
47
- iwag2_port,
48
- protocol_mtik,
49
- mtik_capsman_list
50
- )
51
- @iwag_telnet_connector = CSRtelnet_1.new(iwag1_host, iwag1_username, iwag1_password)
52
- @ard_api_gw_connector_wifi = Savon.client do
53
- #ssl_verify_mode :none
54
- wsdl apigw_wsdl
55
- endpoint apigw_endpoint
56
- namespace apigw_namespace
57
- wsse_auth(apigw_wsse_aut_log, apigw_wsse_aut_pass, :digest)
58
- encoding 'UTF-8'
59
- headers = {"Accept-Encoding" => "gzip, deflate", "Connection" => "Keep-Alive"}
60
- end
28
+ def initialize(apigw_wsdl,
29
+ apigw_endpoint,
30
+ apigw_namespace,
31
+ apigw_wsse_aut_log,
32
+ apigw_wsse_aut_pass,
33
+ iwag1_host,
34
+ iwag1_username,
35
+ iwag1_password,
36
+ iwag1_port,
37
+ mtik_control_ips_get,
38
+ mtik_user,
39
+ mtik_password,
40
+ hua_wlc_1_ip,
41
+ hua_wlc_2_ip,
42
+ hua_wlc_login,
43
+ hua_wlc_password,
44
+ iwag2_host,
45
+ iwag2_username,
46
+ iwag2_password,
47
+ iwag2_port,
48
+ protocol_mtik,
49
+ mtik_capsman_list
50
+ )
51
+ @iwag_telnet_connector = CSRtelnet_1.new(iwag1_host, iwag1_username, iwag1_password)
52
+ @ard_api_gw_connector_wifi = Savon.client do
53
+ #ssl_verify_mode :none
54
+ wsdl apigw_wsdl
55
+ endpoint apigw_endpoint
56
+ namespace apigw_namespace
57
+ wsse_auth(apigw_wsse_aut_log, apigw_wsse_aut_pass, :digest)
58
+ encoding 'UTF-8'
59
+ headers = {"Accept-Encoding" => "gzip, deflate", "Connection" => "Keep-Alive"}
60
+ end
61
61
 
62
- @iwag1_host = iwag1_host
63
- @iwag_username = iwag1_username
64
- @iwag_password = iwag1_password
62
+ @iwag1_host = iwag1_host
63
+ @iwag_username = iwag1_username
64
+ @iwag_password = iwag1_password
65
65
 
66
- @mtik_api_connector = NEWhubWifiApi_1.new(mtik_control_ips_get, mtik_user, mtik_password)
66
+ @mtik_api_connector = NEWhubWifiApi_1.new(mtik_control_ips_get, mtik_user, mtik_password)
67
67
 
68
- @hua_controller_connector = HuaWifi_1.new(hua_wlc_1_ip, hua_wlc_2_ip, hua_wlc_login, hua_wlc_password)
68
+ @hua_controller_connector = HuaWifi_1.new(hua_wlc_1_ip, hua_wlc_2_ip, hua_wlc_login, hua_wlc_password)
69
69
 
70
- @iwag_connector1 = IwagRequester.new(iwag1_host, iwag1_username, iwag1_password, iwag1_port)
71
- @iwag_connector2 = IwagRequester.new(iwag2_host, iwag2_username, iwag2_password, iwag2_port)
70
+ @iwag_connector1 = IwagRequester.new(iwag1_host, iwag1_username, iwag1_password, iwag1_port)
71
+ @iwag_connector2 = IwagRequester.new(iwag2_host, iwag2_username, iwag2_password, iwag2_port)
72
72
 
73
- @protocol_mtik = protocol_mtik
74
- @mtik_capsman_list = mtik_capsman_list
75
- end
73
+ @protocol_mtik = protocol_mtik
74
+ @mtik_capsman_list = mtik_capsman_list
75
+ end
76
76
 
77
77
 
78
78
  def python_mac_iwag1_1(ipaddress)
@@ -256,6 +256,8 @@ class WiFiPortal_1
256
256
  end
257
257
 
258
258
 
259
+
260
+
259
261
  def get_subs_add_info4new_1(access_interface, subscribers_mac)
260
262
 
261
263
  capsman_list = mtik_capsman_list
@@ -307,6 +309,7 @@ class WiFiPortal_1
307
309
  answer
308
310
  end
309
311
 
312
+
310
313
  def proc_100_71_0_0(ip_address)
311
314
  begin
312
315
  p access_int = iwag_telnet_connector.return_iwag_access_interface_1(ip_address)
@@ -96,7 +96,6 @@ class NEWhubWifiApi_1
96
96
  end
97
97
 
98
98
 
99
-
100
99
  def get_info_subs_from_mik_ssh(subs_mac, controllers_ip)
101
100
  input_parameters = {:subs_mac => subs_mac, :controllers_ip => controllers_ip}
102
101
  #region get additional information
@@ -187,7 +186,7 @@ class NEWhubWifiApi_1
187
186
  end
188
187
 
189
188
  #endregion
190
- subscribers_mac+ "---" + access_point + "---" + ssid_ap + "---" + tx_rate_set + "---"+ tx_rate + "---"+ rx_rate + "---"+ rx_signal + "---"+ uptime + "---"+ packets + "---"+ bytes
189
+ subscribers_mac+ "---" + access_point + "---" + ssid_ap + "---" + tx_rate_set + "---"+ tx_rate + "---"+ rx_rate + "---"+ rx_signal + "---"+ uptime + "---"+ packets + "---"+ bytes
191
190
 
192
191
  end
193
192
 
@@ -1,3 +1,3 @@
1
1
  module Freewifi_1
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freewifi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dzmitry Buynovskiy