Sha256: 37b535fb7101530bb1ffed6dcad88fe64693572e735df8fdcc9b4dbb8647ca5f

Contents?: true

Size: 1.09 KB

Versions: 25

Compression:

Stored size: 1.09 KB

Contents

module Phcmemberspro
	class Engine < ::Rails::Engine

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

		# Main Dependencies
		require 'phcnotifi'
		require 'phctitler'
		
		# Data
		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
		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(ApplicationHelper)
			Phctitler::ApplicationController.helper(ApplicationHelper)
		end

	end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
phcmemberspro-4.8.5 lib/phcmemberspro/engine.rb
phcmemberspro-4.8.4 lib/phcmemberspro/engine.rb
phcmemberspro-4.8.0 lib/phcmemberspro/engine.rb
phcmemberspro-4.7.9 lib/phcmemberspro/engine.rb
phcmemberspro-4.7.0 lib/phcmemberspro/engine.rb
phcmemberspro-4.6.9 lib/phcmemberspro/engine.rb
phcmemberspro-4.6.8 lib/phcmemberspro/engine.rb
phcmemberspro-4.6.7 lib/phcmemberspro/engine.rb
phcmemberspro-4.6.6 lib/phcmemberspro/engine.rb
phcmemberspro-4.6.5 lib/phcmemberspro/engine.rb
phcmemberspro-4.6.0 lib/phcmemberspro/engine.rb
phcmemberspro-4.5.0 lib/phcmemberspro/engine.rb
phcmemberspro-4.0.0 lib/phcmemberspro/engine.rb
phcmemberspro-3.9.7 lib/phcmemberspro/engine.rb
phcmemberspro-3.9.6 lib/phcmemberspro/engine.rb
phcmemberspro-3.9.5 lib/phcmemberspro/engine.rb
phcmemberspro-3.9.2 lib/phcmemberspro/engine.rb
phcmemberspro-3.9.1 lib/phcmemberspro/engine.rb
phcmemberspro-3.9.0 lib/phcmemberspro/engine.rb
phcmemberspro-3.8.6 lib/phcmemberspro/engine.rb