al_img_tools 1.0.2 → 1.0.3

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +17 -33
  4. data/lib/al_img_tools.rb +4 -4
  5. metadata +8 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0b1285b1603c7d9106f5ad809554097f58c763bd7ae8efbfbfc0b2214a8d37e
4
- data.tar.gz: 1a956fb012c2407646cc2a0d96d77f425ae939a0feee0f1608d46e54e58eb31e
3
+ metadata.gz: ec966661d5fe3b82c8c518b693066dfe82cde38a68c2ad7c4b171e8fff8a0840
4
+ data.tar.gz: acbcc9a376c6314c4426e38fc140fd40565688d2c550b541194a58f642ca781b
5
5
  SHA512:
6
- metadata.gz: 7cd648a5aa7bc2f888453696ebed3bd551a20d16016bfdff92abdf7e41fa03fefaf7763230888ed1545095494ce532af9551910ea88dc5645e6e06d5a59a8241
7
- data.tar.gz: 3a70c2754a6a415ac50be057efce129a546ce8743afba7dc3b646aab708a8b5450ec10cbcd48c7dc9107cf89697e5514ec4cdf1959d16a8528b782704b52ac19
6
+ metadata.gz: f49455fd21eaa46032f28fe98d949a151f55a953763574cd0e6af2c7539fba5f6e5f6048274d22ba15bf653c46f5ede19fb03a5c122c2b27758f86ea401cb7da
7
+ data.tar.gz: b982464ec52704b12592536ddd0f3ca417df17d1591cb1ba2eafb6c152d0f5d0f066e8d6421477d5890fac53365fb61cf6a571e0c098a95778288a59ef8a0487
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.3 - 2026-07-24
4
+
5
+ ### Security
6
+
7
+ - Bumped Swiper from `11.0.5` to `12.1.2` to remediate a prototype-pollution vulnerability (CVE-2026-27212 / GHSA-hmx5-qpq5-p643, CVSS 9.4) affecting Swiper `>= 6.5.1, < 12.1.2`. Updated the pinned CDN version and the CSS / JS / source-map SRI integrity hashes to match the new release. The image slider consumes the `swiper-element` Web Component bundle, whose `<swiper-container>` custom-element API is unchanged across this major bump, so no template or setup-script changes are required.
8
+
3
9
  ## 1.0.2 - 2026-02-17
4
10
 
5
11
  - Finalized plugin-owned lightbox runtime by shipping a vanilla Lightbox2-compatible adapter path.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Al-Img-Tools
1
+ # al-img-tools
2
2
 
3
- A Jekyll plugin that provides various image manipulation features for al-folio sites.
3
+ `al_img_tools` provides image/gallery tooling for `al-folio` v1.x and compatible Jekyll sites.
4
4
 
5
5
  ## Features
6
6
 
@@ -14,62 +14,46 @@ A Jekyll plugin that provides various image manipulation features for al-folio s
14
14
 
15
15
  ## Installation
16
16
 
17
- Add this line to your Jekyll site's Gemfile:
18
-
19
17
  ```ruby
20
18
  gem 'al_img_tools'
21
19
  ```
22
20
 
23
- And then execute:
24
-
25
- ```bash
26
- $ bundle install
27
- ```
28
-
29
- ## Usage
30
-
31
- 1. Add the plugin to your site's `_config.yml`:
32
-
33
21
  ```yaml
34
22
  plugins:
35
23
  - al_img_tools
36
24
  ```
37
25
 
38
- 2. Use image features in your pages:
26
+ ## Usage
27
+
28
+ Per-page front matter example:
39
29
 
40
30
  ```yaml
41
31
  ---
42
32
  layout: page
43
33
  title: Gallery
44
34
  images:
45
- lightbox2: true # Enable lightbox adapter (or use `gallery: true`)
46
- compare: true # Enable image comparison slider
47
- slider: true # Enable image slider
48
- photoswipe: true # Enable PhotoSwipe gallery
49
- spotlight: true # Enable Spotlight gallery
50
- venobox: true # Enable VenoBox gallery
51
- medium_zoom: true # Optional per-page medium zoom override
35
+ lightbox2: true
36
+ compare: true
37
+ slider: true
38
+ photoswipe: true
39
+ spotlight: true
40
+ venobox: true
41
+ medium_zoom: true
52
42
  ---
53
43
  ```
