yamlscript 0.2.4 → 0.2.5
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.
- checksums.yaml +4 -4
- data/ChangeLog.md +4 -0
- data/ReadMe.md +2 -2
- data/lib/yamlscript/version.rb +1 -1
- data/lib/yamlscript.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8f1878ca08dc56b3778ee310b0ccbca64b2621c38e798344211db83ed30726a
|
4
|
+
data.tar.gz: 7497270f76bc916e8a2bd1cd627a4c9e575b7d4cef599be881a1cd7ed22585ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81895aecd345475a75f06e8d65427c70e2f8640eaf697d01966c47193b8c4c5eb1b5f2f13d795eeabb15f197a43fe4d245f253bc831900ee4f18ca74f6a682e7
|
7
|
+
data.tar.gz: 315fb335814ada52ca50f8ef89a0e7e457e471018315fd94d9164e1da9e61e02bb4079d3812eaa0111dd817da002ef7790c94cc7dbca03ea5c43a34f750426cd
|
data/ChangeLog.md
CHANGED
data/ReadMe.md
CHANGED
@@ -16,7 +16,7 @@ Here's an example `config.yaml` that makes use of YAMLScript functions.
|
|
16
16
|
|
17
17
|
```yaml
|
18
18
|
# config.yaml with YAMLScript:
|
19
|
-
!
|
19
|
+
!ys-0:
|
20
20
|
|
21
21
|
# Define variables
|
22
22
|
db-host =: ENV.DB_HOST || 'localhost'
|
@@ -90,7 +90,7 @@ YAMLScript extends YAML with a simple, elegant syntax:
|
|
90
90
|
|
91
91
|
```yaml
|
92
92
|
# file.yaml
|
93
|
-
!
|
93
|
+
!ys-0: # Enable YAMLScript
|
94
94
|
|
95
95
|
name =: 'World' # Variable assignment
|
96
96
|
nums =:: [1, 2, 3] # Any YAML value
|
data/lib/yamlscript/version.rb
CHANGED
data/lib/yamlscript.rb
CHANGED
@@ -16,7 +16,7 @@ class YAMLScript
|
|
16
16
|
# This value is automatically updated by 'make bump'.
|
17
17
|
# The version number is used to find the correct shared library file.
|
18
18
|
# We currently only support binding to an exact version of libys.
|
19
|
-
YAMLSCRIPT_VERSION = '0.2.
|
19
|
+
YAMLSCRIPT_VERSION = '0.2.5'
|
20
20
|
|
21
21
|
# A low-level interface to the native library
|
22
22
|
module LibYS
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yamlscript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ingy döt Net
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|