Sha256: 3da26264f87705c35929cae662a7153dbac992be7ef3c60a7965de3900be9dd4

Contents?: true

Size: 823 Bytes

Versions: 5

Compression:

Stored size: 823 Bytes

Contents

require "cancan/version"
require 'cancan/ability'
require 'cancan/rule'
require 'cancan/controller_resource'
require 'cancan/controller_additions'
require 'cancan/model_additions'
require 'cancan/exceptions'
require 'cancan/inherited_resource'

require 'cancan/model_adapters/abstract_adapter'
require 'cancan/model_adapters/default_adapter'

if defined? ActiveRecord
  require 'cancan/model_adapters/active_record_adapter'
  if ActiveRecord.respond_to?(:version) &&
      ActiveRecord.version >= Gem::Version.new("4")
    require 'cancan/model_adapters/active_record_4_adapter'
  else
    require 'cancan/model_adapters/active_record_3_adapter'
  end
end

require 'cancan/model_adapters/mongoid_adapter' if defined?(Mongoid) && defined?(Mongoid::Document)
require 'cancan/model_adapters/sequel_adapter' if defined? Sequel

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
cancancan-1.15.0 lib/cancan.rb
cancancan-1.14.0 lib/cancan.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/cancancan-1.13.1/lib/cancan.rb
cancancan-1.13.1 lib/cancan.rb
cancancan-1.13.0 lib/cancan.rb