summaryrefslogtreecommitdiff
path: root/lib/mixlib
Commit message (Collapse)AuthorAgeFilesLines
* Optimize requires for non-omnibus installsrequiresTim Smith2020-08-122-3/+3
| | | | | | require is quite slow in Ruby and doing requires for things you've already required is also slow. We've used this simple hack in Chef to speed up our requires. In the omnibus installs we patch how rubygems works to make this somewhat pointless, but this will help non-omnibus installs Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.1.3 by Chef Expeditorv3.1.3Chef Expeditor2020-07-281-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Fix a few typosspellingTim Smith2020-07-283-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.1.2 by Chef Expeditorv3.1.2Chef Expeditor2020-07-231-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* convert helper to default_paths APIlcg/default-pathsLamont Granquist2020-07-221-3/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* update commentsLamont Granquist2020-07-181-35/+23
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 3.1.1 by Chef Expeditorv3.1.1Chef Expeditor2020-07-171-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.1.0 by Chef Expeditorv3.1.0Chef Expeditor2020-07-171-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.16 by Chef Expeditorv3.0.16Chef Expeditor2020-07-161-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.15 by Chef Expeditorv3.0.15Chef Expeditor2020-07-161-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.14 by Chef Expeditorv3.0.14Chef Expeditor2020-07-161-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.13 by Chef Expeditorv3.0.13Chef Expeditor2020-07-161-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.12 by Chef Expeditorv3.0.12Chef Expeditor2020-07-161-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* add a simple smoke testlcg/extract-mixlib-shelloutLamont Granquist2020-07-161-1/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* extracting shell_out helper to mixlib-shelloutLamont Granquist2020-07-151-0/+208
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 3.0.11 by Chef Expeditorv3.0.11Chef Expeditor2020-05-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Fix a typo.Pete Higgins2020-05-201-1/+1
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Bump version to 3.0.10 by Chef Expeditorv3.0.10Chef Expeditor2020-03-081-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.9 by Chef Expeditorv3.0.9Chef Expeditor2019-12-301-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Substitute require for require_relativeTim Smith2019-12-292-4/+4
| | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.8 by Chef Expeditorv3.0.8Chef Expeditor2019-12-301-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.7 by Chef Expeditor3.0.7Chef Expeditor2019-07-301-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Fix return type of Process.create to be a ProcessInfo instance again.Ryan Davis2019-07-302-1/+5
| | | | | | | | | | | | This fixes compatibility with win32-process' Process.create while maintaining the rest of our changes. This moves Process.create to Process.create3. Process.create now calls create3 and returns the ProcessInfo. The break came from PR #177, which is fairly extensive, so I'm only rolling out the return type change on this method. Signed-off-by: Ryan Davis <zenspider@chef.io>
* Bump version to 3.0.6 by Chef Expeditor3.0.6Chef Expeditor2019-07-301-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Blinding applying chefstyle -a.Ryan Davis2019-07-304-12/+31
| | | | Signed-off-by: Ryan Davis <zenspider@chef.io>
* Bump version to 3.0.5 by Chef Expeditor3.0.5Chef Expeditor2019-06-071-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.4 by Chef Expeditorv3.0.4Chef Expeditor2019-06-061-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #177 from visioncritical/load_user_profileLamont Granquist2019-06-062-67/+185
|\ | | | | Load and unload user profile as required
| * cleanup Rubocop violationsBrian Warsing2019-01-261-17/+16
| | | | | | | | Signed-off-by: Brian Warsing <brian.warsing@visioncritical.com>
| * Load and unload user profile as requiredBrian Warsing2019-01-232-67/+186
| | | | | | | | | | | | | | | | | | - bind related C++ funcs, add types and constants - refactor similar func calls into component methods - make Process#create return trio of process-related objects - ensure delayed profile unload and token destruction Signed-off-by: Brian Warsing <brian.warsing@visioncritical.com>
* | Bump version to 3.0.3 by Chef Expeditorv3.0.3Chef Expeditor2019-06-061-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #182 from chef/lcg/win-array-argsLamont Granquist2019-06-061-2/+42
|\ \ | | | | | | Support array args on windows WIP
| * | Support array args on windowslcg/win-array-argsLamont Granquist2019-06-061-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements correct quoting and escaping of arguments on windows. That means that this works right now: ```ruby filename = "c:\program files" shell_out("dir", filename); ``` So all the defensive coding around quotes-around-filepaths -- which were all actually buggy even when they worked (trailing backslashes would fail) -- are unnecessary and arguments can just be passed in as an array and this code will sort it out. We rely on the existing determination of if metacharacters mean it needs to run under cmd and if it needs the ^ quoting which seems to be well tested, and which all runs after this does. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 3.0.2 by Chef Expeditorv3.0.2Chef Expeditor2019-06-011-1/+1
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Fix chefstyle warningsTim Smith2019-04-191-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 3.0.1 by Chef Expeditorv3.0.1Chef Expeditor2019-04-191-1/+1
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* update travis/appveyor, drop ruby 2.2 support, test on 2.6lcg/version-bump2Lamont Granquist2019-01-041-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 2.4.4 by Chef Expeditorv2.4.4Chef Expeditor2018-12-121-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.4.3 by Chef Expeditorv2.4.3Chef Expeditor2018-12-071-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.4.2 by Chef Expeditorv2.4.2Chef Expeditor2018-12-061-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.4.1 by Chef Expeditorv2.4.1Chef Expeditor2018-12-061-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Update the github links in commentsTim Smith2018-10-231-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix EmptyWindowsCommand error on Windows when the command starts with spacesEric VERNIER2018-07-301-4/+3
| | | | Signed-off-by: Eric Vernier <zerikv@gmail.com>
* Merge pull request #164 from chef/new_rubyv2.4.0Tim Smith2018-07-231-1/+1
|\ | | | | Release 2.4.0
| * Release 2.4.0new_rubyTim Smith2018-07-231-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #158 from MsysTechnologiesllc/dh/MSYS-847_fix_bare_rescuesTim Smith2018-07-231-2/+2
|\ \ | |/ |/| Fix a bare rescue on Windows
| * [MSYS-847] fix bare rescuedheerajd-msys2018-07-031-2/+2
| | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | master of chefstyle + fixesLamont Granquist2018-07-061-1/+1
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* remove hashrocket syntaxlcg/remove-hashrocketsLamont Granquist2018-06-252-9/+9
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* add sensitive featuredheerajd-msys2018-06-153-8/+15
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>