zer0-image-generator 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36da81ce0baf2b37bb861a7fe2f03d62c37c667d8a0754a9cc1ee95ee6afc827
4
- data.tar.gz: a18923ae9adf0a2b38e2dca873bfaaba9e1e1437249e68ca5b70cc7dc59c6588
3
+ metadata.gz: fa19b12882a78f0dc868ca031b657d0500635ef08617f30a309640d0977e1db2
4
+ data.tar.gz: 64534f19ed7e404810f15e1326bd5db3e82e3eacc8160b9ddc86ca59c5cc6d29
5
5
  SHA512:
6
- metadata.gz: 63b595b05dddeaf526df975f62ad5d8644b4d9e8571398a717b2207a5927a1c5f1216db0ec71aab7c00f2f7077d14e9a430b57ea1650ee882c35d7c2579c3382
7
- data.tar.gz: dfe915ca69f2bb13a3023c63641755e96498634eb07d4779721158361e871a7433b701fa775f8ecfba358a9c4a73a2c5698c46dcacc8231968b15f1d5857df7b
6
+ metadata.gz: d2ea741174826fdb479b5a53fee673e5b8cc0b43bd0209cf5329bc1391db9f70420d58c3cc81f4bb40cce075e435ee5877b2e6ccef31ba820f1e41e943c5a085
7
+ data.tar.gz: 0060573caeca1124dd219b1ea070bde2f7401135a6423d686dbe2504f5fc93e220bbfe8fa47143e7b7419c3f5ac13e6b28bb093b3714f90cabef6d195b855792
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.2] - 2026-07-14
9
+
10
+ ### Fixed
11
+
12
+ - `jekyll preview-images` CLI flags were silently dropped: Mercenary keys the
13
+ options hash by the symbol given to `c.option`, but the argv translator
14
+ looked up the string form — so `--dry-run`, `--list-missing`,
15
+ `--provider`, etc. never reached the engine. Added a Ruby unit test for the
16
+ translation and a CI assertion that `--dry-run` writes nothing.
17
+
8
18
  ## [0.2.1] - 2026-07-13
9
19
 
10
20
  ### Fixed
@@ -72,7 +72,9 @@ module Zer0ImageGenerator
72
72
 
73
73
  def build_argv(options)
74
74
  SWITCHES.each_with_object([]) do |(flag, merc), argv|
75
- value = options[merc.first.to_s]
75
+ # Mercenary keys the options hash by the symbol given to c.option.
76
+ value = options[merc.first]
77
+ value = options[merc.first.to_s] if value.nil?
76
78
  next if value.nil? || value == false
77
79
 
78
80
  if BOOLEANS.include?(flag)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zer0ImageGenerator
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zer0-image-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amr Abdel
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-07-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jekyll
@@ -60,7 +59,6 @@ metadata:
60
59
  changelog_uri: https://github.com/bamr87/zer0-image-generator/blob/main/CHANGELOG.md
61
60
  bug_tracker_uri: https://github.com/bamr87/zer0-image-generator/issues
62
61
  rubygems_mfa_required: 'true'
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -76,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
74
  version: '0'
77
75
  requirements:
78
76
  - Python 3.9+ with PyYAML (python3 -m pip install pyyaml)
79
- rubygems_version: 3.0.3.1
80
- signing_key:
77
+ rubygems_version: 4.0.11
81
78
  specification_version: 4
82
79
  summary: AI preview/social images for any Jekyll site — Claude directs and reviews,
83
80
  an image model renders.