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

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: 7df6ed2c3346874e3010c8984b69e9ca545a73d3207c0dbd5b19842637b530a1
4
- data.tar.gz: 3de5dfc8482bd4603c40c39bc1b74b59b1bbbb4a2230e00e5cf4604284feb77e
3
+ metadata.gz: 3e8005bcb855980ec948c3ed80559d0679a268e466095ead6c5ca0333275bb63
4
+ data.tar.gz: 4881fa2e9eeef4d882af7bc0d1e3c89538f1854fd784ad2f44250b25ce093c57
5
5
  SHA512:
6
- metadata.gz: 8a4d5ea8a3d84743e14dc5af46d8454ad36025ecd5e24a59b58984c00aee2207d61bfc3f26f46b6c365b1f23600427d516bb999b975a309b381d51353e69f54a
7
- data.tar.gz: a4d3bae3cc0624d542af8662003d244d087eab5efc455f5e581b7116851b16a89e7f49e7e688ddc2bf4ba0bd6296e1e2cebdfc4ce943f5b608d28d351b49aa2a
6
+ metadata.gz: 8493584d69eebe9cdede829707b78a7e5582e82c95e95c7567e6a288b3a2dfee0d7fa5a7b5becebc850978d4d3f600132de06e4c4adb8ee91bde8355d319442d
7
+ data.tar.gz: 638acbb0d167df11e2c4de7d5fb93dabe461fef045d0e20b48aa015227c95e7c98a8ffbb1d445f79ca7327d52d5108f3b8980ac02854b9f37563443628d865a0
@@ -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"
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
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
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
@@ -170,7 +170,7 @@ metadata:
170
170
  source_code_uri: https://github.com/fontist/extract_ttc
171
171
  changelog_uri: https://github.com/fontist/extract_ttc
172
172
  rubygems_mfa_required: 'false'
173
- post_install_message:
173
+ post_install_message:
174
174
  rdoc_options: []
175
175
  require_paths:
176
176
  - lib
@@ -185,8 +185,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
- rubygems_version: 3.3.4
189
- signing_key:
188
+ rubygems_version: 3.3.26
189
+ signing_key:
190
190
  specification_version: 4
191
191
  summary: Extract TTC file to TTF files
192
192
  test_files: []