extract_ttc 0.3.0-x86_64-linux-musl → 0.3.2-x86_64-linux-musl

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: b99ec3ddb233b380ced9aeb0057586bf4e284b4d74b7156bc73f2dd9639ec5fc
4
- data.tar.gz: 111cbc334bd54c3ec5ef63cf0af06ae830a702af401eb408ef196b73bc5ce997
3
+ metadata.gz: e13bf0335de9e1257c136697d7b0192d95fd33bd45df4dfa397a5f45f42f1bc1
4
+ data.tar.gz: 0cad483dd66b3140287cc1e2221bda33414a5e557f147fe2ce1bec2c5a0fee0c
5
5
  SHA512:
6
- metadata.gz: fcdc136c80cf4ad59a9865945bff90a1396e479c65eb48dbe57abc00cc24d848c3a96fb7e7d86b3037aae32e5740fbeb768ff11522ff6ca9da1ec9705bd7c73a
7
- data.tar.gz: fdcaaac127bb396ff3957f2fdf7919546a2a6acf49293ce279469800cc912bba3e2959f6126a89e77c9c9413ec3be425e528a6816ac092271477401096efe396
6
+ metadata.gz: 0a172f60e26016baaae33d4d752578c2de623f03d437533d3f7192d07e8cdf4d30071b24ce5921f821f7a8b7868a784ff7061629529ea5f3cdec0ccae8dff107
7
+ data.tar.gz: 3ad564d82c90c7c5bf7cc2195976fcd3ff74ed6da0166d26982f8f718f6e33cc075a5a1e57d225ca16d9d13c38b6f30369e8d4082f27718bf435e96277713270
data/.rubocop.yml CHANGED
@@ -2,4 +2,11 @@ inherit_from:
2
2
  - 'https://raw.githubusercontent.com/fontist/oss-guides/master/ci/rubocop.yml'
3
3
 
4
4
  AllCops:
5
- SuggestExtensions: false
5
+ TargetRubyVersion: 2.7
6
+ SuggestExtensions: false
7
+ Exclude:
8
+ - 'tmp/**/*'
9
+ - 'vendor/**/*'
10
+
11
+ Gemspec/RequireMFA:
12
+ Enabled: false
data/Rakefile CHANGED
@@ -33,10 +33,6 @@ ext_thru_rc_dock = %w[x86_64-linux aarch64-linux] +
33
33
 
34
34
  ext_thru_musl_cc = %w[x86_64-linux-musl aarch64-linux-musl]
35
35
 
36
- # add your default gem packing task
37
- Gem::PackageTask.new(spec) do |pkg|
38
- end
39
-
40
36
  # HACK: Prevent rake-compiler from overriding required_ruby_version,
41
37
  # because the shared library here is Ruby-agnostic.
42
38
  # See https://github.com/rake-compiler/rake-compiler/issues/153
data/ext/stripttc/dummy.c CHANGED
@@ -1,2 +1,2 @@
1
1
  // to keep linker happy
2
- void Init_stripttc() {}
2
+ void Init_stripttc() {}
@@ -1,6 +1,5 @@
1
- require "mkmf"
2
1
  require "rbconfig"
3
-
4
- CONFIG["LDSHARED"] << " -shared" unless RbConfig::CONFIG["host_os"].match?(/darwin/)
5
-
2
+ require "mkmf"
6
3
  create_makefile "stripttc"
4
+ m = File.read("Makefile").gsub("--no-as-needed", "--as-needed")
5
+ File.write("Makefile", m)
data/extract_ttc.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.description = "Extract font collection to separate font files"
11
11
  spec.homepage = "https://github.com/fontist/extract_ttc"
12
12
  spec.license = "BSD-3-Clause"
13
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
14
14
 
15
15
  spec.metadata["homepage_uri"] = spec.homepage
16
16
  spec.metadata["source_code_uri"] = "https://github.com/fontist/extract_ttc"
@@ -18,15 +18,15 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.files = Dir.chdir(__dir__) do
20
20
  `git ls-files -z`
21
- .split("\x0").reject { |f| f.match(%r{^(.github|test|spec|features)/}) }
21
+ .split("\x0").reject { |f| f.match(%r{^(bin|.github|test|spec|features)/}) }
22
22
  end
23
23
 
24
24
  spec.bindir = "exe"
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
+ spec.add_runtime_dependency "bundler", "~> 2.3", ">= 2.3.22"
28
29
  spec.add_runtime_dependency "ffi", "~> 1.0"
29
- spec.add_runtime_dependency "bundler", '~> 2.3', '>= 2.3.22'
30
30
  spec.add_runtime_dependency "rake", "~> 13"
31
31
  spec.add_runtime_dependency "rake-compiler", "~> 1.2"
32
32
  spec.add_runtime_dependency "rake-compiler-dock", "~> 1.2"
@@ -1,3 +1,3 @@
1
1
  module ExtractTtc
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.3.2".freeze
3
3
  end
data/lib/stripttc.so CHANGED
Binary file
metadata CHANGED
@@ -1,49 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extract_ttc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: ffi
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '2.3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.3.22
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '1.0'
29
+ version: '2.3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.3.22
27
33
  - !ruby/object:Gem::Dependency
28
- name: bundler
34
+ name: ffi
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '2.3'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 2.3.22
39
+ version: '1.0'
37
40
  type: :runtime
38
41
  prerelease: false
39
42
  version_requirements: !ruby/object:Gem::Requirement
40
43
  requirements:
41
44
  - - "~>"
42
45
  - !ruby/object:Gem::Version
43
- version: '2.3'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 2.3.22
46
+ version: '1.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -156,9 +156,6 @@ files:
156
156
  - LICENSE.adoc
157
157
  - README.adoc
158
158
  - Rakefile
159
- - bin/console
160
- - bin/rspec
161
- - bin/setup
162
159
  - ext/stripttc/LICENSE
163
160
  - ext/stripttc/dummy.c
164
161
  - ext/stripttc/extconf.rb
@@ -183,7 +180,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
180
  requirements:
184
181
  - - ">="
185
182
  - !ruby/object:Gem::Version
186
- version: 2.6.0
183
+ version: 2.7.0
187
184
  required_rubygems_version: !ruby/object:Gem::Requirement
188
185
  requirements:
189
186
  - - ">="
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "extract_ttc"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/rspec DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'rspec' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- require "pathname"
12
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
- Pathname.new(__FILE__).realpath)
14
-
15
- bundle_binstub = File.expand_path("bundle", __dir__)
16
-
17
- if File.file?(bundle_binstub)
18
- if /This file was generated by Bundler/.match?(File.read(bundle_binstub, 300))
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
25
-
26
- require "rubygems"
27
- require "bundler/setup"
28
-
29
- load Gem.bin_path("rspec-core", "rspec")
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
- bundle exec rake compile