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 +4 -4
- data/ext/extconf.rb +3 -3
- data/lib/jekyll-pagebreak/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10065b005d793c21aa18079e00ef1ebb92a5ca3402ccc0f965f2010fe1a25796
|
4
|
+
data.tar.gz: 9c67ed16a628a8922abc41e0d4f1f9c4d13aadd9f2b80b7651861b2e8be90076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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}"
|
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.
|
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:
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|