lib/gratan/exporter.rb in gratan-0.2.6 vs lib/gratan/exporter.rb in gratan-0.2.7
- old
+ new
@@ -34,9 +34,10 @@
grants.each do |grant|
user = grant.delete(:user)
host = grant.delete(:host)
user_host = [user, host]
object = grant.delete(:object)
+ next if object =~ @options[:ignore_object]
identified = grant.delete(:identified)
required = grant.delete(:require)
packed[user_host] ||= {:objects => {}, :options => {}}
packed[user_host][:objects][object] = grant