diff --git a/CHANGELOG.md b/CHANGELOG.md index dea50d4..daef6e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ Strainer CHANGELOG ================== +v3.0.1 +------ +- Fix Berkshelf Chef Config + v3.0.0 ------ - Upgrade Berkshelf dependency (#27) diff --git a/lib/strainer/sandbox.rb b/lib/strainer/sandbox.rb index 3010a33..132e6bf 100644 --- a/lib/strainer/sandbox.rb +++ b/lib/strainer/sandbox.rb @@ -174,7 +174,7 @@ def cookbooks_paths @cookbooks_paths ||= begin paths = [ @options[:cookbooks_path], - Berkshelf::Chef::Config.instance[:cookbook_path], + Berkshelf.chef_config[:cookbook_path], 'cookbooks' ].flatten.compact.map{ |path| Pathname.new(File.expand_path(path)) }.uniq diff --git a/lib/strainer/version.rb b/lib/strainer/version.rb index 5bc5e8d..bbda534 100644 --- a/lib/strainer/version.rb +++ b/lib/strainer/version.rb @@ -1,4 +1,4 @@ module Strainer # The current version of Strainer - VERSION = '3.0.0' + VERSION = '3.0.1' end