SYMBOL INDEX (805 symbols across 103 files) FILE: features/step_definitions/attachment_steps.rb type AttachmentHelpers (line 1) | module AttachmentHelpers function fixture_path (line 2) | def fixture_path(filename) function attachment_path (line 6) | def attachment_path(filename) FILE: features/step_definitions/rails_steps.rb function attach_attachment (line 71) | def attach_attachment(name, definition = nil) function transform_file (line 229) | def transform_file(filename) FILE: features/step_definitions/web_steps.rb type WithinHelpers (line 27) | module WithinHelpers function with_scope (line 28) | def with_scope(locator) FILE: features/support/fakeweb.rb type FakeWeb (line 5) | module FakeWeb class StubSocket (line 6) | class StubSocket method read_timeout= (line 7) | def read_timeout=(_ignored) method continue_timeout= (line 10) | def continue_timeout=(_ignored) FILE: features/support/file_helpers.rb type FileHelpers (line 1) | module FileHelpers function append_to (line 2) | def append_to(path, contents) function append_to_gemfile (line 11) | def append_to_gemfile(contents) function comment_out_gem_in_gemfile (line 15) | def comment_out_gem_in_gemfile(gemname) function read_from_web (line 23) | def read_from_web(url) FILE: features/support/paths.rb type NavigationHelpers (line 1) | module NavigationHelpers function path_to (line 8) | def path_to(page_name) FILE: features/support/rails.rb type RailsCommandHelpers (line 26) | module RailsCommandHelpers function framework_version? (line 27) | def framework_version?(version_string) function framework_version (line 31) | def framework_version function framework_major_version (line 35) | def framework_major_version FILE: features/support/selectors.rb type HtmlSelectorsHelpers (line 1) | module HtmlSelectorsHelpers function selector_for (line 8) | def selector_for(locator) FILE: lib/generators/paperclip/paperclip_generator.rb class PaperclipGenerator (line 3) | class PaperclipGenerator < ActiveRecord::Generators::Base method source_root (line 11) | def self.source_root method generate_migration (line 15) | def generate_migration method migration_name (line 21) | def migration_name method migration_file_name (line 25) | def migration_file_name method migration_class_name (line 29) | def migration_class_name method migration_version (line 33) | def migration_version FILE: lib/paperclip.rb type Paperclip (line 76) | module Paperclip function options (line 91) | def self.options function io_adapters= (line 105) | def self.io_adapters=(new_registry) function io_adapters (line 109) | def self.io_adapters type ClassMethods (line 113) | module ClassMethods function has_attached_file (line 197) | def has_attached_file(name, options = {}) FILE: lib/paperclip/attachment.rb type Paperclip (line 6) | module Paperclip class Attachment (line 10) | class Attachment method default_options (line 11) | def self.default_options method initialize (line 72) | def initialize(name, instance, options = {}) method assign (line 99) | def assign(uploaded_file) method url (line 143) | def url(style_name = default_style, options = {}) method default_options (line 151) | def default_options method expiring_url (line 161) | def expiring_url(time = 3600, style_name = default_style) method path (line 169) | def path(style_name = default_style) method staged_path (line 175) | def staged_path(style_name = default_style) method staged? (line 182) | def staged? method to_s (line 187) | def to_s style_name = default_style method as_json (line 191) | def as_json(options = nil) method default_style (line 195) | def default_style method styles (line 199) | def styles method only_process (line 212) | def only_process method processors (line 218) | def processors method errors (line 229) | def errors method dirty? (line 234) | def dirty? method save (line 240) | def save method clear (line 254) | def clear(*styles_to_clear) method destroy (line 267) | def destroy method uploaded_file (line 273) | def uploaded_file method original_filename (line 279) | def original_filename method size (line 285) | def size method fingerprint (line 291) | def fingerprint method content_type (line 297) | def content_type method created_at (line 303) | def created_at method updated_at (line 312) | def updated_at method time_zone (line 319) | def time_zone method hash_key (line 325) | def hash_key(style_name = default_style) method reprocess! (line 339) | def reprocess!(*style_args) method file? (line 362) | def file? method blank? (line 368) | def blank? method instance_respond_to? (line 374) | def instance_respond_to?(attr) method instance_write (line 381) | def instance_write(attr, value) method instance_read (line 390) | def instance_read(attr) method path_option (line 399) | def path_option method active_validator_classes (line 403) | def active_validator_classes method missing_required_validator? (line 407) | def missing_required_validator? method ensure_required_validations! (line 411) | def ensure_required_validations! method ensure_required_accessors! (line 417) | def ensure_required_accessors! #:nodoc: method log (line 425) | def log message #:nodoc: method initialize_storage (line 429) | def initialize_storage #:nodoc: method assign_attributes (line 439) | def assign_attributes method assign_file_information (line 446) | def assign_file_information method assign_fingerprint (line 452) | def assign_fingerprint method assign_timestamps (line 458) | def assign_timestamps method post_process_file (line 466) | def post_process_file method dirty! (line 474) | def dirty! method reset_file_if_original_reprocessed (line 478) | def reset_file_if_original_reprocessed method reset_updater (line 484) | def reset_updater method updater (line 490) | def updater method extra_options_for (line 494) | def extra_options_for(style) #:nodoc: method extra_source_file_options_for (line 498) | def extra_source_file_options_for(style) #:nodoc: method process_options (line 502) | def process_options(options_type, style) #:nodoc: method post_process (line 511) | def post_process(*style_args) #:nodoc: method post_process_styles (line 523) | def post_process_styles(*style_args) #:nodoc: method post_process_style (line 530) | def post_process_style(name, style) #:nodoc: method process_style? (line 560) | def process_style?(style_name, style_args) #:nodoc: method interpolate (line 564) | def interpolate(pattern, style_name = default_style) #:nodoc: method queue_some_for_delete (line 568) | def queue_some_for_delete(*styles) method queue_all_for_delete (line 574) | def queue_all_for_delete #:nodoc: method flush_errors (line 589) | def flush_errors #:nodoc: method after_flush_writes (line 596) | def after_flush_writes method unlink_files (line 600) | def unlink_files(files) method filename_cleaner (line 614) | def filename_cleaner method cleanup_filename (line 618) | def cleanup_filename(filename) method able_to_store_created_at? (line 623) | def able_to_store_created_at? method has_enabled_but_unset_created_at? (line 628) | def has_enabled_but_unset_created_at? FILE: lib/paperclip/attachment_registry.rb type Paperclip (line 3) | module Paperclip class AttachmentRegistry (line 4) | class AttachmentRegistry method register (line 7) | def self.register(klass, attachment_name, attachment_options) method clear (line 11) | def self.clear method names_for (line 15) | def self.names_for(klass) method each_definition (line 19) | def self.each_definition(&block) method definitions_for (line 23) | def self.definitions_for(klass) method initialize (line 27) | def initialize method register (line 31) | def register(klass, attachment_name, attachment_options) method clear (line 37) | def clear method names_for (line 41) | def names_for(klass) method each_definition (line 45) | def each_definition method definitions_for (line 53) | def definitions_for(klass) FILE: lib/paperclip/callbacks.rb type Paperclip (line 1) | module Paperclip type Callbacks (line 2) | module Callbacks function included (line 3) | def self.included(base) type Defining (line 8) | module Defining function define_paperclip_callbacks (line 9) | def define_paperclip_callbacks(*callbacks) function hasta_la_vista_baby (line 25) | def hasta_la_vista_baby type Running (line 36) | module Running function run_paperclip_callbacks (line 37) | def run_paperclip_callbacks(callback, &block) FILE: lib/paperclip/content_type_detector.rb type Paperclip (line 1) | module Paperclip class ContentTypeDetector (line 2) | class ContentTypeDetector method initialize (line 23) | def initialize(filepath) method detect (line 28) | def detect method blank_name? (line 42) | def blank_name? method empty_file? (line 46) | def empty_file? method calculated_type_matches (line 52) | def calculated_type_matches method possible_types (line 58) | def possible_types method type_from_file_contents (line 62) | def type_from_file_contents method type_from_mime_magic (line 69) | def type_from_mime_magic method type_from_file_command (line 75) | def type_from_file_command FILE: lib/paperclip/errors.rb type Paperclip (line 1) | module Paperclip class Error (line 4) | class Error < StandardError type Errors (line 7) | module Errors class StorageMethodNotFound (line 9) | class StorageMethodNotFound < Paperclip::Error class CommandNotFoundError (line 13) | class CommandNotFoundError < Paperclip::Error class MissingRequiredValidatorError (line 18) | class MissingRequiredValidatorError < Paperclip::Error class NotIdentifiedByImageMagickError (line 25) | class NotIdentifiedByImageMagickError < Paperclip::Error class InfiniteInterpolationError (line 31) | class InfiniteInterpolationError < Paperclip::Error FILE: lib/paperclip/file_command_content_type_detector.rb type Paperclip (line 1) | module Paperclip class FileCommandContentTypeDetector (line 2) | class FileCommandContentTypeDetector method initialize (line 5) | def initialize(filename) method detect (line 9) | def detect method type_from_file_command (line 15) | def type_from_file_command FILE: lib/paperclip/filename_cleaner.rb type Paperclip (line 1) | module Paperclip class FilenameCleaner (line 2) | class FilenameCleaner method initialize (line 3) | def initialize(invalid_character_regex) method call (line 7) | def call(filename) FILE: lib/paperclip/geometry.rb type Paperclip (line 1) | module Paperclip class Geometry (line 4) | class Geometry method initialize (line 10) | def initialize(width = nil, height = nil, modifier = nil) method from_file (line 25) | def self.from_file(file) method parse (line 32) | def self.parse(string) method auto_orient (line 37) | def auto_orient method square? (line 45) | def square? method horizontal? (line 50) | def horizontal? method vertical? (line 55) | def vertical? method aspect (line 60) | def aspect method larger (line 65) | def larger method smaller (line 70) | def smaller method to_s (line 75) | def to_s method inspect (line 84) | def inspect method transformation_to (line 95) | def transformation_to dst, crop = false method resize_to (line 112) | def resize_to(geometry) method scaling (line 136) | def scaling dst, ratio method cropping (line 144) | def cropping dst, ratio, scale method scale_to (line 153) | def scale_to(new_geometry) FILE: lib/paperclip/geometry_detector_factory.rb type Paperclip (line 1) | module Paperclip class GeometryDetector (line 2) | class GeometryDetector method initialize (line 3) | def initialize(file) method make (line 8) | def make method geometry_string (line 15) | def geometry_string method path (line 34) | def path method raise_if_blank_file (line 38) | def raise_if_blank_file method raise_because_imagemagick_missing (line 44) | def raise_because_imagemagick_missing FILE: lib/paperclip/geometry_parser_factory.rb type Paperclip (line 1) | module Paperclip class GeometryParser (line 2) | class GeometryParser method initialize (line 4) | def initialize(string) method make (line 8) | def make method match (line 21) | def match FILE: lib/paperclip/glue.rb type Paperclip (line 5) | module Paperclip type Glue (line 6) | module Glue function included (line 7) | def self.included(base) FILE: lib/paperclip/has_attached_file.rb type Paperclip (line 1) | module Paperclip class HasAttachedFile (line 2) | class HasAttachedFile method define_on (line 3) | def self.define_on(klass, name, options) method initialize (line 7) | def initialize(klass, name, options) method define (line 13) | def define method define_flush_errors (line 26) | def define_flush_errors method define_getters (line 33) | def define_getters method define_instance_getter (line 38) | def define_instance_getter method define_class_getter (line 59) | def define_class_getter method define_setter (line 63) | def define_setter method define_query (line 70) | def define_query method register_new_attachment (line 77) | def register_new_attachment method add_required_validations (line 81) | def add_required_validations method add_active_record_callbacks (line 90) | def add_active_record_callbacks method add_paperclip_callbacks (line 103) | def add_paperclip_callbacks type ClassMethods (line 109) | module ClassMethods function attachment_definitions (line 110) | def attachment_definitions FILE: lib/paperclip/helpers.rb type Paperclip (line 1) | module Paperclip type Helpers (line 2) | module Helpers function configure (line 3) | def configure function interpolates (line 7) | def interpolates key, &block function run (line 28) | def run(cmd, arguments = "", interpolation_values = {}, local_option... function each_instance_with_attachment (line 40) | def each_instance_with_attachment(klass, name) function class_for (line 46) | def class_for(class_name) function reset_duplicate_clash_check! (line 56) | def reset_duplicate_clash_check! FILE: lib/paperclip/interpolations.rb type Paperclip (line 1) | module Paperclip type Interpolations (line 6) | module Interpolations function []= (line 12) | def self.[]= name, block function [] (line 19) | def self.[] name function all (line 24) | def self.all function interpolate (line 32) | def self.interpolate pattern, *args function interpolators_cache (line 41) | def self.interpolators_cache function plural_cache (line 45) | def self.plural_cache function filename (line 50) | def filename attachment, style_name function url (line 58) | def url attachment, style_name function timestamp (line 68) | def timestamp attachment, style_name function updated_at (line 74) | def updated_at attachment, style_name function rails_root (line 79) | def rails_root attachment, style_name function rails_env (line 84) | def rails_env attachment, style_name function class (line 92) | def class attachment = nil, style_name = nil function basename (line 98) | def basename attachment, style_name function extension (line 105) | def extension attachment, style_name function dotextension (line 113) | def dotextension attachment, style_name function content_type_extension (line 125) | def content_type_extension attachment, style_name function id (line 150) | def id attachment, style_name function param (line 155) | def param attachment, style_name function fingerprint (line 160) | def fingerprint attachment, style_name function hash (line 166) | def hash attachment=nil, style_name=nil function id_partition (line 176) | def id_partition attachment, style_name function attachment (line 193) | def attachment attachment, style_name function style (line 198) | def style attachment, style_name FILE: lib/paperclip/interpolations/plural_cache.rb type Paperclip (line 1) | module Paperclip type Interpolations (line 2) | module Interpolations class PluralCache (line 3) | class PluralCache method initialize (line 4) | def initialize method pluralize_symbol (line 9) | def pluralize_symbol(symbol) method underscore_and_pluralize_class (line 13) | def underscore_and_pluralize_class(klass) FILE: lib/paperclip/io_adapters/abstract_adapter.rb type Paperclip (line 3) | module Paperclip class AbstractAdapter (line 4) | class AbstractAdapter method initialize (line 11) | def initialize(target, options = {}) method fingerprint (line 16) | def fingerprint method read (line 27) | def read(length = nil, buffer = nil) method inspect (line 31) | def inspect method original_filename= (line 35) | def original_filename=(new_filename) method nil? (line 40) | def nil? method assignment? (line 44) | def assignment? method destination (line 50) | def destination method copy_to_tempfile (line 54) | def copy_to_tempfile(src) method link_or_copy_file (line 59) | def link_or_copy_file(src, dest) FILE: lib/paperclip/io_adapters/attachment_adapter.rb type Paperclip (line 1) | module Paperclip class AttachmentAdapter (line 2) | class AttachmentAdapter < AbstractAdapter method register (line 3) | def self.register method initialize (line 9) | def initialize(target, options = {}) method cache_current_values (line 23) | def cache_current_values method copy_to_tempfile (line 30) | def copy_to_tempfile(source) FILE: lib/paperclip/io_adapters/data_uri_adapter.rb type Paperclip (line 1) | module Paperclip class DataUriAdapter (line 2) | class DataUriAdapter < StringioAdapter method register (line 3) | def self.register method initialize (line 11) | def initialize(target_uri, options = {}) method extract_target (line 17) | def extract_target(uri) FILE: lib/paperclip/io_adapters/empty_string_adapter.rb type Paperclip (line 1) | module Paperclip class EmptyStringAdapter (line 2) | class EmptyStringAdapter < AbstractAdapter method register (line 3) | def self.register method nil? (line 9) | def nil? method assignment? (line 13) | def assignment? FILE: lib/paperclip/io_adapters/file_adapter.rb type Paperclip (line 1) | module Paperclip class FileAdapter (line 2) | class FileAdapter < AbstractAdapter method register (line 3) | def self.register method initialize (line 9) | def initialize(target, options = {}) method cache_current_values (line 16) | def cache_current_values FILE: lib/paperclip/io_adapters/http_url_proxy_adapter.rb type Paperclip (line 1) | module Paperclip class HttpUrlProxyAdapter (line 2) | class HttpUrlProxyAdapter < UriAdapter method register (line 3) | def self.register method initialize (line 11) | def initialize(target, options = {}) FILE: lib/paperclip/io_adapters/identity_adapter.rb type Paperclip (line 1) | module Paperclip class IdentityAdapter (line 2) | class IdentityAdapter < AbstractAdapter method register (line 3) | def self.register method initialize (line 9) | def initialize method new (line 12) | def new(target, _) FILE: lib/paperclip/io_adapters/nil_adapter.rb type Paperclip (line 1) | module Paperclip class NilAdapter (line 2) | class NilAdapter < AbstractAdapter method register (line 3) | def self.register method initialize (line 9) | def initialize(_target, _options = {}); end method original_filename (line 11) | def original_filename method content_type (line 15) | def content_type method size (line 19) | def size method nil? (line 23) | def nil? method read (line 27) | def read(*_args) method eof? (line 31) | def eof? FILE: lib/paperclip/io_adapters/registry.rb type Paperclip (line 1) | module Paperclip class AdapterRegistry (line 2) | class AdapterRegistry class NoHandlerError (line 3) | class NoHandlerError < Paperclip::Error; end method initialize (line 7) | def initialize method register (line 11) | def register(handler_class, &block) method unregister (line 15) | def unregister(handler_class) method handler_for (line 19) | def handler_for(target) method registered? (line 26) | def registered?(target) method for (line 32) | def for(target, options = {}) FILE: lib/paperclip/io_adapters/stringio_adapter.rb type Paperclip (line 1) | module Paperclip class StringioAdapter (line 2) | class StringioAdapter < AbstractAdapter method register (line 3) | def self.register method initialize (line 9) | def initialize(target, options = {}) method cache_current_values (line 18) | def cache_current_values method copy_to_tempfile (line 26) | def copy_to_tempfile(source) FILE: lib/paperclip/io_adapters/uploaded_file_adapter.rb type Paperclip (line 1) | module Paperclip class UploadedFileAdapter (line 2) | class UploadedFileAdapter < AbstractAdapter method register (line 3) | def self.register method initialize (line 9) | def initialize(target, options = {}) method cache_current_values (line 26) | def cache_current_values method content_type_detector (line 32) | def content_type_detector method determine_content_type (line 36) | def determine_content_type FILE: lib/paperclip/io_adapters/uri_adapter.rb type Paperclip (line 3) | module Paperclip class UriAdapter (line 4) | class UriAdapter < AbstractAdapter method register (line 7) | def self.register method initialize (line 13) | def initialize(target, options = {}) method cache_current_values (line 22) | def cache_current_values method content_type_from_content (line 30) | def content_type_from_content method filename_from_content_disposition (line 34) | def filename_from_content_disposition method filename_from_path (line 45) | def filename_from_path method default_filename (line 49) | def default_filename method download_content (line 53) | def download_content method copy_to_tempfile (line 59) | def copy_to_tempfile(src) FILE: lib/paperclip/logger.rb type Paperclip (line 1) | module Paperclip type Logger (line 2) | module Logger function log (line 5) | def log(message) function logger (line 9) | def logger #:nodoc: function logger= (line 13) | def logger=(logger) function logging? (line 17) | def logging? #:nodoc: FILE: lib/paperclip/matchers.rb type Paperclip (line 6) | module Paperclip type Shoulda (line 7) | module Shoulda type Matchers (line 61) | module Matchers FILE: lib/paperclip/matchers/have_attached_file_matcher.rb type Paperclip (line 1) | module Paperclip type Shoulda (line 2) | module Shoulda type Matchers (line 3) | module Matchers function have_attached_file (line 11) | def have_attached_file name class HaveAttachedFileMatcher (line 15) | class HaveAttachedFileMatcher method initialize (line 16) | def initialize attachment_name method matches? (line 20) | def matches? subject method failure_message (line 26) | def failure_message method failure_message_when_negated (line 30) | def failure_message_when_negated method description (line 35) | def description method responds? (line 41) | def responds? method has_column? (line 48) | def has_column? FILE: lib/paperclip/matchers/validate_attachment_content_type_matcher.rb type Paperclip (line 1) | module Paperclip type Shoulda (line 2) | module Shoulda type Matchers (line 3) | module Matchers function validate_attachment_content_type (line 13) | def validate_attachment_content_type name class ValidateAttachmentContentTypeMatcher (line 17) | class ValidateAttachmentContentTypeMatcher method initialize (line 18) | def initialize attachment_name method allowing (line 24) | def allowing *types method rejecting (line 29) | def rejecting *types method matches? (line 34) | def matches? subject method failure_message (line 41) | def failure_message method description (line 49) | def description method accepted_types_and_failures (line 55) | def accepted_types_and_failures method rejected_types_and_failures (line 66) | def rejected_types_and_failures method expected_attachment (line 78) | def expected_attachment method type_allowed? (line 82) | def type_allowed?(type) method allowed_types_allowed? (line 88) | def allowed_types_allowed? method rejected_types_rejected? (line 93) | def rejected_types_rejected? FILE: lib/paperclip/matchers/validate_attachment_presence_matcher.rb type Paperclip (line 1) | module Paperclip type Shoulda (line 2) | module Shoulda type Matchers (line 3) | module Matchers function validate_attachment_presence (line 10) | def validate_attachment_presence name class ValidateAttachmentPresenceMatcher (line 14) | class ValidateAttachmentPresenceMatcher method initialize (line 15) | def initialize attachment_name method matches? (line 19) | def matches? subject method failure_message (line 25) | def failure_message method failure_message_when_negated (line 29) | def failure_message_when_negated method description (line 34) | def description method error_when_not_valid? (line 40) | def error_when_not_valid? method no_error_when_valid? (line 46) | def no_error_when_valid? FILE: lib/paperclip/matchers/validate_attachment_size_matcher.rb type Paperclip (line 1) | module Paperclip type Shoulda (line 2) | module Shoulda type Matchers (line 3) | module Matchers function validate_attachment_size (line 14) | def validate_attachment_size name class ValidateAttachmentSizeMatcher (line 18) | class ValidateAttachmentSizeMatcher method initialize (line 19) | def initialize attachment_name method less_than (line 23) | def less_than size method greater_than (line 28) | def greater_than size method in (line 33) | def in range method matches? (line 38) | def matches? subject method failure_message (line 44) | def failure_message method failure_message_when_negated (line 48) | def failure_message_when_negated method description (line 53) | def description method override_method (line 59) | def override_method object, method, &replacement method passes_validation_with_size (line 65) | def passes_validation_with_size(new_size) method lower_than_low? (line 78) | def lower_than_low? method higher_than_low? (line 82) | def higher_than_low? method lower_than_high? (line 86) | def lower_than_high? method higher_than_high? (line 90) | def higher_than_high? FILE: lib/paperclip/media_type_spoof_detector.rb type Paperclip (line 1) | module Paperclip class MediaTypeSpoofDetector (line 2) | class MediaTypeSpoofDetector method using (line 3) | def self.using(file, name, content_type) method initialize (line 7) | def initialize(file, name, content_type) method spoofed? (line 13) | def spoofed? method has_name? (line 24) | def has_name? method has_extension? (line 28) | def has_extension? method media_type_mismatch? (line 32) | def media_type_mismatch? method extension_type_mismatch? (line 36) | def extension_type_mismatch? method calculated_type_mismatch? (line 42) | def calculated_type_mismatch? method mapping_override_mismatch? (line 47) | def mapping_override_mismatch? method supplied_content_type (line 52) | def supplied_content_type method supplied_media_type (line 56) | def supplied_media_type method content_types_from_name (line 60) | def content_types_from_name method media_types_from_name (line 64) | def media_types_from_name method calculated_content_type (line 68) | def calculated_content_type method calculated_media_type (line 72) | def calculated_media_type method type_from_file_command (line 76) | def type_from_file_command method mapped_content_type (line 85) | def mapped_content_type method filename_extension (line 89) | def filename_extension FILE: lib/paperclip/missing_attachment_styles.rb type Paperclip (line 4) | module Paperclip function registered_attachments_styles_path (line 7) | def registered_attachments_styles_path function get_registered_attachments_styles (line 13) | def self.get_registered_attachments_styles function save_current_attachments_styles! (line 20) | def self.save_current_attachments_styles! function current_attachments_styles (line 35) | def self.current_attachments_styles function missing_attachments_styles (line 59) | def self.missing_attachments_styles FILE: lib/paperclip/processor.rb type Paperclip (line 1) | module Paperclip class Processor (line 21) | class Processor method initialize (line 24) | def initialize file, options = {}, attachment = nil method make (line 30) | def make method make (line 33) | def self.make file, options = {}, attachment = nil method convert (line 39) | def convert(arguments = "", local_options = {}) method identify (line 49) | def identify(arguments = "", local_options = {}) FILE: lib/paperclip/processor_helpers.rb type Paperclip (line 1) | module Paperclip type ProcessorHelpers (line 2) | module ProcessorHelpers class NoSuchProcessor (line 3) | class NoSuchProcessor < StandardError; end function processor (line 5) | def processor(name) #:nodoc: function load_processor (line 17) | def load_processor(name) function clear_processors! (line 33) | def clear_processors! function register_processor (line 45) | def register_processor(name, processor) FILE: lib/paperclip/rails_environment.rb type Paperclip (line 1) | module Paperclip class RailsEnvironment (line 2) | class RailsEnvironment method get (line 3) | def self.get method get (line 7) | def get method rails_exists? (line 17) | def rails_exists? method rails_environment_exists? (line 21) | def rails_environment_exists? FILE: lib/paperclip/railtie.rb type Paperclip (line 4) | module Paperclip class Railtie (line 7) | class Railtie < Rails::Railtie method insert (line 22) | def self.insert class Railtie (line 21) | class Railtie method insert (line 22) | def self.insert FILE: lib/paperclip/schema.rb type Paperclip (line 3) | module Paperclip type Schema (line 5) | module Schema function included (line 11) | def self.included(base) type Statements (line 18) | module Statements function add_attachment (line 19) | def add_attachment(table_name, *attachment_names) function remove_attachment (line 32) | def remove_attachment(table_name, *attachment_names) function drop_attached_file (line 42) | def drop_attached_file(*args) type TableDefinition (line 48) | module TableDefinition function attachment (line 49) | def attachment(*attachment_names) function has_attached_file (line 59) | def has_attached_file(*attachment_names) type CommandRecorder (line 65) | module CommandRecorder function add_attachment (line 66) | def add_attachment(*args) function invert_add_attachment (line 72) | def invert_add_attachment(args) FILE: lib/paperclip/storage/filesystem.rb type Paperclip (line 1) | module Paperclip type Storage (line 2) | module Storage type Filesystem (line 24) | module Filesystem function extended (line 25) | def self.extended base function exists? (line 28) | def exists?(style_name = default_style) function flush_writes (line 36) | def flush_writes #:nodoc: function flush_deletes (line 60) | def flush_deletes #:nodoc: function copy_to_local_file (line 84) | def copy_to_local_file(style, local_dest_path) function move_file (line 90) | def move_file(src, dest) FILE: lib/paperclip/storage/fog.rb type Paperclip (line 1) | module Paperclip type Storage (line 2) | module Storage type Fog (line 41) | module Fog function extended (line 42) | def self.extended base function exists? (line 63) | def exists?(style = default_style) function fog_credentials (line 71) | def fog_credentials function fog_file (line 75) | def fog_file function fog_public (line 88) | def fog_public(style = default_style) function flush_writes (line 103) | def flush_writes function flush_deletes (line 132) | def flush_deletes function public_url (line 140) | def public_url(style = default_style) function expiring_url (line 152) | def expiring_url(time = (Time.now + 3600), style_name = default_st... function parse_credentials (line 168) | def parse_credentials(creds) function copy_to_local_file (line 173) | def copy_to_local_file(style, local_dest_path) function convert_time (line 187) | def convert_time(time) function dynamic_fog_host_for_style (line 194) | def dynamic_fog_host_for_style(style) function host_name_for_directory (line 202) | def host_name_for_directory function find_credentials (line 210) | def find_credentials(creds) function connection (line 227) | def connection function directory (line 231) | def directory function directory_name (line 235) | def directory_name function scheme (line 243) | def scheme FILE: lib/paperclip/storage/s3.rb type Paperclip (line 1) | module Paperclip type Storage (line 2) | module Storage type S3 (line 123) | module S3 function extended (line 124) | def self.extended base function expiring_url (line 181) | def expiring_url(time = 3600, style_name = default_style) function s3_credentials (line 193) | def s3_credentials function s3_host_name (line 197) | def s3_host_name function s3_region (line 204) | def s3_region function s3_host_alias (line 211) | def s3_host_alias function s3_prefixes_in_alias (line 217) | def s3_prefixes_in_alias function s3_url_options (line 221) | def s3_url_options function bucket_name (line 227) | def bucket_name function s3_interface (line 233) | def s3_interface function obtain_s3_instance_for (line 259) | def obtain_s3_instance_for(options) function s3_bucket (line 264) | def s3_bucket function style_name_as_path (line 268) | def style_name_as_path(style_name) function s3_object (line 272) | def s3_object style_name = default_style function use_accelerate_endpoint? (line 276) | def use_accelerate_endpoint? function using_http_proxy? (line 280) | def using_http_proxy? function http_proxy_host (line 284) | def http_proxy_host function http_proxy_port (line 288) | def http_proxy_port function http_proxy_user (line 292) | def http_proxy_user function http_proxy_password (line 296) | def http_proxy_password function set_permissions (line 300) | def set_permissions permissions function set_storage_class (line 305) | def set_storage_class(storage_class) function parse_credentials (line 310) | def parse_credentials creds function exists? (line 316) | def exists?(style = default_style) function s3_permissions (line 326) | def s3_permissions(style = default_style) function s3_storage_class (line 332) | def s3_storage_class(style = default_style) function s3_protocol (line 336) | def s3_protocol(style = default_style, with_colon = false) function create_bucket (line 347) | def create_bucket function flush_writes (line 351) | def flush_writes #:nodoc: function flush_deletes (line 401) | def flush_deletes #:nodoc: function copy_to_local_file (line 413) | def copy_to_local_file(style, local_dest_path) function find_credentials (line 427) | def find_credentials creds function use_secure_protocol? (line 442) | def use_secure_protocol?(style_name) function merge_s3_headers (line 446) | def merge_s3_headers(http_headers, s3_headers, s3_metadata) FILE: lib/paperclip/style.rb type Paperclip (line 1) | module Paperclip class Style (line 6) | class Style method initialize (line 13) | def initialize name, definition, attachment method processors (line 39) | def processors method whiny (line 44) | def whiny method whiny? (line 49) | def whiny? method convert_options (line 53) | def convert_options method source_file_options (line 58) | def source_file_options method geometry (line 65) | def geometry method processor_options (line 72) | def processor_options method [] (line 85) | def [](key) method []= (line 93) | def []=(key, value) method default_format (line 102) | def default_format FILE: lib/paperclip/tempfile.rb type Paperclip (line 1) | module Paperclip class Tempfile (line 3) | class Tempfile < ::Tempfile method make_tmpname (line 11) | def make_tmpname(prefix_suffix, n) type TempfileEncoding (line 30) | module TempfileEncoding function binmode (line 34) | def binmode FILE: lib/paperclip/tempfile_factory.rb type Paperclip (line 1) | module Paperclip class TempfileFactory (line 2) | class TempfileFactory method generate (line 4) | def generate(name = random_name) method extension (line 11) | def extension method basename (line 15) | def basename method random_name (line 19) | def random_name FILE: lib/paperclip/thumbnail.rb type Paperclip (line 1) | module Paperclip class Thumbnail (line 3) | class Thumbnail < Processor method initialize (line 30) | def initialize(file, options = {}, attachment = nil) method crop? (line 55) | def crop? method convert_options? (line 60) | def convert_options? method make (line 66) | def make method transformation_command (line 101) | def transformation_command method multi_frame_format? (line 114) | def multi_frame_format? method animated? (line 118) | def animated? method identified_as_animated? (line 123) | def identified_as_animated? FILE: lib/paperclip/url_generator.rb type Paperclip (line 4) | module Paperclip class UrlGenerator (line 5) | class UrlGenerator method initialize (line 6) | def initialize(attachment) method for (line 10) | def for(style_name, options) method default_url (line 25) | def default_url method most_appropriate_url (line 35) | def most_appropriate_url method timestamp_as_needed (line 43) | def timestamp_as_needed(url, options) method timestamp_possible? (line 52) | def timestamp_possible? method escape_url_as_needed (line 56) | def escape_url_as_needed(url, options) method escape_url (line 64) | def escape_url(url) method escape_regex (line 72) | def escape_regex FILE: lib/paperclip/validators.rb type Paperclip (line 11) | module Paperclip type Validators (line 12) | module Validators type ClassMethods (line 22) | module ClassMethods function validates_attachment (line 35) | def validates_attachment(*attributes) function validate_before_processing (line 55) | def validate_before_processing(validator_class, options) function create_validating_before_filter (line 64) | def create_validating_before_filter(attribute, validator_class, op... FILE: lib/paperclip/validators/attachment_content_type_validator.rb type Paperclip (line 1) | module Paperclip type Validators (line 2) | module Validators class AttachmentContentTypeValidator (line 3) | class AttachmentContentTypeValidator < ActiveModel::EachValidator method initialize (line 4) | def initialize(options) method helper_method_name (line 9) | def self.helper_method_name method validate_each (line 13) | def validate_each(record, attribute, value) method validate_whitelist (line 30) | def validate_whitelist(record, attribute, value) method validate_blacklist (line 36) | def validate_blacklist(record, attribute, value) method mark_invalid (line 42) | def mark_invalid(record, attribute, types) method allowed_types (line 46) | def allowed_types method forbidden_types (line 50) | def forbidden_types method check_validity! (line 54) | def check_validity! type HelperMethods (line 61) | module HelperMethods function validates_attachment_content_type (line 81) | def validates_attachment_content_type(*attr_names) FILE: lib/paperclip/validators/attachment_file_name_validator.rb type Paperclip (line 1) | module Paperclip type Validators (line 2) | module Validators class AttachmentFileNameValidator (line 3) | class AttachmentFileNameValidator < ActiveModel::EachValidator method initialize (line 4) | def initialize(options) method helper_method_name (line 9) | def self.helper_method_name method validate_each (line 13) | def validate_each(record, attribute, value) method validate_whitelist (line 30) | def validate_whitelist(record, attribute, value) method validate_blacklist (line 36) | def validate_blacklist(record, attribute, value) method mark_invalid (line 42) | def mark_invalid(record, attribute, patterns) method allowed (line 46) | def allowed method forbidden (line 50) | def forbidden method check_validity! (line 54) | def check_validity! type HelperMethods (line 61) | module HelperMethods function validates_attachment_file_name (line 72) | def validates_attachment_file_name(*attr_names) FILE: lib/paperclip/validators/attachment_file_type_ignorance_validator.rb type Paperclip (line 3) | module Paperclip type Validators (line 4) | module Validators class AttachmentFileTypeIgnoranceValidator (line 5) | class AttachmentFileTypeIgnoranceValidator < ActiveModel::EachValidator method validate_each (line 6) | def validate_each(record, attribute, value) method helper_method_name (line 11) | def self.helper_method_name type HelperMethods (line 16) | module HelperMethods function do_not_validate_attachment_file_type (line 22) | def do_not_validate_attachment_file_type(*attr_names) FILE: lib/paperclip/validators/attachment_presence_validator.rb type Paperclip (line 3) | module Paperclip type Validators (line 4) | module Validators class AttachmentPresenceValidator (line 5) | class AttachmentPresenceValidator < ActiveModel::EachValidator method validate_each (line 6) | def validate_each(record, attribute, value) method helper_method_name (line 12) | def self.helper_method_name type HelperMethods (line 17) | module HelperMethods function validates_attachment_presence (line 23) | def validates_attachment_presence(*attr_names) FILE: lib/paperclip/validators/attachment_size_validator.rb type Paperclip (line 3) | module Paperclip type Validators (line 4) | module Validators class AttachmentSizeValidator (line 5) | class AttachmentSizeValidator < ActiveModel::Validations::Numericali... method initialize (line 8) | def initialize(options) method helper_method_name (line 13) | def self.helper_method_name method validate_each (line 17) | def validate_each(record, attr_name, value) method check_validity! (line 41) | def check_validity! method extract_options (line 49) | def extract_options(options) method extract_option_value (line 61) | def extract_option_value(option, option_value) method human_size (line 73) | def human_size(size) method min_value_in_human_size (line 77) | def min_value_in_human_size(record) method max_value_in_human_size (line 84) | def max_value_in_human_size(record) type HelperMethods (line 92) | module HelperMethods function validates_attachment_size (line 102) | def validates_attachment_size(*attr_names) FILE: lib/paperclip/validators/media_type_spoof_detection_validator.rb type Paperclip (line 3) | module Paperclip type Validators (line 4) | module Validators class MediaTypeSpoofDetectionValidator (line 5) | class MediaTypeSpoofDetectionValidator < ActiveModel::EachValidator method validate_each (line 6) | def validate_each(record, attribute, value) type HelperMethods (line 18) | module HelperMethods function validates_media_type_spoof_detection (line 24) | def validates_media_type_spoof_detection(*attr_names) FILE: lib/paperclip/version.rb type Paperclip (line 1) | module Paperclip FILE: lib/tasks/paperclip.rake type Paperclip (line 3) | module Paperclip type Task (line 4) | module Task function obtain_class (line 5) | def self.obtain_class function obtain_attachments (line 11) | def self.obtain_attachments(klass) function log_error (line 28) | def self.log_error(error) FILE: shoulda_macros/paperclip.rb type Paperclip (line 3) | module Paperclip type Shoulda (line 11) | module Shoulda function should_have_attached_file (line 16) | def should_have_attached_file name function should_validate_attachment_presence (line 25) | def should_validate_attachment_presence name function should_validate_attachment_content_type (line 37) | def should_validate_attachment_content_type name, options = {} function should_validate_attachment_size (line 53) | def should_validate_attachment_size name, options = {} function stub_paperclip_s3 (line 68) | def stub_paperclip_s3(model, attachment, extension) function paperclip_fixture (line 97) | def paperclip_fixture(model, attachment, extension) class ActionDispatch::IntegrationTest::Session (line 107) | class ActionDispatch::IntegrationTest::Session #:nodoc: class ActionController::Integration::Session (line 111) | class ActionController::Integration::Session #:nodoc: class FactoryGirl::Factory (line 117) | class FactoryGirl::Factory class Factory (line 121) | class Factory class Minitest::Unit::TestCase (line 127) | class Minitest::Unit::TestCase #:nodoc: class Test::Unit::TestCase (line 131) | class Test::Unit::TestCase #:nodoc: FILE: spec/paperclip/attachment_spec.rb function all (line 533) | def all; "-all"; end function thumb (line 534) | def thumb; "-thumb"; end class Paperclip::Test (line 642) | class Paperclip::Test < Paperclip::Processor; end method make (line 753) | def make; @file; end class Paperclip::Test (line 704) | class Paperclip::Test < Paperclip::Processor; end method make (line 753) | def make; @file; end class Paperclip::Test (line 752) | class Paperclip::Test < Paperclip::Processor method make (line 753) | def make; @file; end function do_before_avatar (line 832) | def do_before_avatar; end function do_after_avatar (line 833) | def do_after_avatar; end function do_before_all (line 834) | def do_before_all; end function do_after_all (line 835) | def do_after_all; end class MyCleaner (line 1038) | class MyCleaner method call (line 1039) | def call(filename) FILE: spec/paperclip/has_attached_file_spec.rb function assert_adding_attachment (line 65) | def assert_adding_attachment(attachment_name, options={}) class AttachmentAdder (line 69) | class AttachmentAdder method initialize (line 73) | def initialize(attachment_name, options = {}) method defines_method (line 83) | def defines_method(method_name) method defines_class_method (line 91) | def defines_class_method(method_name) method defines_validation (line 100) | def defines_validation method registers_attachment (line 108) | def registers_attachment method defines_callback (line 117) | def defines_callback(callback_name) method does_not_set_up_media_type_check_validation (line 125) | def does_not_set_up_media_type_check_validation method sets_up_media_type_check_validation (line 133) | def sets_up_media_type_check_validation method stub_class (line 143) | def stub_class FILE: spec/paperclip/integration_spec.rb function s3_files_for (line 488) | def s3_files_for attachment function s3_headers_for (line 500) | def s3_headers_for attachment, style FILE: spec/paperclip/interpolations_spec.rb class Thing (line 27) | class Thing ; end function url (line 190) | def url(*args) FILE: spec/paperclip/io_adapters/abstract_adapter_spec.rb class TestAdapter (line 4) | class TestAdapter < Paperclip::AbstractAdapter method content_type (line 7) | def content_type function ln (line 102) | def ln(*) class TestLinkOrCopyAdapter (line 131) | class TestLinkOrCopyAdapter < Paperclip::AbstractAdapter FILE: spec/paperclip/io_adapters/data_uri_adapter_spec.rb function original_base64_content (line 82) | def original_base64_content function original_file_contents (line 86) | def original_file_contents FILE: spec/paperclip/io_adapters/registry_spec.rb class AdapterTest (line 6) | class AdapterTest method initialize (line 7) | def initialize(_target, _ = {}); end method initialize (line 21) | def initialize(_target, _ = {}); end class AdapterTest (line 20) | class AdapterTest method initialize (line 7) | def initialize(_target, _ = {}); end method initialize (line 21) | def initialize(_target, _ = {}); end FILE: spec/paperclip/io_adapters/uploaded_file_adapter_spec.rb class UploadedFile (line 9) | class UploadedFile < OpenStruct; end class UploadedFile (line 59) | class UploadedFile < OpenStruct; end class UploadedFile (line 82) | class UploadedFile < OpenStruct; end class UploadedFile (line 130) | class UploadedFile < OpenStruct; end FILE: spec/paperclip/matchers/validate_attachment_content_type_matcher_spec.rb function plain_matcher (line 99) | def plain_matcher function matcher (line 103) | def matcher FILE: spec/paperclip/matchers/validate_attachment_presence_matcher_spec.rb function matcher (line 66) | def matcher FILE: spec/paperclip/matchers/validate_attachment_size_matcher_spec.rb function matcher (line 85) | def matcher FILE: spec/paperclip/paperclip_missing_attachment_styles_spec.rb class ::Book (line 49) | class ::Book < ActiveRecord::Base class ::Dummy (line 67) | class ::Dummy FILE: spec/paperclip/paperclip_spec.rb class ::One (line 100) | class ::One; class Two; end; end class Two (line 100) | class Two; end class ::Three (line 105) | class ::Three; end class ::Four (line 106) | class ::Four; end class ::SubDummy (line 130) | class ::SubDummy < Dummy; end function make (line 174) | def make(file, options = {}, attachment = nil) FILE: spec/paperclip/plural_cache_spec.rb class BigBox (line 14) | class BigBox ; end class BigBox (line 31) | class BigBox ; end FILE: spec/paperclip/rails_environment_spec.rb function resetting_rails_to (line 23) | def resetting_rails_to(new_value) FILE: spec/paperclip/storage/fog_spec.rb function custom_method (line 102) | def custom_method FILE: spec/paperclip/storage/s3_spec.rb function aws2_add_region (line 9) | def aws2_add_region function counter (line 389) | def counter function original_filename (line 510) | def original_filename function counter (line 605) | def counter class DummyCredentialProvider (line 992) | class DummyCredentialProvider; end function attachment_path (line 1671) | def attachment_path function rails_env (line 1685) | def rails_env(env) FILE: spec/paperclip/thumbnail_spec.rb function from_file (line 239) | def self.from_file(file) function transformation_to (line 243) | def transformation_to(target, should_crop) function parse (line 270) | def self.parse(s) function to_s (line 274) | def to_s FILE: spec/paperclip/url_generator_spec.rb function escape (line 75) | def escape function generate (line 198) | def generate(expected, updated_at=nil) FILE: spec/paperclip/validators/attachment_content_type_validator_spec.rb function build_validator (line 9) | def build_validator(options) FILE: spec/paperclip/validators/attachment_file_name_validator_spec.rb function build_validator (line 9) | def build_validator(options) FILE: spec/paperclip/validators/attachment_presence_validator_spec.rb function build_validator (line 9) | def build_validator(options={}) FILE: spec/paperclip/validators/attachment_size_validator_spec.rb function build_validator (line 9) | def build_validator(options) function should_allow_attachment_file_size (line 15) | def self.should_allow_attachment_file_size(size) function should_not_allow_attachment_file_size (line 31) | def self.should_not_allow_attachment_file_size(size, options = {}) FILE: spec/paperclip/validators/media_type_spoof_detection_validator_spec.rb function build_validator (line 9) | def build_validator(options = {}) FILE: spec/paperclip/validators_spec.rb function title_present? (line 86) | def title_present? function title_present? (line 96) | def title_present? class MyValidator (line 135) | class MyValidator < Paperclip::Validators::AttachmentContentTypeValidator method initialize (line 136) | def initialize(options) FILE: spec/support/assertions.rb type Assertions (line 1) | module Assertions function assert (line 2) | def assert(truthy, message = nil) function assert_equal (line 6) | def assert_equal(expected, actual, message = nil) function assert_not_equal (line 10) | def assert_not_equal(expected, actual, message = nil) function assert_raises (line 14) | def assert_raises(exception_class, message = nil, &block) function assert_nothing_raised (line 18) | def assert_nothing_raised(&block) function assert_nil (line 22) | def assert_nil(thing) function assert_contains (line 26) | def assert_contains(haystack, needle) function assert_match (line 30) | def assert_match(pattern, value) function assert_no_match (line 34) | def assert_no_match(pattern, value) function assert_file_exists (line 38) | def assert_file_exists(path_to_file) function assert_file_not_exists (line 42) | def assert_file_not_exists(path_to_file) function assert_empty (line 46) | def assert_empty(object) function assert_success_response (line 50) | def assert_success_response(url) function assert_not_found_response (line 59) | def assert_not_found_response(url) function assert_forbidden_response (line 67) | def assert_forbidden_response(url) function assert_frame_dimensions (line 75) | def assert_frame_dimensions(range, frames) FILE: spec/support/fake_model.rb class FakeModel (line 1) | class FakeModel method errors (line 11) | def errors method run_paperclip_callbacks (line 15) | def run_paperclip_callbacks name, *args method valid? (line 18) | def valid? method new_record? (line 22) | def new_record? FILE: spec/support/fake_rails.rb class FakeRails (line 1) | class FakeRails method initialize (line 2) | def initialize(env, root) method const_defined? (line 9) | def const_defined?(const) FILE: spec/support/mock_attachment.rb class MockAttachment (line 1) | class MockAttachment method initialize (line 5) | def initialize(options = {}) method instance (line 13) | def instance method respond_to? (line 17) | def respond_to?(meth) FILE: spec/support/mock_interpolator.rb class MockInterpolator (line 1) | class MockInterpolator method initialize (line 2) | def initialize(options = {}) method interpolate (line 6) | def interpolate(pattern, attachment, style_name) method has_interpolated_pattern? (line 13) | def has_interpolated_pattern?(pattern) method has_interpolated_style_name? (line 17) | def has_interpolated_style_name?(style_name) method has_interpolated_attachment? (line 21) | def has_interpolated_attachment?(attachment) FILE: spec/support/mock_url_generator_builder.rb class MockUrlGeneratorBuilder (line 1) | class MockUrlGeneratorBuilder method initializer (line 2) | def initializer method new (line 5) | def new(attachment) method for (line 11) | def for(style_name, options) method has_generated_url_with_options? (line 17) | def has_generated_url_with_options?(options) method has_generated_url_with_style_name? (line 24) | def has_generated_url_with_style_name?(style_name) FILE: spec/support/model_reconstruction.rb type ModelReconstruction (line 1) | module ModelReconstruction function reset_class (line 2) | def reset_class class_name function reset_table (line 25) | def reset_table table_name, &block function modify_table (line 30) | def modify_table &block function rebuild_model (line 34) | def rebuild_model options = {} function rebuild_class (line 47) | def rebuild_class options = {} function rebuild_meta_class_of (line 55) | def rebuild_meta_class_of obj, options = {} function meta_class_of (line 63) | def meta_class_of(obj) FILE: spec/support/reporting.rb type Reporting (line 1) | module Reporting function silence_stream (line 2) | def silence_stream(stream) FILE: spec/support/test_data.rb type TestData (line 1) | module TestData function attachment (line 2) | def attachment(options={}) function stringy_file (line 6) | def stringy_file function fixture_file (line 10) | def fixture_file(filename) FILE: spec/support/version_helper.rb type VersionHelper (line 1) | module VersionHelper function active_support_version (line 2) | def active_support_version function ruby_version (line 6) | def ruby_version