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.9.12 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.11 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.10 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.8 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.7 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.6 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.5 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.4 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.2 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.1 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.9.0 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.11 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.10 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.9 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.8 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.7 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.6 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.5 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.4 lib/phcscriptcdnpro/engine.rb
phcscriptcdnpro-1.8.3 lib/phcscriptcdnpro/engine.rb