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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59abd3b9a7d91ddb19f32615069508bcbb1b1603f43502ff262abe4d9b28bdae
4
- data.tar.gz: 703a2d98e936360c69c26468b4e30dcea2999752166529bbcbc4603a4678cbcf
3
+ metadata.gz: dd48259fda66ac3784c266d7274313a403417349b51dd1502417e23cf4103ea2
4
+ data.tar.gz: 528253da1046b4043db2f01566bbfc7912e6915488a4c75f5ed3378b829bc5d2
5
5
  SHA512:
6
- metadata.gz: 03ff6cb26dd702e4635d5dd9a4e6b9c5db5fe01d7ebca7f83c1598a01b7448c5b0b84e607ad9eff8ce6527d574610241d65c40a0407be625715c22ebbbc78e34
7
- data.tar.gz: 7234a8ac842cd0da401e3d9992cd6e0e08151f26fa4d4d9c595d92b1a48e677378dc01300b6583f93f357ea024e0402384a82baf7bb8b4c817dbbc6a6410a779
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}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllPagebreak
4
- VERSION = "0.8.1"
4
+ VERSION = "0.9.2"
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.8.1
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-01-17 00:00:00.000000000 Z
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.0.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