pandoc_binary 2.11.4 → 2.14
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 +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dc12829baf1f484ed4015fdfc464a72e323a3c84470357dba89daa6ab09927b
|
4
|
+
data.tar.gz: 68e4e4d17a2a9352a3e60bcdb7a4f84b7bc74b0d520600de3c9897cba7d5612c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a733e1301f4248e58ce401295f41ceb2d495894a640e212563c55dbae06992905f2f4426969c893d3aaea698589bc1bf260f7b7626d772ea45ef4ed745d24347
|
7
|
+
data.tar.gz: e4250aa63b36f353196aec43700c4b8180a81569b3e7a775bbc54169c05b8d87678e76d78f53e6f36c0354e80b6b33eaad94fb4de023ecb1f73d60b3c773bc61
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandoc_binary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: '2.14'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya.Nishida.
|
@@ -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
|