summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 3.0.13 by Chef Expeditorv3.0.13Chef Expeditor2022-03-291-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 Expeditor2021-06-251-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.11 by Chef Expeditorv3.0.11Chef Expeditor2021-04-071-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.10 by Chef Expeditorv3.0.10Chef Expeditor2020-09-091-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Replace __FILE__ with __dir__ and other minor chefstyle fixesTim Smith2020-09-081-1/+1
| | | | | | A few new chefstyle rules to improve readability here. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.9 by Chef Expeditorv3.0.9Chef Expeditor2020-08-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Update how we determine if time was loadedrequiresTim Smith2020-08-211-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Optimize our requiresTim Smith2020-08-211-1/+1
| | | | | | 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 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.
* Substitute require for require_relativerelativeTim Smith2019-12-203-7/+7
| | | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.7 by Chef Expeditorv3.0.7Chef Expeditor2019-12-201-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.6 by Chef Expeditorv3.0.6Chef Expeditor2019-08-071-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Chefstyle fixesTim Smith2019-08-065-10/+14
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 3.0.5 by Chef Expeditor3.0.5Chef Expeditor2019-07-221-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Fixed the last of the warnings.Ryan Davis2019-06-061-2/+3
| | | | | | | Also removed a line that didn't have the effect intended. Those were class-ivars, not ivars. Signed-off-by: Ryan Davis <zenspider@chef.io>
* Mode #logger a lazy initializer.Ryan Davis2019-06-061-1/+1
| | | | | | Otherwise the tests were resetting twice per. Signed-off-by: Ryan Davis <zenspider@chef.io>
* Use $stdout instead of STDOUT for the default logdev.Ryan Davis2019-06-062-2/+2
| | | | | | | | | | | | This makes it testable using minitest/rspec IO assertions/expectations. STDOUT/STDERR should only be used to restore $stdout/$stderr if something goes haywire. The globals should be used for everyday use. Also bolstered an IO test to prevent the output from going to the rspec result output. Signed-off-by: Ryan Davis <zenspider@chef.io>
* Check for the existence of the ivar before accessing it.Ryan Davis2019-06-051-0/+1
| | | | | | | | Makes the code run nearly warning free, reducing the output of `rspec -w spec` by 42 lines. That has to mean something, right? Signed-off-by: Ryan Davis <zenspider@chef.io>
* Bump version to 3.0.4 by Chef Expeditor3.0.4Chef Expeditor2019-06-011-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.3 by Chef Expeditor3.0.3Chef Expeditor2019-06-011-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 3.0.2 by Chef Expeditorv3.0.2Chef Expeditor2019-04-231-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Escape YARD annotation to avoid directiveOlle Jonsson2019-04-011-1/+1
| | | | | | - AND avoid the whitespace becomes a monospace-formatted section Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com>
* Add whitespace, to avoid YARD warningOlle Jonsson2019-04-011-1/+1
| | | | | | - with the whitespace, YARD no longer thinks "at-sign logger" is a directive to YARD Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com>
* Bump version to 3.0.1 by Chef Expeditorv3.0.1Chef Expeditor2019-01-041-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* update travis, drop ruby < 2.5, major version bumpLamont Granquist2019-01-041-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 2.0.9 by Chef Expeditorv2.0.9Chef Expeditor2018-12-181-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.0.8 by Chef Expeditorv2.0.8Chef Expeditor2018-12-181-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 2.0.7 by Chef Expeditorv2.0.7Chef Expeditor2018-07-301-1/+1
|
* Get chefstyle greenTim Smith2018-07-251-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 2.0.6 by Chef Expeditorv2.0.6Chef Expeditor2018-07-251-1/+1
|
* Bump version to 2.0.5 by Chef Expeditorv2.0.5Chef Expeditor2018-06-261-1/+1
|
* remove hashrocket syntaxLamont Granquist2018-06-261-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 2.0.4 by Expeditorv2.0.4Chef Expeditor2018-04-121-1/+1
|
* fix labelling (#37)Thom May2018-04-122-3/+4
| | | Signed-off-by: Thom May <thom@chef.io>
* release 2.0.3v2.0.3Thom May2018-03-221-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* release 2.0.2Thom May2018-03-221-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Merge pull request #33 from chef/tm/tracinessThom May2018-03-221-0/+3
|\ | | | | allow logger to query trace level
| * allow logger to query trace leveltm/tracinessThom May2018-03-221-0/+3
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | fix chefstyleThom May2018-03-221-1/+1
|/ | | | Signed-off-by: Thom May <thom@chef.io>
* release 2.0.1v2.0.1Thom May2018-02-281-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* enable metadata to be got and setThom May2018-02-282-0/+4
| | | | Signed-off-by: Thom May <thom@chef.io>
* Logging method return nilOlle Jonsson2018-02-281-0/+1
| | | | | | - Fixes #21 Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com>
* release 2.0tm/2_0Thom May2018-02-261-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Resolve review commentstm/slogThom May2018-02-264-32/+34
| | | | Signed-off-by: Thom May <thom@chef.io>
* add trace levelThom May2018-02-223-5/+18
| | | | Signed-off-by: Thom May <thom@chef.io>
* Ensure we only do a metadata write if requiredThom May2018-02-151-2/+4
| | | | Signed-off-by: Thom May <thom@chef.io>
* add metadata to log messagesThom May2018-02-155-49/+193
| | | | Signed-off-by: Thom May <thom@chef.io>
* Add child loggersThom May2018-01-172-0/+78
| | | | | | | | Child loggers mean that we can create new instances of a logger for subsystems or specific classes, but still only have a single set of outputs. Signed-off-by: Thom May <thom@chef.io>
* Travis: lint, fix build, newer RubiesOlle Jonsson2017-02-101-1/+1
| | | | | | Obvious fix. Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com>
* Release 1.7.1Matt Wrock2016-08-121-1/+1
|