extract_ttc 0.3.3-x86_64-darwin → 0.3.5-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +5 -0
- data/lib/3.1/stripttc.bundle +0 -0
- data/lib/extract_ttc/version.rb +1 -1
- data/lib/extract_ttc.rb +8 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14f20ba4431c661e9816bfc95c863f3873c6155f8ee45f362ce5bfa28c475240
|
4
|
+
data.tar.gz: fd06adeff98a5b85863abc51156a9b33aee8aa11215ad877159f9d9aa8c36ee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1fefd44989618f423c47645886c9844b39de21cf30935cbf04cd4af917be8f02d3451181f01c7bc4e5d48b60083a9baadad6ff57b28ef370b3c8c4998cbb546
|
7
|
+
data.tar.gz: 06aaad55677e699d5b375c30b4e3d609063d8b35adb656e855a84f3ceb12eabb343ddd6fa2aa97177469f0bef575ad137da492608f635ccd94ae75fdf5591b91
|
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.bundle
CHANGED
Binary file
|
data/lib/extract_ttc/version.rb
CHANGED
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
|
-
|
20
|
-
|
21
|
-
|
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.
|
4
|
+
version: 0.3.5
|
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:
|
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.
|
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: []
|