Sha256: 37b535fb7101530bb1ffed6dcad88fe64693572e735df8fdcc9b4dbb8647ca5f

Contents?: true

Size: 1.09 KB

Versions: 25

Compression:

Stored size: 1.09 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 'phctitler'
		
		# 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 Helper Files (Prevents Problems)
		config.to_prepare do
			ApplicationController.helper(ApplicationHelper)
			Mtdevise::ApplicationController.helper(ApplicationHelper)
			Phctitler::ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
phcmemberspro-3.8.5 lib/phcmemberspro/engine.rb
phcmemberspro-3.8.3 lib/phcmemberspro/engine.rb
phcmemberspro-3.8.2 lib/phcmemberspro/engine.rb
phcmemberspro-3.8.1 lib/phcmemberspro/engine.rb
phcmemberspro-3.8.0 lib/phcmemberspro/engine.rb