!RBIX 0 x M 1 n n x 10 __script__ i 28 99 7 0 65 49 1 2 13 99 12 7 2 12 7 3 12 65 12 49 4 4 15 49 2 0 15 2 11 I 6 I 0 I 0 I 0 n p 5 x 9 Paperclip x 11 open_module x 15 __module_init__ M 1 n n x 9 Paperclip i 28 5 66 99 7 0 65 49 1 2 13 99 12 7 2 12 7 3 12 65 12 49 4 4 15 49 2 0 11 I 6 I 0 I 0 I 0 n p 5 x 7 Shoulda x 11 open_module x 15 __module_init__ M 1 n n x 7 Shoulda i 28 5 66 99 7 0 65 49 1 2 13 99 12 7 2 12 7 3 12 65 12 49 4 4 15 49 2 0 11 I 6 I 0 I 0 I 0 n p 5 x 8 Matchers x 11 open_module x 15 __module_init__ M 1 n n x 8 Matchers i 43 5 66 99 7 0 7 1 65 67 49 2 0 49 3 4 15 99 7 4 1 65 49 5 3 13 99 12 7 6 12 7 7 12 65 12 49 8 4 15 49 6 0 11 I 6 I 0 I 0 I 0 n p 9 x 24 validate_attachment_size M 1 n n x 24 validate_attachment_size i 29 45 0 1 13 71 2 47 9 23 47 49 3 0 13 20 0 47 49 4 1 15 8 28 20 0 49 2 1 11 I 4 I 1 I 1 I 1 n p 5 x 29 ValidateAttachmentSizeMatcher n x 3 new x 8 allocate x 10 initialize p 5 I 0 I e I 0 I f I 1d x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 1 x 4 name x 17 method_visibility x 15 add_defn_method x 29 ValidateAttachmentSizeMatcher x 10 open_class x 14 __class_init__ M 1 n n x 29 ValidateAttachmentSizeMatcher i 202 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 15 5 48 18 15 99 7 19 7 20 65 67 49 2 0 49 3 4 15 99 7 21 7 22 65 67 49 2 0 49 3 4 15 99 7 23 7 24 65 67 49 2 0 49 3 4 15 99 7 25 7 26 65 67 49 2 0 49 3 4 15 99 7 27 7 28 65 67 49 2 0 49 3 4 15 99 7 29 7 30 65 67 49 2 0 49 3 4 11 I 5 I 0 I 0 I 0 n p 31 x 10 initialize M 1 n n x 10 initialize i 22 20 0 38 0 15 78 7 1 78 49 2 1 17 2 38 3 15 38 4 15 2 11 I 4 I 1 I 1 I 1 n p 5 x 16 @attachment_name d +0.500000000000000000000000000000000000000000000000000000 1 x 1 / x 4 @low x 5 @high p 7 I 0 I 13 I 0 I 14 I 5 I 15 I 16 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 1 x 15 attachment_name x 17 method_visibility x 15 add_defn_method x 9 less_than M 1 n n x 9 less_than i 7 20 0 38 0 15 5 11 I 2 I 1 I 1 I 1 n p 1 x 5 @high p 7 I 0 I 18 I 0 I 19 I 5 I 1a I 7 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 1 x 4 size x 12 greater_than M 1 n n x 12 greater_than i 7 20 0 38 0 15 5 11 I 2 I 1 I 1 I 1 n p 1 x 4 @low p 7 I 0 I 1d I 0 I 1e I 5 I 1f I 7 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 1 x 4 size x 2 in M 1 n n x 2 in i 22 20 0 49 0 0 20 0 49 1 0 17 2 38 2 15 38 3 15 2 15 5 11 I 3 I 1 I 1 I 1 n p 4 x 5 first x 4 last x 4 @low x 5 @high p 7 I 0 I 22 I 0 I 23 I 14 I 24 I 16 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 1 x 5 range x 8 matches? M 1 n n x 8 matches? i 58 20 0 38 0 15 45 1 2 39 0 86 3 9 17 1 8 24 39 0 49 4 0 38 0 15 5 47 49 5 0 13 9 57 15 5 47 49 6 0 13 9 57 15 5 47 49 7 0 13 9 57 15 5 47 49 8 0 11 I 3 I 1 I 1 I 1 n p 9 x 8 @subject x 5 Class n x 3 === x 5 class x 15 lower_than_low? x 16 higher_than_low? x 16 lower_than_high? x 17 higher_than_high? p 9 I 0 I 27 I 0 I 28 I 5 I 29 I 19 I 2a I 3a x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 1 x 7 subject x 15 failure_message M 1 n n x 15 failure_message i 29 7 0 39 1 47 49 2 0 7 3 39 4 47 49 2 0 7 5 39 6 47 49 2 0 7 7 63 7 11 I 7 I 0 I 0 I 0 n p 8 s 11 Attachment x 16 @attachment_name x 4 to_s s 17 must be between x 4 @low s 5 and x 5 @high s 6 bytes p 5 I 0 I 2d I 0 I 2e I 1d x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 24 negative_failure_message M 1 n n x 24 negative_failure_message i 29 7 0 39 1 47 49 2 0 7 3 39 4 47 49 2 0 7 5 39 6 47 49 2 0 7 7 63 7 11 I 7 I 0 I 0 I 0 n p 8 s 11 Attachment x 16 @attachment_name x 4 to_s s 19 cannot be between x 4 @low s 5 and x 5 @high s 6 bytes p 5 I 0 I 31 I 0 I 32 I 1d x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 11 description M 1 n n x 11 description i 11 7 0 39 1 47 49 2 0 63 2 11 I 2 I 0 I 0 I 0 n p 3 s 32 validate the size of attachment x 16 @attachment_name x 4 to_s p 5 I 0 I 35 I 0 I 36 I b x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 9 protected x 15 override_method M 1 n n x 15 override_method i 17 95 19 2 15 20 0 99 12 49 0 1 56 1 50 2 0 11 I 5 I 3 I 2 I 2 n p 3 x 16 object_metaclass M 1 p 2 x 9 for_block t n x 15 override_method i 23 5 21 1 1 21 1 2 13 70 10 18 44 43 0 12 49 1 1 47 50 2 1 11 I 5 I 0 I 0 I 0 I -2 p 3 x 4 Proc x 14 __from_block__ x 13 define_method p 5 I 0 I 3c I 0 I 3d I 17 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 10 class_eval p 5 I 0 I 3b I 4 I 3c I 11 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 3 x 6 object x 6 method x 11 replacement x 27 passes_validation_with_size M 1 n n x 27 passes_validation_with_size i 125 45 0 1 13 71 2 47 9 24 47 49 3 0 13 7 4 64 47 49 5 1 15 8 30 7 4 64 49 2 1 19 1 15 5 20 1 7 6 56 7 47 50 8 2 15 5 20 1 7 9 56 10 47 50 8 2 15 39 11 13 71 2 47 9 77 47 49 3 0 13 47 49 5 0 15 8 80 49 2 0 19 2 39 12 49 13 1 20 1 49 14 1 15 20 2 49 15 0 15 20 2 49 16 0 39 12 47 49 17 0 7 18 63 2 47 49 19 0 49 20 1 49 21 0 11 I 7 I 3 I 1 I 1 n p 22 x 8 StringIO n x 3 new x 8 allocate s 1 . x 10 initialize x 4 size M 1 p 2 x 9 for_block t n x 27 passes_validation_with_size i 4 21 1 0 11 I 2 I 0 I 0 I 0 I -2 p 0 p 3 I 0 I 43 I 4 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 15 override_method x 11 to_tempfile M 1 p 2 x 9 for_block t n x 27 passes_validation_with_size i 4 21 1 1 11 I 2 I 0 I 0 I 0 I -2 p 0 p 3 I 0 I 44 I 4 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 8 @subject x 16 @attachment_name x 4 send x 6 assign x 6 valid? x 6 errors x 4 to_s s 10 _file_size x 6 to_sym x 2 [] x 6 blank? p 15 I 0 I 41 I 0 I 42 I 21 I 43 I 2d I 44 I 39 I 46 I 5d I 47 I 63 I 48 I 7d x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 3 x 8 new_size x 4 file x 7 subject x 15 lower_than_low? M 1 n n x 15 lower_than_low? i 17 5 39 0 79 82 1 47 49 2 1 10 15 2 8 16 3 11 I 3 I 0 I 0 I 0 n p 3 x 4 @low x 1 - x 27 passes_validation_with_size p 5 I 0 I 4b I 0 I 4c I 11 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 16 higher_than_low? M 1 n n x 16 higher_than_low? i 11 5 39 0 79 81 1 47 49 2 1 11 I 3 I 0 I 0 I 0 n p 3 x 4 @low x 1 + x 27 passes_validation_with_size p 5 I 0 I 4f I 0 I 50 I b x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 16 lower_than_high? M 1 n n x 16 lower_than_high? i 29 39 0 7 1 78 49 2 1 83 3 9 16 2 11 8 17 1 15 5 39 0 79 82 4 47 49 5 1 11 I 3 I 0 I 0 I 0 n p 6 x 5 @high d +0.500000000000000000000000000000000000000000000000000000 1 x 1 / x 2 == x 1 - x 27 passes_validation_with_size p 7 I 0 I 53 I 0 I 54 I 12 I 55 I 1d x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 17 higher_than_high? M 1 n n x 17 higher_than_high? i 35 39 0 7 1 78 49 2 1 83 3 9 16 2 11 8 17 1 15 5 39 0 79 81 4 47 49 5 1 10 33 2 8 34 3 11 I 3 I 0 I 0 I 0 n p 6 x 5 @high d +0.500000000000000000000000000000000000000000000000000000 1 x 1 / x 2 == x 1 + x 27 passes_validation_with_size p 7 I 0 I 58 I 0 I 59 I 12 I 5a I 23 x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 p 31 I 2 I 13 I 10 I 18 I 1e I 1d I 2c I 22 I 3a I 27 I 48 I 2d I 56 I 31 I 64 I 35 I 72 I 39 I 76 I 3b I 84 I 41 I 92 I 4b I a0 I 4f I ae I 53 I bc I 58 I ca x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 13 attach_method p 5 I 2 I e I 10 I 12 I 2b x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 13 attach_method p 3 I 2 I 3 I 1c x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 13 attach_method p 3 I 2 I 2 I 1c x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0 x 13 attach_method p 3 I 0 I 1 I 1c x 94 /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb p 0