wcl 0.2.4.alpha1 → 0.2.5.alpha1

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: 26745129eede6d587e14ed76dea8148456872c92de0d3678ace598281ec4258f
4
- data.tar.gz: ed6b96854602d364c6055e04740e7e9639752e85eabf4db9012dee51a4102945
3
+ metadata.gz: 538e287f16fdde95b2ca9e7b095a49d0758c91248be7b857f08efcf2810a981e
4
+ data.tar.gz: fb2acb6c250d03eeb80e5769e2d8ac68d7e572e74ef6f2b4dc4ba2805e37db78
5
5
  SHA512:
6
- metadata.gz: f399b05b4d08fcedcc1fd25d73cb93b99618f3deee4db05e32bc54bb8fe852f8228a893bbe48d4a6ba4d253b3c7fccfce3557f36c75378168d4b8cd78a9ed1ea
7
- data.tar.gz: ddafe7fd37784d8a2a8f084f227663621ad010f18909488cc402d59caf4760fa82b2fb587c8d8c2bc6eef527507f0961ecc0200a80081a15c84d564506138ed9
6
+ metadata.gz: 0d6949c25a63eba33d82b904cd8c00e1a1bca472013a11fa79e46f74b853e62d0a339cf74921d64a58c049340fe07b0a5c8c68c8f2057a04db2b75aeedf71162
7
+ data.tar.gz: 52992d5217c2c862628d6a63df7c8255753ff90df0df4bfa3383159e0015ef03c43b14a3333caa38e781e558518a46578921d4415102fab1bd804f1c07d23907
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # wcl — Ruby bindings for WCL
2
+
3
+ Ruby bindings for [WCL (Wil's Configuration Language)](https://wcl.dev), powered by a WASM runtime. Ruby 3.1+.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ gem install wcl
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ruby
14
+ require "wcl"
15
+
16
+ doc = Wcl.parse(<<~WCL)
17
+ server web {
18
+ port = 8080
19
+ host = "localhost"
20
+ }
21
+ WCL
22
+
23
+ puts doc.values
24
+ # {"server"=>{"web"=>{"port"=>8080, "host"=>"localhost"}}}
25
+
26
+ servers = doc.blocks_of_type("server")
27
+ puts "Found #{servers.length} server(s)"
28
+ ```
29
+
30
+ ## Links
31
+
32
+ - **Website**: [wcl.dev](https://wcl.dev)
33
+ - **Documentation**: [wcl.dev/docs](https://wcl.dev/docs/)
34
+ - **GitHub**: [github.com/wiltaylor/wcl](https://github.com/wiltaylor/wcl)
35
+
36
+ ## License
37
+
38
+ MIT
data/lib/wcl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wcl
2
- VERSION = "0.2.4.alpha1"
2
+ VERSION = "0.2.5.alpha1"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4.alpha1
4
+ version: 0.2.5.alpha1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wil Taylor
@@ -31,6 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - README.md
34
35
  - lib/wcl.rb
35
36
  - lib/wcl/callback.rb
36
37
  - lib/wcl/convert.rb