jekyll-pagefind 0.3.1-arm64-mingw32 → 0.3.3-arm64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -2
- data/jekyll-pagefind.gemspec +6 -2
- data/lib/jekyll-pagefind.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 111dd2a0d58cea92de43523dabd11f13501d9fc87f2d3b4055beb487eef02970
|
|
4
|
+
data.tar.gz: 7044325ecd6a2c43e45c57989656d7447d4b2d84ed60826e995eb3a40007437f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4e39fca7d8449fa80a3ee4fde5829393511dbb29070c94e8df5da333c293368ee075e8639d5d9ec1cdc54e11d334f30dd5b6a99e3979e5b8891bacf26ae7eba
|
|
7
|
+
data.tar.gz: a2f18aa76565853e3042d5d1d18b74a4d23c728da1e043c56fd0c54ce96d2c2f095fa6a5047e78b8610361cb2315fbb3532047c902d1256604032cf31fe03bd8
|
data/README.md
CHANGED
|
@@ -39,6 +39,7 @@ gem install jekyll-pagefind
|
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
RubyGems will install the platform-specific package that matches the host OS and CPU.
|
|
42
|
+
If no matching platform gem is selected, the generic `ruby` gem raises a clear error telling the user to add the deploy platform to `Gemfile.lock`.
|
|
42
43
|
|
|
43
44
|
## Use
|
|
44
45
|
|
|
@@ -212,10 +213,21 @@ Publish the built platform gems for a version:
|
|
|
212
213
|
make publish
|
|
213
214
|
```
|
|
214
215
|
|
|
216
|
+
GitHub Actions trusted publishing is supported.
|
|
217
|
+
|
|
218
|
+
To enable it on RubyGems.org for this repo:
|
|
219
|
+
|
|
220
|
+
1. Open the `jekyll-pagefind` gem page.
|
|
221
|
+
2. Go to `Trusted publishers`.
|
|
222
|
+
3. Create a publisher with repository `phothinmg/jekyll-pagefind`, workflow filename `release.yml`, and environment `release`.
|
|
223
|
+
|
|
224
|
+
After that, pushing a tag like `v0.3.2` will run `.github/workflows/release.yml` and publish all built gems without a stored API token or manual OTP entry.
|
|
225
|
+
|
|
215
226
|
`bin/build-platform-gems` currently maps these asset folders to RubyGems platforms:
|
|
216
227
|
|
|
217
|
-
- `
|
|
218
|
-
- `assets/linux-
|
|
228
|
+
- `ruby` -> `ruby` (generic fallback gem with no bundled binary)
|
|
229
|
+
- `assets/linux-x64` -> `x86_64-linux-gnu`, `x86_64-linux-musl`
|
|
230
|
+
- `assets/linux-arm64` -> `aarch64-linux-gnu`, `aarch64-linux-musl`
|
|
219
231
|
- `assets/macos-x64` -> `x86_64-darwin`
|
|
220
232
|
- `assets/macos-arm64` -> `arm64-darwin`
|
|
221
233
|
- `assets/windows-x64` -> `x64-mingw32`, `x64-mingw-ucrt`
|
data/jekyll-pagefind.gemspec
CHANGED
|
@@ -14,11 +14,12 @@ default_pagefind_asset_directory = case host_os
|
|
|
14
14
|
when /mswin|msys|mingw|cygwin|bccwin/i
|
|
15
15
|
host_cpu =~ /arm64|aarch64/i ? "assets/windows-arm64" : "assets/windows-x64"
|
|
16
16
|
else
|
|
17
|
-
raise "Unable to determine a default Pagefind asset directory for host environment: #{host_os} (#{host_cpu})"
|
|
17
|
+
raise "Unable to determine a default Pagefind asset directory for host environment: #{host_os} (#{host_cpu})" # rubocop:disable Layout/LineLength
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
pagefind_asset_directory = ENV.fetch("PAGEFIND_ASSET_DIR", default_pagefind_asset_directory)
|
|
21
21
|
pagefind_gem_platform = ENV.fetch("PAGEFIND_GEM_PLATFORM", Gem::Platform::RUBY)
|
|
22
|
+
pagefind_include_assets = ENV.fetch("PAGEFIND_INCLUDE_ASSETS", "true") == "true"
|
|
22
23
|
|
|
23
24
|
Gem::Specification.new do |spec|
|
|
24
25
|
spec.name = "jekyll-pagefind"
|
|
@@ -32,12 +33,15 @@ Gem::Specification.new do |spec|
|
|
|
32
33
|
spec.homepage = "https://rubygems.org/gems/jekyll-pagefind"
|
|
33
34
|
spec.license = "MIT"
|
|
34
35
|
spec.required_ruby_version = ">= 3.1.0"
|
|
36
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
35
37
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
36
38
|
spec.metadata["source_code_uri"] = "https://github.com/phothinmg/jekykll-pagefind"
|
|
37
39
|
spec.metadata["changelog_uri"] = "https://github.com/phothinmg/jekykll-pagefind/blob/main/CHANGELOG.md"
|
|
38
40
|
|
|
39
41
|
spec.files = Dir.chdir(__dir__) do
|
|
40
|
-
|
|
42
|
+
files = ["README.md", "LICENSE.txt", "lib/**/*", "jekyll-pagefind.gemspec"]
|
|
43
|
+
files << "#{pagefind_asset_directory}/**/*" if pagefind_include_assets
|
|
44
|
+
Dir[*files]
|
|
41
45
|
end
|
|
42
46
|
spec.require_paths = ["lib"]
|
|
43
47
|
spec.add_dependency "jekyll", "~> 4.4"
|
data/lib/jekyll-pagefind.rb
CHANGED
|
@@ -47,7 +47,7 @@ module Jekyll
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# valid the cli flag
|
|
50
|
-
def self.
|
|
50
|
+
def self.valid_arg?(arg)
|
|
51
51
|
%w[output_subdir exclude_selectors keep_index_url quiet].include?(arg)
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -57,7 +57,7 @@ module Jekyll
|
|
|
57
57
|
args = []
|
|
58
58
|
|
|
59
59
|
plugin_config.each do |key, value|
|
|
60
|
-
next unless
|
|
60
|
+
next unless valid_arg?(key)
|
|
61
61
|
|
|
62
62
|
# Transform snake_case keys to kebab-case (e.g., keep_index_url -> keep-index-url)
|
|
63
63
|
flag_name = key.to_s.gsub("_", "-")
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-pagefind
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: arm64-mingw32
|
|
6
6
|
authors:
|
|
7
7
|
- phothinmg
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-06-08 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: jekyll
|
|
@@ -54,9 +55,11 @@ homepage: https://rubygems.org/gems/jekyll-pagefind
|
|
|
54
55
|
licenses:
|
|
55
56
|
- MIT
|
|
56
57
|
metadata:
|
|
58
|
+
rubygems_mfa_required: 'true'
|
|
57
59
|
homepage_uri: https://rubygems.org/gems/jekyll-pagefind
|
|
58
60
|
source_code_uri: https://github.com/phothinmg/jekykll-pagefind
|
|
59
61
|
changelog_uri: https://github.com/phothinmg/jekykll-pagefind/blob/main/CHANGELOG.md
|
|
62
|
+
post_install_message:
|
|
60
63
|
rdoc_options: []
|
|
61
64
|
require_paths:
|
|
62
65
|
- lib
|
|
@@ -71,7 +74,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
74
|
- !ruby/object:Gem::Version
|
|
72
75
|
version: '0'
|
|
73
76
|
requirements: []
|
|
74
|
-
rubygems_version: 4.
|
|
77
|
+
rubygems_version: 3.4.19
|
|
78
|
+
signing_key:
|
|
75
79
|
specification_version: 4
|
|
76
80
|
summary: Pagefind plugin for Jekyll
|
|
77
81
|
test_files: []
|