gestio2masq 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/gestio2masq +8 -2
- data/gestio2masq.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10df0531c2b33f699b39739e81cd3215404354ed
|
4
|
+
data.tar.gz: 40eef015fdaa6c32bb69dd1e4602fb5e764728a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f7e4e4ef66ea0e3c1afcb70e570f37b2d20e8c6623f84c9322e316a9e392b5995a6147b407e1e0e476b9d4cd1606192bfac4f5b424138e2ab144f6a4d4517a1
|
7
|
+
data.tar.gz: f78814c902bbec79783461d648cbfb407933c8ce55860359f0f178f7823c61a091e89f17d6de29c9de499183a0b3bf33cb7f7905a5b5cf27b94d090da542f540
|
data/exe/gestio2masq
CHANGED
@@ -28,8 +28,14 @@ end
|
|
28
28
|
networks_data = mysql.query('select * from net',:symbolize_keys => true)
|
29
29
|
ranges_data = mysql.query('select * from ranges',:symbolize_keys => true)
|
30
30
|
hosts_data = mysql.query('select * from host order by hostname',:symbolize_keys => true)
|
31
|
-
hosts_xtra_data = mysql.query('select custom_host_column_entries.*,custom_host_columns.name
|
32
|
-
|
31
|
+
hosts_xtra_data = mysql.query('select custom_host_column_entries.*,custom_host_columns.name
|
32
|
+
from custom_host_column_entries,custom_host_columns
|
33
|
+
where custom_host_columns.id = custom_host_column_entries.cc_id',
|
34
|
+
:symbolize_keys => true)
|
35
|
+
nets_extra_data = mysql.query('select custom_net_column_entries.*,custom_net_columns.name
|
36
|
+
from custom_net_column_entries,custom_net_columns
|
37
|
+
where custom_net_columns.id = custom_net_column_entries.cc_id',
|
38
|
+
:symbolize_keys => true)
|
33
39
|
|
34
40
|
networks = Hash.new
|
35
41
|
networks_data.each { |net|
|
data/gestio2masq.gemspec
CHANGED