extract_ttc 0.3.3-x64-mingw-ucrt → 0.3.5-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: fb301c81fe0d86ad1ca747e80cf2dcab15b835dbf75a4e115f059e3ec3d535a9
4
+ data.tar.gz: '0936680d6de45aaffe410dd06ae0b5cb07d8536e73f4b3910c29fbf2e130f430'
5
5
  SHA512:
6
- metadata.gz: 24155c808274b994b7eea4b8d3525ddb86860b713737b7e284b1e64c6bf037a85cb8889a26c491e69ed426b4a2b085f63315b5d0365b9824b49f9bebaad36ab7
7
- data.tar.gz: b49c9e32d397c8cff34390d07440c2410227a2658f44ae86b4400320540f7eb5cb4a171fbc0ff5cfbf0bc558ceab01f369b910a700f38bc36677427436691ba9
6
+ metadata.gz: 9eb548d01e8192402a79523d59f014fc2c0a2a0426aa6185b3b458cd5d8df2f0ae769c7efdd4caf3841c9411b1133084e7c20c132c6c6568d658220f5e5cdcff
7
+ data.tar.gz: e1a0f0aaa9f7dc1a03e5287018b1fcf2d400839b64ba97da921ffd2780507dc5c63d1099920d4348e6ea7ef2c723c7dd2d03d5449d824131d4a9bd49991cacc9
data/README.adoc CHANGED
@@ -1,3 +1,8 @@
1
+ image:https://img.shields.io/gem/v/extract_ttc.svg["Gem Version", link="https://rubygems.org/gems/extract_ttc"]
2
+ image:https://github.com/fontist/extract_ttc/workflows/test-and-release/badge.svg["Build Status", link="https://github.com/fontist/extract_ttc/actions?workflow=test-and-release"]
3
+ // image:https://codeclimate.com/github/metanorma/extract_ttc/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/fontist/extract_ttc"]
4
+ image:https://img.shields.io/github/issues-pr-raw/fontist/extract_ttc.svg["Pull Requests", link="https://github.com/fontist/extract_ttc/pulls"]
5
+
1
6
  = ExtractTtc: Ruby gem to extract TTF from TTC
2
7
 
3
8
  == Purpose
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.5".freeze
3
3
  end
data/lib/extract_ttc.rb CHANGED
@@ -16,9 +16,14 @@ 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"))
21
- "stripttc.bundle"
19
+ lib_subdir = RUBY_VERSION.split(".").first(2).join(".")
20
+ macos_binary = "stripttc.bundle"
21
+ lib_name = if File.exist?(
22
+ File.join(File.dirname(__FILE__), lib_subdir, macos_binary),
23
+ )
24
+ File.join(lib_subdir, macos_binary)
25
+ elsif File.exist?(File.join(File.dirname(__FILE__), macos_binary))
26
+ macos_binary
22
27
  else
23
28
  "stripttc.so"
24
29
  end
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.5
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: []