jekyll-pagebreak 0.8.1 → 0.9.2
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd48259fda66ac3784c266d7274313a403417349b51dd1502417e23cf4103ea2
|
4
|
+
data.tar.gz: 528253da1046b4043db2f01566bbfc7912e6915488a4c75f5ed3378b829bc5d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7839bf57f52edd02cd75ab4ad23815bd49c5f4c6172876a474a780a7b0b0ab1545a3504625d229bb7c875323b75a73721d5bfeb9f38254e7bf48eba186ddcd9e
|
7
|
+
data.tar.gz: f40af583c70d88255637eb8ad8aba752e08d69a1df2b98986bfe8c365008857e5fdf2330031d5e7ec0509fe385864a09dc7f395ad229928e64fa8a31cc698d0b
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liam Bigelow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
91
|
+
rubygems_version: 3.1.6
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: A Jekyll plugin to paginate the output of any static site generator
|