pandoc_binary 2.11.3.2 → 2.13
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: bec647239a96b8e3b64e88372b0f56d1963089327ab89ad9adc131f3013e9847
|
4
|
+
data.tar.gz: 5b962dc746a008d09fbe009d60f4635074d92c5bc08bcc8f552059a55efdbbd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66b1ec9d481233852519d5924023b98125003c8f68a7e555048f9a0a5c0580e0229f90f0c92df1f4121b0cd1cdc055dffe3961893afed06ed3a0655f9f59035e
|
7
|
+
data.tar.gz: 91f89b012b2caa0124060fb094f6fdaaa099aa530f498d9d4a1e0b7c5083c81076f7b979778e6770486d6271986e3be0f0355173ac3bf3c653a0bd883aca21f3
|
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.13'
|
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
|