lib/allowance.rb in allowance-0.1.1 vs lib/allowance.rb in allowance-0.2.0

- old
+ new

@@ -1,8 +1,9 @@ +module Allowance +end + require 'allowance/version' -require 'allowance/permissions' +require 'allowance/subject' -module Allowance - def self.define(&blk) - Permissions.new(&blk) - end +if defined?(ActiveRecord) + require 'allowance/activerecord_ext' end