Sha256: 99b2b1bea4e2754d24935cc8115ea3dcbd712e877861136d96f29ac0d3697fd0

Contents?: true

Size: 847 Bytes

Versions: 3

Compression:

Stored size: 847 Bytes

Contents

module Phcscriptcdn
	class Engine < ::Rails::Engine
				
		# Load UI Dependecies
		require 'jquery-rails'
		require 'sass-rails'
		require 'bootstrap-sass'
		require 'font-awesome-rails'

		# PHCEngines
		require 'phcnotifi'
		require 'phctitleseo'

		# Give PHCScriptCDN Own Namespace
		isolate_namespace Phcscriptcdn

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

	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcscriptcdn-1.2.0 lib/phcscriptcdn/engine.rb
phcscriptcdn-1.1.0 lib/phcscriptcdn/engine.rb
phcscriptcdn-1.0.3 lib/phcscriptcdn/engine.rb