Sha256: c916f716ac126b9a0664b7605d2815cffb1721caf0cc39f133000ad3608e6f62

Contents?: true

Size: 763 Bytes

Versions: 4

Compression:

Stored size: 763 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'

		# 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 (Prevents Problems)
		config.to_prepare do
			ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcmembers-1.5.0 lib/phcmembers/engine.rb
phcmembers-1.0.2 lib/phcmembers/engine.rb
phcmembers-1.0.1 lib/phcmembers/engine.rb
phcmembers-1.0.0 lib/phcmembers/engine.rb