zig_example 0.3.3.1 → 0.4.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/mkmf.rb +3 -5
- data/lib/zig_example/version.rb +1 -1
- metadata +8 -11
- data/ext/zigrb_100doors/extconf.rb +0 -3
- data/ext/zigrb_ackermann/extconf.rb +0 -3
- data/ext/zigrb_lucas_lehmer/extconf.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37dbb37e01aa672c7259a2aba5206666d8c0aa79191b8ce9f1fb3bf780b449b5
|
4
|
+
data.tar.gz: 568ef1a5eb93562e15149f97d4e352dfb1d7b954d203b475c3341d99e4eed73a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b7dea177528a4427add2364b8531e1f45f9442454b14f034e059c07da38d212e001fc598f29bdfe736a4a0f003b6679d51f333780cbd83ec94cd22becfeca67
|
7
|
+
data.tar.gz: 6dcd424b241a1dbbe82fc5199a84207908123504f1ef414debb2ec06c894c61ae7af8aac631fd589f0a7ae5ddfa4227a0ae5e67e51715bad704a9f58d0b94345
|
data/ext/mkmf.rb
CHANGED
@@ -2437,12 +2437,10 @@ site-install-rb: install-rb
|
|
2437
2437
|
mfile.print " #{timestamp_file('$(RUBYARCHDIR)', target_prefix)}" if $extout
|
2438
2438
|
mfile.print "\n"
|
2439
2439
|
if File.exist?('build.zig')
|
2440
|
-
mfile.print("\tenv -u DESTDIR PKG_CONFIG_PATH='$(libdir)/pkgconfig' RUBY_PC='#{File.basename(CONFIG['ruby_pc'], '.pc')}' zig build -Doptimize=ReleaseSafe test install\n")
|
2441
|
-
# zig builds a .dylib but ruby wants to load a .bundle
|
2440
|
+
mfile.print("\tenv -u DESTDIR PKG_CONFIG_PATH='$(libdir)/pkgconfig' RUBY_PC='#{File.basename(CONFIG['ruby_pc'], '.pc')}' zig build -Doptimize=ReleaseSafe --prefix-lib-dir $(shell pwd) test install\n")
|
2442
2441
|
if CONFIG['target_vendor'] == 'apple' && CONFIG['DLEXT'] = 'bundle'
|
2443
|
-
|
2444
|
-
|
2445
|
-
mfile.print("\tcp -v zig-out/lib/#{dllib} .\n")
|
2442
|
+
# zig builds a .dylib but ruby wants to load a .bundle
|
2443
|
+
mfile.print("\tmv -v $(TARGET).dylib $(TARGET).bundle\n")
|
2446
2444
|
end
|
2447
2445
|
else
|
2448
2446
|
mfile.print "\t$(ECHO) linking shared-object #{target_prefix.sub(/\A\/(.*)/, '\1/')}$(DLLIB)\n"
|
data/lib/zig_example/version.rb
CHANGED
metadata
CHANGED
@@ -1,34 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zig_example
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank J. Cameron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
15
15
|
- fjc@fastmail.net
|
16
16
|
executables: []
|
17
17
|
extensions:
|
18
|
-
- ext/zigrb_100doors/
|
19
|
-
- ext/zigrb_ackermann/
|
20
|
-
- ext/zigrb_lucas_lehmer/
|
18
|
+
- ext/zigrb_100doors/build.zig
|
19
|
+
- ext/zigrb_ackermann/build.zig
|
20
|
+
- ext/zigrb_lucas_lehmer/build.zig
|
21
21
|
extra_rdoc_files: []
|
22
22
|
files:
|
23
23
|
- ext/mkmf.rb
|
24
24
|
- ext/zigrb_100doors/build.zig
|
25
|
-
- ext/zigrb_100doors/extconf.rb
|
26
25
|
- ext/zigrb_100doors/src/main.zig
|
27
26
|
- ext/zigrb_ackermann/build.zig
|
28
|
-
- ext/zigrb_ackermann/extconf.rb
|
29
27
|
- ext/zigrb_ackermann/src/main.zig
|
30
28
|
- ext/zigrb_lucas_lehmer/build.zig
|
31
|
-
- ext/zigrb_lucas_lehmer/extconf.rb
|
32
29
|
- ext/zigrb_lucas_lehmer/src/lucas_lehmer.c
|
33
30
|
- ext/zigrb_lucas_lehmer/src/lucas_lehmer.h
|
34
31
|
- ext/zigrb_lucas_lehmer/src/wrapper.zig
|
@@ -51,11 +48,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
48
|
version: 2.6.0
|
52
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
50
|
requirements:
|
54
|
-
- - "
|
51
|
+
- - ">"
|
55
52
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
53
|
+
version: 1.3.1
|
57
54
|
requirements: []
|
58
|
-
rubygems_version: 3.
|
55
|
+
rubygems_version: 3.4.6
|
59
56
|
signing_key:
|
60
57
|
specification_version: 4
|
61
58
|
summary: An example gem for ruby with native zig extensions.
|