Sha256: da926bcb8f016e0e842304f0c9c499251742b1cd018096cbd2768b3c7af80a63

Contents?: true

Size: 1.01 KB

Versions: 16

Compression:

Stored size: 1.01 KB

Contents

# DO NOT change order of require, since there are some dependencies

# DO NOT include anything here that will be properly autoloaded by
# Rails - This would be any file that define a properly namespaced
# module/class as Marty::<filename> and that don't run code outside of
# that module/class

# Also note that anything required here will need to require in any
# classes that they might be overriding methods in
require 'action_cable/engine'

require 'marty/engine'
require 'marty/railtie'
require 'marty/mcfly_model'
require 'marty/cache_adapters'
require 'marty/monkey'
require 'marty/promise_job'
require 'marty/json_schema'
require 'marty/rails_app'

# This does not get loaded in via bundler unless it is included in the
# application's Gemfile. Requiring it here removes the need to add it
# to the Gemfile
require 'net-ldap'
require 'delayed_cron_job'
require 'state_machines-activerecord'

require 'pathname'

module Marty
  class << self
    def root
      Pathname.new(File.expand_path('..', __dir__))
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
marty-14.3.0 lib/marty.rb
marty-14.0.0 lib/marty.rb
marty-13.0.2 lib/marty.rb
marty-11.0.0 lib/marty.rb
marty-10.0.3 lib/marty.rb
marty-10.0.2 lib/marty.rb
marty-10.0.0 lib/marty.rb
marty-9.5.1 lib/marty.rb
marty-9.5.0 lib/marty.rb
marty-9.3.3 lib/marty.rb
marty-9.3.2 lib/marty.rb
marty-9.3.0 lib/marty.rb
marty-8.5.0 lib/marty.rb
marty-8.4.1 lib/marty.rb
marty-8.3.1 lib/marty.rb
marty-8.2.0 lib/marty.rb