dogids-cli 0.0.12 → 0.0.13

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: d0ac2a7b204754cb8d3b3023280f5ad3e80a1f78
4
- data.tar.gz: f270fbef8f789c6d3124807493f1e2a31138e2a2
3
+ metadata.gz: b3a7d4c5f335041eb553adfedcc01bae57d47e5c
4
+ data.tar.gz: f37ef3ad37cf772d14e3bcbbacc28b82da42053c
5
5
  SHA512:
6
- metadata.gz: 405406492dad5cf2b36b30898815a89f7f06ead99d83337f80946ba8151ca4dcc328e6445c53c9f4011ff17532cd33499b12bfbeddf62d63a70e88a54d6a0c0a
7
- data.tar.gz: a21ebfc7c4e030d955c16063d1286de8d8cdabbfe447ea1d21aab03202da8f1ac42bbf446c5f22eb0b3f4c2703e45d6af042a0f2b0a94e3a0e086bacd2c2ff1d
6
+ metadata.gz: 80e0a0a4d5d4b1193eb308105ab301fbc9ce304a825c0c37cd635de6dae4d389ac0503528c615665861e352b970ef7a05e5eefc249b4f62075544ec9327d11fc
7
+ data.tar.gz: 6e15afa9cdd648ef6935118cef7b63bb2f01fa25a3063eb0fb0a1b7319443866c0070a7d9204d794b63567bf8429f1d80bc85e424d1d84f73ab3a498a91f9b28
@@ -46,8 +46,9 @@ module Dogids
46
46
 
47
47
  def clean_up_command
48
48
  commands = []
49
+ # Delete any SQL backups that failed to be deleted after uploading to S3
49
50
  commands << "sudo find /var/lib/docker/ -type f -name '*.sql' -delete"
50
- commands << "sudo find /var/lib/docker/ -type f -name '*.log' -delete"
51
+ # Delete any old docker containers to free up space
51
52
  commands << "sudo docker ps -a -f status=exited -q | xargs -r sudo docker rm -v"
52
53
  commands.join(" && ")
53
54
  end
@@ -3,7 +3,7 @@ require "open-uri"
3
3
  require "thor"
4
4
 
5
5
  module Dogids
6
- VERSION = "0.0.12"
6
+ VERSION = "0.0.13"
7
7
 
8
8
  class Cli < Thor
9
9
  desc "update", "Update dogids-cli to latest version"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dogids-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison