lib/ridley/chef/cookbook.rb in ridley-4.1.2 vs lib/ridley/chef/cookbook.rb in ridley-4.2.0

- old
+ new

@@ -168,10 +168,10 @@ # @return [String] def file_specificity(category, target) case category when :files, :templates relpath = target.relative_path_from(path).to_s - relpath.slice(/(.+)\/(.+)\/.+/, 2) + relpath.slice(/(.+)\/(.+)\/.+/, 2) || 'root_default' else 'default' end end