forked from scalingdata/liquidoc-gem
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix options bug; add ability to skip missing migrate sources (#60)
Fix options bug; add ability to skip missing migrate sources The `options:` setting for `migrate` actions was reading an erroneous truthiness to test for the existence of a setting. Fixed this so opt settings other than `inclusive: false` actually work. Added the ability to set an option `missing:` with either `warn`, `skip`, or `exit` as values. If `missing: warn`, the operation skips the migrate step and logs a warning to console. If `missing: exit` (the default, w/ backward compatibility) the operation throws an error and exits. Added example and explanation for new `missing:` setting to README. * Remove erroneous require (from testing) * Rearrange missing handling; add 'skip' option * Bump version to 0.9.5
- Loading branch information
1 parent
3cafb4f
commit 675606e
Showing
3 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Liquidoc | ||
VERSION = "0.9.4" | ||
VERSION = "0.9.5" | ||
end |