yamlscript 0.1.36 → 0.1.39

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b60ab68d8b3364490451d088bf28ae3e2a9eb22ec5c5edf8fa2e7b16427b5343
4
- data.tar.gz: b333511562ad4c7a1e5d1febd89af25ac6089273149ef52299e054f6c69a0cd0
3
+ metadata.gz: 00f7948d99baa564f05228c9322130672eb619f4a16c38667ef46ac7033ebb2c
4
+ data.tar.gz: 330fb5433f2dfbb4f1c2817bb648f13ee1a318426d2c82eb0fa92392a0df5d41
5
5
  SHA512:
6
- metadata.gz: c3a4bcf17a64f389647782fbbacb3d7f5e877fb8962fc5cea9665217a0c6df60d2565156b74647a96191669c1bba43b8cc82409b23bc182f6cba7aeddd0e59dc
7
- data.tar.gz: d24fe98927d2061cc3c0ca3788d14ac91c2fb6eabe9c2fb82a9e53ad4d5ee95c98c30e35ec687369bc238d784b691aa439600b919f5a82f12410650c4f013a68
6
+ metadata.gz: 82391091181faac64664f60162ed3ac4f698e373d9bc0ac50c37c9af82efb305672a1e995f8576d2256c8ade8912362f128614d980dbbda504b956c3a13b2d5d
7
+ data.tar.gz: 4236d7db6e363c578f3cd24db697e19da1356caf6144450c0441d9ca7ff01ba4330f1c69cecb4e5b7bbd1ee55f80b650e03d9a17b92dac0e4ec9e436cc3c2a34
data/ChangeLog.md CHANGED
@@ -1,3 +1,15 @@
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
+
9
+ ## [0.1.37] - 2024-02-14
10
+
11
+ - libyamlscript 0.1.37
12
+
1
13
  ## [0.1.36] - 2024-02-02
2
14
 
3
15
  - libyamlscript 0.1.36
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.36"
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.36'
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.36
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-02 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