jekyll-pagebreak 0.7.0 → 0.9.1

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: 100ee73c6f42f8a0740821ed8e6b8005c1d6bffdee25002bd0357a6825ad0e46
4
- data.tar.gz: a52d1f645436fe7ca398216965636193437aacca56bf4273a11de86572159abb
3
+ metadata.gz: 10065b005d793c21aa18079e00ef1ebb92a5ca3402ccc0f965f2010fe1a25796
4
+ data.tar.gz: 9c67ed16a628a8922abc41e0d4f1f9c4d13aadd9f2b80b7651861b2e8be90076
5
5
  SHA512:
6
- metadata.gz: 04aa30fe688843eb69f6dfb0156953b7b0e35f9cc139a65ac237d7172b41039136c9d0afc9390faaec878ebc3d45e179a43f43df7d95b5d9b1809759fd141d32
7
- data.tar.gz: 6240dc184e9402ee292dd45a94675055adbf3955449cb661314da1180e34fe3937d83f0c2730ddc060e70751eb8de5c3e64257726f0f7913a98abeac3a3f5015
6
+ metadata.gz: b8c588f1ec19cfe4fd41da0d22eb2e870cc0e7ff89af18d4f0afb41290fe227b972d00b1a42fc552d922e1ace31bf14ae8f9b354e7a7bb0c8645de7bd91d0675
7
+ data.tar.gz: cb91a85316b9376c7619c8a278275bf194391c65ffd68b77079acabd89499ebccdd59c426946a39d6c9ca64004334c0010dc523aa95249b7a3605990ec96e441
data/ext/extconf.rb CHANGED
@@ -23,7 +23,7 @@ def build_release_url(arch, version)
23
23
  "https://github.com/CloudCannon/pagebreak/releases/download/v#{version}/pagebreak-v#{version}-#{arch}.tar.gz"
24
24
  end
25
25
 
26
- release_url = if RUBY_PLATFORM =~ /x86_64-darwin/
26
+ release_url = if RUBY_PLATFORM =~ /x86_64-darwin|arm64-darwin/
27
27
  build_release_url("x86_64-apple-darwin", JekyllPagebreak::VERSION)
28
28
  elsif RUBY_PLATFORM =~ /x86_64-linux/
29
29
  build_release_url("x86_64-unknown-linux-musl", JekyllPagebreak::VERSION)
@@ -36,10 +36,10 @@ end
36
36
 
37
37
  # Download the tar.gz from GitHub
38
38
  require 'open-uri'
39
- if open(release_url)
39
+ if URI.open(release_url)
40
40
  puts "Downloading Pagebreak v#{JekyllPagebreak::VERSION} from GitHub"
41
41
  open('pagebreak.tar.gz', 'wb') do |file|
42
- file << open(release_url).read
42
+ file << URI.open(release_url).read
43
43
  end
44
44
  else
45
45
  puts "Could not find Pagebreak v#{JekyllPagebreak::VERSION}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllPagebreak
4
- VERSION = "0.7.0"
4
+ VERSION = "0.9.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-pagebreak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Bigelow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll