pandoc_binary 2.11.4 → 2.12

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: 6bd00b9b969762ae9919dc5ec6802c8633ba4febc265f32342c8186f952aba59
4
- data.tar.gz: a82cae1650da44cec17cbc45ecb70870e3c3e77ffa0a4501ba7e935e1a776b65
3
+ metadata.gz: 288c8fc370bef572e3fcb3489619bae697266c50bdfb2771435a548db4d4d4d6
4
+ data.tar.gz: 0d601ee2e56ebbfb9312cd00cb9d969d5a2fd7e8f8221ae9f90b93115eb40eb3
5
5
  SHA512:
6
- metadata.gz: a44aecba430741152de37b08309b11e3982ee13f1d594e66fda5ac36810b901687050e410a08a87aaff01aa7d68f9efbb8a638e38b13ce2a7038cb442ec0f331
7
- data.tar.gz: aff13540b55e89a94bad9bbd6e8e02a6d9c581e3bdc0ab1ef70692245519d6fafec37cbf31367d850c8bf6710be1844c83b9ca27d6b7c90061edfe727dc3f384
6
+ metadata.gz: a6eda7b933906c309e62845d0cfc3dc8d11ba3fc51627132ab46d5314a0d24ea6bc8deb043d08cfb6577b1d7226b4b551edd2b9e091fe1060dc7637c09584afa
7
+ data.tar.gz: b481cce570069376b76a48bb11f151a4438bed504c7b93636110690006d26fdca4d7c9d73438dc4f5292dd3902192a9dca21f76b80769b3188d892e44304d0b0
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.12)
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.12"
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.12'
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