summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to GitHub-native Dependabotdependabot/add-v2-config-filedependabot-preview[bot]2021-04-281-0/+9
|
* Bump version to 2.1.9 by Chef Expeditorv2.1.9Chef Expeditor2020-09-163-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #79 from chef/file_dirTim Smith2020-09-164-4/+3
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update spec/spec_helper.rb file_dirTim Smith2020-09-161-1/+0
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
| * Update spec/mixlib/cli_spec.rb Tim Smith2020-09-161-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
| * Replaces uses of __FILE__ with __dir__Tim Smith2020-09-084-4/+4
|/ | | | | | This makes these bits easier to read Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 2.1.8Chef Expeditor2020-08-211-12/+9
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.1.8 by Chef Expeditorv2.1.8Chef Expeditor2020-08-213-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #78 from chef/requiresTim Smith2020-08-213-4/+4
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Pin test deps for Ruby < 2.6requiresTim Smith2020-08-211-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Optimize our requiresTim Smith2020-08-212-3/+3
| | | | | | | | | | | | Avoid requiring things that are already defined. Rubygems is very slow at traversing the filesystem. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 2.1.7 by Chef Expeditorv2.1.7Chef Expeditor2020-08-213-4/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #77 from chef/spellingTim Smith2020-08-215-10/+10
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix minor typosspellingTim Smith2020-07-285-10/+10
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 2.1.6Chef Expeditor2020-04-071-11/+8
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Test on the final release of Ruby 2.7Tim Smith2019-12-291-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the github lock configTim Smith2019-12-291-1/+0
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 2.1.5Chef Expeditor2019-12-221-6/+10
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.1.6 by Chef Expeditorv2.1.6Chef Expeditor2019-12-223-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #76 from chef/relativeTim Smith2019-12-211-1/+1
|\ | | | | Substitute require for require_relative
| * Substitute require for require_relativerelativeTim Smith2019-12-201-1/+1
|/ | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 2.1.5 by Chef Expeditorv2.1.5Chef Expeditor2019-12-193-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #75 from chef/testing++Tim Smith2019-12-196-13/+71
|\ | | | | Test on Ruby 2.7 + random testing improvements
| * Test on Ruby 2.7 + random testing improvementsTim Smith2019-12-196-13/+71
|/ | | | | | | | | Update the Github templates to use multiple labels Use Gem caching our BK Add Ruby 2.7 testing Use Debian 10 Ruby containers not Debian 9 Signed-off-by: Tim Smith <tsmith@chef.io>
* Simplify the gemfile for dependabotTim Smith2019-10-281-6/+0
|
* Bump version to 2.1.4 by Chef Expeditorv2.1.4Chef Expeditor2019-08-283-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #73 from chef/windows_testingTim Smith2019-08-283-1/+18
|\ | | | | Add windows PR testing with Buildkite
| * Add windows PR testing with Buildkitewindows_testingTim Smith2019-07-223-1/+18
| | | | | | | | | | | | The road to complete platform testing. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CODEOWNERSTim Smith2019-08-061-3/+3
|/
* Bump version to 2.1.3 by Chef Expeditor2.1.3Chef Expeditor2019-07-123-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #71 from MsysTechnologiesllc/VSingh/fix-chefstyleTim Smith2019-07-124-52/+54
|\ | | | | Fix chef-style
| * Fix chefstyleVivek Singh2019-07-124-52/+54
|/ | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* Bump version to 2.1.2 by Chef Expeditor2.1.2Chef Expeditor2019-06-253-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #68 from chef/rakeTim Smith2019-06-242-10/+16
|\ | | | | Use our standard rakefile
| * Add buildkite readme badgerakeTim Smith2019-06-101-1/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use our standard rakefileTim Smith2019-06-101-9/+14
|/ | | | | | Rescue failures and use chefstyle in the description. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #67 from chef/bkTim Smith2019-06-103-9/+9
|\ | | | | Speed up Buildkite tests
| * Speed up Buildkite testsTim Smith2019-06-103-9/+9
| | | | | | | | | | | | Use the smaller containers, skip gems we don't need and use chefstyle from rubygems. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md to reflect the promotion of 2.1.1Chef Expeditor2019-06-101-11/+8
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 2.1.1 by Chef Expeditor2.1.1Chef Expeditor2019-06-103-4/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #66 from chef/deprecation-fix-unknown-keysMarc A. Paradise2019-06-102-1/+18
|\ \ | | | | | | Don't explode when there are unknown keys in 'config'
| * | Don't explode when there are unknown keys in 'config'deprecation-fix-unknown-keysMarc A. Paradise2019-06-072-1/+18
|/ / | | | | | | | | | | | | Update handle_deprecated_options to be graceful when 'config' has been modified externally to contain unknown keys. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Update CHANGELOG.md to reflect the promotion of 2.1.0Chef Expeditor2019-06-071-14/+11
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 2.1.0 by Chef Expeditor2.1.0Chef Expeditor2019-06-073-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #65 from chef/MIXLIB-CLI-63/deprecated-option-supportTim Smith2019-06-065-50/+458
|\ \ | | | | | | [MIXLIB-CLI-63] Add deprecated_option support
| * | Code review updates for deprecated_optionMIXLIB-CLI-63/deprecated-option-supportMarc A. Paradise2019-06-063-11/+55
| | | | | | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | [MIXLIB-CLI-63] Add deprecated_option supportMarc A. Paradise2019-06-064-50/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds deprecated option support by exposing a new ClassMethod, `deprecated_option`. It will generate a corresponding deprecated option, and if that option is used it will handle mapping of the old option to the new and issue a warning. `deprecated_option` accepts a subset of the parameters that `option` accepts. Most importantly, a deprecated option can't have a default value. There's a practical reason for this and a philosophical one. Practically, it makes it easy to track the situation where someone has set `use_separate_defaults` to `false`. In that case, we currently can't tell whether the user provided the flag, or it was set as a default. This could have been addressed, but: Philosphically it makes more sense to not have a default value on a deprecated item. If it's deprecated, you want people to stop using it. If it has a default, it's effectively forced in-use at all times. See function docs for further accepted parameters. To allow deprecated options without warnings, use parse_options as `parse_options(ARGV, show_deprecations: false)`. By default, warnings will be shown. This also moves some formatting code into its own class - it was causing methods to get mixed in that client classes didn't need; and I reached the point where I needed to access the formatting functions across methods in both Mixlib::CLI and Mixlib::CLI::ClassMethods. It made more sense to move them outside of the mixed-in bits, since it wasn't a concern of the caller that would be inheriting those methods. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | Bump version to 2.0.9 by Chef Expeditor2.0.9Chef Expeditor2019-06-053-5/+6
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #64 from tsub/fix-gem-homepage-urlTim Smith2019-06-051-1/+1
|\ \ \ | |/ / |/| | Fix gem homepage url
| * | Fix gem homepage urlTsubasa Takayama2019-06-051-1/+1
|/ / | | | | | | Signed-off-by: Tsubasa Takayama <tsubasatakayama511@gmail.com>