server_backups 0.1.19 → 0.1.20

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: 1cd6533363f6df2de714bdcbb9c2d8fdadc296be
4
- data.tar.gz: f91f09f69d70cdc64024ed6b134796f7c0ab4dab
3
+ metadata.gz: 55cf8d25682ff8ed9109cbba146d0bc6c401e793
4
+ data.tar.gz: 6d813fc1f41d21306be76c81b3d2ca2abb9e7099
5
5
  SHA512:
6
- metadata.gz: 6c8c8cfba95bdaa20a53a9e8d656af9f4ec62626f972c2294c93632bb87669c6b762c6a194c496e67920731ebc6f2551f217d1b5ba3bf19e74987b52535cd537
7
- data.tar.gz: 6e0c47368b2a8457cf0200c7028c81b917e2c478837fae8a929cc2256a3de9fa70878d31496acb455f6d66391bf77a26822e80e7381a876d260e51a7d373d546
6
+ metadata.gz: 91ba5f8c8abe776d465dd2295c8d35168bb3c557274e10d1ef53a60946456a1fa72410d0e6b35b7427c7d7d038800de35cf8f751dd849a7416668fe619a89417
7
+ data.tar.gz: 5a6c5870270b33264082455d92874cf76519a1297a37d6678b4a4d417e1ae3d5cdd3c1d76113fdb8319acf698c8de168c341faa22e8b4b685a9088e149750ab7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- server_backups (0.1.19)
4
+ server_backups (0.1.20)
5
5
  activesupport (~> 5.1)
6
6
  aws-sdk-s3 (~> 1.8)
7
7
  main (~> 6.2)
data/bin/server_backup CHANGED
@@ -24,7 +24,7 @@ def backup_thread
24
24
  FileUtils.mkdir_p(dir)
25
25
  yield dir
26
26
  rescue StandardError => error
27
- ERRORS << error + "\n\n " + error.backtrace.join("\n ")
27
+ ERRORS << error
28
28
  ensure
29
29
  FileUtils.rm_rf dir
30
30
  end
@@ -38,8 +38,10 @@ def handle_errors(config_path)
38
38
  puts "That's the jam"
39
39
  else
40
40
  notifier.notify_failure(ERRORS)
41
- puts "borthnarg" * 15
42
- puts ERRORS.inspect
41
+ ERRORS.each do |error|
42
+ puts error.message
43
+ puts "\n\n " + error.backtrace.join("\n ")
44
+ end
43
45
  end
44
46
  end
45
47
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ServerBackups
4
- VERSION = '0.1.19'
4
+ VERSION = '0.1.20'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server_backups
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Gannon