lib/posgra/dsl/grants/role/schema.rb in posgra-0.1.2 vs lib/posgra/dsl/grants/role/schema.rb in posgra-0.1.3

- old
+ new

@@ -1,8 +1,9 @@ class Posgra::DSL::Grants::Role::Schema include Posgra::Logger::Helper include Posgra::TemplateHelper + include Posgra::Utils::Helper attr_reader :result def initialize(context, schema, options, &block) @schema = schema @@ -13,9 +14,10 @@ end def on(name, options = {}, &block) unless name.is_a?(Regexp) name = name.to_s + return unless matched?(name, @options[:include_object], @options[:exclude_object]) end if options[:expired] expired = Time.parse(options[:expired])