lib/gratan/client.rb in gratan-0.1.1 vs lib/gratan/client.rb in gratan-0.1.2

- old
+ new

@@ -10,10 +10,10 @@ options = @options.merge(options) exported = Gratan::Exporter.export(@driver, options) if block_given? exported.sort_by {|user_host, attrs| - user_host + user_host[0].empty? ? 'root' : user_host[0] }.chunk {|user_host, attrs| user_host[0].empty? ? 'root' : user_host[0] }.each {|user, grants| h = {} grants.each {|k, v| h[k] = v }