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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf1233eb08e04b2f8c46642534ef2bb1057f8073581594089ec59e79794ddc14
4
- data.tar.gz: 9d8a8312fddee8e988639dd11620a5276f7903e6dc6d79f835e65d80ed30ab20
3
+ metadata.gz: b9e40a0aec7518accd6b0df9f952c470a3d4de92edcb67015188f0f309b6d91a
4
+ data.tar.gz: ac78e9338870314f4a2c157b86d77458f33b697982d624e25e3e94a0021d56bc
5
5
  SHA512:
6
- metadata.gz: 5353ad5429c8f70c2c941f7b3babed2ed58265379e302f7305353dba1d1a257d7f677efc5f91c3035e92e2f366cb07fc0c6d8ed497650f884d354785c2f741fc
7
- data.tar.gz: f140406a8bfa18714430aa9617f219bbc07b720c0ffe438186c7207b11197ba64dd48488df28456bd8cbc778e4654ba0c80b6fc5a50c748ffaca6c8e1ad5f686
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.0)
5
- ffi (>= 1.0.0)
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 unless !config.nil? and @plugin.null?
50
+ return if config.nil? or @plugin.null?
51
51
 
52
52
  s = JSON.generate(config)
53
53
  ptr = FFI::MemoryPointer.from_string(s)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Extism
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
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.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-01-08 00:00:00.000000000 Z
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.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.0
26
+ version: '1.0'
27
27
  description: A library for loading and executing WASM plugins
28
28
  email:
29
29
  - zachshipko@gmail.com