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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5235cd3ce4becda33c9390c0321b9c1911944fc8
|
4
|
+
data.tar.gz: 25e137686e20d70f0aaab64b5ec8f17cf5911258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5c70116a623722d4c3302447ef805b8339f1130171ede66973a25aa0c9d05fa8ac28d4e08a145c61739b6f96e30fe3c9c460eb5b20ade2804cb653603ddeaa0
|
7
|
+
data.tar.gz: 234f340f619aab9c2ca31e4aac2919009963150d7ffc9ce06dcc05ef55b403f24dd710aecfb8158b205ccaf6405d5e71d53ee0c2c799e5bf0a1cd7bc977d6492
|
data/.idea/freewifi.iml
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
21
21
|
<method />
|
22
22
|
</configuration>
|
23
|
-
<configuration default="false" name="
|
23
|
+
<configuration default="false" name="newhub_mtik_ssh" type="RubyRunConfigurationType" factoryName="Ruby">
|
24
24
|
<module name="freewifi" />
|
25
25
|
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
26
26
|
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/freewifi/mikrotik" />
|
@@ -35,7 +35,7 @@
|
|
35
35
|
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
36
36
|
</COVERAGE_PATTERN>
|
37
37
|
</EXTENSION>
|
38
|
-
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/freewifi/mikrotik/
|
38
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/freewifi/mikrotik/newhub_mtik_ssh.rb" />
|
39
39
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
40
40
|
<method />
|
41
41
|
</configuration>
|
@@ -58,6 +58,25 @@
|
|
58
58
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
59
59
|
<method />
|
60
60
|
</configuration>
|
61
|
+
<configuration default="false" name="additional_functions" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
62
|
+
<module name="freewifi" />
|
63
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
64
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/freewifi/additional" />
|
65
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
66
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
67
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
68
|
+
<envs />
|
69
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
70
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
71
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
72
|
+
<COVERAGE_PATTERN ENABLED="true">
|
73
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
74
|
+
</COVERAGE_PATTERN>
|
75
|
+
</EXTENSION>
|
76
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/freewifi/additional/additional_functions.rb" />
|
77
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
78
|
+
<method />
|
79
|
+
</configuration>
|
61
80
|
</component>
|
62
81
|
<component name="NewModuleRootManager">
|
63
82
|
<content url="file://$MODULE_DIR$" />
|
@@ -73,5 +92,6 @@
|
|
73
92
|
<orderEntry type="library" scope="PROVIDED" name="mysql2 (v0.5.3, RVM: ruby-2.4.1) [gem]" level="application" />
|
74
93
|
<orderEntry type="library" scope="PROVIDED" name="net-ssh (v4.0.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
75
94
|
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.1, RVM: ruby-2.4.1) [gem]" level="application" />
|
95
|
+
<orderEntry type="library" scope="PROVIDED" name="translit (v0.1.5, RVM: ruby-2.4.1) [gem]" level="application" />
|
76
96
|
</component>
|
77
97
|
</module>
|