Commit 5a2d83ea3aa43f6728425a65700ba563e991b014
1 parent
db1a453c
Version v0.3.2. Revert previous 'fix'.
Showing
4 changed files
with
10 additions
and
6 deletions
1 | -## 0.3.1 - 2016-11-28 | |
1 | +## 0.3.2 - 2016-11-29 | |
2 | +### Fixed | |
3 | +- Reverted previous fix: paramter 'creates' for 'aws_tar_extract' should be mandatory. | |
4 | + | |
5 | +## 0.3.1 - 2016-11-28 [YANKED] | |
2 | 6 | ### Fixed |
3 | 7 | - Fixed definition for 'aws_tar_extract' where it raises an exception if no 'creates' parameter is given. |
4 | 8 | ... | ... |
... | ... | @@ -26,8 +26,8 @@ |
26 | 26 | # :target_dir => Where the tarball is to be unpacked. If not |
27 | 27 | # exists, it will be created |
28 | 28 | # :creates => A file path used for idempotency |
29 | -# :encrypted => Boolean. Whether these backup files are encrypted. | |
30 | -# :priv_key => String. Contents of private key, if used. | |
29 | +# :encrypted => (Optional) Boolean. Whether backup files are encrypted. | |
30 | +# :priv_key => (Optional) String. Contents of private key, if used. | |
31 | 31 | |
32 | 32 | define :aws_tar_extract, |
33 | 33 | :file => nil, # default is params[:name] |
... | ... | @@ -47,7 +47,7 @@ define :aws_tar_extract, |
47 | 47 | include_recipe 'awscli' |
48 | 48 | include_recipe 'tar' |
49 | 49 | |
50 | - unless params[:creates].nil? || ::File.exist?(params[:creates]) | |
50 | + unless ::File.exist?(params[:creates]) | |
51 | 51 | |
52 | 52 | directory(tmp_dir) { recursive true } |
53 | 53 | directory(params[:target_dir]) { recursive true } | ... | ... |
... | ... | @@ -4,7 +4,7 @@ maintainer_email 'sysadmin@chromedia.com' |
4 | 4 | license 'Apache License' |
5 | 5 | description 'Creates a script to backup directories into an S3 bucket.' |
6 | 6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) |
7 | -version '0.3.1' | |
7 | +version '0.3.2' | |
8 | 8 | |
9 | 9 | depends 'awscli', '~> 1.0.1' |
10 | 10 | depends 'cron', '~> 1.7.4' | ... | ... |