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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bd00b9b969762ae9919dc5ec6802c8633ba4febc265f32342c8186f952aba59
4
- data.tar.gz: a82cae1650da44cec17cbc45ecb70870e3c3e77ffa0a4501ba7e935e1a776b65
3
+ metadata.gz: 7dc12829baf1f484ed4015fdfc464a72e323a3c84470357dba89daa6ab09927b
4
+ data.tar.gz: 68e4e4d17a2a9352a3e60bcdb7a4f84b7bc74b0d520600de3c9897cba7d5612c
5
5
  SHA512:
6
- metadata.gz: a44aecba430741152de37b08309b11e3982ee13f1d594e66fda5ac36810b901687050e410a08a87aaff01aa7d68f9efbb8a638e38b13ce2a7038cb442ec0f331
7
- data.tar.gz: aff13540b55e89a94bad9bbd6e8e02a6d9c581e3bdc0ab1ef70692245519d6fafec37cbf31367d850c8bf6710be1844c83b9ca27d6b7c90061edfe727dc3f384
6
+ metadata.gz: a733e1301f4248e58ce401295f41ceb2d495894a640e212563c55dbae06992905f2f4426969c893d3aaea698589bc1bf260f7b7626d772ea45ef4ed745d24347
7
+ data.tar.gz: e4250aa63b36f353196aec43700c4b8180a81569b3e7a775bbc54169c05b8d87678e76d78f53e6f36c0354e80b6b33eaad94fb4de023ecb1f73d60b3c773bc61
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pandoc_binary (2.11.4)
4
+ pandoc_binary (2.14)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module PandocBinary
5
- VERSION = "2.11.4"
5
+ VERSION = "2.14"
6
6
  end
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
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.11.4
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