Sha256: b70bcc297d9bd27cd95729177a9961114f0c83dab5c33849290a1e03a22d7f38

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 Bytes

Contents

module Phcscriptcdnpro
	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(Pro) Own Namespace
		isolate_namespace Phcscriptcdnpro

		# 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

2 entries across 2 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.2.1 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.2.0 lib/phcscriptcdnpro/engine.rb