mofa 0.3.28 → 0.3.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,8 +97,8 @@ class ReleasedCookbook < Cookbook
97
97
  end
98
98
 
99
99
  def recipes
100
- raise 'Cookbook not unpacked yet or no recipes found.' unless (Dir.exists?("#{pkg_dir}/tmp/cookbooks/#{name}/recipes"))
101
- recipes = Dir.entries("#{pkg_dir}/tmp/cookbooks/#{name}/recipes").select { |f| f.match(/.rb$/) }
100
+ raise 'Cookbook not unpacked yet or no recipes found.' unless (Dir.exists?("#{pkg_dir}/recipes"))
101
+ recipes = Dir.entries("#{pkg_dir}/recipes").select { |f| f.match(/.rb$/) }
102
102
  recipes.map! { |f| f.gsub(/\.rb/, '') }
103
103
  end
104
104
 
data/lib/mofa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.28"
2
+ VERSION = "0.3.29"
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.28
4
+ version: 0.3.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: