Sha256: 2b6b26fcbff9d2ed7c7fc56d06be4feea203351dca1c536c4b9fb2b223f3bd48

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

# -*- encoding : utf-8 -*-
# built-ins
#
  require 'enumerator'
  require 'set'
  require 'fileutils'
  require 'cgi'
  require 'tmpdir'
  require 'yaml'
  require 'securerandom'
  require 'json'

# dao libs
#
  require 'map'
  require 'fattr'
  require 'tagz'
  require 'rails_current'

#
  require_relative 'dao/_lib.rb'

#
  %w[
    action_controller
    active_support
    active_model
  ].each do |framework|
    begin
      require "#{ framework }/railtie"
    rescue LoadError
      begin
        require "#{ framework }"
      rescue LoadError
        raise
      end
    end
  end


#
  Dao.load %w[
    blankslate.rb
    coerce.rb
    wrap.rb
    instance_exec.rb
    extractor.rb
    exceptions.rb
    support.rb
    slug.rb
    stdext.rb

    name.rb
    status.rb
    path_map.rb
    errors2html.rb
    errors.rb
    messages.rb
    form.rb
    validations.rb
    data.rb
    result.rb
    params.rb

    mode.rb
    route.rb
    path.rb
    endpoint.rb
    api.rb

    db.rb

    rails.rb
    active_record.rb
    mongo_mapper.rb

    conducer.rb
    upload.rb
  ]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dao-8.0.0 lib/dao.rb