extract_ttc 0.3.2-x86_64-linux-musl → 0.3.4-x86_64-linux-musl

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e13bf0335de9e1257c136697d7b0192d95fd33bd45df4dfa397a5f45f42f1bc1
4
- data.tar.gz: 0cad483dd66b3140287cc1e2221bda33414a5e557f147fe2ce1bec2c5a0fee0c
3
+ metadata.gz: 9b11346276a9178aa56a1394afe19072135dc4a4cf2689a1c2ff25055cd308ef
4
+ data.tar.gz: 01c11e0fcc9ae68152fd287f8b9ff00de56a73a7e01040063d1c41fc28c2edac
5
5
  SHA512:
6
- metadata.gz: 0a172f60e26016baaae33d4d752578c2de623f03d437533d3f7192d07e8cdf4d30071b24ce5921f821f7a8b7868a784ff7061629529ea5f3cdec0ccae8dff107
7
- data.tar.gz: 3ad564d82c90c7c5bf7cc2195976fcd3ff74ed6da0166d26982f8f718f6e33cc075a5a1e57d225ca16d9d13c38b6f30369e8d4082f27718bf435e96277713270
6
+ metadata.gz: d9c8e965138f4ebc08eafdd51ba31707b89a64bafab4716655ddf1e9d0267caac5ca1414f2815fb837ed2489d2d179b3bb2ee1436b351d26cd6857d43399d607
7
+ data.tar.gz: ac208fdaebf05dc0a96da5f5d38e9f0a31419e0697d59d115f81ec245f75bac0a7fe1465aa7594e6346b1f7748bae1c245df0f76c91bfc379d54aed6c97677a7
@@ -1,3 +1,3 @@
1
1
  module ExtractTtc
2
- VERSION = "0.3.2".freeze
2
+ VERSION = "0.3.4".freeze
3
3
  end
data/lib/extract_ttc.rb CHANGED
@@ -16,8 +16,18 @@ module ExtractTtc
16
16
  extend FFI::Library
17
17
  # NOTE: ffi doesn't support bundles out of box https://github.com/ffi/ffi/issues/42#issuecomment-750031554
18
18
  # NOTE: rake-compiler doesn't support dylib generation https://github.com/rake-compiler/rake-compiler/issues/183
19
- lib_name = if File.exists?(File.join(File.dirname(__FILE__),
20
- "stripttc.bundle"))
19
+ lib_name = if File.exist?(
20
+ File.join(
21
+ File.dirname(__FILE__),
22
+ RUBY_VERSION.split(".").first(2).join("."),
23
+ "stripttc.bundle",
24
+ ),
25
+ ) || File.exist?(
26
+ File.join(
27
+ File.dirname(__FILE__),
28
+ "stripttc.bundle",
29
+ ),
30
+ )
21
31
  "stripttc.bundle"
22
32
  else
23
33
  "stripttc.so"
data/lib/stripttc.so CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extract_ttc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2023-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 3.3.7
190
+ rubygems_version: 3.3.26
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: Extract TTC file to TTF files