gestio2masq 0.0.6 → 0.0.7

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: 10df0531c2b33f699b39739e81cd3215404354ed
4
- data.tar.gz: 40eef015fdaa6c32bb69dd1e4602fb5e764728a5
3
+ metadata.gz: ee63c9bc04ce277b3a8a20388b3127a18d12f66b
4
+ data.tar.gz: a2a5e7d0554110a056e6cd1dd03a83201837f59b
5
5
  SHA512:
6
- metadata.gz: 6f7e4e4ef66ea0e3c1afcb70e570f37b2d20e8c6623f84c9322e316a9e392b5995a6147b407e1e0e476b9d4cd1606192bfac4f5b424138e2ab144f6a4d4517a1
7
- data.tar.gz: f78814c902bbec79783461d648cbfb407933c8ce55860359f0f178f7823c61a091e89f17d6de29c9de499183a0b3bf33cb7f7905a5b5cf27b94d090da542f540
6
+ metadata.gz: 87cb0c1c6f6ccaf2987d8704bc69d75e0eff99b1a06af9a7f9e7147b85c3fb275249a6cb30ad737f56cf4f4dc06b5711ad44123c9ec7fdeca4176d216ecd7d72
7
+ data.tar.gz: 23ce26dbd432af58f6a24a7364fdc4b31cfbcd4344db0eee084f0a43ccd36bf9062e95eecf3202aa452148ec24b13255873795e1286268e18fb6f40e27a58275
data/README.md CHANGED
@@ -106,7 +106,7 @@ dhcp-hostsfile=/etc/dnsmasq-dhcp-hosts.conf
106
106
 
107
107
  ## Contributing
108
108
 
109
- 1. Fork it ( https://github.com/[my-github-username]/gestio2masq/fork )
109
+ 1. Fork it ( https://github.com/svdasein/gestio2masq/fork )
110
110
  2. Create your feature branch (`git checkout -b my-new-feature`)
111
111
  3. Commit your changes (`git commit -am 'Add some feature'`)
112
112
  4. Push to the branch (`git push origin my-new-feature`)
data/exe/gestio2masq CHANGED
@@ -28,7 +28,7 @@ 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
31
+ hosts_extra_data = mysql.query('select custom_host_column_entries.*,custom_host_columns.name
32
32
  from custom_host_column_entries,custom_host_columns
33
33
  where custom_host_columns.id = custom_host_column_entries.cc_id',
34
34
  :symbolize_keys => true)
@@ -59,7 +59,7 @@ dhcp_hosts_entries = Array.new
59
59
  cnames_entries = Array.new
60
60
  hosts_data.each { |host|
61
61
  host[:ipaddress] = IPAddress::IPv4.parse_u32(host[:ip].to_i)
62
- hosts_xtra_data.select { |each| each[:host_id] == host[:id] } .each { |entry|
62
+ hosts_extra_data.select { |each| each[:host_id] == host[:id] } .each { |entry|
63
63
  host[entry[:name].to_sym] = entry[:entry]
64
64
  }
65
65
  host[:network] = networks[host[:red_num]]
data/gestio2masq.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "gestio2masq"
7
- spec.version = '0.0.6'
7
+ spec.version = '0.0.7'
8
8
  spec.authors = ["svdasein"]
9
9
  spec.email = ["svdasein@github"]
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gestio2masq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - svdasein