Sha256: e4d38f5196b77a0f22c9fa5f568d0320f46e95cca2f84a0614425b9dbc182230

Contents?: true

Size: 968 Bytes

Versions: 3

Compression:

Stored size: 968 Bytes

Contents

module Phcmembers
	class Engine < ::Rails::Engine

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

		# UI Dependencies
		require 'jquery-rails'
		require 'sass-rails'
		require 'bootstrap-sass'
		require 'font-awesome-rails'
		require 'gravtastic'

		# API Dependencies
		require 'rabl'
		require 'oj'

		# Isolate Namespace for PHC Members
		isolate_namespace Phcmembers
		
		# 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
		config.to_prepare do
			ApplicationController.helper(ApplicationHelper)
			Phcnotifi::ApplicationController.helper(ApplicationHelper)
			Phctitleseo::ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcmembers-2.2.0 lib/phcmembers/engine.rb
phcmembers-2.1.3 lib/phcmembers/engine.rb
phcmembers-2.1.2 lib/phcmembers/engine.rb