extract_ttc 0.3.2-arm64-darwin → 0.3.4-arm64-darwin

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: 8a2dd4b6311809b378867c41afe245a081fe9fe07e1b2266695937d54086ddc5
4
- data.tar.gz: 6b42fecbc7ed7c450ffaeef77519941f620fadf7307b869f0996b4f9a621ff4d
3
+ metadata.gz: 8553759803c8cfa0b217873cba846f5e1a1f725f8eb38c8019a5ae3b30274886
4
+ data.tar.gz: 1df137d0fc4db756358164c59a6408468ef27c676ee3177a8eca41856a751e9f
5
5
  SHA512:
6
- metadata.gz: 85c7b317c2881e25d2968f605e8777c7b2e910039d88a28053b7a3ae0f6acac2acf5ae95ffeac1b32af8304902ccde12c0f690bc25e3baacaab702d73e183045
7
- data.tar.gz: 7dbe6d2300bffd42ea4fc52dedab7c5dd65241235aba7212f74f4684378d581a2a8d71153eaea2aa98b8f28192b8ebdbf38605320fbd74d267b49f1dd5cb8c4d
6
+ metadata.gz: b1d0b2607f4c23fc5679e7f50fa69c4ee4dab06d75485e979db3bca5184c694f3c6c1a746afec14fede3656d7948aa416fb3dfce14a905ef71e1161495d9a175
7
+ data.tar.gz: eba1e71bda88dd57cd3181cce774ece746f349cee408d0b2580c7021faf44c7b5558640e7ffe297dcb13f7236b3684279babc217c3091a6ff4aa57f0ba5c25b3
Binary file
@@ -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: arm64-darwin
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: []