Closed jordane closed 10 years ago
@lamont-granquist cool, thanks for the tip.
@jordane apologies for taking a while to get to this, busy time of year at Etsy towers. Hoping to get to the next release in the next couple of weeks!
We ran into this with chefspec as well, and we're probably going to wind up checking the arity of the method rather than inspecting the chef version. That might be cleaner, although it looks like you've already worked around the prereleases problem.
This was causing an issue (#140) because we were passing an Array instead of a Hash, and CookbookUploader no longer accepts a
path
argument.Compare the two following links:
https://github.com/opscode/chef/blob/11.14.6/lib/chef/cookbook_uploader.rb#L39 https://github.com/opscode/chef/blob/12.0.0.alpha.1/lib/chef/cookbook_uploader.rb#L38