yamlscript 0.1.37 → 0.1.39

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: d8e93ea423caa758eea7d9091ec74926d6fb042a2b363dec1ef1f96fe2de045a
4
- data.tar.gz: af3e13f042043cedbb8debb69ea4d93580661a3b5482785c0f003cec08440b2e
3
+ metadata.gz: 00f7948d99baa564f05228c9322130672eb619f4a16c38667ef46ac7033ebb2c
4
+ data.tar.gz: 330fb5433f2dfbb4f1c2817bb648f13ee1a318426d2c82eb0fa92392a0df5d41
5
5
  SHA512:
6
- metadata.gz: 2dc2c6a69249397f6c316822e51c67565c35b2b6dee82e1d9fd297cfc79c7cf8e53586f4fc62ca00eec415af5119488780b0c8af6e857987a4e40db1d9cc0dc1
7
- data.tar.gz: 4915738ece61c7858b3211da73551bd7ca1afd8f1cd484b81b9c39fecfc7247932a98be1244d897e692922ea049c0fe7db4eb68a1f7f858edc09e7f848766c83
6
+ metadata.gz: 82391091181faac64664f60162ed3ac4f698e373d9bc0ac50c37c9af82efb305672a1e995f8576d2256c8ade8912362f128614d980dbbda504b956c3a13b2d5d
7
+ data.tar.gz: 4236d7db6e363c578f3cd24db697e19da1356caf6144450c0441d9ca7ff01ba4330f1c69cecb4e5b7bbd1ee55f80b650e03d9a17b92dac0e4ec9e436cc3c2a34
data/ChangeLog.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.1.39] - 2024-03-02
2
+
3
+ - libyamlscript 0.1.39
4
+
5
+ ## [0.1.38] - 2024-02-21
6
+
7
+ - libyamlscript 0.1.38
8
+
1
9
  ## [0.1.37] - 2024-02-14
2
10
 
3
11
  - libyamlscript 0.1.37
data/ReadMe.md CHANGED
@@ -9,7 +9,7 @@ Program in YAML
9
9
  ```yaml
10
10
  #!/usr/bin/env ys-0
11
11
 
12
- defn main(name):
12
+ defn main(name='world'):
13
13
  say: "Hello, $name!"
14
14
  ```
15
15
 
@@ -106,12 +106,12 @@ but you will need to have a system install of `libyamlscript.so`.
106
106
  One simple way to do that is with:
107
107
 
108
108
  ```bash
109
- $ curl https://yamlscript.org/install | sudo PREFIX=/usr/local bash
109
+ $ curl -sSL yamlscript.org/install | bash
110
110
  ```
111
111
 
112
112
  > Note: The above command will install the latest version of the YAMLScript
113
113
  command line utility, `ys`, and the shared library, `libyamlscript.so`, into
114
- `/usr/local/bin` and `/usr/local/lib` respectively.
114
+ `~/local/bin` and `~/.local/lib` respectively.
115
115
 
116
116
  See https://github.com/yaml/yamlscript?#installing-yamlscript for more info.
117
117
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class YAMLScript
4
- VERSION = "0.1.37"
4
+ VERSION = "0.1.39"
5
5
  end
data/lib/yamlscript.rb CHANGED
@@ -16,7 +16,7 @@ class YAMLScript
16
16
  # TODO: 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.37'
19
+ YAMLSCRIPT_VERSION = '0.1.39'
20
20
 
21
21
  # A low-level interface to the native library
22
22
  module LibYAMLScript
@@ -45,6 +45,7 @@ class YAMLScript
45
45
  env_value = ENV.fetch('LD_LIBRARY_PATH', '')
46
46
  paths = env_value.split(':')
47
47
  paths << '/usr/local/lib'
48
+ paths << ENV.fetch('HOME', '') + '/.local/lib'
48
49
  end
49
50
 
50
51
  # Find the libyamlscript shared library file path
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.37
4
+ version: 0.1.39
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: 2024-02-15 00:00:00.000000000 Z
12
+ date: 2024-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest