jekyll-pagebreak 0.6.0 → 0.9.0

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: 943516b1abd51e9872852d8f68f7a9b38bb8d6b4c088bc031993c81d8e67de34
4
- data.tar.gz: 7255a8d0874764dbeb3202a88d9a26714613d72f302fc3d77d5c9c93ae401bc8
3
+ metadata.gz: e0f9044eb0ecf2eb56bae84b637713010acbc5c2decffc1639215ebbcb27bfa6
4
+ data.tar.gz: 4150f069a03a9390024b21b9ce3cc786cc167d2c4e3bbc83d82aa23d09929a91
5
5
  SHA512:
6
- metadata.gz: 519807f164b60d0e73d40b87f3ae63088ec90b5d35b946887ab8b45924fd89ced11f35d3ce13c7d592459743a1af5717b42f11b68469ebb17e755eb6bec93d7a
7
- data.tar.gz: 19762f4f4ff19abfdf1e44d218e2f6614e68cf9f08fe6f55b9c733f325adc31a17fea5b69eda165eb6396b398d05c869335649fa0ff5fc393d4585fb2ea6220b
6
+ metadata.gz: f41b801de8feca11c78409398e3d11606178713dab3c9d579817e99b838e657e1f663f5d163867e1a186320112a1e4e30871f5044aabb3360f98e6e5fc0b390d
7
+ data.tar.gz: 25e91c4695306ab1c71882afcf0f8813a5a8e2a7489aaed515d07b1144d9a438dc9f60d01b071999148073a12be735dfd08b53f2c38e11295edb2322a4de8527
data/ext/extconf.rb CHANGED
@@ -23,10 +23,12 @@ 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)
30
+ elsif RUBY_PLATFORM =~ /mingw|windows/ # Todo: No architecture check
31
+ build_release_url("x86_64-pc-windows-msvc", JekyllPagebreak::VERSION)
30
32
  else
31
33
  puts "Unsupported platform: #{RUBY_PLATFORM}\nPlease open an issue at https://github.com/CloudCannon/pagebreak/issues"
32
34
  exit 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllPagebreak
4
- VERSION = "0.6.0"
4
+ VERSION = "0.9.0"
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.6.0
4
+ version: 0.9.0
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-09-22 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll