Sha256: 6a670397aa5500265614366c5e3c7954af5268c6673593a6acb82b56493a41c3

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

module Phcmemberspro
	class Engine < ::Rails::Engine

		# Load MTDevise
		require 'mtdevise'
		require 'mtdevise/active_record_extensions'
		require 'mtdevise/scoped_to'

		# Main Dependencies
		require 'phcnotifi'
		require 'phctitleseo'
		
		# Data
		require 'country_select'

		# UI Dependencies
		require 'jquery-rails'
		require 'jquery-ui-rails'
		require 'sass-rails'
		require 'bootstrap-sass'
		require 'font-awesome-rails'
		require 'gravtastic'
		
		# API Dependencies
		require 'rabl'
		require 'oj'

		# Isolate Namespace
		isolate_namespace Phcmemberspro
		
		# Testing Generator
		config.generators do |g|
			g.test_framework :rspec,
			fixtures: true,
			view_specs: false,
			helper_specs: false,
			routing_specs: false,
			controller_specs: true,
			request_specs: false
			g.fixture_replacement :factory_girl, dir: "spec/factories"
		end

		# Load Requried Helper Files
		config.to_prepare do
			ApplicationController.helper(ApplicationHelper)
			Mtdevise::ApplicationController.helper(ApplicationHelper)
			Phcnotifi::ApplicationController.helper(ApplicationHelper)
			Phctitleseo::ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-5.2.7 lib/phcmemberspro/engine.rb