pandoc_binary 2.11.3.2 → 2.13

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: 5da7df8c3f6f21b4fdb6e0570c75bc65273d048590b8538be9350d6819b8b25a
4
- data.tar.gz: 2054eb9e47b990fe45a06e7c784c8a0d48c08ee393419d6d1ac43d03b3d05052
3
+ metadata.gz: bec647239a96b8e3b64e88372b0f56d1963089327ab89ad9adc131f3013e9847
4
+ data.tar.gz: 5b962dc746a008d09fbe009d60f4635074d92c5bc08bcc8f552059a55efdbbd5
5
5
  SHA512:
6
- metadata.gz: 000f5d3197b4572da1a53bef0c667458c28567be064aa9f0c86c2c02fc7b373f979cd36b71c222178a5cf59bf67ba999d10c6ddd61d54ad8f4a3bb585aa862cf
7
- data.tar.gz: 60cd29536ffb2fc8114166b42b5b72ebff3626b63f93d7a69c8fc1fe9b9c1ff7ddec499d9cdd9e82f29d925eaea183a4fdc18589a8d0b6ff11a5239d22230478
6
+ metadata.gz: 66b1ec9d481233852519d5924023b98125003c8f68a7e555048f9a0a5c0580e0229f90f0c92df1f4121b0cd1cdc055dffe3961893afed06ed3a0655f9f59035e
7
+ data.tar.gz: 91f89b012b2caa0124060fb094f6fdaaa099aa530f498d9d4a1e0b7c5083c81076f7b979778e6770486d6271986e3be0f0355173ac3bf3c653a0bd883aca21f3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pandoc_binary (2.11.3.2)
4
+ pandoc_binary (2.13)
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.3.2"
5
+ VERSION = "2.13"
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.3.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