Sha256: ed1107306a4245b264bdd820a19cec6a3d74f83f92b77bfe0f4be7ed921c8ca3

Contents?: true

Size: 983 Bytes

Versions: 4

Compression:

Stored size: 983 Bytes

Contents

module Phcmembers
	class Engine < ::Rails::Engine

		# Main Dependencies
		require 'figaro'
		require 'country_select'
		
		# PHCEngines
		require 'phcnotifi'
		require 'phctitler'

		# 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)
			Phctitler::ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcmembers-2.0.0 lib/phcmembers/engine.rb
phcmembers-1.9.9 lib/phcmembers/engine.rb
phcmembers-1.9.5 lib/phcmembers/engine.rb
phcmembers-1.9.0 lib/phcmembers/engine.rb