leptris 1.9.390.2 → 1.9.390.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Rakefile +8 -6
- data/lib/leptris/vendor/x86_64-linux-musl/libleptris.so +0 -0
- data/lib/leptris/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c772c3427f9bbddfe2e8bafa9da9387aaf04f9e62ef838e1cd73a5075bab245
|
|
4
|
+
data.tar.gz: a2711d8d586726f60faa8a7b52ed0364135200fc503ec90dae5aefb599d4e06f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 356c8036ed8c4ec15dce8568ff00ed26a4d78b2be6a8f29e8bea6e65b29b815d76e12ef8ea20539d0a2b33850403794f07c2e3056d44e58aadae788c9559f9d9
|
|
7
|
+
data.tar.gz: 0f3164d1d036092b156e493baa971f8b48ff149503324d67ff6ead58bf046bc6e929b6e4cb91d70990b8057eb2ae9e4e63092bb0d032aa49c4c194483341b7e2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
- Rebuild the native object under the Ruby that performs final packaging.
|
|
6
|
+
Restoring the job Ruby after the per-minor release loop could reuse the
|
|
7
|
+
last minor's object and overwrite the job minor's bundle with a different
|
|
8
|
+
Ruby header ABI. The packaging regression now exercises the same workspace
|
|
9
|
+
under Ruby 3.4, then 4.0, then 3.3 and checks the actual packaged native/GC paths.
|
|
10
|
+
|
|
3
11
|
### Added — 1.9.390.2 (namespace snapshot face)
|
|
4
12
|
|
|
5
13
|
- **Element#namespace_declarations_snapshot (leptris-ruby#565).**
|
data/Rakefile
CHANGED
|
@@ -290,7 +290,9 @@ task :compile do
|
|
|
290
290
|
elsif %w[ruby truffleruby].include?(RUBY_ENGINE)
|
|
291
291
|
ext_dir = "ext/leptris/native"
|
|
292
292
|
Dir.chdir(ext_dir) do
|
|
293
|
-
|
|
293
|
+
# Packaging restores the job Ruby after the per-minor release loop.
|
|
294
|
+
# Rebuild even when native.o is newer: it may use another Ruby's headers.
|
|
295
|
+
sh RbConfig.ruby, "extconf.rb"
|
|
294
296
|
if RUBY_PLATFORM =~ /darwin/
|
|
295
297
|
# Link the bundle ourselves: mkmf snapshots LIBRUBYARG from
|
|
296
298
|
# RbConfig at require time, so setup-ruby's shared-libruby
|
|
@@ -300,18 +302,18 @@ task :compile do
|
|
|
300
302
|
# Makefile, link with pure -undefined dynamic_lookup (Ruby
|
|
301
303
|
# symbols resolve from the loading interpreter) and a
|
|
302
304
|
# conservative deployment target.
|
|
303
|
-
sh "make native.o"
|
|
305
|
+
sh "make -B native.o"
|
|
304
306
|
sh "cc -dynamic -bundle -undefined dynamic_lookup " \
|
|
305
307
|
"-mmacosx-version-min=#{ENV['MACOSX_DEPLOYMENT_TARGET'] || '11.0'} " \
|
|
306
308
|
"-o native.bundle native.o"
|
|
307
309
|
else
|
|
308
310
|
# #207: the darwin contract on Linux too — mkmf's `make`
|
|
309
311
|
# linked libruby.so.3.3 (plus a runner runpath), which
|
|
310
|
-
# failed to load on 3.4/4.0. Link WITHOUT libruby
|
|
311
|
-
#
|
|
312
|
-
# loading interpreter at dlopen (static rubies export
|
|
312
|
+
# failed to load on 3.4/4.0. Link WITHOUT libruby while
|
|
313
|
+
# keeping the building Ruby's header ABI: rb_* resolve from
|
|
314
|
+
# the loading interpreter at dlopen (static rubies export
|
|
313
315
|
# their symbols via -rdynamic, like any extension .so).
|
|
314
|
-
sh "make native.o"
|
|
316
|
+
sh "make -B native.o"
|
|
315
317
|
sh "#{RbConfig::CONFIG['CC']} -shared -fPIC -o native.so native.o"
|
|
316
318
|
end
|
|
317
319
|
# Guard the linkage contract at the build chokepoint (#1739):
|
|
Binary file
|
data/lib/leptris/version.rb
CHANGED