54
44
 
55
- 3. Add the image tags to your layout:
56
-
57
- - In the `<head>` (for CSS):
45
+ Render plugin assets:
58
46
 
59
47
  ```liquid
60
48
  {% al_img_tools_styles %}
61
- ```
62
-
63
- - Before `</body>` (for JavaScript):
64
-
65
- ```liquid
66
49
  {% al_img_tools_scripts %}
67
50
  ```
68
51
 
69
- ## Development
52
+ ## Ecosystem context
70
53
 
71
- After checking out the repo, run `bundle install` to install dependencies.
54
+ - Starter examples/docs live in `al-folio`.
55
+ - Gallery/lightbox runtime behavior is owned here.
72
56
 
73
57
  ## Contributing
74
58
 
75
- Bug reports and pull requests are welcome on GitHub.
59
+ Image runtime/adapter behavior changes should be proposed in this repository.
data/lib/al_img_tools.rb CHANGED
@@ -83,16 +83,16 @@ module AlImgTools
83
83
  },
84
84
  'swiper' => {
85
85
  'integrity' => {
86
- 'css' => 'sha256-yUoNxsvX+Vo8Trj3lZ/Y5ZBf8HlBFsB6Xwm7rH75/9E=',
87
- 'js' => 'sha256-BPrwikijIybg9OQC5SYFFqhBjERYOn97tCureFgYH1E=',
88
- 'map' => 'sha256-lbF5CsospW93otqvWOIbbhj80CjazrZXvamD7nC7TBI='
86
+ 'css' => 'sha256-luxVrnBnR9z2CvS7noxOPcUPX9nt8w0l4LscODUm5/k=',
87
+ 'js' => 'sha256-J5Bi68Hj65rj5tUW3iI6qEJFxBuP5ncTmqL1+3NFqO0=',
88
+ 'map' => 'sha256-1oHeaqu+exvac/w5nr1IRk0x38JOQxOuaIvgqduHQxo='
89
89
  },
90
90
  'url' => {
91
91
  'css' => 'https://cdn.jsdelivr.net/npm/swiper@{{version}}/swiper-bundle.min.css',
92
92
  'js' => 'https://cdn.jsdelivr.net/npm/swiper@{{version}}/swiper-element-bundle.min.js',
93
93
  'map' => 'https://cdn.jsdelivr.net/npm/swiper@{{version}}/swiper-element-bundle.min.js.map'
94
94
  },
95
- 'version' => '11.0.5'
95
+ 'version' => '12.1.2'
96
96
  },
97
97
  'spotlight' => {
98
98
  'integrity' => {
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: al_img_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - al-org
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-07-29 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: jekyll
@@ -52,7 +53,7 @@ dependencies:
52
53
  version: '2.0'
53
54
  - - "<"
54
55
  - !ruby/object:Gem::Version
55
- version: '3.0'
56
+ version: '5.0'
56
57
  type: :development
57
58
  prerelease: false
58
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -62,7 +63,7 @@ dependencies:
62
63
  version: '2.0'
63
64
  - - "<"
64
65
  - !ruby/object:Gem::Version
65
- version: '3.0'
66
+ version: '5.0'
66
67
  - !ruby/object:Gem::Dependency
67
68
  name: rake
68
69
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +101,7 @@ metadata:
100
101
  allowed_push_host: https://rubygems.org
101
102
  homepage_uri: https://github.com/al-org-dev/al-img-tools
102
103
  source_code_uri: https://github.com/al-org-dev/al-img-tools
104
+ post_install_message:
103
105
  rdoc_options: []
104
106
  require_paths:
105
107
  - lib
@@ -114,7 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
116
  - !ruby/object:Gem::Version
115
117
  version: '0'
116
118
  requirements: []
117
- rubygems_version: 4.0.6
119
+ rubygems_version: 3.5.22
120
+ signing_key:
118
121
  specification_version: 4
119
122
  summary: Image interaction tags and assets for Jekyll
120
123
  test_files: []