Sha256: 447f96730b5e526615519086bdbca108732ba97a9bb8cba158581c8112c65353

Contents?: true

Size: 927 Bytes

Versions: 60

Compression:

Stored size: 927 Bytes

Contents

module Phcscriptcdnpro
	class Engine < ::Rails::Engine

		# Load Security
		require 'authrocket'

		# Main Dependencies
		require 'phcnotifi'
		require 'phctitleseo'

		# 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

60 entries across 60 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.5.6 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.5.5 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.5.4 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.5.3 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.5.2 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.5.1 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.5.0 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.4.4 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.4.2 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.4.1 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.4.0 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.8 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.7 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.6 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.5 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.4 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.3 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.1 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.3.0 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.2.2 lib/phcscriptcdnpro/engine.rb