Sha256: 64135440719abee23a0bafe8484a92acd89179813d50b5fbd9b34058e90dea0e

Contents?: true

Size: 958 Bytes

Versions: 5

Compression:

Stored size: 958 Bytes

Contents

module Phcscriptcdnpro
	class Engine < ::Rails::Engine

		# Load Security
		require 'authrocket'

		# Main Dependencies
		require 'phcnotifi'
		require 'phctitleseo'
		require 'rabl'
		require 'oj'

		# UI Dependencies
		require 'jquery-rails'
		require 'jquery-ui-rails'
		require 'sass-rails'
		require 'bootstrap-sass'
		require 'font-awesome-rails'

		# 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

5 entries across 5 versions & 1 rubygems

Version Path
phcscriptcdnpro-2.1.0 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-2.0.3 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-2.0.2 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-2.0.1 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-2.0.0 lib/phcscriptcdnpro/engine.rb