extract_ttc 0.3.3-x64-mingw-ucrt → 0.3.4-x64-mingw-ucrt

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: 52b4871d379b503b83fd7f0845abe56e7a4fac7bfd7e98ddc33cc8488de6848a
4
- data.tar.gz: e023e46a01b010354da63efbea931379410df71f1f3b281688241dd396a00518
3
+ metadata.gz: 00d86cdaef1e338ff1b22a6ef9fec0b8e8adf414ff7fc5473056f9e7482c54b1
4
+ data.tar.gz: c07eee14b0b90aec5a973bd6387778ae7f4cb2e6d99f50f99bb7c24cd9c176aa
5
5
  SHA512:
6
- metadata.gz: 24155c808274b994b7eea4b8d3525ddb86860b713737b7e284b1e64c6bf037a85cb8889a26c491e69ed426b4a2b085f63315b5d0365b9824b49f9bebaad36ab7
7
- data.tar.gz: b49c9e32d397c8cff34390d07440c2410227a2658f44ae86b4400320540f7eb5cb4a171fbc0ff5cfbf0bc558ceab01f369b910a700f38bc36677427436691ba9
6
+ metadata.gz: 2cf55c3202b4360af954541bb9d896ba766bb5bc745dacd40ef886494206ae8aa5c9ca59809acc6f58c191eeef322733de9ef13f0d88630b366deb0748db6b62
7
+ data.tar.gz: 4d3534f6abfcaef78f8e94a27b17af92ad17ccb526c83b46d657609f6915f7fd532f676ab719f3f9607318af20ea4395f713d7dfd7c494e75e753fa6cb37bedc
data/lib/3.1/stripttc.so CHANGED
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: x64-mingw-ucrt
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
@@ -168,7 +168,7 @@ metadata:
168
168
  source_code_uri: https://github.com/fontist/extract_ttc
169
169
  changelog_uri: https://github.com/fontist/extract_ttc
170
170
  rubygems_mfa_required: 'false'
171
- post_install_message:
171
+ post_install_message:
172
172
  rdoc_options: []
173
173
  require_paths:
174
174
  - lib
@@ -183,8 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.3.4
187
- signing_key:
186
+ rubygems_version: 3.3.26
187
+ signing_key:
188
188
  specification_version: 4
189
189
  summary: Extract TTC file to TTF files
190
190
  test_files: []