Sha256: 3f28636d4d997b123edfcbd80ec403294bf9df3edd7cde120148ce1c3c6e349f

Contents?: true

Size: 1013 Bytes

Versions: 3

Compression:

Stored size: 1013 Bytes

Contents

module Phcmemberspro
	class Engine < ::Rails::Engine

		# Load MTDevise
		require 'mtdevise'
		require 'mtdevise/active_record_extensions'
		require 'mtdevise/scoped_to'

		# Main Dependencies
		require 'figaro'
		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 for PWHC Members
		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
		end

	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcmemberspro-3.5.0 lib/phcmemberspro/engine.rb
phcmemberspro-3.3.3 lib/phcmemberspro/engine.rb
phcmemberspro-3.3.2 lib/phcmemberspro/engine.rb