lib/ssh/manager/db.rb in ssh-manager-1.0.0 vs lib/ssh/manager/db.rb in ssh-manager-1.0.1

- old
+ new

@@ -16,10 +16,10 @@ def initialize @connections= DATABASE.from(:connection) end def get_connection_data - @connections.map([:ip, :user, :note, :group]) + @connections.map([:ip, :user, :note, :group, :connect_via]) end def add_new_connection(ip, user='root', hostname='', port=22, note='', created_at, option, count, group, last_time) @connections.insert(:ip => ip, :user => user, :hostname => hostname, :port => port, :note => note, :created_at => created_at, :options => option, :group => group, :count => count, :last_time => last_time) end