do_snapshot 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/lib/do_snapshot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 365c1b809b10cef71fa0837e881b6a7a35845a44
|
|
4
|
+
data.tar.gz: 1cd21fa74d0769895af9bd3fcf477e6188dbc59e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27c09632a56393fcc6d1918eb5ed980c80913087d7ad9780d2246840260fff299ddb8e1105cd471f0227854b774efab16447ac8c54b8d2d7eccbf861651aae97
|
|
7
|
+
data.tar.gz: 465885d5d85ce2972287ffc83d581f86c0029698d6ec374aa11ae37a34ff8bda875b54fc015bf94c7f324bc342ae8bb66e9838fe4265bb36061ba5676040c593
|
data/README.md
CHANGED
|
@@ -36,16 +36,14 @@ Or install it yourself as:
|
|
|
36
36
|
|
|
37
37
|
First you may need to set DigitalOcean API keys:
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
|
|
40
|
+
$ export DIGITAL_OCEAN_CLIENT_ID = "SOMEID"
|
|
41
|
+
$ export DIGITAL_OCEAN_API_KEY = "SOMEKEY"
|
|
42
|
+
|
|
43
43
|
|
|
44
44
|
If you want to set keys without environment, than set it via options:
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
do_snapshot --digital-ocean-client-id YOURLONGAPICLIENTID --digital-ocean-api-key YOURLONGAPIKEY
|
|
48
|
-
```
|
|
46
|
+
$ do_snapshot --digital-ocean-client-id YOURLONGAPICLIENTID --digital-ocean-api-key YOURLONGAPIKEY
|
|
49
47
|
|
|
50
48
|
E-mail notifications disabled out of the box.
|
|
51
49
|
For working mailer you need to set e-mail settings via run options.
|
|
@@ -75,7 +73,8 @@ Description:
|
|
|
75
73
|
|
|
76
74
|
Advanced options example for MAIL feature:
|
|
77
75
|
|
|
78
|
-
--mail to:mail@somehost.com from:from@host.com
|
|
76
|
+
--mail to:mail@somehost.com from:from@host.com
|
|
77
|
+
--smtp address:smtp.gmail.com user_name:someuser password:somepassword
|
|
79
78
|
|
|
80
79
|
For more details look here: [https://github.com/benprew/pony](https://github.com/benprew/pony)
|
|
81
80
|
|
data/lib/do_snapshot/version.rb
CHANGED