yamlscript 0.1.91 → 0.1.92

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07b6f2d0243242ef9a5b97e3935f936e1b64b2c710424867d9a360257fe033be
4
- data.tar.gz: 0f44431ec282f23e6d71173447970eb02c8c85879594b46040141942d784dda1
3
+ metadata.gz: 3d2f59531529f04d7afd5dac0b7946d2ad2330e0ad2d7c1fb927e6336c3f4452
4
+ data.tar.gz: 1112a21b54eaf01664e907b5dd1a87e7634f1d829d19e96df73a607b663748d6
5
5
  SHA512:
6
- metadata.gz: a10d1d8d8765ceb8339dad06affa331e83bb8976c057865a6bf96fd671d1758a2cea28ac9d2d22aa357f8e1ed4d7a1d811ad6d158cf33e91b12bd28bf63cc9a0
7
- data.tar.gz: 2190c340dd0ce2d1d75839bd763e0b67d2701e4741d941c5813f19c005662e25b11f83d2dd5bd6171105306bf5a7f1506f0808935783a587abdcccd14ad69f2a
6
+ metadata.gz: 8ce432e1659643fff01dc43019267363ea015a7098328e0b9b3f46b4663e77cfb22ecaae043783847fc79e1b84eb624e1b7c8aa71d3c926e073216713e8cce3e
7
+ data.tar.gz: 12f780c8c2289470323eb4b080d230ad2f057c1780f54bab4390273425ab9a141eacb4e56bc769d66c14d73ac9dd7af032727927013e116664e4bd5fc72ad9db
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.1.92] - 2025-02-24
2
+
3
+ - libyamlscript 0.1.92
4
+
1
5
  ## [0.1.91] - 2025-02-01
2
6
 
3
7
  - libyamlscript 0.1.91
data/ReadMe.md CHANGED
@@ -1,16 +1,16 @@
1
1
  <!-- DO NOT EDIT — THIS FILE WAS GENERATED -->
2
2
 
3
- YAMLScript
4
- ==========
3
+ YS / YAMLScript
4
+ ===============
5
5
 
6
6
  Add Logic to Your YAML Files
7
7
 
8
8
 
9
9
  ## Synopsis
10
10
 
11
- Load `file.yaml` with YAMLScript:
11
+ Load `file.yaml` with YS:
12
12
  ```yaml
13
- !YS v0:
13
+ !YS-v0:
14
14
 
15
15
  # Get data from external sources:
16
16
  names-url =:
@@ -43,33 +43,31 @@ and get:
43
43
 
44
44
  ## Description
45
45
 
46
- [YAMLScript](https://yamlscript.org) is a functional programming language with a
47
- clean YAML syntax.
46
+ [YS](https://yamlscript.org) is a functional programming language with a clean
47
+ YAML syntax.
48
48
 
49
- YAMLScript can be used for enhancing ordinary [YAML](https://yaml.org) files
50
- with functional operations, such as:
49
+ YS can be used for enhancing ordinary [YAML](https://yaml.org) files with
50
+ functional operations, such as:
51
51
 
52
52
  * Import (parts of) other YAML files to any node
53
53
  * String interpolation including function calls
54
54
  * Data transforms including ones defined by you
55
55
 
56
- This YAMLScript library should be a drop-in replacement for your current YAML
57
- loader!
56
+ This YS library should be a drop-in replacement for your current YAML loader!
58
57
 
59
- Most existing YAML files are already valid YAMLScript files.
60
- This means that YAMLScript works as a normal YAML loader, but can also evaluate
58
+ Most existing YAML files are already valid YS files.
59
+ This means that YS works as a normal YAML loader, but can also evaluate
61
60
  functional expressions if asked to.
62
61
 
63
- Under the hood, YAMLScript code compiles to the Clojure programming language.
64
- This makes YAMLScript a complete functional programming language right out of
65
- the box.
62
+ Under the hood, YS code compiles to the Clojure programming language.
63
+ This makes YS a complete functional programming language right out of the box.
66
64
 
67
- Even though YAMLScript compiles to Clojure, and Clojure compiles to Java, there
68
- is no dependency on Java or the JVM.
69
- YAMLScript is compiled to a native shared library (`libyamlscript.so`) that can
70
- be used by any programming language that can load shared libraries.
65
+ Even though YS compiles to Clojure, and Clojure compiles to Java, there is no
66
+ dependency on Java or the JVM.
67
+ YS is compiled to a native shared library (`libyamlscript.so`) that can be used
68
+ by any programming language that can load shared libraries.
71
69
 
72
- To see the Clojure code that YAMLScript compiles to, you can use the YAMLScript
70
+ To see the Clojure code that YS compiles to, you can use the YS
73
71
  CLI binary `ys` to run:
74
72
 
75
73
  ```text
@@ -85,7 +83,6 @@ $ ys --compile file.ys
85
83
  "title" (str (_** 'num) " shades of " (_** 'hue) ".")))
86
84
  ```
87
85
 
88
-
89
86
  ## Ruby Usage
90
87
 
91
88
  File `prog.rb`:
@@ -147,25 +144,22 @@ command line utility, `ys`, and the shared library, `libyamlscript.so`, into
147
144
 
148
145
  See https://github.com/yaml/yamlscript?#installing-yamlscript for more info.
149
146
 
150
-
151
147
  ## See Also
152
148
 
153
- * [YAMLScript Web Site](https://yamlscript.org)
154
- * [YAMLScript Blog](https://yamlscript.org/blog)
155
- * [YAMLScript Source Code](https://github.com/yaml/yamlscript)
156
- * [YAMLScript Samples](https://github.com/yaml/yamlscript/tree/main/sample)
157
- * [YAMLScript Programs](https://rosettacode.org/wiki/Category:YAMLScript)
149
+ * [YS Web Site](https://yamlscript.org)
150
+ * [YS Blog](https://yamlscript.org/blog)
151
+ * [YS Source Code](https://github.com/yaml/yamlscript)
152
+ * [YS Samples](https://github.com/yaml/yamlscript/tree/main/sample)
153
+ * [YS Programs](https://rosettacode.org/wiki/Category:YAMLScript)
158
154
  * [YAML](https://yaml.org)
159
155
  * [Clojure](https://clojure.org)
160
156
 
161
157
 
162
158
  ## Authors
163
159
 
164
-
165
160
  * [Ingy döt Net](https://github.com/ingydotnet)
166
161
  * [Delon R.Newman](https://github.com/delonnewman)
167
162
 
168
-
169
163
  ## License & Copyright
170
164
 
171
165
  Copyright 2022-2025 Ingy döt Net <ingy@ingy.net>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class YAMLScript
4
- VERSION = "0.1.91"
4
+ VERSION = "0.1.92"
5
5
  end
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 libyamlscript.
19
- YAMLSCRIPT_VERSION = '0.1.91'
19
+ YAMLSCRIPT_VERSION = '0.1.92'
20
20
 
21
21
  # A low-level interface to the native library
22
22
  module LibYAMLScript
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.1.91
4
+ version: 0.1.92
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-02-02 00:00:00.000000000 Z
12
+ date: 2025-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest