README.md in paperclip-sftp-1.0.3 vs README.md in paperclip-sftp-1.0.4
- old
+ new
@@ -1,7 +1,10 @@
+[](http://badge.fury.io/rb/paperclip-sftp)
[](https://gemnasium.com/spectator/paperclip-sftp)
-[](https://codeclimate.com/github/spectator/paperclip-sftp)
+[](https://codeclimate.com/github/spectator/paperclip-sftp)
Paperclip SFTP
==============
Paperclip SFTP is Secure File Transfer Protocol storage for [Paperclip](https://github.com/thoughtbot/paperclip)
@@ -21,10 +24,11 @@
has_attached_file :avatar,
storage: :sftp,
sftp_options: {
host: "sftp.example.com",
user: "user",
- password: "password"
+ password: "password",
+ port: 22
}
end
```
You can define these options globally, enable this storage for specific environments, etc. Please see [Paperclip](https://github.com/thoughtbot/paperclip) github page for more details.