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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a46a0e78ebdedc66b0a90b69c6b4e22be032bc12513c1896bdbad992327b08c6
4
- data.tar.gz: 0c603c0d2f7d6c8636a19899d351f40e4151fce2f3b75f831cd06f3f145f67f3
3
+ metadata.gz: fba74553d3ffb8146ba5b2e7d7d79b0b1478bcce89238a8a9fb4b5bcd8beb0de
4
+ data.tar.gz: 6ac1ad2325a670e26368b61af3ddd5a6c66d73fc17134df097c08a863735fbf6
5
5
  SHA512:
6
- metadata.gz: e9aa5738520d06804ffa073e8bddaa31dac2af7d003e122f93e418d921857bba6e237152019ec9b83ac2737445436b520276980ff81fbbb4a0eff55352848560
7
- data.tar.gz: f2e4089294445a24adfa15a193453a00b9ad2b19c62d2663fb07880e9fca50bda51e90441b8d3a235170a0662d5afa827783b6043560772fea48d567c501050d
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 this checkout before the first RubyGems release, use `gem "request-rescue", path: "/path/to/request-rescue"`.
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 required **All request tests passed** check must pass before merging to `main`. Each merge starts the release workflow, which verifies the merged commit and publishes the version in `lib/request_rescue/version.rb` through RubyGems trusted publishing. The workflow skips publication if that version already exists. To release another version, update the version and changelog in a pull request.
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
 
@@ -1,3 +1,3 @@
1
1
  module RequestRescue
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: request-rescue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - FeedMob