Module: Sprockets

Extended by:
Configuration, ProcessorUtils
Defined in:
lib/sprockets/errors.rb,
lib/sprockets.rb,
lib/sprockets/npm.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/loader.rb,
lib/sprockets/server.rb,
lib/sprockets/context.rb,
lib/sprockets/resolve.rb,
lib/sprockets/uri_tar.rb,
lib/sprockets/version.rb,
lib/sprockets/autoload.rb,
lib/sprockets/manifest.rb,
lib/sprockets/exporting.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/transformers.rb,
lib/sprockets/autoload/sass.rb,
lib/sprockets/configuration.rb,
lib/sprockets/eco_processor.rb,
lib/sprockets/ejs_processor.rb,
lib/sprockets/jst_processor.rb,
lib/sprockets/autoload/babel.rb,
lib/sprockets/autoload/sassc.rb,
lib/sprockets/encoding_utils.rb,
lib/sprockets/exporters/base.rb,
lib/sprockets/manifest_utils.rb,
lib/sprockets/sass_processor.rb,
lib/sprockets/unloaded_asset.rb,
lib/sprockets/yui_compressor.rb,
lib/sprockets/autoload/jsminc.rb,
lib/sprockets/autoload/zopfli.rb,
lib/sprockets/babel_processor.rb,
lib/sprockets/processor_utils.rb,
lib/sprockets/sass_compressor.rb,
lib/sprockets/sassc_processor.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/sassc_compressor.rb,
lib/sprockets/source_map_utils.rb,
lib/sprockets/autoload/uglifier.rb,
lib/sprockets/jsminc_compressor.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/source_map_processor.rb,
lib/sprockets/path_dependency_utils.rb,
lib/sprockets/autoload/coffee_script.rb,
lib/sprockets/coffee_script_processor.rb,
lib/sprockets/exporters/file_exporter.rb,
lib/sprockets/exporters/zlib_exporter.rb,
lib/sprockets/exporters/zopfli_exporter.rb,
lib/sprockets/source_map_comment_processor.rb,
lib/sprockets/preprocessors/default_source_map.rb

Overview

Define some basic Sprockets error classes

Defined Under Namespace

Modules: Autoload, Bower, CoffeeScriptProcessor, Compressing, Configuration, Dependencies, DigestUtils, EcoProcessor, EjsProcessor, EncodingUtils, Exporters, Exporting, HTTPUtils, Loader, ManifestUtils, Mime, Npm, PathDependencyUtils, PathDigestUtils, PathUtils, Paths, Preprocessors, Processing, ProcessorUtils, Resolve, Server, SourceMapUtils, Transformers, URIUtils, Utils Classes: ArgumentError, Asset, BabelProcessor, Base, Bundle, Cache, CachedEnvironment, ClosureCompressor, ContentTypeMismatch, Context, ConversionError, DirectiveProcessor, ERBProcessor, Environment, Error, FileNotFound, FileOutsidePaths, FileReader, JSMincCompressor, JstProcessor, Manifest, NotFound, NotImplementedError, SassCompressor, SassProcessor, SasscCompressor, SasscProcessor, ScssProcessor, ScsscProcessor, SourceMapCommentProcessor, SourceMapProcessor, URITar, UglifierCompressor, UnloadedAsset, YUICompressor

Constant Summary collapse

VERSION =
"4.0.0.beta5"
SassFunctions =

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

SassProcessor::Functions
SassCacheStore =

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

SassProcessor::CacheStore

Constants included from PathUtils

PathUtils::SEPARATOR_PATTERN

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 DigestUtils

DigestUtils::DIGEST_SIZES, DigestUtils::HASH_ALGORITHMS

Instance Attribute Summary

Attributes included from Configuration

#config, #context_class, #logger

Method Summary

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_matching_path_for_extensions, #find_upwards, #join, #match_path_extname, #path_extnames, #path_parents, #paths_split, #relative_path?, #relative_path_from, #set_pipeline, #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, #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 Transformers

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

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 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 Exporting

#export_concurrent, #export_concurrent=, #exporters, #register_exporter, #unregister_exporter

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, #hexdigest_integrity_uri, #integrity_uri, #pack_base64digest, #pack_hexdigest, #pack_urlsafe_base64digest, #unpack_hexdigest

Methods included from PathDigestUtils

#file_digest, #files_digest, #stat_digest