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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c97528f5d90b92214436ba9938f56a4ffde0d9997081b896d80eed180ebe59a
4
- data.tar.gz: 147e2bca0a928e18b23027f323ac2a297ccbb5c3480e178cc7054f3c1fc230d1
3
+ metadata.gz: 94314611395fba47d42021ab91fc1f0db7b7f5311a64796a8c98b36372c5b2b0
4
+ data.tar.gz: c627fa1a1510945411506662fb22907546f4a5916352680aa09e86f5f93f9d33
5
5
  SHA512:
6
- metadata.gz: f29859f59b455c0672c8411ab269c78e95b501a350a29dfc5d0966204e593b26aa36268f8c895aeb066962bf7d1d15a75b6ca3bbf576d3074b3b3d34bc393e03
7
- data.tar.gz: e5320aba0f339e3d6e8ac92a1fff314a0946dd5713fe5e335f057601a97159ffa031b761eace762859180b786670370d94281903ac1c9d96b60e970e959a31ba
6
+ metadata.gz: 202e31c4f0775dfd7f9976720efcde6c0d7af4a3169771d3690f01f5b960a55406e697a06ecf6c48a682ad39f264ccfec2b2dc14bdc7d5a3fc0fcfd5d966c06a
7
+ data.tar.gz: 618a2269f52c7dd1a0999f93f13e7a58b02aa6e2a584a161e89c914166b7299dd03ef3b2401599997ef91d58ef7c2586daca2968bf125efc0edbf4bd62efb51c
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lingua
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
5
5
  end
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.0
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-04-20 00:00:00.000000000 Z
10
+ date: 2026-10-03 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rb_sys