examples/unit/config_example.rb in astrails-safe-0.2.0 vs examples/unit/config_example.rb in astrails-safe-0.2.1
- old
+ new
@@ -12,10 +12,16 @@
secret "secret"
bucket "bucket"
path "path1"
end
+ sftp do
+ user "sftp user"
+ password "sftp password"
+ host "sftp host"
+ end
+
gpg do
key "gpg-key"
password "astrails"
end
@@ -103,9 +109,15 @@
"s3" => {
"key" => "s3 key",
"secret" => "secret",
"bucket" => "bucket",
"path" => "path1",
+ },
+
+ "sftp" => {
+ "user" => "sftp user",
+ "password" => "sftp password",
+ "host" => "sftp host",
},
"gpg" => {"password" => "astrails", "key" => "gpg-key"},
"keep" => {"s3" => 20, "local" => 4},