gem-ext-zig_builder 0.4.0 → 0.4.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: '0259aec55b71cdf4b1c568f08b02e2a81e0ab4716fd094d2335ff595e8772f10'
4
- data.tar.gz: 1d50520f5be2d2855ee170c697c9f6aa9c0a107e62c4f3223f4290be4192d8bd
3
+ metadata.gz: 8d7466a233e3ca02ab9137d1754002e95deda5aa1f3f6916a4117fb2464856ec
4
+ data.tar.gz: b0d4ab1d2965d8a3a351abb0b88099c8f01f1c4e299446527fd8bff6fbd07894
5
5
  SHA512:
6
- metadata.gz: '08f3e45cd701aff3ac296cd92f65adf5950d6848495f1779eeb37ccb5dd6205fc46a0d5f1812198ec0d15a76406852c9607f12f5eecb09fa8c20c0e37ce5990b'
7
- data.tar.gz: f45f6758bd55d69af54c05475827e145bcc20c38d1ae4b8e6282f1503660ba018541717a962ee869d759c0a6240043d2017b76102022fa97c06b79855c5efbe4
6
+ metadata.gz: 60edf309fae80f11c200e8b026a3ef99fac2969b1ca52c224b5f1708514eace16ea230018d5e016df1cfc53891d8ffa5ad2dad09f1c353d8a26a5364d88123d1
7
+ data.tar.gz: c53e1848aaee44c23e1611c444fec6a6367c56ef4adc506dd6f62076c1f9d198bde19ad8ad92102afcda79183a9822eaf15c6ac8f9ec74c1c47f8addc5945f72
@@ -5,7 +5,7 @@ module Gem
5
5
  class Builder; end
6
6
 
7
7
  class ZigBuilder < Builder
8
- VERSION = '0.4.0'
8
+ VERSION = '0.4.1'
9
9
  end
10
10
  end
11
11
  end
@@ -41,10 +41,16 @@ require 'tmpdir'
41
41
  #
42
42
  # const std = @import("std");
43
43
  # const ruby = @cImport(@cInclude("ruby/ruby.h"));
44
+ #
45
+ # // Export the extension init function:
44
46
  # export fn Init_libzigrb_example() void {
45
47
  # ruby.ruby_init();
46
48
  # }
47
49
  #
50
+ # // For development releases of ruby:
51
+ # const rubyABIVersion = if (@hasField(ruby, "RUBY_ABI_VERSION")) ruby.RUBY_ABI_VERSION else 0;
52
+ # export fn ruby_abi_version() ruby.VALUE { return rubyABIVersion; }
53
+ #
48
54
  # An example of defining a ruby class and adding a zig method:
49
55
  #
50
56
  # const zig_rb_class: ruby.VALUE = ruby.rb_define_class("ZigExample", ruby.rb_cObject);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-ext-zig_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank J. Cameron
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-06-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: ''
14
14
  email:
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubygems_version: 3.3.26
46
+ rubygems_version: 3.3.15
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Gem extension builder for zig