mofa 0.3.26 → 0.3.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,10 +52,9 @@ class ReleasedCookbook < Cookbook
52
52
  mkdir_p "#{pkg_dir}/tmp"
53
53
  run "tar x#{tar_verbose}fz #{pkg_dir}/#{pkg_name} -C #{pkg_dir}/tmp/"
54
54
 
55
- COOKBOOK_IGNORE.each do |remove_this|
56
- if File.exists?("#{pkg_dir}/tmp/cookbooks/#{name}/#{remove_this}")
57
- run "rm -rf #{pkg_dir}/tmp/cookbooks/#{name}/#{remove_this}"
58
- end
55
+ # copy out data_bags if exists
56
+ if File.directory?("#{pkg_dir}/tmp/#{name}/data_bags")
57
+ FileUtils.cp_r "#{pkg_dir}/tmp/#{name}/data_bags", pkg_dir
59
58
  end
60
59
 
61
60
  run "cd #{pkg_dir}/tmp/;tar c#{tar_verbose}fz #{pkg_dir}/#{pkg_name}.new ."
data/lib/mofa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.26"
2
+ VERSION = "0.3.27"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.26
4
+ version: 0.3.27
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: