extract_ttc 0.3.3-x86_64-darwin → 0.3.4-x86_64-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: 23eb7650deb214ffe326a60d539fdac48578cd6368a0cd7ab999ee975403df1d
4
- data.tar.gz: 95dbc4b03f3b55f40794c743a3729b72437760c4f121a49ab0ed6bb629fcf163
3
+ metadata.gz: 3f9693c1ab33b76f8361712852a5ef264832e521e80f98c0d40a1d448c238e1c
4
+ data.tar.gz: '03118b90a8caa1dc27394ab426b3d7d78b32d4e611fc4e1c337b0334323a6ca4'
5
5
  SHA512:
6
- metadata.gz: 8ed68cf26073bfd47e37690ff0b5cbacc521fee5744bf15cea80bb3bd7b5419f971e9fe9c822c2ea2b872816ff15f39368ecab9fa9a89ec91fc82245de418c21
7
- data.tar.gz: fd6ae6221549702baba723732a1b40a273504f34e7899241866caa6b8ac0d565e202bac6c9f5baf51bb2dd7769c6f515f7dc5d8a0e5ec42927122e648d2166fe
6
+ metadata.gz: 4bf267e1fdbd4aa229a6b7fff8ed99601de9adba8f9857861aaac8beb1071f994a7f6815bb62c368df8537b80ad1321feb748c7f5eec6c0de46be2052a0d8e23
7
+ data.tar.gz: 594192844b62de58fb6997f14cabf392b12618e6b7cc564e625c2ab838cb5a098484db99ef3aae2204e9747ad600ce96188288ebd74ab56e1347c1e260be9e09
Binary file
@@ -1,3 +1,3 @@
1
1
  module ExtractTtc
2
- VERSION = "0.3.3".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.3
4
+ version: 0.3.4
5
5
  platform: x86_64-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: []