hiiro 0.1.293 → 0.1.294
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/CHANGELOG.md +6 -0
- data/bin/h-pr +13 -13
- data/lib/hiiro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ca86bd25276511b4190cdde354a65a71243a2fad0b94604e10ac14d466d8c33
|
|
4
|
+
data.tar.gz: 9cb9807c855963e1b5c260f9be734c7b3032a1cca941bed1432e40e06d144f33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3d792f804941b33782102e92a81e8a12abdafcfd01182db74a98b9e2553b4286a4cb135a4da44b81e7cd707af38429c7b976d84d86768c02be0ed0f3b7d3dd6
|
|
7
|
+
data.tar.gz: a4147e91c73d2aed9cd89868d5830eca7b2db4d5361e74062df995b9cd5d4d692276c075abadb3beaf5a8ac69f9ba696043cd7600ffa27d3505d8e1ef062c845
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
|
|
1
2
|
```markdown
|
|
3
|
+
## v0.1.294 (2026-03-26)
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- `h pr ls`/`h pr update`: filter flags (`-r`, `-g`, `-p`, etc.) from `pm.add_options` now register correctly; switched from `pm.add_options(self)` inside implicit `instance_eval` block to explicit block parameter `|o|` with `pm.add_options(o)`, matching the pattern already used by `h pr green`/`red`/`old`
|
|
7
|
+
|
|
2
8
|
## v0.1.293 (2026-03-26)
|
|
3
9
|
|
|
4
10
|
### Changed
|
data/bin/h-pr
CHANGED
|
@@ -221,14 +221,14 @@ Hiiro.run(*ARGV, plugins: [Pins]) do
|
|
|
221
221
|
end
|
|
222
222
|
|
|
223
223
|
add_subcmd(:ls) do |*ls_args|
|
|
224
|
-
opts = Hiiro::Options.parse(ls_args) {
|
|
225
|
-
flag(:update, short: 'u', desc: 'update status before listing')
|
|
226
|
-
flag(:verbose, short: 'v', desc: 'multi-line output per PR')
|
|
227
|
-
flag(:checks, short: 'C', desc: 'show individual check run details')
|
|
228
|
-
flag(:diff, short: 'd', desc: 'open diff for selected PR')
|
|
229
|
-
flag(:all, short: 'a', desc: 'show all tracked PRs (no filter)')
|
|
230
|
-
pm.add_options(
|
|
231
|
-
mutual_exclusion(:all, :active, :merged, :drafts, :red, :green, :pending, :conflicts)
|
|
224
|
+
opts = Hiiro::Options.parse(ls_args) { |o|
|
|
225
|
+
o.flag(:update, short: 'u', desc: 'update status before listing')
|
|
226
|
+
o.flag(:verbose, short: 'v', desc: 'multi-line output per PR')
|
|
227
|
+
o.flag(:checks, short: 'C', desc: 'show individual check run details')
|
|
228
|
+
o.flag(:diff, short: 'd', desc: 'open diff for selected PR')
|
|
229
|
+
o.flag(:all, short: 'a', desc: 'show all tracked PRs (no filter)')
|
|
230
|
+
pm.add_options(o)
|
|
231
|
+
o.mutual_exclusion(:all, :active, :merged, :drafts, :red, :green, :pending, :conflicts)
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
if opts.help
|
|
@@ -314,11 +314,11 @@ Hiiro.run(*ARGV, plugins: [Pins]) do
|
|
|
314
314
|
end
|
|
315
315
|
|
|
316
316
|
add_subcmd(:update) do |*update_args|
|
|
317
|
-
opts = Hiiro::Options.parse(update_args) {
|
|
318
|
-
flag(:force_update, long: 'force-update', short: 'u', desc: 'force refresh even if recently checked')
|
|
319
|
-
flag(:all, short: 'a', desc: 'show all tracked PRs (no filter)')
|
|
320
|
-
pm.add_options(
|
|
321
|
-
mutual_exclusion(:all, :active, :merged, :drafts, :red, :green, :pending, :conflicts)
|
|
317
|
+
opts = Hiiro::Options.parse(update_args) { |o|
|
|
318
|
+
o.flag(:force_update, long: 'force-update', short: 'u', desc: 'force refresh even if recently checked')
|
|
319
|
+
o.flag(:all, short: 'a', desc: 'show all tracked PRs (no filter)')
|
|
320
|
+
pm.add_options(o)
|
|
321
|
+
o.mutual_exclusion(:all, :active, :merged, :drafts, :red, :green, :pending, :conflicts)
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
pinned = pinned_manager.load_pinned
|
data/lib/hiiro/version.rb
CHANGED