Module: Sprockets

Extended by:
Configuration, ProcessorUtils
Defined in:
lib/sprockets/errors.rb,
lib/sprockets.rb,
lib/sprockets/base.rb,
lib/sprockets/mime.rb,
lib/sprockets/asset.rb,
lib/sprockets/bower.rb,
lib/sprockets/cache.rb,
lib/sprockets/paths.rb,
lib/sprockets/utils.rb,
lib/sprockets/bundle.rb,
lib/sprockets/legacy.rb,
lib/sprockets/loader.rb,
lib/sprockets/server.rb,
lib/sprockets/context.rb,
lib/sprockets/engines.rb,
lib/sprockets/resolve.rb,
lib/sprockets/uri_tar.rb,
lib/sprockets/version.rb,
lib/sprockets/autoload.rb,
lib/sprockets/manifest.rb,
lib/sprockets/uri_utils.rb,
lib/sprockets/http_utils.rb,
lib/sprockets/path_utils.rb,
lib/sprockets/processing.rb,
lib/sprockets/utils/gzip.rb,
lib/sprockets/compressing.rb,
lib/sprockets/environment.rb,
lib/sprockets/file_reader.rb,
lib/sprockets/autoload/eco.rb,
lib/sprockets/autoload/ejs.rb,
lib/sprockets/autoload/yui.rb,
lib/sprockets/dependencies.rb,
lib/sprockets/digest_utils.rb,
lib/sprockets/eco_template.rb,
lib/sprockets/ejs_template.rb,
lib/sprockets/erb_template.rb,
lib/sprockets/transformers.rb,
lib/sprockets/autoload/sass.rb,
lib/sprockets/configuration.rb,
lib/sprockets/eco_processor.rb,
lib/sprockets/ejs_processor.rb,
lib/sprockets/erb_processor.rb,
lib/sprockets/jst_processor.rb,
lib/sprockets/sass_template.rb,
lib/sprockets/encoding_utils.rb,
lib/sprockets/manifest_utils.rb,
lib/sprockets/sass_processor.rb,
lib/sprockets/unloaded_asset.rb,
lib/sprockets/yui_compressor.rb,
lib/sprockets/processor_utils.rb,
lib/sprockets/sass_compressor.rb,
lib/sprockets/autoload/closure.rb,
lib/sprockets/cache/file_store.rb,
lib/sprockets/cache/null_store.rb,
lib/sprockets/sass_cache_store.rb,
lib/sprockets/autoload/uglifier.rb,
lib/sprockets/path_digest_utils.rb,
lib/sprockets/cache/memory_store.rb,
lib/sprockets/cached_environment.rb,
lib/sprockets/closure_compressor.rb,
lib/sprockets/directive_processor.rb,
lib/sprockets/uglifier_compressor.rb,
lib/sprockets/legacy_proc_processor.rb,
lib/sprockets/legacy_tilt_processor.rb,
lib/sprockets/path_dependency_utils.rb,
lib/sprockets/autoload/coffee_script.rb,
lib/sprockets/coffee_script_template.rb,
lib/sprockets/coffee_script_processor.rb

Overview

Define some basic Sprockets error classes

Defined Under Namespace

Modules: Autoload, Bower, CoffeeScriptProcessor, Compressing, Configuration, Dependencies, DigestUtils, EcoProcessor, EjsProcessor, EncodingUtils, Engines, HTTPUtils, Loader, ManifestUtils, Mime, PathDependencyUtils, PathDigestUtils, PathUtils, Paths, Processing, ProcessorUtils, Resolve, Server, Transformers, URIUtils, Utils Classes: ArgumentError, Asset, Base, Bundle, Cache, CachedEnvironment, ClosureCompressor, ContentTypeMismatch, Context, ConversionError, DirectiveProcessor, ERBProcessor, Environment, Error, FileNotFound, FileOutsidePaths, FileReader, JstProcessor, LegacyProcProcessor, LegacyTiltProcessor, Manifest, NotFound, NotImplementedError, SassCompressor, SassProcessor, ScssProcessor, URITar, UglifierCompressor, UnloadedAsset, YUICompressor

Constant Summary collapse

