duel-rails 0.1.3 → 0.1.4
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 +14 -1
- data/lib/duel/rails/version.rb +1 -1
- data/lib/generators/duel/install/templates/perf.yml.tt +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 021457e88a614ab2d707bbaa4e5b0492ad8ce632288b9a2050e12c22e03b4426
|
|
4
|
+
data.tar.gz: 4123646895aa5f9988ec93e043247e14acab50c796158ee3c74c102ae6f524a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebc28766c172ebb6b905784a20503f6a7c11afe5a4f92845adef9228761d19bc8040fefdf195c28d4ee904e5d07a09780c6a6416da9233b26b68e460eeeae0b8
|
|
7
|
+
data.tar.gz: 79c3f8e04acd75e7510bfef3f700ee03ce5f8aa8310da48c1c90c32dfd5fd2b9be0dbaaaa38a2209d38b14e7455efaeaabd895021febb6625a033fa4ef87046e
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.4] - 2026-11-06
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Where a repository's history was replaced, so the commit that
|
|
15
|
+
`duel/passed/BRANCH` marks has no history in common with a push, the
|
|
16
|
+
Mark the commit passed job in the workflow that
|
|
17
|
+
`rails generate duel:install` writes failed, as GitHub can't compare
|
|
18
|
+
the two. It now moves the branch to the push, as it does where
|
|
19
|
+
history was rewritten. Update the job in
|
|
20
|
+
`.github/workflows/perf.yml` to pick this up.
|
|
21
|
+
|
|
10
22
|
## [0.1.3] - 2026-11-04
|
|
11
23
|
|
|
12
24
|
### Added
|
|
@@ -194,7 +206,8 @@ Rails 7.2 or later, and Ruby 3.4 or later.
|
|
|
194
206
|
CI.
|
|
195
207
|
- RBS signatures in sig/, checked with Steep.
|
|
196
208
|
|
|
197
|
-
[Unreleased]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.
|
|
209
|
+
[Unreleased]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.4...HEAD
|
|
210
|
+
[0.1.4]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.3...duel-rails-v0.1.4
|
|
198
211
|
[0.1.3]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.2...duel-rails-v0.1.3
|
|
199
212
|
[0.1.2]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.1...duel-rails-v0.1.2
|
|
200
213
|
[0.1.1]: https://github.com/sferik/duel-ruby/compare/duel-rails-v0.1.0...duel-rails-v0.1.1
|
data/lib/duel/rails/version.rb
CHANGED
|
@@ -263,12 +263,15 @@ jobs:
|
|
|
263
263
|
gh api --method POST "repos/$GITHUB_REPOSITORY/git/refs" -f ref="refs/heads/$BRANCH" -f sha="$GITHUB_SHA" > /dev/null || blocked
|
|
264
264
|
exit 0
|
|
265
265
|
fi
|
|
266
|
-
compared=$(gh api "repos/$GITHUB_REPOSITORY/compare/$GITHUB_SHA...$at" --jq .status)
|
|
266
|
+
compared=$(gh api "repos/$GITHUB_REPOSITORY/compare/$GITHUB_SHA...$at" --jq .status 2>&1) || case "$compared" in
|
|
267
|
+
# (GitHub can't compare commits with no history in common.)
|
|
268
|
+
*"No common ancestor"*) compared=unrelated ;;
|
|
269
|
+
esac
|
|
267
270
|
case "$compared" in
|
|
268
271
|
# (A newer push's run moved it, or this one's did, run again.)
|
|
269
272
|
ahead | identical) ;;
|
|
270
|
-
# (History rewritten, a force push's, say: moved anyway.)
|
|
271
|
-
diverged | behind) gh api --method PATCH "repos/$GITHUB_REPOSITORY/git/refs/heads/$BRANCH" -f sha="$GITHUB_SHA" -F force=true > /dev/null ;;
|
|
273
|
+
# (History rewritten, a force push's, say, or replaced: moved anyway.)
|
|
274
|
+
diverged | behind | unrelated) gh api --method PATCH "repos/$GITHUB_REPOSITORY/git/refs/heads/$BRANCH" -f sha="$GITHUB_SHA" -F force=true > /dev/null ;;
|
|
272
275
|
*) echo "::error::Couldn't compare $BRANCH with this push: $compared" && exit 1 ;;
|
|
273
276
|
esac
|
|
274
277
|
|
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.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Erik Berlin
|
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
|
-
rubygems_version: 4.0.
|
|
104
|
+
rubygems_version: 4.0.24
|
|
105
105
|
specification_version: 4
|
|
106
106
|
summary: Performance regression guards for Rails apps, with Duel
|
|
107
107
|
test_files: []
|