wcl 0.2.4.alpha1 → 0.2.6.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: dcd3b25f83e42873afd8c2c426d0664a6a7db08413d69e7941db719be4214468
4
+ data.tar.gz: 557cd65329b064830367f900e05fa6e47d3298a36c8fc1b04c414e3b61f1b56e
5
5
  SHA512:
6
- metadata.gz: f399b05b4d08fcedcc1fd25d73cb93b99618f3deee4db05e32bc54bb8fe852f8228a893bbe48d4a6ba4d253b3c7fccfce3557f36c75378168d4b8cd78a9ed1ea
7
- data.tar.gz: ddafe7fd37784d8a2a8f084f227663621ad010f18909488cc402d59caf4760fa82b2fb587c8d8c2bc6eef527507f0961ecc0200a80081a15c84d564506138ed9
6
+ metadata.gz: 0bf228839eabd320f9c74b90de09eff269400d8c558ea4eb3b151ccb48dbfa777858df776f856af48d9522208b25041873d05d98002ca29cae321e5911fa45c1
7
+ data.tar.gz: 441b61f9bf51ef3b550f5f5526cd7937cd337262c6c4757a681c0d69a93460fa71ddbb1ea8fbf4329856ce7a92adbede8ff772f6894ef8c8fad903004b39d6f6
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.6.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.6.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