Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item14237: Basic reading of specs and caching of defaults.
- First spec format parser Foswiki::Config::Spec::Format::data. - Sample data spec file Spec.data in EmptyExtension - Caching of defaults for fast fetching upon startup without the need to reparse spec files. - Basic spec format guessing. - Bug fixes. Other bugs are known and awaiting for their turn...
- Loading branch information
Showing
17 changed files
with
1,166 additions
and
290 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
EmptyExtension/lib/Foswiki/Extension/EmptyExtension/Spec.data
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
-section => "Test section" => [ | ||
"Test.Key" => { | ||
-type => "TEXT", | ||
-default => "Empty plugin Test.Key", | ||
}, | ||
"Test.Number" => { | ||
-type => "NUMBER", | ||
-default => 3.1415926, | ||
}, | ||
], | ||
|
||
# vim: ft=perl |
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
Oops, something went wrong.