README.md in command_mapper-0.2.1 vs README.md in command_mapper-0.3.0
- old
+ new
@@ -8,20 +8,21 @@
* [Issues](https://github.com/postmodern/command_mapper/issues)
* [Documentation](http://rubydoc.info/gems/command_mapper/frames)
## Description
-Command Mapper maps a command's options and arguments to Class attributes to
-allow safely and securely executing commands.
+Command Mapper maps an external command's options and arguments to Class
+attributes to allow safely and securely executing commands.
## Features
* Supports defining commands as Ruby classes.
* Supports mapping in options and additional arguments.
* Supports common option types:
* [Str][CommandMapper::Types::Str]: string values
* [Num][CommandMapper::Types::Num]: numeric values
+ * [Dec][CommandMapper::Types::Dec]: decimal values
* [Hex][CommandMapper::Types::Hex]: hexadecimal values
* [Map][CommandMapper::Types::Map]: maps Ruby values to other String values.
* `Map::YesNo`: maps `true`/`false` to `yes`/`no`.
* `Map::EnabledDisabled`: Maps `true`/`false` to `enabled`/`disabled`.
* [Enum][CommandMapper::Types::Enum]: maps a finite set of Symbols to a
@@ -48,9 +49,10 @@
[command injection]: https://owasp.org/www-community/attacks/Command_Injection
[option injection]: https://staaldraad.github.io/post/2019-11-24-argument-injection/
[CommandMapper::Types::Str]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/Str
[CommandMapper::Types::Num]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/Num
+[CommandMapper::Types::Dec]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/Dec
[CommandMapper::Types::Hex]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/Hex
[CommandMapper::Types::Map]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/Map
[CommandMapper::Types::Enum]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/Enum
[CommandMapper::Types::List]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/List
[CommandMapper::Types::KeyValue]: https://rubydoc.info/gems/command_mapper/CommandMapper/Types/KeyValue