extism 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -2
- data/lib/extism/plugin.rb +1 -1
- data/lib/extism/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9e40a0aec7518accd6b0df9f952c470a3d4de92edcb67015188f0f309b6d91a
|
4
|
+
data.tar.gz: ac78e9338870314f4a2c157b86d77458f33b697982d624e25e3e94a0021d56bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8874cfb2822b88ac9f6a9c072b0b56cd59466a0f161a53fab63b0f7a2a89ed14e09eb962a83607f97a159bcbad11792b36a79f5a8164561843900c57420aef9
|
7
|
+
data.tar.gz: 78210fd8c5d9f388cb9b8b55aa4991388b4daacf4e8380e7d1bb4bcf57f822c0204766897c64208f7db1868c3ae4e78ee9c9712b5dad82544dad88b6a81bcf6f
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
extism (1.0.
|
5
|
-
ffi (
|
4
|
+
extism (1.0.1)
|
5
|
+
ffi (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -29,6 +29,7 @@ GEM
|
|
29
29
|
|
30
30
|
PLATFORMS
|
31
31
|
arm64-darwin-22
|
32
|
+
arm64-darwin-23
|
32
33
|
x86_64-linux
|
33
34
|
|
34
35
|
DEPENDENCIES
|
data/lib/extism/plugin.rb
CHANGED
@@ -47,7 +47,7 @@ module Extism
|
|
47
47
|
end
|
48
48
|
$PLUGINS[object_id] = { plugin: @plugin }
|
49
49
|
ObjectSpace.define_finalizer(self, $FREE_PLUGIN)
|
50
|
-
return
|
50
|
+
return if config.nil? or @plugin.null?
|
51
51
|
|
52
52
|
s = JSON.generate(config)
|
53
53
|
ptr = FFI::MemoryPointer.from_string(s)
|
data/lib/extism/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zach
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.0
|
26
|
+
version: '1.0'
|
27
27
|
description: A library for loading and executing WASM plugins
|
28
28
|
email:
|
29
29
|
- zachshipko@gmail.com
|