summaryrefslogtreecommitdiff
path: root/spec/unit/provider
Commit message (Collapse)AuthorAgeFilesLines
* fixed exe package downloadsMatt Wrock2016-02-221-1/+13
|
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-1910-120/+120
| | | | no enforced trailing comma on arguments...
* deal with 0.37.2 renamed copsLamont Granquist2016-02-1811-71/+71
| | | | | | | | | | | | | | | 252 Style/TrailingCommaInLiteral 84 Style/TrailingCommaInArguments 15 Style/SpaceAroundKeyword -- 351 Total We already dealt with SpaceAroundKeyword under its old name SpaceBeforeModifierKeyword, it looks like it got stricter about spaces after keywords. TrailingComma also got split, and it looks like the TrailingCommaInArguments behavior is new?
* Merge pull request #4111 from mikedodge04/launchdPhil Dibowitz2016-02-171-0/+189
|\ | | | | launchd for osx
| * bundle exec chefstyle -aMike Dodge2016-02-151-43/+43
| |
| * fixed provider specMike Dodge2016-02-151-8/+11
| |
| * added specsMike Dodge2016-02-151-0/+186
| |
* | fix trailing whitespacetm/trailing_whitespaceThom May2016-02-161-1/+1
| |
* | Merge pull request #4427 from juliandunn/remove-duplicate-shellcmddefLamont Granquist2016-02-162-17/+20
|\ \ | |/ |/| Refactor test to remove duplicate definition of ShellCmdResult
| * Refactor test to remove duplicate definition of ShellCmdResultJulian C. Dunn2016-01-182-17/+20
| |
* | convert MultilineOperationIndentation style to "indented"Lamont Granquist2016-02-122-19/+19
| | | | | | | | this looks nicer.
* | pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-121-42/+42
| | | | | | | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* | autofixing auto-inserted delimiterslcg/chefstyle-batchLamont Granquist2016-02-0918-85/+85
| |
* | auto fixing some rubocopsLamont Granquist2016-02-0920-92/+92
| | | | | | | | | | | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* | autofixing some missed copsLamont Granquist2016-02-051-2/+2
| | | | | | | | second round of autofixing for some reason...
* | autofixing whitespace copsLamont Granquist2016-02-0586-634/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Refactor rubygems_spec test and make it fastjdm/rubygems-testKartik Null Cating-Subramanian2016-02-041-254/+312
| |
* | WIP make rubygems unit specs unit likeJay Mundrawala2016-02-041-10/+49
| |
* | Chocolatey provider: Raise a MissingLibrary exception if we can't find ↵cd/choco-error-msgChris Doherty2016-02-031-1/+42
| | | | | | | | Chocolatey.
* | Merge pull request #4523 from chef/chefstyle/fixesLamont Granquist2016-02-031-1/+1
|\ \ | | | | | | auto-fixing some easy cops
| * | auto-fixing some easy copschefstyle/fixesLamont Granquist2016-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3 Performance/CaseWhenSplat: Place when conditions with a splat at the end of the when branches. 1 Style/ElseAlignment: Align else with if. 1 Style/EvenOdd: Replace with Fixnum#even?. 1 Style/MethodDefParentheses: Use def with parentheses when there are parameters. 3 Style/PercentQLiterals: Do not use %Q unless interpolation is needed. Use %q. 3 Style/SpaceAfterColon: Space missing after colon. 2 Style/SpaceAfterMethodName: Do not put a space between a method name and the opening parenthesis. 2 Style/Tab: Tab detected. 1 Style/TrailingUnderscoreVariable: Do not use trailing _s in parallel assignment. 1 Style/UnneededCapitalW: Do not use %W unless interpolation is needed. If not, use %w.
* | | include verbose output from the set method and shared function for accessing ↵Steven Murawski2016-02-031-0/+2
|/ / | | | | | | verbose log info.
* | Merge pull request #4518 from coderanger/copyright-2016Noah Kantrowitz2016-02-02108-161/+161
|\ \ | | | | | | Copyright and author line update
| * | Some more author domain stragglers.Noah Kantrowitz2016-02-023-3/+3
| | |
| * | Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-021-1/+1
| | |
| * | Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-0238-47/+47
| | | | | | | | | 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-0255-55/+55
| | | | | | | | | 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-02108-111/+111
| | | | | | | | | 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"
* | | Bad test lead to a provider coverage failure for brand new machines with no ↵Nate Walck2016-02-021-1/+1
|/ / | | | | | | profiles installed
* | Fix nil with properties:John Keiser2016-01-271-21/+17
| | | | | | | | | | | | 1. Warn when default values are invalid. 2. Never validate nil (on set or get) if there is no default. 3. Emit "will be invalid in Chef 13" warning when setting an invalid nil value.
* | Merge pull request #4422 from chef/tm/apt_updateThom May2016-01-271-0/+113
|\ \ | | | | | | Add an apt_update resource
| * | respond to review commentsThom May2016-01-221-0/+20
| | |
| * | Dependency inject file locationsThom May2016-01-211-3/+33
| | |
| * | Add periodic action as the defaultThom May2016-01-201-0/+20
| | |
| * | Add an apt_update resourceThom May2016-01-201-0/+43
| | |
* | | zypper multipackage patchLamont Granquist2016-01-251-52/+26
| | |
* | | Added support for Zypper to install multiple packages at onceYorgos Saslis2016-01-251-0/+36
|/ / | | | | | | See #3570
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimetersLamont Granquist2016-01-183-3/+3
|/ | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book.
* fix chefstyle failuresLamont Granquist2016-01-151-2/+2
| | | | | | | | autocorrects some merges that will be broken when the next chefstyle is released. also runs chefstyle after the travis tests, because i'd rather know how the code is broken rather than how its not pretty.
* adding functional tests for chocolatey providerchoco_func_testsMatt Wrock2016-01-141-6/+19
|
* Use double quotes by defaultThom May2016-01-14108-1338/+1338
| | | | | | | 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.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-1320-138/+138
| | | | chefstyle -a fixed 1044 occurrances
* fix Lint/DuplicatedKeylcg/duplicated-keysLamont Granquist2016-01-131-3/+6
| | | | | | | | | | | so, this is a bit special... the API for "priority" is clearly broken. but this broken API comes from the service resource itself which appears to have been broken by design since at least 2010. just fixing the code for how it behaves and dropping in FIXMEs for now, since this uncovered a fairly massive API-breaking yak.
* Merge pull request #4384 from chef/lcg/really-fix-copsLamont Granquist2016-01-121-8/+8
|\ | | | | really fix cops
| * really fix copslcg/really-fix-copsLamont Granquist2016-01-121-8/+8
| |
* | Merge pull request #4378 from chef/choco_editsMatt Wrock2016-01-121-3/+31
|\ \ | | | | | | assert candidates exist for alternate sources and when pinning versions
| * | assert candidates exist for alternate sources and when pinning versionsMatt Wrock2016-01-121-3/+31
| | |
* | | Merge pull request #4375 from chef/no_version_detectMatt Wrock2016-01-121-69/+5
|\ \ \ | |_|/ |/| | fixes #4354 and fixes #4372 stop trying to auto detect versions for exe installers
| * | fexes #4354 and fiexs #4372 stop trying to auto detect versions for exe ↵no_version_detectMatt Wrock2016-01-111-69/+5
| |/ | | | | | | installers
* | Merge pull request #4381 from chef/lcg/useless-to-sLamont Granquist2016-01-122-4/+4
|\ \ | | | | | | chefstyle: fix Lint/StringConversionInInterpolation