Sha256: 053f2a2e4fcbebe5003d767d337b7389761e16c8f5625679acb120b3604048e9

Contents?: true

Size: 624 Bytes

Versions: 7

Compression:

Stored size: 624 Bytes

Contents

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# Plugin dependencies
Dir.glob(File.join(File.dirname(__FILE__), '..', 'plugins', '**')).each do |plugin_dir|
  # Add 'plugin/lib' to $LOAD_PATH
  $:.unshift File.expand_path(File.join(plugin_dir, 'lib'))
  require File.basename(plugin_dir)      # require 'plugin'
  require File.join(plugin_dir, 'init')  # require 'plugin/init'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 lib/fat_free_crm/plugin_dependencies.rb
fat_free_crm-0.12.3 lib/fat_free_crm/plugin_dependencies.rb
fat_free_crm-0.12.2 lib/fat_free_crm/plugin_dependencies.rb
fat_free_crm-0.13.1 lib/fat_free_crm/plugin_dependencies.rb
fat_free_crm-0.12.1 lib/fat_free_crm/plugin_dependencies.rb
fat_free_crm-0.13.0 lib/fat_free_crm/plugin_dependencies.rb
fat_free_crm-0.12.0 lib/fat_free_crm/plugin_dependencies.rb