rb_sys 0.9.78 → 0.9.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -2
- data/lib/rb_sys/mkmf/config.rb +4 -0
- data/lib/rb_sys/mkmf.rb +7 -0
- data/lib/rb_sys/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63c63786ecd9f735f17132c8f772cb145d0c4107052d482ea5cff7084f30a7c5
|
4
|
+
data.tar.gz: 5d2f9d6e902e855805367f7cdba4a80953693c7a979b58593eca572d310c0cf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1653a68b2336d328c855c0ce972668d67461b3c5aeb4d15f76a69377f72ff76b21f85b0fc1da73ce491fff4965b6378ac7c7742018b9263a91ec40f34719bda3
|
7
|
+
data.tar.gz: 8cbae235b072bd6a68980a4159fd13ea8f7168b4fc760d834371a62bfb1677ded0e1932334204b97ed45004d9baba1c3f0364ae671c5b4f9ceb012fd03bd3237
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
`��u�s���V`b,�r�S�LDI*N���V���Tk�+�z2?��`�ٱ>���oR��W��?.�cXLv��7D�Լ�Ҫ�+��g���Ħ��t���pW�v�q����k��*'���/P8`��%{>*>}}�z\H���x.QN����B��n_HV�W,�;�ڷ��H��)���a��aVB(Q�{'c5XºN��v��KG{v�8�o���g�i_#B�
|
2
|
+
��-c������I��M��ô��C�مK~�w�_S�W
|
data/lib/rb_sys/mkmf/config.rb
CHANGED
@@ -19,12 +19,16 @@ module RbSys
|
|
19
19
|
# Directories to clean after installing with Rubygems
|
20
20
|
attr_accessor :rubygems_clean_dirs
|
21
21
|
|
22
|
+
# Extra targets to install
|
23
|
+
attr_accessor :extra_rustup_targets
|
24
|
+
|
22
25
|
def initialize(builder)
|
23
26
|
@builder = builder
|
24
27
|
@force_install_rust_toolchain = false
|
25
28
|
@auto_install_rust_toolchain = true
|
26
29
|
@clean_after_install = rubygems_invoked?
|
27
30
|
@rubygems_clean_dirs = ["./cargo-vendor"]
|
31
|
+
@extra_rustup_targets = []
|
28
32
|
end
|
29
33
|
|
30
34
|
# @api private
|
data/lib/rb_sys/mkmf.rb
CHANGED
@@ -253,12 +253,19 @@ module RbSys
|
|
253
253
|
\t$(Q) curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --no-modify-path --profile $(RB_SYS_RUSTUP_PROFILE) --default-toolchain none -y
|
254
254
|
\t$(Q) $(CARGO_HOME)/bin/rustup toolchain install $(RB_SYS_DEFAULT_TOOLCHAIN) --profile $(RB_SYS_RUSTUP_PROFILE)
|
255
255
|
\t$(Q) $(CARGO_HOME)/bin/rustup default $(RB_SYS_DEFAULT_TOOLCHAIN)
|
256
|
+
#{install_extra_rustup_targets(builder)}
|
256
257
|
|
257
258
|
$(RUSTLIB): $(CARGO)
|
258
259
|
#{endif_stmt}
|
259
260
|
MAKE
|
260
261
|
end
|
261
262
|
|
263
|
+
def install_extra_rustup_targets(builder)
|
264
|
+
builder.extra_rustup_targets.map do |target|
|
265
|
+
"\t$(Q) $(CARGO_HOME)/bin/rustup target add #{target}"
|
266
|
+
end.join("\n")
|
267
|
+
end
|
268
|
+
|
262
269
|
def force_install_rust_toolchain?(builder)
|
263
270
|
return builder.force_install_rust_toolchain if builder.force_install_rust_toolchain
|
264
271
|
return false unless builder.rubygems_invoked? && builder.auto_install_rust_toolchain
|
data/lib/rb_sys/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb_sys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.79
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ker-Seymer
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
DIZ6NVmpBvohJVCCCDxQQxFKLXZp1ivoxjN+m7eJSW7yzIz062pH4u8pPNQsiVSb
|
31
31
|
I5rgRPbDr2rAFGXKoQ0+u6CLkRxqrVsITl/OPfZhBQI=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2023-
|
33
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
34
34
|
dependencies: []
|
35
35
|
description:
|
36
36
|
email:
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
|
-
rubygems_version: 3.4.
|
85
|
+
rubygems_version: 3.4.10
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Helpers for compiling Rust extensions for ruby
|
metadata.gz.sig
CHANGED
Binary file
|