Index =

Deprecated

CachedEnvironment
VERSION =
"3.6.3"
EcoTemplate =

Deprecated

EcoProcessor
EjsTemplate =

Deprecated

EjsProcessor
ERBTemplate =

Deprecated

ERBProcessor
SassTemplate =

Deprecated

SassProcessor
ScssTemplate =
ScssProcessor
SassFunctions =

Deprecated: Use Sprockets::SassProcessor::Functions instead.

SassProcessor::Functions
SassCacheStore =

Deprecated: Use Sprockets::SassProcessor::CacheStore instead.

SassProcessor::CacheStore
CoffeeScriptTemplate =

Deprecated

CoffeeScriptProcessor

Constants included from ProcessorUtils

ProcessorUtils::VALID_METADATA_COMPOUND_TYPES, ProcessorUtils::VALID_METADATA_COMPOUND_TYPES_HASH, ProcessorUtils::VALID_METADATA_TYPES, ProcessorUtils::VALID_METADATA_VALUE_TYPES, ProcessorUtils::VALID_METADATA_VALUE_TYPES_HASH

Constants included from PathUtils

PathUtils::SEPARATOR_PATTERN

Constants included from Utils

Utils::UNBOUND_METHODS_BIND_TO_ANY_OBJECT

Constants included from DigestUtils

DigestUtils::DIGEST_SIZES, DigestUtils::HASH_ALGORITHMS

Instance Attribute Summary

Attributes included from Configuration

#computed_config, #config, #context_class, #logger

Method Summary

Methods included from ProcessorUtils

call_processor, call_processors, compose_processors, processor_cache_key, processors_cache_keys, valid_processor_metadata_value?, validate_processor_result!

Methods included from Configuration

digest_class, digest_class=, initialize_configuration, version, version=

Methods included from Paths

#append_path, #clear_paths, #each_file, #paths, #prepend_path, #root

Methods included from PathUtils

#absolute_path?, #atomic_write, #directory?, #entries, #file?, #find_upwards, #match_path_extname, #path_extnames, #path_parents, #paths_split, #relative_path?, #split_subpath, #stat, #stat_directory, #stat_sorted_tree, #stat_tree

Methods included from Utils

#concat_javascript_sources, #dfs, #dfs_paths, #duplicable?, #hash_reassoc, #hash_reassoc1, #module_include, #normalize_extension, #string_end_with_semicolon?

Methods included from Mime

#mime_exts, #mime_type_charset_detecter, #mime_types, #read_file, #register_mime_type

Methods included from HTTPUtils

#find_best_mime_type_match, #find_best_q_match, #find_mime_type_matches, #find_q_matches, #match_mime_type?, #match_mime_type_keys, #parse_q_values

Methods included from Engines

#engine_mime_types, #engines, #register_engine

Methods included from Transformers

#compose_transformers, #expand_transform_accepts, #register_transformer, #resolve_transform_type, #transformers

Methods included from Processing

#bundle_processors, #pipelines, #postprocessors, #preprocessors, #register_bundle_metadata_reducer, #register_bundle_processor, #register_pipeline, #register_postprocessor, #register_preprocessor, #unregister_bundle_processor, #unregister_postprocessor, #unregister_preprocessor

Methods included from URIUtils

#build_asset_uri, #build_file_digest_uri, #encode_uri_query_params, #join_file_uri, #join_uri, #parse_asset_uri, #parse_file_digest_uri, #parse_uri_query_params, #split_file_uri, #split_uri, #valid_asset_uri?

Methods included from Compressing

#compressors, #css_compressor, #css_compressor=, #gzip=, #gzip?, #js_compressor, #js_compressor=, #register_compressor, #skip_gzip?

Methods included from Dependencies

#add_dependency, #dependencies, #dependency_resolvers, #register_dependency_resolver, #resolve_dependency

Methods included from DigestUtils

#detect_digest_class, #digest, #digest_class, #hexdigest_integrity_uri, #integrity_uri, #pack_base64digest, #pack_hexdigest, #pack_urlsafe_base64digest, #unpack_hexdigest

Methods included from PathDigestUtils

#file_digest, #files_digest, #stat_digest