mattray/spiceweasel — pull request #82 by andyglick (2014-09-29 00:21:17+00:00)
Title: 2.8 data bags

Matt,

What you will find in this set of mods are changes that reduce the number of rubcop complaints. I didn't attempt to reduce the cyclomatic complexity of methods, but I did take a whack at what seemed to me to be low hanging fruit. I reduced the number of rubocop notifications to around 20 down from around 50.

It also occurs to me to say that I may have pushed the versions of various gems beyond where you might want them to be. You can check the Gemfile and the spiceweasel.gemspec to see what I pushed.

My goal is to keep everything in sync with chefdk, which currently is at release 0.2.2, which is what I am running. Please let me know what versions of which gems that you want spiceweasel to support.

Thanks,

Andy

I didn't include the fix for the databags issue that I opened as issue 79. When I was coding a possible solution I determined that there was code that handled data_bags in data_bags.rb and in extract_local.rb, and I wanted to see if I could move the logic to one place, rather than have it in 2 locations.