extism 1.0.0.pre.rc.5 → 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: fe3c2955ca5c62a5b5a74193718d2541681a4185a304de78f9539f1a8fa6df56
4
- data.tar.gz: 781f852a38eaaed9c8dd54774e43d6383ebef8e3b3af7cf14dc8535cabb5bf61
3
+ metadata.gz: b9e40a0aec7518accd6b0df9f952c470a3d4de92edcb67015188f0f309b6d91a
4
+ data.tar.gz: ac78e9338870314f4a2c157b86d77458f33b697982d624e25e3e94a0021d56bc
5
5
  SHA512:
6
- metadata.gz: a1a55078815c74b7dc6fdad592c08017f7540f1773c5a98ce94acb9e7810fb9cfc9584c3f53af8bce59e9d9493b39431910e3e0f002b98abcedb4ca51c19c3aa
7
- data.tar.gz: 1d83b5c01d2c17ad74cacd3b4430706423878fa12347cadf8bbf1ef5904377195f71e3edea0536df316988436fbcb00d0d53da83f8c362c9e7faa540cb228bc9
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.pre.rc.5)
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/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  This repo contains the ruby gem for integrating with the [Extism](https://extism.org/) runtime. Install this library into your host ruby application to run Extism plug-ins.
4
4
 
5
- > **Note**: This repo is 1.0 alpha version of the Ruby SDK and we may push breaking changes in between versions until we hit 1.0.0 in December, 2023. However, it is ready to use and you should use this if you're building a new integration. We'd love any feedback on it.
6
-
7
5
  ## Installation
8
6
 
9
7
  ### Install the Extism Runtime Dependency
@@ -18,20 +16,18 @@ sudo extism lib install latest
18
16
  #=> Copying extism.h to /usr/local/include/extism.h
19
17
  ```
20
18
 
21
- > **Note**: This library has breaking changes and targets 1.0 of the runtime. For the time being, install the runtime from our nightly development builds on git: `sudo extism lib install --version git`.
22
-
23
19
  ### Install the Gem
24
20
 
25
21
  Add this library to your [Gemfile](https://bundler.io/):
26
22
 
27
23
  ```ruby
28
- gem 'extism', '1.0.0.pre.rc.5'
24
+ gem 'extism', '~> 1.0.0'
29
25
  ```
30
26
 
31
27
  Or if installing on the system level:
32
28
 
33
29
  ```
34
- gem install extism --pre
30
+ gem install extism
35
31
  ```
36
32
 
37
33
  ## Getting Started
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-rc.5'
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.pre.rc.5
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: 2023-11-17 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
@@ -69,9 +69,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
69
  version: 2.6.0
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 1.3.1
74
+ version: '0'
75
75
  requirements: []
76
76
  rubygems_version: 3.4.10
77
77
  signing_key: