Sha256: a9e8ab8ea3c774d5e537d32f5ee26f4b1b85441b1e457f5569ed7482cb33ecdd
Contents?: true
Size: 684 Bytes
Versions: 2
Compression:
Stored size: 684 Bytes
Contents
require File.dirname(__FILE__) + "/lib/rails_legacy.rb" require File.dirname(__FILE__) + "/lib/helper.rb" require File.dirname(__FILE__) + "/lib/in_controller.rb" require File.dirname(__FILE__) + "/lib/in_model.rb" require File.dirname(__FILE__) + "/lib/obligation_scope.rb" min_rails_version = "2.1.0" if Rails::VERSION::STRING < min_rails_version raise "declarative_authorization requires Rails #{min_rails_version}. You are using #{Rails::VERSION::STRING}." end ActionController::Base.send :include, Authorization::AuthorizationInController ActionController::Base.helper Authorization::AuthorizationHelper ActiveRecord::Base.send :include, Authorization::AuthorizationInModel
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stffn-declarative_authorization-0.2.1 | init.rb |
stffn-declarative_authorization-0.2.3 | init.rb |