request-rescue 0.1.0 → 0.1.2

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: '0008a58f3b74cbde65db19ad2eb4c1e71233668d8a1fdf7d77521f77d54335e0'
4
+ data.tar.gz: c7c3db903fcfda8743c3732002b3f616565ac760b2211b40f8554b2850a548b0
5
5
  SHA512:
6
- metadata.gz: e9aa5738520d06804ffa073e8bddaa31dac2af7d003e122f93e418d921857bba6e237152019ec9b83ac2737445436b520276980ff81fbbb4a0eff55352848560
7
- data.tar.gz: f2e4089294445a24adfa15a193453a00b9ad2b19c62d2663fb07880e9fca50bda51e90441b8d3a235170a0662d5afa827783b6043560772fea48d567c501050d
6
+ metadata.gz: 5ada50589f2b0076ddeabb5e6e21e55d3536d77da79d5e66a03fab62227d8c37dc4660a94587df26f3dad1d0911bfbfeab5d1182f1e599c44a88ee270c885bab
7
+ data.tar.gz: 5d285db0c7287fb7a31c37496bbb8b5190ce4e72e4c00750a2545602248f97b74b1a9a027ba59e3199e4140375031f8a50a34cafa9d2b7781a0e922e9d67308f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1
4
+
5
+ - Switch to manual patch releases and verify the same gem across all supported environments before publishing to RubyGems.
6
+ - Tag the published source and open a pull request to record the version.
7
+
3
8
  ## 0.1.0
4
9
 
5
10
  - Add Rails request middleware, a controller concern, mountable error pages and a Rack exception app.
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,13 @@ 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`, choose the version increment, and click **Run workflow**. Starting from `0.1.1`, choose `patch` for a fix (`0.1.2`), `minor` for a backward-compatible feature (`0.2.0`), or `major` for a breaking change (`1.0.0`). The workflow builds the selected version, 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`. The workflow starts CI on the version branch automatically. 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.
71
+
72
+ Each published tag has a [GitHub Release](https://github.com/feed-mob/request-rescue/releases) with release notes, the verified gem and its SHA-256, and source code archives in ZIP and tar.gz formats. To include a short user-facing summary, add a `## X.Y.Z` section to `CHANGELOG.md` before starting the release. GitHub also generates notes from merged pull requests.
67
73
 
68
74
  ## License
69
75
 
@@ -1,3 +1,3 @@
1
1
  module RequestRescue
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - FeedMob