json-yaml-embedded-expressions 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +7 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Install
|
|
7
7
|
-------
|
8
8
|
|
9
9
|
$ gem install json-yaml-embedded-expressions
|
10
|
-
|
10
|
+
|
11
11
|
Usage
|
12
12
|
-----
|
13
13
|
|
@@ -108,3 +108,9 @@ Embedded expression is a string of the form `=expr` (and not `==expr`) where
|
|
108
108
|
`expr` is a Ruby expression. The expression is evaluated in context of the map/array it is contained in. Inside `expr` you may use `self`, `parent` and `top`. Map entries may be accessed/assigned via `map['key']`. If using command-line utilities or required `easy_hash` then `map.key` also works.
|
109
109
|
|
110
110
|
Embedded expressions in map's keys are ignored, e. g., the following is not evaluated: `{"=2+2": "foobar"}`.
|
111
|
+
|
112
|
+
Links
|
113
|
+
-----
|
114
|
+
|
115
|
+
- [Documentation](http://www.rubydoc.info/gems/json-yaml-embedded-expressions/0.0.1)
|
116
|
+
- [Source code](https://github.com/LavirtheWhiolet/json-yaml-embedded-expressions)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json-yaml-embedded-expressions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -29,7 +29,7 @@ files:
|
|
29
29
|
- README.md
|
30
30
|
- bin/json-embedded-expressions
|
31
31
|
- bin/yaml-embedded-expressions
|
32
|
-
homepage:
|
32
|
+
homepage: http://lavirthewhiolet.github.io/json-yaml-embedded-expressions
|
33
33
|
licenses:
|
34
34
|
- MIT
|
35
35
|
post_install_message:
|