summaryrefslogtreecommitdiff
path: root/lib/chef/resource_resolver.rb
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | 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-3/+3
| | | | | | | 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.
* Rename log.deprecation to log_deprecationJohn Keiser2015-09-011-3/+3
|
* Pass deprecations through formatter instead of logsJohn Keiser2015-09-011-3/+3
|
* Re-separate priority map and DSL handler map so that provides has veto power ↵John Keiser2015-07-061-15/+32
| | | | over priority
* Code review commentsJohn Keiser2015-06-301-4/+3
|
* Optimize logic on class initialize so it doesn't fall into theJohn Keiser2015-06-301-14/+27
| | | | | | "look at all classes to see if they provide the DSL" else clause when you're just setting resource_name (which happens on every class). Perf fix for tests.
* Call provides? when resolving, reduce number of calls to provides?John Keiser2015-06-301-28/+27
| | | | in Provider
* add missing require statementRanjib Dey2015-06-181-0/+1
|
* Make resource_for_short_name look up the canonical resourcejk/automatic-automatic-nameJohn Keiser2015-06-081-37/+68
|
* Overwrite resource_name with providesJohn Keiser2015-06-081-8/+23
|
* Make use_automatic_resource_name automaticJohn Keiser2015-06-081-27/+22
|
* Improve performance of method_missingjk/perfJohn Keiser2015-06-081-14/+15
| | | | | by not repeatedly sorting and calling enabled_handlers (This was causing major slowdown in tests)
* Make resource deprecation warnings once-only; fix recipe DSL tests back upJohn Keiser2015-06-021-1/+0
|
* Narrow resolvers to only look at parts of the map we supportJohn Keiser2015-06-021-37/+47
|
* Use the central priority map for `provides`John Keiser2015-06-021-5/+0
|
* Add Chef::ResourceResolver.resolvejk/missing_method_missingJohn Keiser2015-05-131-0/+10
|
* Move LWRP class deprecation warning to const_missingJohn Keiser2015-05-131-1/+1
|
* Move deprecation back into resource_for_short_nameJohn Keiser2015-05-131-44/+20
|
* Remove automatic `provides`John Keiser2015-05-131-5/+3
|
* Add provides_nothing and let it override even Chef::Resource::X automatic namesJohn Keiser2015-05-131-3/+5
|
* Deprecate automatic method_missing and Chef::Resource lookupJohn Keiser2015-05-131-22/+46
| | | | | - Declare all resource DSL as methods on Chef::DSL::Resources - Declare all definition DSL as methods on Chef::DSL::Definitions
* add resource_resolver and resource_priority_mapLamont Granquist2015-04-151-0/+101
also wire them up through the Chef class.