lingua_rs 0.6.0 → 0.6.1
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/ext/lingua/extconf.rb +6 -0
- data/lib/lingua/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 94314611395fba47d42021ab91fc1f0db7b7f5311a64796a8c98b36372c5b2b0
|
|
4
|
+
data.tar.gz: c627fa1a1510945411506662fb22907546f4a5916352680aa09e86f5f93f9d33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 202e31c4f0775dfd7f9976720efcde6c0d7af4a3169771d3690f01f5b960a55406e697a06ecf6c48a682ad39f264ccfec2b2dc14bdc7d5a3fc0fcfd5d966c06a
|
|
7
|
+
data.tar.gz: 618a2269f52c7dd1a0999f93f13e7a58b02aa6e2a584a161e89c914166b7299dd03ef3b2401599997ef91d58ef7c2586daca2968bf125efc0edbf4bd62efb51c
|
data/ext/lingua/extconf.rb
CHANGED
|
@@ -11,6 +11,12 @@ selection = with_config('lingua-languages', nil) || ENV.fetch('LINGUA_LANGUAGES'
|
|
|
11
11
|
languages = selection.to_s.split(',').map { |lang| lang.strip.downcase }.reject(&:empty?)
|
|
12
12
|
|
|
13
13
|
create_rust_makefile('lingua/lingua') do |r|
|
|
14
|
+
# Cargo strips debuginfo from release builds by default. With rustc <= 1.98.0,
|
|
15
|
+
# stripping leaves the LINKEDIT string pool misaligned and dyld on macOS 27+
|
|
16
|
+
# refuses to load the bundle ("mis-aligned LINKEDIT string pool"), see
|
|
17
|
+
# rust-lang/rust#157750. Can be removed once rustc >= 1.98.1 is the minimum.
|
|
18
|
+
r.extra_rustflags << '-Cstrip=none' if RUBY_PLATFORM.include?('darwin')
|
|
19
|
+
|
|
14
20
|
unless languages.empty?
|
|
15
21
|
r.extra_cargo_args << '--no-default-features'
|
|
16
22
|
r.features = languages
|
data/lib/lingua/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lingua_rs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sébastien Vrillaud
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-10-03 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rb_sys
|