README.md in monolens-0.3.0 vs README.md in monolens-0.4.0
- old
+ new
@@ -74,28 +74,32 @@
```
## Available lenses
```
+core.dig - Extract from the input value (object or array) using a path.
core.chain - Applies a chain of lenses to an input value
core.mapping - Converts the input value via a key:value mapping
str.strip - Remove leading and trailing spaces of an input string
str.split - Splits the input string as an array
str.downcase - Converts the input string to lowercase
str.upcase - Converts the input string to uppercase
skip.null - Aborts the current lens transformation if nil
+object.extend - Adds key/value(s) to the input object
object.rename - Rename some keys of the input object
object.transform - Applies specific lenses to specific values of the input object
object.keys - Applies a lens to all keys of the input object
object.values - Applies a lens to all values of the input object
object.select - Builds an object by selecting key/values from the input object
coerce.date - Coerces the input value to a date
coerce.datetime - Coerces the input value to a datetime
+coerce.string - Coerces the input value to a string (aka to_s)
+coerce.integer - Coerces the input value to an integer
array.compact - Removes null from the input array
array.join - Joins values of the input array as a string
array.map - Apply a lens to each member of an Array
```
@@ -111,9 +115,11 @@
* `Monolens.lens` factory method and its behavior
* The list of available lenses, their behavior and available options.
* Exception classes: `Monolens::Error`, `Monolens::LensError`
+
+* bin/monolens, its args, options and general behavior
Everything else is condidered private and may change any time
(i.e. even on patch releases).
## Contributing