lib/paperclip.rbc in paperclip-2.3.5 vs lib/paperclip.rbc in paperclip-2.3.6

- old
+ new

@@ -7,78 +7,5195 @@ n x 10 __script__ i +260 +5 +7 +0 +64 +47 +49 +1 +1 +15 +5 +7 +2 +64 +47 +49 +1 +1 +15 +5 +7 +3 +64 +47 +49 +1 +1 +15 +5 +7 +4 +64 +47 +49 +1 +1 +15 +5 +7 +5 +64 +47 +49 +1 +1 +15 +5 +7 +6 +64 +47 +49 +1 +1 +15 +5 +7 +7 +64 +47 +49 +1 +1 +15 +5 +7 +8 +64 +47 +49 +1 +1 +15 +5 +7 +9 +64 +47 +49 +1 +1 +15 +5 +7 +10 +64 +47 +49 +1 +1 +15 +5 +7 +11 +64 +47 +49 +1 +1 +15 +5 +7 +12 +64 +47 +49 +1 +1 +15 +5 +7 +13 +64 +47 +49 +1 +1 +15 +5 +7 +14 +64 +47 +49 +1 +1 +15 +5 +7 +15 +64 +47 +49 +1 +1 +15 +5 +7 +16 +64 +47 +49 +1 +1 +15 +26 +93 +0 +15 29 +159 +0 +7 +17 +98 +18 +1 +30 +8 +165 +25 +92 +0 +27 +8 +177 +7 +19 5 +98 +20 +3 +9 +177 7 +21 +8 +178 +1 +13 +9 +188 +15 +45 +17 +22 +49 +19 0 +9 +230 +45 +23 +24 +45 +25 +26 +45 +25 +27 +45 +17 +28 +49 +19 +0 +49 +29 +1 +7 +30 64 +7 +31 +64 +7 +32 +64 +49 +33 +4 +49 +34 +1 +56 +35 +50 +36 +0 +8 +231 +1 +15 +99 +7 +37 +65 +49 +38 +2 +13 +99 +12 +7 +39 +12 +7 +40 +12 +65 +12 +49 +41 +4 +15 +49 +39 +0 +15 +2 +11 +I +7 +I +0 +I +0 +I +0 +n +p +42 +s +3 +erb +x +7 +require +s +6 +digest +s +8 +tempfile +s +17 +paperclip/version +s +16 +paperclip/upfile +s +18 +paperclip/iostream +s +18 +paperclip/geometry +s +19 +paperclip/processor +s +19 +paperclip/thumbnail +s +24 +paperclip/interpolations +s +15 +paperclip/style +s +20 +paperclip/attachment +s +17 +paperclip/storage +s +32 +paperclip/callback_compatability +s +22 +paperclip/command_line +s +17 +paperclip/railtie +x +5 +Rails +x +16 +vm_const_defined +x +4 +root +x +17 +vm_check_callable +s +6 +method +n +x +3 +Dir +n +x +4 +File +n +n +n +x +11 +expand_path +s +3 +lib +s +20 +paperclip_processors +s +4 +*.rb +x +4 +join +x +4 +glob +M +1 +p +2 +x +9 +for_block +t +n +x +9 +__block__ +i +12 +57 +19 +0 +15 +5 +20 +0 47 49 +0 1 +11 +I +4 +I 1 +I +1 +I +1 +n +p +1 +x +7 +require +p +5 +I +0 +I +2d +I +4 +I +2e +I +c +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +1 +x +9 +processor +x +4 +each +x +9 +Paperclip +x +11 +open_module +x 15 +__module_init__ +M +1 +n +n +x +9 +Paperclip +i +200 5 +66 +5 +99 +12 +49 +0 +1 +13 +99 +12 7 +1 +12 +7 2 +12 +65 +12 +49 +3 +4 +15 +54 +50 +1 +0 +15 +99 +7 +4 +45 +5 +6 +65 +49 +7 +3 +15 +1 +15 +99 +7 +8 +45 +4 +9 +65 +49 +7 +3 +13 +99 +12 +7 +10 +12 +7 +11 +12 +65 +12 +49 +3 +4 +15 +49 +10 +0 +15 +99 +7 +12 +45 +4 +13 +65 +49 +7 +3 +15 +1 +15 +99 +7 +14 +45 +4 +15 +65 +49 +7 +3 +15 +1 +15 +99 +7 +16 +45 +4 +17 +65 +49 +7 +3 +15 +1 +15 +99 +7 +18 +45 +4 +19 +65 +49 +7 +3 +15 +1 +15 +99 +7 +20 +65 +49 +21 +2 +13 +99 +12 +7 +22 +12 +7 +23 +12 +65 +12 +49 +3 +4 +15 +49 +22 +0 +15 +99 +7 +24 +65 +49 +21 +2 +13 +99 +12 +7 +22 +12 +7 +25 +12 +65 +12 +49 +3 +4 +15 +49 +22 +0 +15 +99 +7 +26 +65 +49 +21 +2 +13 +99 +12 +7 +22 +12 +7 +27 +12 +65 +12 +49 +3 +4 +15 +49 +22 +0 +11 +I +6 +I +0 +I +0 +I +0 +n +p +28 +x +16 +object_metaclass +x +18 +__metaclass_init__ +M +1 +n +n +x +18 +__metaclass_init__ +i +114 +5 +66 +99 +7 +0 +7 +1 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +4 +7 +5 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +6 +7 +7 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +8 +7 +9 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +10 +7 +11 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +12 +7 +13 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +14 +7 +15 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +16 +7 +17 +65 +67 +49 +2 +0 +49 +3 +4 +11 +I +5 +I +0 +I +0 +I +0 +n +p +18 +x +7 +options +M +1 +n +n +x +7 +options +i +65 +39 +0 +13 +10 64 +15 +44 +43 +1 +4 +6 +49 +2 +1 +13 +7 +3 +2 +49 +4 +2 +15 +13 +7 +5 +1 +49 +4 +2 +15 +13 +7 +6 +1 +49 +4 +2 +15 +13 +7 +7 +2 +49 +4 +2 +15 +13 +7 +8 +2 +49 +4 +2 +15 +13 +7 +9 +2 +49 +4 +2 +15 +38 +0 +11 +I +4 +I +0 +I +0 +I +0 +n +p +10 +x +8 +@options +x +4 +Hash +x +16 +new_from_literal +x +5 +whiny +x +3 +[]= +x +17 +image_magick_path +x +12 +command_path +x +3 +log +x +11 +log_command +x +14 +swallow_stderr +p +19 +I +0 +I +40 +I +0 +I +48 +I +6 +I +48 +I +f +I +42 +I +17 +I +43 +I +1f +I +44 +I +27 +I +45 +I +2f +I +46 +I +37 +I 47 +I +41 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +17 +method_visibility +x +15 +add_defn_method +x +9 +configure +M +1 +n +n +x +9 +configure +i +10 +94 +9 +8 +5 +60 +1 +8 +9 +1 +11 +I +1 +I +0 +I +0 +I +0 +n +p +0 +p +5 +I +0 +I +4b +I +0 +I +4c +I +a +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +12 +interpolates +M +1 +n +n +x +12 +interpolates +i +21 +95 +19 +1 +15 +45 +0 +1 +43 +2 +20 +0 +20 +1 +13 +18 +3 49 +3 +2 +15 +11 +I +6 +I +2 +I 1 +I 1 +n +p +4 +x +9 +Paperclip +n +x +14 +Interpolations +x +3 +[]= +p +5 +I +0 +I +4f +I +4 +I +50 +I 15 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +3 +key +x 5 +block +x +3 +run +M +1 +n +n +x +3 +run +i +70 +5 +48 +0 7 +1 +49 +2 +1 +9 +21 +45 3 +4 +7 +5 64 +49 +6 +1 +8 +22 +1 +15 +45 +7 +8 +5 +48 +0 +7 +9 +49 +2 +1 +13 +10 +46 +15 +5 +48 +0 +7 +1 +49 +2 +1 +13 +18 +2 +49 +10 +1 +15 +15 +45 +7 +11 +20 +0 +20 +1 +36 +1 +51 +12 +1 +49 +13 +0 +11 +I +6 +I +2 +I +1 +I +1 +I +1 +p +14 +x +7 +options +x +17 +image_magick_path +x +2 +[] +x +9 +Paperclip +n +s +93 +[DEPRECATION] :image_magick_path is deprecated and will be removed. Use :command_path instead +x +3 +log +x +11 +CommandLine +n +x +12 +command_path +x +5 +path= +n +x +3 +new +x +3 +run +p +13 +I +0 +I +63 +I +0 +I +64 +I +a +I +65 +I +15 +I +64 +I +17 +I +67 +I +36 +I +68 +I +46 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +3 +cmd +x +6 +params +x +9 +processor +M +1 +n +n +x +9 +processor +i +97 +20 +0 +49 +0 +0 +49 +1 +0 +19 +0 +15 +45 +2 +3 +20 +0 +49 +4 +1 +19 +1 +15 +20 +1 +49 +5 +0 +45 +2 +6 +43 +7 +49 +8 +1 +9 +40 +1 +8 +93 +5 +45 +9 +10 +13 +71 +11 47 +9 +74 +47 49 +12 +0 +13 +7 +13 +20 +0 +47 +49 +0 +0 +7 +14 +63 +3 +47 +49 +15 1 +15 +8 +89 +7 +13 +20 +0 +47 +49 +0 +0 +7 +14 +63 +3 +49 +11 1 +47 +49 +16 +1 15 +20 +1 +11 +I +8 +I 2 +I +1 +I +1 +n +p +17 +x +4 +to_s +x +8 +camelize +x +9 +Paperclip +n +x +9 +const_get +x +9 +ancestors +n +x +9 +Processor +x +8 +include? +x +14 +PaperclipError +n +x +3 +new +x +8 +allocate +s +10 +Processor +s +14 + was not found +x +10 +initialize +x +5 +raise +p +13 +I +0 +I +6b +I +0 +I +6c +I +b +I +6d +I +16 +I +6e +I +28 +I +6f +I +5e +I +71 +I +61 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +name +x +9 +processor +x +3 +log +M +1 +n +n +x +3 +log +i +27 +5 +47 +49 +0 +0 +9 +25 +5 +48 +1 +7 +2 +20 +0 +47 +49 +3 +0 +63 +2 +49 +4 +1 +8 +26 +1 11 I +4 +I +1 +I +1 +I +1 +n +p +5 +x +8 +logging? +x +6 +logger +s +12 +[paperclip] +x +4 +to_s +x +4 +info +p +5 +I +0 +I +76 +I +0 +I +77 +I +1b +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +1 +x +7 +message +x +6 +logger +M +1 +n +n +x +6 +logger +i +9 +45 +0 +1 +43 2 +49 +3 +0 +11 I +1 +I 0 I 0 I 0 n p 4 +x +12 +ActiveRecord +n +x +4 +Base +x +6 +logger +p +5 +I +0 +I +7a +I +0 +I +7b +I +9 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +8 +logging? +M +1 +n +n +x +8 +logging? +i +9 +5 +48 +0 +7 +1 +49 +2 +1 +11 +I +2 +I +0 +I +0 +I +0 +n +p +3 +x +7 +options +x +3 +log +x +2 +[] +p +5 +I +0 +I +7e +I +0 +I +7f +I +9 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +p +17 +I +2 +I +40 +I +10 +I +4b +I +1e +I +4f +I +2c +I +63 +I +3a +I +6b +I +48 +I +76 +I +56 +I +7a +I +64 +I +7e +I +72 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +13 +attach_method +x +14 +PaperclipError +x +13 +StandardError +n +x +10 +open_class +x +25 +PaperclipCommandLineError +n +x +14 +__class_init__ +M +1 +n +n +x +25 +PaperclipCommandLineError +i +24 +5 +66 +5 +7 +0 +47 +49 +1 +1 +15 +99 +7 +2 +7 +3 +65 +67 +49 +4 +0 +49 +5 +4 +11 +I +5 +I +0 +I +0 +I +0 +n +p +6 +x +6 +output +x +13 +attr_accessor +x +10 +initialize +M +1 +n +n +x +10 +initialize +i +28 +23 +0 +10 +8 +1 +19 +0 +15 +23 +1 +10 +16 +1 +19 +1 +15 +20 +0 +54 +52 +0 +1 +15 +20 +1 +38 +1 +11 +I +4 +I +2 +I +0 +I +2 +n +p +2 +x +10 +initialize +x +7 +@output +p +7 +I +0 +I +88 +I +10 +I +89 +I +17 +I +8a +I +1c +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +3 +msg +x +6 +output +x +17 +method_visibility +x +15 +add_defn_method +p +5 +I +2 +I +87 +I +a +I +88 +I +18 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +21 +StorageMethodNotFound +n +x +20 +CommandNotFoundError +n +x +31 +NotIdentifiedByImageMagickError +n +x +26 +InfiniteInterpolationError +n +x +4 +Glue +x +11 +open_module +x +15 +__module_init__ +M +1 +n +n +x +4 +Glue +i +13 +5 +66 +99 +7 +0 +7 +1 +65 +5 +49 +2 +4 +11 +I +5 +I +0 +I +0 +I +0 +n +p +3 +x +8 +included +M +1 +n +n +x +8 +included +i +50 +20 +0 +45 +0 +1 +49 +2 +1 +15 +20 +0 +7 +3 +64 +49 +4 +1 +9 +35 +20 +0 +7 +5 +45 +6 +7 +43 +8 +43 +9 +49 +10 +2 +8 +49 +20 +0 +7 +5 +45 +6 +11 +43 +8 +43 +12 +49 +10 +2 +11 +I +4 +I +1 +I +1 +I +1 +n +p +13 +x +12 +ClassMethods +n +x +6 +extend s +12 +set_callback +x +11 +respond_to? +x +7 +include +x +9 +Paperclip +n +x +21 +CallbackCompatability +x +6 +Rails3 +x +4 +send +n +x +7 +Rails21 +p +11 +I +0 +I +9b +I +0 +I +9c +I +9 +I +9d +I +13 +I +9e +I +23 +I +a0 +I +32 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +1 +x +4 +base +x +13 +attach_method +p +3 +I +2 +I +9b +I +d +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +12 +ClassMethods +M +1 +n +n +x +12 +ClassMethods +i +86 +5 +66 +99 +7 +0 +7 +1 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +4 +7 +5 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +6 +7 +7 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +8 +7 +9 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 10 -mime/types +7 +11 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +12 +7 +13 +65 +67 +49 +2 +0 +49 +3 +4 +11 +I +5 +I +0 +I +0 +I +0 +n +p +14 x +17 +has_attached_file +M +1 +n +n +x +17 +has_attached_file +i +177 +23 +1 +10 +14 +44 +43 +0 +78 +49 +1 +1 +19 +1 +15 +5 +45 +2 +3 +47 +49 +4 +1 +15 +5 +48 +5 +49 +6 +0 +9 +47 +5 7 -require +5 +44 +43 +0 +78 +49 +1 +1 +47 +49 +7 +2 +8 +48 +1 +15 +5 +48 +5 +20 +0 +44 +43 +0 +79 +49 +1 +1 +13 +7 +8 +35 +0 +49 +9 +2 +15 +20 +1 +49 +10 +1 +13 +18 +3 +49 +9 +2 +15 +15 +5 +7 +11 +47 +49 +12 +1 +15 +5 +7 +13 +47 +49 +14 +1 +15 +5 +7 +15 +20 +0 +47 +49 +16 +0 +7 +17 +63 +2 +47 +49 +18 +0 +47 +49 +19 +2 +15 +5 +20 +0 +56 +20 +47 +50 +21 +1 +15 +5 +20 +0 +47 +49 +16 +0 +7 +22 +63 +2 +56 +23 +47 +50 +21 +1 +15 +5 +20 +0 +47 +49 +16 +0 +7 +24 +63 +2 +56 +25 +47 +50 +21 +1 +15 +5 +20 +0 +56 +26 +47 +50 +27 +1 +11 +I +8 +I +2 +I +1 +I +2 +n +p +28 +x +4 +Hash +x +16 +new_from_literal +x +15 +InstanceMethods +n +x +7 +include +x +22 +attachment_definitions +x +4 +nil? +x +27 +write_inheritable_attribute +x +11 +validations +x +3 +[]= +x +5 +merge +x +19 +save_attached_files +x +10 +after_save +x +22 +destroy_attached_files +x +14 +before_destroy +x +12 +post_process +x +4 +to_s s +13 +_post_process +x +6 +to_sym +x +26 +define_paperclip_callbacks +M +1 +p +2 +x +9 +for_block +t +n +x +17 +has_attached_file +i +41 +59 +36 +19 +0 +15 +5 +21 +1 +0 +47 +49 +0 +1 +19 +1 +15 +20 +0 +49 +1 +0 +78 +85 +2 +9 +38 +20 +1 +20 +0 +49 +3 +0 +49 +4 +1 8 -tempfile +40 +20 +1 +11 +I +5 +I +2 +I +0 +I +0 +I +0 +p +5 +x +14 +attachment_for +x +6 +length +x +1 +> +x +5 +first +x +4 +to_s +p +7 +I +0 +I +f0 +I +5 +I +f1 +I +10 +I +f2 +I +29 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +args +x +1 +a +x +13 +define_method s +1 += +M +1 +p +2 +x +9 +for_block +t +n +x +17 +has_attached_file +i +18 +57 +19 +0 +15 +5 +21 +1 +0 +47 +49 +0 +1 20 -paperclip/attachment +0 +49 +1 +1 +11 +I +4 +I +1 +I +1 +I +1 +n p +2 +x +14 +attachment_for +x +6 +assign +p +5 +I +0 +I +f5 +I +4 +I +f6 +I +12 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +1 +x +4 +file +s +1 +? +M +1 +p +2 +x +9 +for_block +t +n +x +17 +has_attached_file +i +12 +5 +21 +1 +0 +47 +49 +0 +1 +49 +1 +0 +11 +I +3 +I +0 +I +0 +I +0 +I +-2 +p +2 +x +14 +attachment_for +x +5 +file? +p +5 +I +0 +I +f9 +I +0 +I +fa +I +c +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +M +1 +p +2 +x +9 +for_block +t +n +x +17 +has_attached_file +i +33 +58 +37 +19 +0 +15 +37 +19 +1 +15 +37 +19 +2 +15 +15 +20 +0 +21 +1 +0 +49 +0 +1 +19 +3 +15 +20 +3 7 +1 +49 +2 +1 +11 I +7 +I +4 +I +3 +I +3 +n +p +3 +x +14 +attachment_for +x +12 +flush_errors +x +4 +send +p +7 +I 0 I +fd +I +e +I +fe +I +19 +I +ff +I +21 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +4 +x +6 +record +x +4 +attr +x +5 +value +x +10 +attachment +x +14 +validates_each +p +23 +I +0 +I +e5 +I +e +I +e6 +I +17 +I +e8 +I +31 +I +e9 +I +53 +I +eb +I +5b +I +ec +I +63 +I +ee +I +79 +I +f0 +I +83 +I +f5 +I +95 +I +f9 +I +a7 +I +fd +I +b1 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +name +x +7 +options +x +17 +method_visibility +x +15 +add_defn_method +x +25 +validates_attachment_size +M 1 +n +n +x +25 +validates_attachment_size +i +268 +23 +1 +10 +14 +44 +43 +0 +78 +49 +1 +1 +19 +1 +15 +20 +1 +7 +2 +49 +3 +1 +13 +10 +51 +15 +20 +1 +7 +4 +49 +3 +1 +13 +9 +46 +15 +20 +1 +7 +4 +49 +3 +1 +49 +5 +0 +13 +10 +51 +15 +78 +19 +2 +15 +20 +1 +7 +6 +49 +3 +1 +13 +10 +96 +15 +20 +1 +7 +4 +49 +3 +1 +13 +9 +86 +15 +20 +1 +7 +4 +49 +3 +1 +49 +7 +0 +13 +10 +96 +15 +7 +8 +78 +49 +9 +1 +19 +3 +15 +44 +43 +10 +20 +2 +20 +3 +49 +11 +2 +19 +4 +15 +20 +1 +7 +12 +49 +3 +1 +13 +10 +126 +15 +7 +13 +64 +19 +5 +15 +20 +5 +7 +14 +13 +70 +9 +149 +15 +44 +43 +15 +7 +16 +78 +49 +11 +2 +6 +14 +20 +2 +49 +17 +0 +49 +18 +2 +7 +19 +13 +70 +9 +175 +15 +44 +43 +15 +7 +20 +78 +49 +11 +2 +6 +19 +20 +3 +49 +17 +0 +49 +18 +2 +19 +5 +15 +5 +20 +0 +47 +49 +17 +0 +7 +21 +63 +2 +47 +49 +22 +0 +44 +43 +0 +4 +5 +49 +1 +1 +13 +7 +4 +20 +4 +49 +23 +2 +15 +13 +7 +12 +20 +5 +49 +23 +2 +15 +13 +7 +24 +20 +1 +7 +24 +49 +3 +1 +49 +23 +2 +15 +13 +7 +25 +20 +1 +7 +25 +49 +3 +1 +49 +23 +2 +15 +13 +7 +26 +2 +49 +23 +2 +15 +47 +49 +27 +2 +11 I +d +I +6 +I +1 +I +2 +n +p +28 +x +4 +Hash +x +16 +new_from_literal +x +12 +greater_than +x +2 +[] +x +2 +in +x +5 +first +x 9 +less_than +x +4 +last +d + +0.500000000000000000000000000000000000000000000000000000 1 +x +1 +/ +x +5 +Range +x +3 +new +x +7 +message +s +46 +file size must be between :min and :max bytes. +n +x +6 +Regexp +s +4 +:min +x +4 +to_s +x +4 +gsub +n +s +4 +:max +s +10 +_file_size +x +6 +to_sym +x +3 +[]= +x +2 +if +x +6 +unless +x +9 +allow_nil +x +22 +validates_inclusion_of +p +29 I +0 +I +10c +I +e +I +10d +I +36 +I +10e +I +63 +I +10f +I +70 +I +110 +I +81 +I +111 +I +ba +I +113 +I +c9 +I +118 +I +d2 +I +114 +I +db +I +115 +I +e4 +I +116 +I +f2 +I +117 +I +100 +I +118 +I +107 +I +113 +I +10c +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +6 +x +4 +name +x +7 +options +x +3 +min +x +3 +max +x +5 +range +x +7 +message +x +31 +validates_attachment_thumbnails +M +1 +n +n +x +31 +validates_attachment_thumbnails +i +52 +23 +1 +10 +14 +44 +43 +0 +78 +49 +1 +1 +19 +1 +15 +5 +7 2 +64 +7 +3 +64 +81 +4 +7 +5 +64 +81 +4 +47 +49 +6 +1 +15 +5 +48 +7 +20 +0 +49 +8 +1 +7 +9 +2 +13 +18 +3 +49 +10 +2 +15 +11 I +6 +I +2 +I +1 +I +2 +n +p +11 +x +4 +Hash +x +16 +new_from_literal +s +60 +[DEPRECATION] validates_attachment_thumbnail is deprecated. +s +75 +This validation is on by default and will be removed from future versions. +x +1 ++ +s +70 +If you wish to turn it off, supply :whiny => false in your definition. +x +4 +warn +x +22 +attachment_definitions +x +2 +[] +x +16 +whiny_thumbnails +x +3 +[]= +p +13 +I +0 +I +11c +I +e +I +11f +I +f +I +11d +I 12 I +11e +I +17 +I +11f +I +21 +I +120 +I +34 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +name +x +7 +options +x +29 +validates_attachment_presence +M +1 +n +n +x +29 +validates_attachment_presence +i +96 +23 +1 +10 +14 +44 +43 +0 +78 +49 +1 +1 +19 +1 +15 +20 +1 +7 +2 +49 3 +1 +13 +10 +28 +15 +7 +4 +64 +19 +2 +15 +5 +20 +0 +47 +49 +5 +0 +7 +6 +63 +2 +47 +49 +7 +0 +44 +43 +0 +4 +3 +49 +1 +1 +13 +7 +2 +20 +2 +49 +8 +2 +15 +13 +7 +9 +20 +1 +7 +9 +49 +3 +1 +49 +8 +2 +15 +13 +7 +10 +20 +1 +7 +10 +49 +3 +1 +49 +8 +2 +15 +47 +49 +11 +2 +11 I +a +I +3 +I +1 +I +2 +n +p +12 +x +4 +Hash +x +16 +new_from_literal +x +7 +message +x +2 +[] +s +12 +must be set. +x +4 +to_s +s +10 +_file_name +x +6 +to_sym +x +3 +[]= +x +2 +if +x +6 +unless +x +21 +validates_presence_of +p +17 +I +0 +I +128 +I +e +I +129 +I +1f +I +12a +I +2e +I +12d +I +37 +I +12b +I +40 +I +12c +I +4e +I +12d +I +5b +I +12a +I +60 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +3 +x +4 +name +x +7 +options +x +7 +message +x +33 +validates_attachment_content_type +M +1 +n +n +x +33 +validates_attachment_content_type +i +61 +23 +1 +10 +14 +44 +43 +0 +78 +49 +1 +1 +19 +1 +15 +20 +1 +49 +2 +0 +19 +2 +15 +20 +2 +7 +3 +49 +4 +1 +35 +1 +49 +5 +0 +19 +3 +15 +5 +20 +0 +47 +49 +6 +0 +7 +7 +63 +2 +47 +49 +8 +0 +20 +2 +56 +9 +47 +50 +10 +2 +11 +I +8 +I +4 +I +1 +I +2 +n +p +11 +x +4 +Hash +x +16 +new_from_literal +x +3 +dup +x +12 +content_type +x +2 +[] +x +7 +flatten +x +4 +to_s +s +13 +_content_type +x +6 +to_sym +M +1 +p +2 +x +9 +for_block +t +n +x +33 +validates_attachment_content_type +i +192 +58 +37 +19 +0 +15 +37 +19 +1 +15 +37 +19 +2 +15 +15 +21 +1 +3 +56 +0 +50 +1 +0 +10 +27 +2 +8 +28 +3 +13 +9 +52 +15 +20 +2 +49 +2 +0 +13 +10 +46 +15 +20 +2 +49 +3 +0 +10 +51 +2 +8 +52 +3 +9 +190 +20 +0 +49 +4 +0 +7 +5 +49 +6 +1 +49 +7 +0 +7 +8 +83 +9 +9 +132 +21 +1 +1 +7 +10 +49 +11 +1 +13 +10 +102 +15 +7 +12 +21 +1 +3 +7 +13 +64 +49 +14 +1 +47 +49 +15 +0 +63 +2 +19 +3 +15 +20 +0 +49 +4 +0 +21 +1 +0 +47 +49 +15 +0 +7 +16 +63 +2 +47 +49 +17 +0 +20 +3 +49 +5 +2 +8 +188 +20 +0 +49 +4 +0 +21 +1 +0 +47 +49 +15 +0 +7 +16 +63 +2 +47 +49 +17 +0 +7 +18 +44 +43 +19 +80 +49 +20 +1 +13 +7 +21 +21 +1 +1 +7 +10 +49 +11 +1 +49 +22 +2 +15 +13 +7 +23 +20 +2 +49 +22 +2 +15 +49 +5 +3 +8 +191 +1 +11 +I +d +I +4 +I +3 +I +3 +n +p +24 +M +1 +p +2 +x +9 +for_block +t +n +x +33 +validates_attachment_content_type +i +12 +57 +19 +0 +15 +20 +0 +21 +1 +2 +86 +0 +11 +I +4 +I +1 +I +1 +I +1 +n +p +1 +x +3 +=== +p +3 +I +0 +I +144 +I +c +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +1 +x +1 +t +x +4 +any? +x +4 +nil? +x +6 +blank? +x +6 +errors +x +3 +add +x +6 +method +x +5 +arity +I +-2 +x +2 +== +x +7 +message +x +2 +[] +s +14 +is not one of +s +2 +, +x +4 +join +x +4 +to_s +s +13 +_content_type +x +6 +to_sym +x +9 +inclusion +x +4 +Hash +x +16 +new_from_literal +x +7 +default +x +3 +[]= +x +5 +value +p +15 +I +0 +I +143 +I +e +I +144 +I +36 +I +145 +I +49 +I +146 +I +69 +I +147 +I +84 +I +149 +I +be +I +144 +I +c0 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +4 +x +6 +record +x +4 +attr +x +5 +value +x +7 +message +x +14 +validates_each +p +9 +I +0 +I +140 +I +e +I +141 +I +16 +I +142 +I +25 +I +143 +I +3d +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +4 +x +4 +name +x +7 +options +x +18 +validation_options +x +13 +allowed_types +x +22 +attachment_definitions +M +1 +n +n +x +22 +attachment_definitions +i +8 +5 +7 +0 +47 +49 +1 +1 +11 +I +2 +I +0 +I +0 +I +0 +n +p +2 +x +22 +attachment_definitions +x +26 +read_inheritable_attribute +p +5 +I +0 +I +151 +I +0 +I +152 +I +8 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +p +13 +I +2 +I +e5 +I +10 +I +10c +I +1e +I +11c +I +2c +I +128 +I +3a +I +140 +I +48 +I +151 +I +56 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +15 +InstanceMethods +M +1 +n +n +x +15 +InstanceMethods +i +58 +5 +66 +99 +7 +0 +7 +1 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +4 +7 +5 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +6 +7 +7 +65 +67 +49 +2 +0 +49 +3 +4 +15 +99 +7 +8 +7 +9 +65 +67 +49 +2 +0 +49 +3 +4 +11 +I +5 +I +0 +I +0 +I +0 +n +p +10 +x +14 +attachment_for +M +1 +n +n +x +14 +attachment_for +i +97 +39 +0 +13 +10 +15 +15 +44 +43 +1 +78 +49 +2 +1 +38 +0 +15 +39 +0 +20 +0 +14 +2 +49 +3 +1 +13 +10 +92 +15 +45 +4 +5 +13 +71 +6 +47 +9 +65 +47 +49 +7 +0 +13 +20 +0 +5 +5 +49 +8 +0 +49 +9 +0 +20 +0 +49 +3 +1 +47 +49 +10 +3 +15 +8 +83 +20 +0 +5 +5 +49 +8 +0 +49 +9 +0 +20 +0 +49 +3 +1 +49 +6 +3 +13 +18 +3 +49 +11 +2 +15 +8 +96 +18 +2 +16 +2 +11 +I +9 +I +1 +I +1 +I +1 +n +p +12 +x +23 +@_paperclip_attachments +x +4 +Hash +x +16 +new_from_literal +x +2 +[] +x +10 +Attachment +n +x +3 +new +x +8 +allocate +x +5 +class +x +22 +attachment_definitions +x +10 +initialize +x +3 +[]= +p +7 +I +0 +I +157 +I +0 +I +158 +I +10 +I +159 +I +61 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +1 +x +4 +name +x +17 +method_visibility +x +15 +add_defn_method +x +15 +each_attachment +M +1 +n +n +x +15 +each_attachment +i +13 +5 +49 +0 +0 +49 +1 +0 +56 +2 +50 +3 +0 +11 +I +2 +I +0 +I +0 +I +0 +n +p +4 +x +5 +class +x +22 +attachment_definitions +M +1 +p +2 +x +9 +for_block +t +n +x +15 +each_attachment +i +22 +58 +37 +19 +0 +15 +37 +19 +1 +15 +15 +20 +0 +5 +20 +0 +47 +49 +0 +1 +60 +2 +11 +I +6 +I +2 +I +2 +I +2 +n +p +1 +x +14 +attachment_for +p +5 +I +0 +I +15d +I +a +I +15e +I +16 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +name +x +10 +definition +x +4 +each +p +5 +I +0 +I +15c +I +0 +I +15d +I +d +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +19 +save_attached_files +M +1 +n +n +x +19 +save_attached_files +i +18 +45 +0 +1 +7 +2 +64 +49 +3 +1 +15 +5 +56 +4 +47 +50 +5 +0 +11 +I +2 +I +0 +I +0 +I +0 +n +p +6 +x +9 +Paperclip +n +s +19 +Saving attachments. +x +3 +log +M +1 +p +2 +x +9 +for_block +t +n +x +19 +save_attached_files +i +18 +58 +37 +19 +0 +15 +37 +19 +1 +15 +15 +20 +1 +7 +0 +49 +1 +1 +11 +I +5 +I +2 +I +2 +I +2 +n +p +2 +x +4 +save +x +4 +send +p +5 +I +0 +I +164 +I +a +I +165 +I +12 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +name +x +10 +attachment +x +15 +each_attachment +p +7 +I +0 +I +162 +I +0 +I +163 +I +a +I +164 +I +12 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +22 +destroy_attached_files +M +1 +n +n +x +22 +destroy_attached_files +i +18 +45 +0 +1 +7 +2 +64 +49 +3 +1 +15 +5 +56 +4 +47 +50 +5 +0 +11 +I +2 +I +0 +I +0 +I +0 +n +p +6 +x +9 +Paperclip +n +s +21 +Deleting attachments. +x +3 +log +M +1 +p +2 +x +9 +for_block +t +n +x +22 +destroy_attached_files +i +26 +58 +37 +19 +0 +15 +37 +19 +1 +15 +15 +20 +1 +7 +0 +49 +1 +1 +15 +20 +1 +7 +2 +49 +1 +1 +11 +I +5 +I +2 +I +2 +I +2 +n +p +3 +x +25 +queue_existing_for_delete +x +4 +send +x +13 +flush_deletes +p +7 +I +0 +I +16b +I +a +I +16c +I +12 +I +16d +I +1a +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +2 +x +4 +name +x +10 +attachment +x +15 +each_attachment +p +7 +I +0 +I +169 +I +0 +I +16a +I +a +I +16b +I +12 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +p +9 +I +2 +I +157 +I +10 +I +15c +I +1e +I +162 +I +2c +I +169 +I +3a +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +p +21 +I +2 +I +36 +I +1c +I +83 +I +29 +I +86 +I +46 +I +8e +I +53 +I +91 +I +60 +I +94 +I +6d +I +97 +I +7a +I +9a +I +94 +I +a5 +I +ae +I +156 +I +c8 +x +52 +/Users/jyurek/Development/paperclip/lib/paperclip.rb +p +0 +x +13 +attach_method +p +41 +I +0 +I +1c +I +9 +I 1d +I +12 +I +1e +I +1b +I +1f +I +24 +I +20 +I +2d +I +21 +I +36 +I +22 +I +3f +I +23 +I +48 +I +24 +I +51 +I +25 +I +5a +I +26 +I +63 +I +27 +I +6c +I +28 +I +75 +I +29 +I +7e +I +2a +I +87 +I +2b +I +90 +I +2c +I +be +I +2d +I +e6 +I +2c +I +e8 +I +34 +I +104 x 52 /Users/jyurek/Development/paperclip/lib/paperclip.rb p 0