Commit c8c7574
committed
(maint) Fix with latest version of yard
Monkey patching libraries is a bad idea. Latest version of yard changed
some internal details, which broke bolt.
A workaround was proposed in #3349 but the root cause was not addressed.
Detect if the version of YARD we are using provide the
`YARD::Logger::Severity` class (part of the new interal API) and if so
use its constants to set the log level, otherwise fallback to the
previous way of setting the log level using a Symbol.
While here, revert the workaround that was committed in #3349 and #3350.
!no-release-note1 parent ce9235a commit c8c7574
File tree
2 files changed
+6
-3
lines changed- acceptance/setup/common/pre-suite
- lib/bolt
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | | - | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
502 | 507 | | |
503 | 508 | | |
504 | 509 | | |
| |||
0 commit comments