Sha256: c1ea89cb8c4beea7521bd62d894506b4e45d441ec6f45178ec52fb958743e205

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

begin
  require 'will_paginate'
rescue LoadError => e
  $stderr.puts %(
  *************************************************************************************************
  *                                                                                               *
  * gem will_paginate is missing                                                                  *
  * plugin admin_data depends on will_paginate                                                    *
  * Please install will_paginate by adding following line to Gemfile                              *
  * gem 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git', :branch => 'rails3' *
  *                                                                                               *
  *************************************************************************************************
  )
end

module AdminData
end

if Rails.version >= '3.0'
  require 'admin_data/railtie'
else
  raise "Please see documentation at http://neerajdotname.github.com/admin_data to find out how to use this plugin with rails 2.3"
end

# move date_validation to inside admin_data
require 'admin_data_date_validation'

require 'admin_data/helpers'
require 'admin_data/chelper'
require 'admin_data/compatibility'
require 'admin_data/settings'
require 'admin_data/util'

AdminData::Config.initialize_defaults
ActionView::Base.send :include, AdminData::Helpers

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
admin_data-1.0.8 lib/admin_data.rb
admin_data-1.0.7 lib/admin_data.rb