Sha256: 23c6647fa8f280dde40adab02e0d50d3d4b322144136454501f12a230728259c

Contents?: true

Size: 921 Bytes

Versions: 5

Compression:

Stored size: 921 Bytes

Contents

module Phcmembers
	class Engine < ::Rails::Engine

		# Main Dependencies
		require 'figaro'
		require 'country_select'

		# 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

5 entries across 5 versions & 1 rubygems

Version Path
phcmembers-1.8.1 lib/phcmembers/engine.rb
phcmembers-1.8.0 lib/phcmembers/engine.rb
phcmembers-1.7.8 lib/phcmembers/engine.rb
phcmembers-1.7.6 lib/phcmembers/engine.rb
phcmembers-1.7.5 lib/phcmembers/engine.rb