Sha256: 75a75e2b20172513737249713562bba8f745fd6a784d28b7b831c155e3b83a33

Contents?: true

Size: 1009 Bytes

Versions: 1

Compression:

Stored size: 1009 Bytes

Contents

require "active_support"
require "active_record"
require "action_controller"
require "action_mailer"

dir = File.dirname(__FILE__)
require "#{dir}/desert/plugin"
require "#{dir}/desert/manager"
require "#{dir}/desert/version_checker"

if Desert::VersionChecker.rails_version_is_below_1990?
  require "#{dir}/desert/rails/1.x/initializer"
else
  require "#{dir}/desert/rails/2.x/plugin"
end
require "#{dir}/desert/rails/dependencies"
require "#{dir}/desert/rails/migration"
require "#{dir}/desert/rails/migrator"
require "#{dir}/desert/ruby/object"

require "#{dir}/desert/rails/route_set"

require "#{dir}/desert/plugin_migrations/migrator"
require "#{dir}/desert/plugin_migrations/extensions/schema_statements"

require "#{dir}/desert/plugin_templates/action_controller"
if Desert::VersionChecker.rails_version_is_below_rc2?
  require "#{dir}/desert/plugin_templates/1.x/action_mailer"
else
  require "#{dir}/desert/plugin_templates/2.x/action_mailer"
end
require "#{dir}/desert/plugin_templates/action_view"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
desert-0.1.1 lib/desert.rb