hiiro 0.1.291 → 0.1.292
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 +9 -5
- 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: b7bcfce2d0fd9d428a59696b9d95ffcc57a9ba875cf7cc865123303661905586
|
|
4
|
+
data.tar.gz: de38f5fe9cadba6b68d1dc7382f749b3c474372ea037da3d3fd4b2da9793d046
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be11793dd32b0d8f95073004723fecc88793929b55c6f98134d3e571345850702d9acdb4d879ae2b2235d5d73dbae1aa910d0eea7372a1ed7e53fefb6cd349a1
|
|
7
|
+
data.tar.gz: 3c0bb0253dfa9171c22a64cef87fcb8e2bd14579101a9ab26b29f30dabcd4e0d8e7877f8dcadbc9064b158693729bf81909b15a34ee089076a069f814db36081
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
```markdown
|
|
2
|
+
## v0.1.292 (2026-03-26)
|
|
3
|
+
|
|
4
|
+
### Added
|
|
5
|
+
- `h pr update`: now accepts filter flags (`--active`, `--failing`, `--ready`, `--all`) to control which PRs are refreshed and displayed after update
|
|
6
|
+
|
|
2
7
|
## v0.1.291 (2026-03-26)
|
|
3
8
|
|
|
4
9
|
### Added
|
|
5
10
|
- `Options#mutual_exclusion(*names)` — star-topology mutual exclusion: first flag is the hub (clears all others when set); any other flag only clears the hub (spokes can coexist freely); last encountered in argv wins
|
|
6
11
|
- `h pr ls`: new `--all`/`-a` flag (show all tracked PRs, no filter); all filter flags are declared mutually exclusive so `-oa`, `-ao`, `--all --active` etc. do the right thing
|
|
12
|
+
- `h pr update`: now accepts the same filter flags as `h pr ls` and passes them through, so `h pr update -r` refreshes then shows only failing PRs
|
|
7
13
|
|
|
8
14
|
## v0.1.290 (2026-03-26)
|
|
9
15
|
|
data/bin/h-pr
CHANGED
|
@@ -326,6 +326,13 @@ Hiiro.run(*ARGV, plugins: [Pins]) do
|
|
|
326
326
|
end
|
|
327
327
|
|
|
328
328
|
add_subcmd(:update) do |*update_args|
|
|
329
|
+
opts = Hiiro::Options.parse(update_args) {
|
|
330
|
+
flag(:force_update, long: 'force-update', short: 'u', desc: 'force refresh even if recently checked')
|
|
331
|
+
flag(:all, short: 'a', desc: 'show all tracked PRs (no filter)')
|
|
332
|
+
instance_eval(&FILTER_OPTS)
|
|
333
|
+
mutual_exclusion(:all, :active, :merged, :drafts, :red, :green, :pending, :conflicts)
|
|
334
|
+
}
|
|
335
|
+
|
|
329
336
|
pinned = pinned_manager.load_pinned
|
|
330
337
|
|
|
331
338
|
if pinned.empty?
|
|
@@ -333,16 +340,13 @@ Hiiro.run(*ARGV, plugins: [Pins]) do
|
|
|
333
340
|
next
|
|
334
341
|
end
|
|
335
342
|
|
|
336
|
-
force = update_args.include?('-U') || update_args.include?('--force-update')
|
|
337
|
-
|
|
338
343
|
puts "Updating status for #{pinned.length} PR(s)..."
|
|
339
|
-
pinned_manager.refresh_all_status(pinned, force:
|
|
344
|
+
pinned_manager.refresh_all_status(pinned, force: opts.force_update)
|
|
340
345
|
pinned_manager.save_pinned(pinned)
|
|
341
346
|
puts "Done."
|
|
342
347
|
|
|
343
348
|
puts
|
|
344
|
-
run_subcmd(:ls)
|
|
345
|
-
|
|
349
|
+
run_subcmd(:ls, *opts.original_args)
|
|
346
350
|
end
|
|
347
351
|
|
|
348
352
|
add_subcmd(:green) do |*green_args|
|
data/lib/hiiro/version.rb
CHANGED