duel-rails 0.1.6 → 0.1.7

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: 81ef95643e521662165107851a57bf291c2ef90d8f3ebf7260c761353afdea1d
4
- data.tar.gz: c48b15ef972f117df95abcfc8d46303c8b10f30d7758e7aa24551a36f6e5a725
3
+ metadata.gz: 10c5462b8eb10bcfe6d1baf0b9d8d8ffa456040fb40af93d5a302e338529b12a
4
+ data.tar.gz: f34caca4a75935765dbb6515729de4ae9514088e67ca1f6e6ac0f6ab61351829
5
5
  SHA512:
6
- metadata.gz: 3ccf58afcefb2d852c7eb7692c4a6436e07cc0581f50144a734c3ba73bf87681613a9ea4a615d978ad9c39ad919844a2801a7ef635292739e3efecf22e7415e6
7
- data.tar.gz: 33df2071653cce8e5492ca9f8cda1b5c697358b082ae56255ef4f53143fad1fcbe06528802525a5a7095b8b4671466b1c298507292c75e7af10d15a7702c3d61
6
+ metadata.gz: e34e619290e089caba95bec6cefe5917d0adc46d215d1d2176f07c754d7b927a56ad2cd0ce4d21d6fbadd8e337fd5f713c8ef20f23155c2bf9ab5785ce8e041e
7
+ data.tar.gz: be449ca36d29f39d4359a50c9fb051c7ca6dbf1b258c6fd4ffe995ddcc108eca3f07dfa4227e687a31374e0bd212225b9e0f920f702ad0dde68c42dd85a6cb75
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.7] - 2026-11-10
11
+
12
+ No changes of its own: released in step with the other Duel gems.
13
+
10
14
  ## [0.1.6] - 2026-11-10
11
15
 
12
16
  ### Added
@@ -250,7 +254,8 @@ Rails 7.2 or later, and Ruby 3.4 or later.
250
254
  CI.
251
255
  - RBS signatures in sig/, checked with Steep.
252
256
 
253
- [Unreleased]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.6...HEAD
257
+ [Unreleased]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.7...HEAD
258
+ [0.1.7]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.6...duel-rails-v0.1.7
254
259
  [0.1.6]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.5...duel-rails-v0.1.6
255
260
  [0.1.5]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.4...duel-rails-v0.1.5
256
261
  [0.1.4]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.3...duel-rails-v0.1.4
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Duel
4
4
  module Rails
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
@@ -318,13 +318,15 @@ jobs:
318
318
  <% end -%>
319
319
  <% if badge? -%>
320
320
 
321
- # Duel's badge, for the README: green (perf guarded) or red (perf
322
- # regressed), as the last push to the default branch that Duel compared
323
- # left it. It's red where the Duel job failed or found a regression,
324
- # even one that passed (with c.fail_on = :pull_requests in .duel.rb). A
325
- # push with nothing to compare leaves it as it was, and so does a run
326
- # for an older push than the badge's. This job writes the badge, alone,
327
- # to a branch of its own, which the README shows:
321
+ # Duel's badge, for the README: green (perf guarded), red (perf
322
+ # regressed) or grey (not measured), as the last push to the default
323
+ # branch that Duel compared left it. It's red where Duel failed the push
324
+ # or found a regression, even one that passed (with
325
+ # c.fail_on = :pull_requests in .duel.rb), and grey where the Duel job
326
+ # failed before Duel could judge the push (its runner ran out of memory,
327
+ # say). A push with nothing to compare leaves it as it was, and so does
328
+ # a run for an older push than the badge's. This job writes the badge,
329
+ # alone, to a branch of its own, which the README shows:
328
330
  #
329
331
  # [![Duel](https://raw.githubusercontent.com/OWNER/REPO/duel/badge<%= "-#{working_directory.tr("/", "-")}" if working_directory %>/badge.svg)](https://github.com/sferik/duel-ruby)
330
332
  #
@@ -370,10 +372,13 @@ jobs:
370
372
  last=$(gh api "repos/$GITHUB_REPOSITORY/commits/$BRANCH" --jq .commit.message 2>/dev/null | sed -n 's/^Duel.s badge, for \([0-9a-f]*\)$/\1/p') || true
371
373
  if [ -n "$last" ] && [ "$(gh api "repos/$GITHUB_REPOSITORY/compare/$GITHUB_SHA...$last" --jq .status 2>/dev/null)" = ahead ]; then exit 0; fi
372
374
  # (Its image, written here rather than fetched from anywhere: green,
373
- # or red where the Duel job failed or found a regression.)
375
+ # red where Duel failed the push or found a regression, or grey
376
+ # where the Duel job failed before Duel said either.)
374
377
  state="perf guarded" width=133 top="#34D058" bottom="#28A745" right="76.939C78.629 0 80 1.343 80"
375
- if [ "$RESULT" = failure ] || [ "$STATUS" = failed ]; then
378
+ if [ "$STATUS" = failed ]; then
376
379
  state="perf regressed" width=142 top="#EA4A5A" bottom="#D73A49" right="85.939C87.629 0 89 1.343 89"
380
+ elif [ "$RESULT" = failure ] && [ "$STATUS" != passed ]; then
381
+ state="not measured" width=138 top="#959DA5" bottom="#6A737D" right="81.939C83.629 0 85 1.343 85"
377
382
  fi
378
383
  cat > "$RUNNER_TEMP/badge.svg" <<SVG
379
384
  <svg xmlns="http://www.w3.org/2000/svg" width="$width" height="20">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duel-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Berlin