lib/gratan/exporter.rb in gratan-0.2.2 vs lib/gratan/exporter.rb in gratan-0.2.3

- old
+ new

@@ -12,9 +12,13 @@ grants = [] @driver.each_user do |user, host| next if user =~ @options[:ignore_user] + if @options[:target_user] + next unless user =~ @options[:target_user] + end + @driver.show_grants(user, host) do |stmt| grants << Gratan::GrantParser.parse(stmt) end end