extract_ttc 0.3.3-x86_64-linux → 0.3.4-x86_64-linux

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: aced7f213ff80c2a15dc3c005a28e938304167cf8eb112a47272840826a8743e
4
- data.tar.gz: 3a93fef70591adea474f4aa5858fbeb2670a66d37999184d57f39e72b1336567
3
+ metadata.gz: 3e8005bcb855980ec948c3ed80559d0679a268e466095ead6c5ca0333275bb63
4
+ data.tar.gz: 4881fa2e9eeef4d882af7bc0d1e3c89538f1854fd784ad2f44250b25ce093c57
5
5
  SHA512:
6
- metadata.gz: bafb402023d5e521369513ba77ac730cb2e4575541bf4dfe146dabe47ea5b2701c5ce1b1e3540dac8ae2f10b5af696871e015bb7a1e31c69418289227859db6a
7
- data.tar.gz: 677f1b9e026af67b75306615e0ade5540e920e8caa0736568899fd4bc512b7124970296a5b0bab238204b6bac4f7f43c1984b3855d4ab1070aaf25329faf8b2a
6
+ metadata.gz: 8493584d69eebe9cdede829707b78a7e5582e82c95e95c7567e6a288b3a2dfee0d7fa5a7b5becebc850978d4d3f600132de06e4c4adb8ee91bde8355d319442d
7
+ data.tar.gz: 638acbb0d167df11e2c4de7d5fb93dabe461fef045d0e20b48aa015227c95e7c98a8ffbb1d445f79ca7327d52d5108f3b8980ac02854b9f37563443628d865a0
@@ -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-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: []