pandoc_binary 2.11.3.1 → 2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pandoc_binary/version.rb +1 -1
- data/lib/pandoc_binary.rb +2 -0
- data/libexec/pandoc-linux-amd64.gz +0 -0
- data/libexec/pandoc-linux-arm64.gz +0 -0
- data/libexec/pandoc-macOS.gz +0 -0
- data/libexec/pandoc-windows-x86_64.gz +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 288c8fc370bef572e3fcb3489619bae697266c50bdfb2771435a548db4d4d4d6
|
4
|
+
data.tar.gz: 0d601ee2e56ebbfb9312cd00cb9d969d5a2fd7e8f8221ae9f90b93115eb40eb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6eda7b933906c309e62845d0cfc3dc8d11ba3fc51627132ab46d5314a0d24ea6bc8deb043d08cfb6577b1d7226b4b551edd2b9e091fe1060dc7637c09584afa
|
7
|
+
data.tar.gz: b481cce570069376b76a48bb11f151a4438bed504c7b93636110690006d26fdca4d7c9d73438dc4f5292dd3902192a9dca21f76b80769b3188d892e44304d0b0
|
data/Gemfile.lock
CHANGED
data/lib/pandoc_binary.rb
CHANGED
@@ -33,6 +33,8 @@ module PandocBinary
|
|
33
33
|
class Architecture < Struct.new(:name, :archive_suffix, :bin_path, :bin_suffix, keyword_init: true)
|
34
34
|
def fetch_executable(version:, asset:)
|
35
35
|
bin_path_in_archive = Pathname("#{PREFIX}-#{version}") / bin_path
|
36
|
+
# super special case
|
37
|
+
bin_path_in_archive = Pathname("pandoc-2.12/usr/bin/pandoc") if version == "2.12" && name == "linux-arm64"
|
36
38
|
Open3.pipeline_r(
|
37
39
|
[*%w[curl --silent --location], asset.browser_download_url],
|
38
40
|
[*%w[bsdtar --to-stdout -xf -], bin_path_in_archive.to_s],
|
Binary file
|
Binary file
|
data/libexec/pandoc-macOS.gz
CHANGED
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandoc_binary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: '2.12'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya.Nishida.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debug
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- lib/pandoc_binary/version.rb.template
|
44
44
|
- libexec/.keep
|
45
45
|
- libexec/pandoc-linux-amd64.gz
|
46
|
+
- libexec/pandoc-linux-arm64.gz
|
46
47
|
- libexec/pandoc-macOS.gz
|
47
48
|
- libexec/pandoc-windows-x86_64.gz
|
48
49
|
- pandoc_binary.gemspec
|