bup 0.3.0 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a9931bc931a38f83fe2eebebfb5939d997d685fe3bbb7fdf863860dab36c402
4
- data.tar.gz: 701c9661de7b80acb3dec18b4ae053aec13cd41e73a4992e8f458f0cfcdaa2ea
3
+ metadata.gz: ad9ad97e6299973d7d4a1ccdcd262671f14a12ec2ceedd952b265450b09e0c52
4
+ data.tar.gz: f73201e37284194441f64c990f2a278e0e1d07e3827cf8c416e03062a4692f71
5
5
  SHA512:
6
- metadata.gz: 2bb473340913988672050f49f0fa8ecdede02ac622b6a9630d1cd91ea3481c487da20997c313a2ee77c60cfd3a8be305e722a430506ac79c08c53cb705770ea3
7
- data.tar.gz: 776de0097acfe0da73daa50ab4943cafab33524508c21d70e670a95c6a89d7de1d0f22de82eba354f27086da69387985a3a962a0a540f8117b0206c4b6de4ff4
6
+ metadata.gz: 0ff5725cd4472470b23af3c7b6c36c5b181c8da73234026b86c654fa40eca15ff6d41e7966aa830efa27f534a5c1fbf538f8e5cd30578621f99662c9250e09c2
7
+ data.tar.gz: d8c496a3d4e64be4d6fc1484100767137fed12409611eade931431a6c7a45c6cb37c95d1a36f0b4f8a7d15dd2501a1f20ff0e1f6e39c8ce1206f59e645248676
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.0]
4
+
5
+ - Bug fix for empty post_cmds list.
6
+
7
+ ## [0.3.0]
8
+
3
9
  - Communicate the backup file base name through the environment variable BUP_FILENAME.
4
10
  - Rubocop fixes or ignore files.
5
11
  - Add post commands, incase you want to default copy something around.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bup (0.3.0)
4
+ bup (0.4.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/bup/tar.rb CHANGED
@@ -101,7 +101,7 @@ module Bup
101
101
  tf.unlink
102
102
  end
103
103
 
104
- @config.profile(profile_name)["post_cmds"].each do |args|
104
+ (@config.profile(profile_name)["post_cmds"] || []).each do |args|
105
105
  run_cmd(*args.map { |c| expand_string(c) })
106
106
  end
107
107
  end
data/lib/bup/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bup
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Baskinger