request-rescue 0.1.0 → 0.1.1
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/README.md +6 -2
- data/lib/request_rescue/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: fba74553d3ffb8146ba5b2e7d7d79b0b1478bcce89238a8a9fb4b5bcd8beb0de
|
|
4
|
+
data.tar.gz: 6ac1ad2325a670e26368b61af3ddd5a6c66d73fc17134df097c08a863735fbf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88a34d127e40b353b2a324ed3d3cd43b3ba40282158500bd4a8da9d3e3514b0fcaf1131a1dd5f8ec701851634fdacd649dfa2902acb0d7776343f60647700607
|
|
7
|
+
data.tar.gz: 57acfebf19b066ce280fb006af45ad483cdcbf8d6d722f14d67b5aac80065356f3564685fd85bccbe93d046d43f2c5d40663739b711a54f74b7c7c384f8c2d01
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Request Rescue gives Rails applications consistent error responses for malformed
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
Add `gem "request-rescue"` to your Gemfile and run `bundle install`. To try
|
|
7
|
+
Add `gem "request-rescue"` to your Gemfile and run `bundle install`. To try a local checkout, use `gem "request-rescue", path: "/path/to/request-rescue"`.
|
|
8
8
|
|
|
9
9
|
Include the concern in controllers where you want to handle these exceptions. It also works with `ActionController::API`.
|
|
10
10
|
|
|
@@ -63,7 +63,11 @@ The verifier builds and installs the gem into a temporary directory, boots a Rai
|
|
|
63
63
|
|
|
64
64
|
## Releases
|
|
65
65
|
|
|
66
|
-
Every pull request runs the compatibility matrix. The
|
|
66
|
+
Every pull request runs the compatibility matrix. The **All request tests passed** check is required to merge.
|
|
67
|
+
|
|
68
|
+
To publish, open **Actions → Publish gem to RubyGems → Run workflow**, select `main`, and click **Run workflow**. The workflow builds the next patch version (for example, `0.1.0` → `0.1.1`), tests the same gem across the full matrix, and pushes it to RubyGems using trusted publishing.
|
|
69
|
+
|
|
70
|
+
After RubyGems accepts the package, the workflow tags the versioned source commit (for example, `v0.1.1`) and opens a PR to bring that commit into `main`. Approve the PR's CI run if GitHub prompts, then merge the version update before starting the next release. If recording the release fails after upload, rerun the failed jobs in the original run. When the publish job is retried, it checks the published SHA-256 against the tested package before proceeding.
|
|
67
71
|
|
|
68
72
|
## License
|
|
69
73
|
|