summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook_loader.rb
Commit message (Collapse)AuthorAgeFilesLines
* prepping for rubocop 0.52.1lcg/rubocop-0.52.1Lamont Granquist2018-01-171-2/+10
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Performance/SortWithBlock copLamont Granquist2016-12-061-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix some UselessAssignment caseslcg/useless-assignmentLamont Granquist2016-03-141-3/+3
|
* s/escape_glob/escape_glob_dir/lcg/fix-escape-globLamont Granquist2016-03-101-1/+1
| | | | | Removes all remaining references to the deprecated escape_glob helper routine.
* be a bit more forceful about the messagelcg/cookbook-shadow-deprecationLamont Granquist2016-02-161-1/+1
| | | | | | | again for reference, dan deprecated this behavior in 0.10.4 back in 2011: https://github.com/chef/chef/commit/5a9fee8edaede311ac03a15d52fbc66dad83b576
* don't warn about shadow cookbooks twiceLamont Granquist2016-02-161-2/+10
| | | | knife cookbook upload already warns once
* fix specsLamont Granquist2016-02-121-0/+2
|
* might be singularLamont Granquist2016-02-121-1/+1
|
* extend deprecation warnings more broadlyLamont Granquist2016-02-121-0/+8
| | | | | | | | | | | | Cookbook shadowing has been deprecated since 2011 in Chef 0.10.4 https://github.com/chef/chef/commit/5a9fee8edaede311ac03a15d52fbc66dad83b576 That warning has only been emitted when using 'knife cookbook upload' (and only that command). This extends that deprecation warning more broadly into all consumers of Chef::CookbookLoader that have been using that feature.
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-2/+2
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-2/+2
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-6/+6
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-121-1/+1
| | | | useless use of `"#{foo.to_s}"`
* Add missing ) to error messageTim Smith2015-05-011-1/+1
|
* Update error messages with a link to the docs siteTim Smith2015-05-011-1/+1
|
* Escape path for globbing.Claire McQuin2014-09-221-1/+1
|
* Encapsulate cookbook loader map with methodsdanielsdeleo2014-08-121-7/+14
|
* Remove assumption that cookbook names match dirnames in CookbookLoaderdanielsdeleo2014-08-121-14/+55
| | | | | Cookbooks are now loaded with a "preload" step that reads cookbook metadata to determine the name. Cookbooks are fully loaded later.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+134
| | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!
* big refactor of the repo layout. move to a chef gem and a chef-server gem ↵Ezra Zygmuntowicz2008-10-081-147/+0
| | | | all with proper deps
* Added template support, changed license to Apache v 2Adam Jacob2008-08-161-27/+41
|
* Updating search ticketsAdam Jacob2008-07-281-0/+14
|
* Working on network layerAdam Jacob2008-05-191-1/+5
|
* Adding the Params::Validate mixin, refactored Chef::Config to be a ↵Adam Jacob2008-04-071-4/+3
| | | | singleton, Implemented require_recipe
* Adding Chef::CookbookLoaderAdam Jacob2008-03-141-0/+116