extract_ttc 0.3.3-x64-mingw32 → 0.3.5-x64-mingw32

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: 05ed6c4b92f7f5c7a65f0201a6eb50158f9f11a165ddc4a86565c96372b2bde0
4
- data.tar.gz: e899f9dd992e1e64d3ac967e4a447d09db6ca8115ef2cb8b632de0f621c5101b
3
+ metadata.gz: eb918e74152e36010677440d85eb095e772ff237129d5e80a1b2f136c03f9866
4
+ data.tar.gz: bab22d808431632d6f3c6c68a3aaa77426451c4e2811c8ef158b47e28a07ee5a
5
5
  SHA512:
6
- metadata.gz: '0069f63d3984ba41fb08e02e4ed9119de132effaaf9814843ec68fdf85ca7c35c14f729e5b0c90cd744f799fda002ccb821faf48a4633f1e35b7afa2c2a4ff30'
7
- data.tar.gz: bcbff8e5859e4a5442df4813c4e48b2bd8787b9b3ad0a9b5c398ff3ca4f7ae896e03a0dc4bc39f6dfa5ab6f8635ad014361075a3bbdd9df34c3ec948e5b5090d
6
+ metadata.gz: 8d15153e5dc51192e9a0bb19e7904c0237f6dce13a47ddd3f84dd11d46095c6a3f1ee3aa2a971071005e4cd44dc7d254da5932ca1bd4126ece1752f9f95e525f
7
+ data.tar.gz: f90a7d82f7c7d190fe3443fc9906389179fb472e218b16b033e1a1e9ff4fe9bdf9a5baf1ef95bdcb975a4e530c618565b012b0ba172732e5b5d9185d621310a8
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/2.7/stripttc.so CHANGED
Binary file
data/lib/3.0/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-mingw32
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
@@ -169,7 +169,7 @@ metadata:
169
169
  source_code_uri: https://github.com/fontist/extract_ttc
170
170
  changelog_uri: https://github.com/fontist/extract_ttc
171
171
  rubygems_mfa_required: 'false'
172
- post_install_message:
172
+ post_install_message:
173
173
  rdoc_options: []
174
174
  require_paths:
175
175
  - lib
@@ -184,8 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  requirements: []
187
- rubygems_version: 3.3.4
188
- signing_key:
187
+ rubygems_version: 3.3.26
188
+ signing_key:
189
189
  specification_version: 4
190
190
  summary: Extract TTC file to TTF files
191
191
  test_files: []