Fix for an improper modification during iteration
Apparently copy_to_local_file wasn't in the FS module
Version 3.3.1
Don't forget to close local file handler if something goes wrong
Gemfile.lock updates
Remove some before_shoulds
Default fog_public option to true *again* (as stated in documentation).

This was previously fixed in pull request #539 but no spec was added at that time, and it has since been broken.

I fixed it and added a spec.
allow to use lambdas in only_process option
Extract only_process processing to a method
Add +as_json+ method to Attachment class

The +as_json+ method enables Attachment objects to be rendered as JSON
by Rails' JSON rendering framework. The Attachment object is not a
native ActiveRecord attribute, but it can be accessed via the +:methods+
option provided to the +to_json+ method.
Add support for blacklisting certain content_types
[filesystem storage] Create :override_file_permissions option

This allows you to set custom file permissions on files created by
Paperclip.  Set the :override_file_permissions option to the octal file
permission you want - 0666 is the default. If you set
:override_file_permissions to false, then we will skip the explicit
chmod entirely. This makes filesystem storage a bit friendlier to filesystems
that don't support unix file permissions.
Documentation for new :override_file_permissions option
Add #blank? to Attachment
Touch up nested hashes in tests
Fixed 'type' being nil on Windows 7 error.
Test the odd chance that  returns nil
#expiring_url returns public_url when not using AWS to prevent exceptions when Fog Local is swapped for Fog AWS in development.
Make previous commit more generic
Allow setting of escape url as a default option