do_snapshot 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33604b56b4b901f20645dd6a6ac8f6530bb3c3b7
4
- data.tar.gz: 57b7c547a40af585b4d28314a274d759ffad9559
3
+ metadata.gz: e50e39afd9fac811be4207a14b617657b693cd82
4
+ data.tar.gz: 6f986b2879036aa093088593a553c2e87eb0f6d6
5
5
  SHA512:
6
- metadata.gz: 72ea4af26a82e76649593595ca079ef18ea651b153344915ac246fc915a2ddbec8330ff7ed42d89a7e23c56828b6644e213eddc3b0aa137045a298687200b41e
7
- data.tar.gz: b2afa75459cfe9fff4dd52aedb5c1b05ba509532433132f149ac539d311addfea1fe881d5851ab98ae280f5121dd762facffcd571a87ea7d70ae7e26b78b0765
6
+ metadata.gz: 30c103ccbeb7b93993a0f675cb084c367aabf5f1bd6a7e996a16cd089ce1ad93048d421b8abd3e1cf815afd960bf891bd3ed9ae42d7cd5c85fc7df99e6e186e6
7
+ data.tar.gz: 70d05a6af6884d49e78aa232a62976e76a0b6743f677f4b7ea201d325bc06c0ab61e4cd0e27d536dacb8134e21c09c885c8703f22f5bdcde65ed9cb8d49c2e30
data/README.md CHANGED
@@ -46,12 +46,8 @@ If you want to set keys without environment, than set it via options when you ru
46
46
  $ do_snapshot --digital-ocean-client-id YOURLONGAPICLIENTID --digital-ocean-api-key YOURLONGAPIKEY
47
47
 
48
48
  #### Basic usage
49
-
50
- Keep latest 5 and cleanup older if maximum is reached.
51
- Here we `keeping` only 5 `latest` snapshots and `cleanup` older after new one is created.
52
- **If creation of snapshots failed no one will be deleted.**
53
-
54
- **By default we `keep` 10 droplets.**
49
+
50
+ Here we `keeping` only 5 **latest** snapshots and cleanup older after new one is created. If creation of snapshots failed no one will be deleted. By default we keeping `10` droplets.
55
51
 
56
52
  $ do_snapshot --keep 5 -c
57
53
 
@@ -78,7 +74,7 @@ For working mailer you need to set e-mail settings via run options.
78
74
 
79
75
  #### Real world example
80
76
 
81
- $ bin/do_snapshot --only 123456 -k 3 -c -m to:TO from:FROM -t address:HOST user_name:LOGIN password:PASSWORD port:2525 -v
77
+ $ bin/do_snapshot --only 123456 -k 3 -c -m to:TO from:FROM -t address:HOST user_name:LOGIN password:PASSWORD port:2525 -v
82
78
 
83
79
  Checking DigitalOcean Id's.
84
80
  Start performing operations
@@ -1,5 +1,5 @@
1
1
  # Current version
2
2
  #
3
3
  module DoSnapshot
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  end
data/lib/do_snapshot.rb CHANGED
@@ -3,7 +3,7 @@ require 'thor'
3
3
  require 'logger'
4
4
  require 'date'
5
5
  require 'pony'
6
- require 'core_ext/hash'
6
+ require 'do_snapshot/core_ext/hash'
7
7
 
8
8
  # Used primary for creating snapshot's as backups for DigitalOcean
9
9
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: do_snapshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Merkulov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2014-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: digitalocean